@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500;1,700&family=Nunito+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ── CSS VARIABLES ── */
:root {
    --gold:          #C8941F;
    --gold-light:    #E8B84B;
    --gold-pale:     #FDF6E3;
    --gold-border:   rgba(200, 148, 31, 0.30);

    --blue:          #0B2F5E;
    --blue-mid:      #1A5596;
    --blue-light:    #2E75C8;
    --blue-pale:     #EAF2FC;

    --white:         #FFFFFF;
    --text:          #0D2540;
    --muted:         #4A6278;
    --border:        #D0E1F0;
    --bg:            #F4F9FF;

    --shadow-sm:     0 2px 12px rgba(11,47,94,0.08);
    --shadow-md:     0 8px 32px rgba(11,47,94,0.12);
    --shadow-lg:     0 20px 60px rgba(11,47,94,0.16);
    --transition:    all 0.3s ease;
    --radius:        6px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    /* overflow-x:hidden removed from html+body — breaks position:sticky */
    -webkit-font-smoothing: antialiased;
}
/* Clip overflow per-section to prevent horizontal scroll */
.hero-section, .contact-section, .testimonials,
.page-hero, .cta-band, .mission, .comparison,
.header-container { overflow: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; transition: var(--transition); color: inherit; cursor: pointer; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
select { cursor: pointer; }
input[type="radio"], input[type="checkbox"] { cursor: pointer; }
label { cursor: pointer; }

/* ── PAGE LOAD / LEAVE TRANSITIONS ── */
body { opacity: 0; transition: opacity 0.35s ease; }
body.page-loaded { opacity: 1; }
body.page-leaving { opacity: 0; pointer-events: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

/* ── SECTION LABELS ── */
.stag {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 0.8rem;
    font-weight: 700;
    display: block;
}
.stitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 0.9rem;
}
.stitle em { color: var(--gold); font-style: italic; }
.ssub { font-size: 0.95rem; color: var(--muted); line-height: 1.85; max-width: 600px; }
.centered { text-align: center; }
.centered .ssub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-gold {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--gold); color: var(--white);
    padding: 0.9rem 2.2rem;
    font-size: 0.82rem; font-weight: 700;
    font-family: 'Nunito Sans', sans-serif;
    letter-spacing: 0.1em; text-transform: uppercase;
    border: none; border-radius: 3px; cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    text-decoration: none; position: relative; overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute; top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}
.btn-gold:active::after { width: 200px; height: 200px; opacity: 0; }
.btn-gold:hover {
    background: var(--gold-light); transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,148,31,0.35); color: var(--white);
}
.btn-gold:active { transform: translateY(0); }

.btn-outline {
    display: inline-flex; align-items: center; gap: 0.5rem;
    border: 1.5px solid rgba(255,255,255,0.5); color: var(--white);
    padding: 0.9rem 2.2rem;
    font-size: 0.82rem; font-weight: 600;
    font-family: 'Nunito Sans', sans-serif;
    letter-spacing: 0.1em; text-transform: uppercase;
    border-radius: 3px; margin-left: 1rem; cursor: pointer;
    transition: border-color 0.25s, background 0.25s, transform 0.2s;
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(200,148,31,0.15);
    color: var(--white);
    transform: translateY(-2px);
}

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
section { padding: 5.5rem 5%; }

/* ── INFO BOXES ── */
.info-box { background:var(--blue-pale); border-left:3px solid var(--blue-light); padding:1.1rem 1.4rem; margin:1.4rem 0; border-radius:0 4px 4px 0; }
.info-box p { margin:0; font-size:.87rem; color:var(--text); }
.warn-box { background:#FFFBEA; border-left:3px solid var(--gold); padding:1.1rem 1.4rem; margin:1.4rem 0; border-radius:0 4px 4px 0; }
.warn-box p { margin:0; font-size:.87rem; color:#5A4200; }
.foot-links { display:flex; gap:1.5rem; justify-content:center; flex-wrap:wrap; margin-bottom:.9rem; }

/* ── SCROLL REVEAL ANIMATION ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible, .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Variant: slide from left */
.reveal-left {
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Variant: slide from right */
.reveal-right {
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── KEYFRAME ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ── WHATSAPP STICKY ── */
.whatsapp-sticky {
    position: fixed; bottom: 30px; right: 30px; z-index: 999;
    background: #25D366; color: var(--white);
    width: 62px; height: 62px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
}
.whatsapp-sticky:hover { transform: scale(1.12) rotate(8deg); background: #20ba5a; color: var(--white); }
.whatsapp-sticky::after {
    content: ''; position: absolute; width: 100%; height: 100%;
    border-radius: 50%; background: #25D366; opacity: 0.45; z-index: -1;
    animation: waRipple 2.2s infinite;
}
@keyframes waRipple {
    0%   { transform: scale(1); opacity: 0.45; }
    100% { transform: scale(1.75); opacity: 0; }
}

/* ── HOVER LIFT UTILITY ── */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    section { padding: 4rem 5%; }
    .btn-outline { margin: 0.8rem 0 0; display: inline-flex; }
}