/* ============================================================
   DESIGN SYSTEM — THOMAZELLA E BOTTACINI ADVOGADOS
   Style: Luxury Refined Previdenciário (Blue, Champagne Gold & Pure White)
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --blue-base: #030814;
    /* Extremely deep, dark night blue */
    --blue-soft: #061129;
    /* Deep soft blue */
    --blue-mid: #0B1936;
    /* Luxurious mid-tone blue */
    --blue-border: #13274F;
    /* Subtle blue borders */

    --gold-glow: rgba(197, 168, 128, 0.08);
    /* Sophisticated champagne mist */
    --gold-base: #C5A880;
    /* Rich champagne gold */
    --gold-light: #E5D5C0;
    /* Bright gold accent */
    --gold-dark: #8E7048;
    /* Warm bronze gold */

    --green-base: #1b8a5a;
    /* Rich emerald green */
    --green-light: #2bc083;
    /* Glowing light green */
    --green-dark: #126b43;
    /* Luxurious dark green */

    --white: #ffffff;
    --white-soft: rgba(255, 255, 255, 0.95);
    --white-dim: rgba(255, 255, 255, 0.06);
    --grey-dark: #e6ecf8;
    /* Elegant muted slate-grey — improved contrast */

    /* Fonts */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    --font-title: 'Poppins', sans-serif;

    /* Transitions & Borders */
    --radius: 4px;
    --transition-base: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-slow: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 0. Luxury Ambient Orbs (Gold and Blue) */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.06) 0%, rgba(11, 25, 54, 0.2) 50%, transparent 80%);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 15s infinite alternate ease-in-out;
}

body::before {
    top: -15%;
    right: -10%;
    animation-delay: -2s;
}

body::after {
    bottom: -10%;
    left: -15%;
    animation-delay: -5s;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.15) translate(30px, 30px);
        opacity: 0.7;
    }

    100% {
        transform: scale(0.9) translate(-15px, -20px);
        opacity: 0.5;
    }
}

/* 1. Base Setup */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--blue-base);
    color: var(--white-soft);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 2. Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-title);
    font-weight: 500;
    /* Thin refined serif for luxury feel */
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.01em;
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold-base);
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-base) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 em, h2 em, h3 em, h4 em, .section-title em, .hero-title em {
    font-size: 1.15em;
    font-weight: 500;
}

.eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-base);
    display: block;
    margin-bottom: 1.5rem;
}

.section-header {
    text-align: center;
    margin: 0 auto 70px;
    max-width: 800px;
}

.section-title {
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--grey-dark);
    max-width: 650px;
    margin: 0 auto;
}

/* 3. Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

section {
    padding: 120px 0;
    position: relative;
}

/* 4. Header Fixo */
header.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 8, 20, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--white-dim);
    transition: var(--transition-base);
}

header.main-header.scrolled {
    padding: 15px 0;
    background: rgba(3, 8, 20, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: var(--transition-base);
}

header.main-header.scrolled .header-inner {
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-header {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-base);
}

header.main-header.scrolled .logo-header {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: var(--grey-dark);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--gold-base);
}

.btn-header {
    padding: 12px 28px !important;
    font-size: 0.75rem !important;
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
}

/* 5. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 44px;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-text {
    text-align: center;
    line-height: 1.4;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.btn-text-line2 {
    display: block;
    white-space: nowrap;
}

/* Shimmer shine animation */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
    z-index: -1;
}

.btn:hover::before {
    left: 150%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-base) 50%, var(--green-dark) 100%);
    background-size: 200% auto;
    color: var(--white);
    font-weight: 300;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 15px 45px rgba(27, 138, 90, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.01);
    background-position: right center;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.5),
        0 20px 60px rgba(27, 138, 90, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn-primary iconify-icon {
    transition: transform 0.4s ease;
}

.btn-primary:hover iconify-icon {
    transform: translateX(4px) rotate(-10deg);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-base);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(197, 168, 128, 0.1);
    border-color: var(--gold-light);
}

