/*
Theme Name: Arturo Fuente Cigar Club — Renovación
Theme URI: https://arturofuentecigarclub.com/
Author: Frankpress
Description: Pantalla de renovación exclusiva para Arturo Fuente Cigar Club. Logotipo original, ambiente oscuro editorial y diseño adaptable sin dependencias externas.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: arturo-fuente-renovacion
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
    color-scheme: dark;
    --af-ivory: #f4ecdf;
    --af-muted: #d8cabe;
    --af-gold: #d6a24f;
    --af-dark: #100907;
}
* { box-sizing: border-box; }
html { margin: 0; min-height: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    background: var(--af-dark);
    color: var(--af-ivory);
    -webkit-font-smoothing: antialiased;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}
button, input, textarea { font: inherit; }
.af-skip {
    position: absolute; z-index: 50; left: 12px; top: -80px;
    padding: 12px 18px; background: #fff; color: #111;
}
.af-skip:focus { top: 12px; }
.af-renewal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(44px, 6vh, 84px) 22px;
    padding-bottom: max(44px, env(safe-area-inset-bottom));
    padding-top: max(44px, env(safe-area-inset-top));
    overflow: hidden;
    text-align: center;
}
.af-renewal::before {
    content: "";
    position: absolute; inset: 0;
    z-index: -2;
    background: url('assets/salon-ambiente.webp') center / cover no-repeat;
}
.af-renewal::after {
    content: "";
    position: absolute; inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 46% 52% at 50% 50%, rgba(9, 5, 4, .68), transparent 100%),
        linear-gradient(180deg, rgba(7, 4, 3, .45), rgba(7, 4, 3, .16) 35%, rgba(7, 4, 3, .36) 72%, rgba(7, 4, 3, .74));
}
.af-content {
    width: min(100%, 1100px);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: af-enter .7s ease-out both;
}
.af-brand {
    width: clamp(205px, 25vw, 325px);
    max-width: 100%;
    margin: 0 auto 17px;
}
.af-brand img {
    display: block;
    width: 100%; height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 21px rgba(0,0,0,.42));
}
.af-brand .custom-logo-link { display: block; }
.af-rule {
    display: block;
    width: 66px;
    height: 2px;
    background: var(--af-gold);
    box-shadow: 0 0 12px rgba(232, 173, 82, .12);
    margin: 0 auto 17px;
}
.af-heading {
    max-width: 1060px;
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 5.15vw, 76px);
    font-weight: 400;
    line-height: 1.07;
    letter-spacing: -0.037em;
    text-wrap: balance;
    text-shadow: 0 3px 18px rgba(0,0,0,.22);
}
.af-heading span { display: block; }
.af-heading .af-gold { color: #e9b664; }
.af-description {
    margin: 20px 0 0;
    max-width: 700px;
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 400;
    line-height: 1.55;
    color: var(--af-ivory);
}
.af-rule--small { width: 46px; margin-top: 26px; margin-bottom: 19px; }
.af-note {
    margin: 0;
    max-width: 680px;
    color: var(--af-muted);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.55;
}
@keyframes af-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 720px) {
    .af-renewal { padding-inline: 23px; }
    .af-brand { width: clamp(195px, 56vw, 275px); margin-bottom: 17px; }
    .af-rule { margin-bottom: 17px; }
    .af-heading { font-size: clamp(37px, 8.2vw, 59px); letter-spacing: -0.045em; }
    .af-description { margin-top: 18px; max-width: 460px; }
    .af-rule--small { margin-top: 23px; margin-bottom: 17px; }
    .af-note { max-width: 430px; }
}
@media (max-width: 390px) {
    .af-renewal { padding-inline: 19px; }
    .af-brand { width: clamp(178px, 52vw, 225px); margin-bottom: 17px; }
    .af-heading { font-size: clamp(34px, 8.4vw, 41px); }
    .af-description { font-size: 15px; }
    .af-note { font-size: 15px; }
}
@media (max-height: 680px) and (min-width: 721px) {
    .af-brand { width: min(23vw, 245px); margin-bottom: 12px; }
    .af-rule { margin-bottom: 15px; }
    .af-heading { font-size: clamp(40px, 4.8vw, 64px); }
    .af-description { margin-top: 15px; }
    .af-rule--small { margin-top: 17px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .af-content { animation: none; }
    html { scroll-behavior: auto; }
}

/* Contact channels — version 1.1.0 */
.af-contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(20px, 3.3vw, 50px);
    width: min(100%, 950px);
    margin: 28px auto 0;
}
.af-contact { min-width: 0; }
.af-contact-link {
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 11px 16px 11px 11px;
    gap: 14px;
    border: 1px solid rgba(227, 174, 92, .79);
    border-radius: 64px;
    color: var(--af-ivory);
    text-decoration: none;
    text-align: left;
    background: rgba(12, 7, 5, .78);
    box-shadow: 0 12px 24px rgba(0,0,0,.14);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.af-contact--whatsapp .af-contact-link { border-color: #35bf64; }
.af-contact-link:hover, .af-contact-link:focus-visible {
    background: rgba(36, 21, 12, .90);
    transform: translateY(-2px);
}
.af-contact-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.af-contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    color: var(--af-gold);
    border: 1px solid currentColor;
    background: rgba(214,162,79,.10);
}
.af-contact--whatsapp .af-contact-icon {
    color: #fff;
    background: #1eb953;
    border-color: #78f1a0;
    box-shadow: 0 0 0 3px rgba(25, 165, 72, .14);
}
.af-contact-icon svg { width: 33px; height: 33px; display: block; }
.af-contact-copy { display: flex; flex: 1 1 auto; flex-direction: column; gap: 1px; min-width: 0; }
.af-contact-caption { color: #f4ece3; font-size: clamp(13px, 1.22vw, 16px); line-height: 1.4; }
.af-contact-number { color: #fff; font-size: clamp(22px, 2.15vw, 29px); font-weight: 700; line-height: 1.22; letter-spacing: .015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.af-contact-arrow { width: 16px; height: 16px; flex: none; color: var(--af-gold); }
.af-contact-hours { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; font-size: 15px; color: #eee4d8; line-height: 1.5; }
.af-contact-hours svg { width: 17px; height: 17px; color: var(--af-gold); flex: none; }
@media (max-width: 720px) {
    .af-renewal { padding-block: 32px; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
    .af-contacts { margin-top: 24px; grid-template-columns: minmax(0, 1fr); row-gap: 18px; max-width: 410px; }
    .af-contact-link { min-height: 80px; padding: 9px 15px 9px 9px; gap: 14px; }
    .af-contact-icon { width: 60px; height: 60px; flex-basis: 60px; }
    .af-contact-icon svg { width: 29px; height: 29px; }
    .af-contact-number { font-size: clamp(22px, 5.6vw, 28px); }
    .af-contact-caption { font-size: 14px; }
    .af-contact-hours { margin-top: 8px; font-size: 14px; }
}
@media (max-width: 370px) {
    .af-contact-link { gap: 10px; padding-right: 12px; }
    .af-contact-icon { width: 53px; height: 53px; flex-basis: 53px; }
    .af-contact-number { font-size: 21px; }
    .af-contact-caption { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .af-contact-link { transition: none; } }