/* 6. Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 160px;
    padding-bottom: 100px;
    overflow: hidden;
    background-image: linear-gradient(to top, var(--blue-base) 0%, rgba(3, 8, 20, 0) 100%), url('../img/backg01.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 168, 128, 0.2), var(--gold-base), rgba(197, 168, 128, 0.2), transparent);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.3);
    z-index: 10;
}

@media (max-width: 900px) {
    #hero {
        background-image: linear-gradient(to top, var(--blue-base) 0%, rgba(3, 8, 20, 0) 100%), url('../img/backg01mobile (1).webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding-top: 140px;
        margin-top: 90px;
    }
}

.hero-inner-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(1.9rem, 4.5vw, 3.4rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--grey-dark);
    font-weight: 300;
    line-height: 1.8;
    max-width: 780px;
    margin: 0 auto 2.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--gold-base);
    border-radius: 50px;
    color: var(--gold-base);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-badge iconify-icon {
    font-size: 14px;
    color: var(--gold-light);
}

.hero-oab {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--gold-base);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 25px;
    opacity: 0.85;
}



.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.hero-side-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

@media (max-width: 900px) {
    .hero-inner-split {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-oab {
        order: 4;
        margin-top: 15px;
        margin-bottom: 0;
    }

    .hero-actions {
        order: 3;
        justify-content: center;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 400px;
    }

    .hero-actions .btn {
        order: 1;
        width: 100%;
        padding: 15px 20px;
        font-size: 0.78rem;
    }

    .hero-actions .hero-side-logo {
        order: 2;
    }

    .btn {
        padding: 15px 20px;
        font-size: 0.78rem;
    }
}

/* Hero Trust Stats Grid */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--white-dim);
    background: rgba(11, 25, 54, 0.15);
    backdrop-filter: blur(10px);
    margin-top: 70px;
    border-radius: var(--radius);
    width: 100%;
}

.hero-stat {
    padding: 24px;
    text-align: center;
    border-right: 1px solid var(--white-dim);
}

.hero-stat:last-child {
    border-right: none;
}

.stat-val {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--white);
    display: block;
    line-height: 1.1;
    font-weight: 300;
}

.stat-val em {
    -webkit-text-fill-color: initial;
    background: none;
    color: var(--gold-base);
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--grey-dark);
    margin-top: 8px;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }

    .hero-stat {
        border-right: none;
        border-bottom: 1px solid var(--white-dim);
    }

    .hero-stat:last-child {
        border-bottom: none;
    }
}

/* 7. Services Section */
#servicos {
    background-color: var(--blue-base);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    background: transparent;
}

.service-card {
    background: linear-gradient(135deg, var(--blue-soft), var(--blue-base)) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), var(--gold-base), rgba(255, 255, 255, 0.05)) border-box;
    padding: 65px 55px;
    position: relative;
    transition: var(--transition-base);
    border: 1px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    z-index: 1;
}

/* Glassy Shimmer overlay */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(197, 168, 128, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-base), transparent);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
    transform: scaleX(0);
}

.service-card:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(1.5deg);
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-base)) padding-box,
        linear-gradient(135deg, var(--gold-dark), var(--gold-light), var(--gold-dark)) border-box;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card:hover::before {
    opacity: 1;
    transform: translate(10%, 10%);
}

.service-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.service-icon-wrapper {
    width: 76px;
    height: 76px;
    background: linear-gradient(var(--blue-soft), var(--blue-soft)) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), var(--gold-base), rgba(255, 255, 255, 0.05)) border-box;
    border: 1px solid transparent;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-base);
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.service-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--gold-base), transparent, var(--gold-dark));
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.15;
}

.service-icon {
    font-size: 34px;
    width: 34px;
    height: 34px;
    color: var(--gold-base);
    transition: var(--transition-base);
    display: block;
}

.service-card:hover .service-icon-wrapper {
    transform: translateY(-4px);
    border-color: rgba(197, 168, 128, 0.4);
    background: linear-gradient(135deg, rgba(11, 25, 54, 0.4), rgba(3, 8, 20, 0.8));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-icon-wrapper::before {
    opacity: 0.3;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--white);
    filter: drop-shadow(0 0 8px rgba(197, 168, 128, 0.4));
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    transition: color 0.5s ease;
    font-weight: 300;
}

.service-card:hover h3 {
    color: var(--white);
}

.service-card p {
    color: var(--grey-dark);
    font-size: 0.95rem;
    font-weight: 300;
    transition: color 0.5s ease;
    line-height: 1.65;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 40px;
    }
}

/* 8. Sobre Section */
#sobre {
    background: transparent;
    position: relative;
}

#sobre::before,
#sobre::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 168, 128, 0.2), var(--gold-base), rgba(197, 168, 128, 0.2), transparent);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.3);
    z-index: 10;
}

#sobre::before {
    top: 0;
}

#sobre::after {
    bottom: 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.split-text {
    max-width: 600px;
}

.split-image {
    position: relative;
    aspect-ratio: 4/5;
    max-width: 440px;
    justify-self: center;
    background: var(--blue-mid);
    padding: 15px;
    /* Passe-partout elegant luxury frame */
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5) contrast(1.1) brightness(0.9);
    transition: 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: var(--radius);
}

.split-image:hover img {
    filter: grayscale(0) contrast(1.05) brightness(1);
    transform: scale(1.04);
}

.split-text h2 {
    margin-bottom: 2.5rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.split-p {
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--grey-dark);
    font-weight: 300;
}

@media (max-width: 900px) {
    #sobre {
        background-attachment: scroll;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .split-image {
        padding: 10px;
        max-width: 380px;
    }
}

/* 8.5 Diferenciais Section */
#diferenciais {
    background: var(--blue-base);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.diferencial-card {
    background: linear-gradient(135deg, rgba(11, 25, 54, 0.2), rgba(3, 8, 20, 0.5));
    border: 1px solid var(--blue-border);
    padding: 50px 40px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition-base);
}

.diferencial-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-base);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.diferencial-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid var(--gold-base);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-base);
    font-size: 26px;
    transition: var(--transition-base);
}

.diferencial-card:hover .diferencial-icon-wrap {
    background: var(--gold-base);
    color: var(--blue-base);
    transform: scale(1.05);
}

.diferencial-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 300;
}

.diferencial-card p {
    color: var(--grey-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

@media (max-width: 900px) {
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 9. Testimonials */
.testimonials-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px;
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 40px 8% 60px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.test-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue-mid);
    border: 1px solid var(--blue-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 24px;
    color: var(--gold-base);
}

.test-nav:hover {
    background: var(--gold-base);
    color: var(--blue-base);
    transform: translateY(-50%) scale(1.05);
}

.test-nav.prev {
    left: 4%;
}

.test-nav.next {
    right: 4%;
}

.testimonial-card {
    flex: 0 0 420px;
    scroll-snap-align: center;
    background: linear-gradient(135deg, var(--blue-soft), var(--blue-base));
    padding: 35px;
    position: relative;
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    border-color: var(--gold-base);
    z-index: 2;
}

.test-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.test-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    overflow: hidden;
    border: 1px solid var(--blue-border);
}

.test-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-meta {
    display: flex;
    flex-direction: column;
}

.test-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.test-date {
    font-size: 0.75rem;
    color: var(--grey-dark);
}

.test-google-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
}

.test-stars-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.test-stars {
    color: #ffd700;
    /* Rich gold stars */
    font-size: 1.1rem;
    display: flex;
    gap: 2px;
}

.test-verified {
    color: #4285f4;
    /* Google Blue */
    font-size: 0.9rem;
    display: flex;
}

.test-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    font-style: normal;
    font-weight: 300;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 85vw;
        padding: 30px;
    }

    .test-nav {
        display: none;
    }
}

/* 10. FAQ */
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--blue-border);
    background: linear-gradient(160deg, var(--blue-soft), var(--blue-base));
    border-radius: var(--radius);
    transition: var(--transition-base);
    overflow: hidden;
}

.faq-item:hover {
    background: var(--blue-mid);
    border-color: var(--gold-base);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.faq-trigger {
    width: 100%;
    padding: 30px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 300;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--gold-base);
    transition: var(--transition-base);
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-base);
    padding: 0 35px;
}

.faq-content p {
    color: var(--grey-dark);
    font-size: 1rem;
    line-height: 1.75;
    padding-bottom: 35px;
    margin: 0;
    font-weight: 300;
}

.faq-item.open {
    background: var(--blue-mid);
    border-color: var(--gold-base);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--white);
}

.faq-item.open .faq-content {
    max-height: 350px;
}

/* 11. Final CTA */
.cta-full {
    background: transparent;
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.cta-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* 12. Footer */
footer {
    padding: 100px 0 60px;
    border-top: 1px solid var(--blue-border);
    background: transparent;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    opacity: 0.9;
    filter: brightness(1.2);
    transition: opacity 0.3s ease;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    color: var(--grey-dark);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--gold-base);
}

.footer-legal {
    font-size: 0.7rem;
    color: #6C7A9C;
    max-width: 600px;
    line-height: 1.6;
}

.footer-dev {
    margin-top: 30px;
}

.dev-logo {
    height: 16px;
    width: auto;
    opacity: 0.45;
    filter: grayscale(1) brightness(1.5);
    transition: all 0.3s ease;
}

.dev-logo:hover {
    opacity: 0.8;
    filter: grayscale(0) brightness(1);
}

@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
}

/* 13. Info & Map Section */
.info-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: linear-gradient(135deg, var(--blue-soft), var(--blue-base));
    padding: 40px;
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    transition: transform 0.4s ease, border-color 0.4s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-base);
}

.btn-map-switch {
    background: transparent;
    border: 1px solid rgba(197, 168, 128, 0.2);
    color: var(--gold-base);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border-radius: var(--radius);
    margin-top: 10px;
}

.btn-map-switch:hover {
    border-color: var(--gold-base);
    color: var(--white);
    background: rgba(197, 168, 128, 0.08);
    padding-left: 20px;
}

.btn-map-switch iconify-icon {
    transition: transform 0.4s ease;
}

.btn-map-switch:hover iconify-icon {
    transform: translateX(4px);
}

.info-map-wrap {
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    position: relative;
    min-height: 440px;
    width: 100%;
    /* Luxury Dark Mode Map Filter (Navy style) */
    filter: invert(90%) hue-rotate(185deg) grayscale(85%) contrast(1.25) brightness(0.95);
    transition: filter 0.8s ease, opacity 0.5s ease;
}

.info-map-wrap:hover {
    filter: invert(90%) hue-rotate(185deg) grayscale(30%) contrast(1.15) brightness(0.95);
}

@media (max-width: 900px) {
    .info-layout {
        grid-template-columns: 1fr;
    }

    .info-map-wrap {
        min-height: 350px;
    }
}

/* 14. Premium Floating WhatsApp Widget & Balloon */
#wa-widget {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    font-family: var(--font-sans);
}

.wa-btn-circle {
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.wa-btn-circle:hover {
    transform: scale(1.1) rotate(10deg);
}

#wa-balloon {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(197, 168, 128, 0.15);
}

#wa-balloon.wa-balloon-show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.wa-balloon-header {
    background: var(--blue-mid);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    position: relative;
    border-bottom: 2px solid var(--gold-base);
}

.wa-balloon-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue-base);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold-base);
}

.wa-balloon-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wa-balloon-info {
    display: flex;
    flex-direction: column;
}

.wa-balloon-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.wa-balloon-status {
    font-size: 0.75rem;
    color: #25D366;
    font-weight: 500;
}

#wa-balloon-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

#wa-balloon-close:hover {
    color: var(--gold-base);
}

.wa-balloon-body {
    padding: 20px;
    background: #F4F7F6;
    color: #333333;
    font-size: 0.85rem;
    line-height: 1.5;
}

.wa-balloon-body p {
    margin: 0;
}

.wa-balloon-footer {
    padding: 12px 20px;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.wa-balloon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25D366;
    color: #ffffff;
    padding: 10px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.wa-balloon-btn:hover {
    background: #20BA5A;
}

/* 15. SCROLL REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 7.5. Requisitos Section (Incapacidad/LOAS/Aposentadorias) */
#requisitos {
    background-color: var(--blue-base);
    position: relative;
    border-bottom: 1px solid var(--white-dim);
}

.requisitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.requisito-card {
    background: linear-gradient(135deg, var(--blue-base), var(--blue-soft)) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(197, 168, 128, 0.2), rgba(255, 255, 255, 0.03)) border-box;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 55px 45px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.requisito-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-soft)) padding-box,
        linear-gradient(135deg, var(--gold-base), var(--gold-dark)) border-box;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.requisito-num {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--gold-base);
    opacity: 0.15;
    position: absolute;
    top: 35px;
    right: 45px;
    transition: var(--transition-base);
}

.requisito-card:hover .requisito-num {
    opacity: 0.45;
    transform: translateY(-3px) scale(1.05);
}

.requisito-icon {
    font-size: 2.3rem;
    color: var(--gold-base);
    margin-bottom: 25px;
    display: block;
    transition: var(--transition-base);
}

.requisito-card:hover .requisito-icon {
    transform: scale(1.05);
    color: var(--white);
    filter: drop-shadow(0 0 8px rgba(197, 168, 128, 0.4));
}

.requisito-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 300;
}

.requisito-card p {
    color: var(--grey-dark);
    font-size: 0.95rem;
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.requisito-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

.requisito-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    border-top: 1px solid var(--white-dim);
    padding-top: 20px;
}

.requisito-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--grey-dark);
    margin-bottom: 10px;
    line-height: 1.45;
    transition: var(--transition-base);
}

.requisito-list li:last-child {
    margin-bottom: 0;
}

.requisito-card:hover .requisito-list li {
    color: rgba(255, 255, 255, 0.75);
}

.requisito-list li iconify-icon {
    color: var(--gold-base);
    margin-top: 3px;
    min-width: 14px;
}

@media (max-width: 768px) {
    .requisitos-grid {
        grid-template-columns: 1fr;
    }

    .requisito-card {
        padding: 40px 30px;
    }
}