:root {
    --color-gray: #6B6B6B;
    --color-copper: #8A7D6B;
    --color-cream: #F0EBE3;
    --color-brown: #1A1A1A;
    --color-black: #0D0D0D;
    --color-white: #FFFFFF;

    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Cinzel', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-cream);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Navbar - Centralizado */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;

    /* Glassmorphism Light Theme */
    background: rgba(242, 230, 216, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(166, 113, 83, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.glass-header.scrolled {
    padding: 12px 5%;
    background: rgba(242, 230, 216, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.menu-icon {
    flex: 1;
    /* Para balancear o flexbox e centrar o meio */
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-icon .bar {
    width: 28px;
    height: 2px;
    background-color: var(--color-brown);
    transition: 0.3s;
}

.brand {
    text-align: center;
    flex: 2;
    color: var(--color-brown);
}

.brand h1 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.brand span {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-copper);
    display: block;
}

.action-button {
    flex: 1;
    /* Para balancear o flexbox e centrar o meio */
    text-align: right;
}

.action-button .btn-agendar {
    text-decoration: none;
    color: var(--color-brown);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--color-brown);
    padding-bottom: 4px;
    transition: 0.3s;
}

.action-button .btn-agendar:hover {
    color: var(--color-copper);
    border-color: var(--color-copper);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 0;
    position: relative;
    background: var(--color-cream);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 0 0 6%;
    height: calc(100vh - 100px);
    gap: 0;
}

/* Left Side */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding-right: 60px;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.2s;
}

.headline {
    font-family: var(--font-heading);
    font-size: 46px;
    color: var(--color-black);
    line-height: 1.2;
    font-weight: 600;
}

.subheadline {
    font-size: 17px;
    color: var(--color-gray);
    line-height: 1.7;
}

.cta-wrapper {
    display: flex;
    justify-content: flex-start;
}

.hero-quote {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.8;
    border-left: 3px solid var(--color-copper);
    padding-left: 20px;
    font-style: italic;
    opacity: 0.85;
    margin: 0;
}

/* Right Side with Photo */
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 0.4s;
}

/* Glow circular simples e elegante com as cores da paleta */
.dra-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(166, 113, 83, 0.75) 0%, rgba(89, 74, 60, 0.35) 40%, transparent 70%);
    z-index: 0;
    filter: blur(50px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

.dra-photo {
    position: relative;
    z-index: 1;
    height: 82vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(89, 74, 60, 0.15));
    transition: transform 0.8s ease;
}

.dra-photo:hover {
    transform: scale(1.02);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 52px;
    padding: 4px 56px 4px 28px;
    background: var(--color-brown);
    color: var(--color-cream);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 100px;
    overflow: hidden;
    transition: padding 0.5s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    width: fit-content;
}

.btn-cta:hover {
    padding-left: 56px;
    padding-right: 28px;
}

.btn-cta .btn-text {
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.btn-cta .btn-icon {
    position: absolute;
    right: 4px;
    width: 44px;
    height: 44px;
    background: var(--color-cream);
    color: var(--color-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    z-index: 3;
    flex-shrink: 0;
}

.btn-cta .btn-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.5s ease;
}

.btn-cta:hover .btn-icon {
    right: calc(100% - 48px);
    transform: rotate(45deg);
}

@media (min-width: 1024px) {
    .hero-section .btn-cta {
        height: 76px;
        padding: 8px 88px 8px 48px;
        font-size: 18px;
    }
    .hero-section .btn-cta:hover {
        padding-left: 88px;
        padding-right: 48px;
    }
    .hero-section .btn-cta .btn-icon {
        width: 60px;
        height: 60px;
        right: 8px;
    }
    .hero-section .btn-cta:hover .btn-icon {
        right: calc(100% - 68px);
    }
    .hero-section .btn-cta .btn-icon svg {
        width: 26px;
        height: 26px;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1s;
    /* appears after others */
}

.scroll-indicator .scroll-text {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--color-gray);
    text-transform: uppercase;
    font-weight: 600;
}

.scroll-indicator .mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid var(--color-copper);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-copper);
    border-radius: 2px;
    margin-top: 6px;
    animation: scrollWheel 2s infinite ease;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* 3D Divider */
.hero-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(166, 113, 83, 0.3), transparent);
    box-shadow: 0 4px 15px rgba(89, 74, 60, 0.1);
    position: relative;
    z-index: 5;
    margin-top: -1px;
    /* aligns perfectly to act as a surface line */
}

/* Stats Section */
.stats-section {
    width: 100%;
    padding: 60px 6%;
    background-color: var(--color-brown);
    text-align: center;
}

.stats-title {
    font-family: var(--font-heading);
    color: rgba(242, 230, 216, 0.85);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--color-copper);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    color: var(--color-cream);
    /* Branco creme no fundo escuro */
    margin-bottom: 8px;
    display: inline-block;
}

.stat-desc {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(242, 230, 216, 0.65);
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Services Section */
.services-section {
    padding: 65px 5%;
    background-color: var(--color-cream);
    text-align: center;
}

.services-header {
    margin-bottom: 40px;
}

.services-header .subtitle {
    font-size: 13px;
    color: var(--color-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.services-header .title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-black);
    font-weight: 500;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(89, 74, 60, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    background-color: #FDF7F2;
    border-bottom: 1px solid rgba(89, 74, 60, 0.08);
}

.card-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 11px;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.card-title {
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--color-brown);
    margin-bottom: 15px;
    font-weight: 600;
}

.card-desc {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-card {
    display: inline-block;
    background-color: var(--color-gray);
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.btn-card:hover {
    background-color: var(--color-copper);
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 5%;
    background-color: #fff;
}

.testimonials-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-header .line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(89, 74, 60, 0.15);
}

.testimonials-header .title {
    padding: 0 40px;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-gray);
    font-weight: 400;
    letter-spacing: 1px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
    row-gap: 30px;
}

.testimonial-card {
    position: relative;
    padding: 10px 40px;
    display: flex;
    flex-direction: column;
}

.vertical-divider {
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 2px;
    background-color: var(--color-black);
    opacity: 0.15;
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 600;
    font-size: 28px;
    overflow: hidden;
    flex-shrink: 0;
}

.img-avatar {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
}

.user-info h4 {
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-black);
    margin-bottom: 2px;
    font-weight: 600;
}

.user-info span {
    font-size: 12px;
    color: var(--color-gray);
}

.google-logo {
    width: 22px;
    height: 22px;
}

.test-stars {
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
}

.blue-check {
    vertical-align: middle;
}

.test-text {
    font-size: 15px;
    color: var(--color-brown);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 65px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    margin-bottom: 36px;
}

.faq-subtitle {
    font-size: 11px;
    color: var(--color-copper);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-brown);
    /* Harmonizado com a paleta */
    font-weight: 500;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-category {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--color-copper);
    margin-top: 22px;
    margin-bottom: 4px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(166, 113, 83, 0.2);
    letter-spacing: 0.5px;
}

.faq-category:first-child {
    margin-top: 0;
}

.faq-item {
    border-radius: 10px;
    background-color: #FDF7F2;
    /* Fundo creme suave da paleta */
    border: 1px solid rgba(166, 113, 83, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(166, 113, 83, 0.35);
    box-shadow: 0 4px 16px rgba(89, 74, 60, 0.07);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 24px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-brown);
    /* Harmonizado com a paleta */
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-copper);
}

.faq-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(166, 113, 83, 0.1);
    color: var(--color-copper);
    box-shadow: none;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
    background-color: var(--color-copper);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-answer p {
    padding: 0 24px 18px 24px;
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.65;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

/* Video Scroll Animation Section */
.video-scroll-section {
    padding: 50px 5% 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    background: radial-gradient(circle at center, #FDF7F2 0%, var(--color-cream) 100%);
}

.video-container-perspective {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
}

.video-card-mockup {
    width: 100%;
    max-width: 380px;
    /* Altura removida para o tamanho abraçar o vídeo exatamente (sem barra preta) */
    border: 12px solid #594A3C;
    background-color: #222;
    border-radius: 40px;
    padding: 8px;
    box-shadow:
        0 0 10px rgba(0, 0, 0, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 80px 50px rgba(0, 0, 0, 0.1);
    transform-origin: center top;
    will-change: transform;
    position: relative;
    z-index: 10;
    /* Mockup na frente do título */
}

.video-card-inner {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #000;
}

/* Video Section Title */
.video-scroll-section {
    position: relative;
    flex-direction: column;
}

.video-section-title {
    text-align: center;
    margin-bottom: 50px;
    z-index: 10;
}

.video-section-title .title {
    font-family: var(--font-heading);
    font-size: 46px;
    color: var(--color-brown);
    font-weight: 500;
}

/* Conheça o Espaço Section - Carousel */
.space-section {
    padding: 50px 0 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.space-section .section-title {
    font-size: 40px;
    color: var(--color-brown);
    margin-bottom: 40px;
    font-family: var(--font-heading);
    text-align: center;
    padding: 0 5%;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
    position: relative;
    /* Removidos os hacks de 100vw que causam a barra de rolagem embaixo no Windows */
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
    /* Tempo um pouco maior para deslize fluido sem dar tontura */
    gap: 15px;
    transform: translate3d(0, 0, 0);
    /* Força aceleração de Hardware (Gera 60 FPS travado) */
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-reverse {
    animation: scrollMarqueeReverse 35s linear infinite !important;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 7.5px));
    }
}

@keyframes scrollMarqueeReverse {
    0% {
        transform: translateX(calc(-50% - 7.5px));
    }

    100% {
        transform: translateX(0);
    }
}

.marquee-slide {
    height: 380px;
    width: auto;
    object-fit: contain;
    /* Ou cover, se for para cortar*/
}

/* About Doctor Section */
.about-doctor-section {
    padding: 70px 5%;
    background: radial-gradient(circle at center right, #FDF7F2 0%, var(--color-cream) 100%);
}

.about-doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Collage */
.about-images {
    position: relative;
    height: 600px;
}

.img-about {
    position: absolute;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.img-about:hover {
    transform: scale(1.03);
    z-index: 10;
}

.img-about-1 {
    width: 65%;
    height: 400px;
    top: 20px;
    left: 0;
    z-index: 1;
}

.img-about-2 {
    width: 70%;
    height: 450px;
    bottom: 20px;
    right: 0;
    z-index: 3;
    border: 12px solid var(--color-white);
}

/* Content */
.about-content {
    display: flex;
    flex-direction: column;
}

.about-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--color-copper);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 44px;
    color: var(--color-brown);
    margin-bottom: 20px;
}

.about-quote {
    background: white;
    padding: 24px 32px;
    border-left: 4px solid var(--color-copper);
    border-radius: 0 16px 16px 0;
    margin-bottom: 28px;
    box-shadow: 0 12px 30px rgba(89, 74, 60, 0.05);
    position: relative;
}

.about-quote svg {
    position: absolute;
    top: -15px;
    left: 20px;
    background: white;
    padding: 0 10px;
}

.about-quote p {
    font-size: 18px;
    font-style: italic;
    color: var(--color-brown);
    line-height: 1.6;
    margin: 0;
}

.about-text p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-text strong {
    color: var(--color-brown);
    font-weight: 600;
}

/* Video Testimonials Section */
.video-testimonials-section {
    padding: 60px 5% 32px;
    background-color: var(--color-white);
    text-align: center;
}

.video-testimonials-section .section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-brown);
    font-weight: 500;
    margin-bottom: 10px;
}

.video-testimonials-section p {
    color: var(--color-gray);
    font-size: 16px;
    margin-bottom: 40px;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    flex: 0 1 calc(33.333% - 40px);
    /* 3 cards por linha */
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.video-quote {
    font-size: 16px;
    font-style: italic;
    color: var(--color-brown);
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
    padding: 0 20px;
    min-height: 80px;
    /* Alinha a altura de todas as citações */
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-quote::before {
    content: '"';
    color: var(--color-copper);
    font-size: 32px;
    font-family: serif;
    position: absolute;
    top: -10px;
    left: -5px;
}

.video-quote::after {
    content: '"';
    color: var(--color-copper);
    font-size: 32px;
    font-family: serif;
    position: absolute;
    bottom: -20px;
    right: -5px;
}

.video-wrapper {
    width: 100%;
    height: 480px;
    /* Altura generosa para acomodar o player Wistia independentemente do formato vertical/horizontal */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(89, 74, 60, 0.1);
    background: #FDF7F2;
    transition: transform 0.4s ease;
}

.video-card:hover .video-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(89, 74, 60, 0.2);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Section */
.site-footer {
    background-color: var(--color-brown);
    padding: 60px 5% 32px;
    color: var(--color-cream);
    font-size: 15px;
    line-height: 1.8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr 1.5fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 500;
    color: var(--color-copper);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-white);
}

.brand-col p {
    font-size: 15px;
    opacity: 0.9;
}

.footer-col p {
    margin-bottom: 15px;
}

.footer-links a,
.contact-link {
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: opacity 0.3s;
    opacity: 0.9;
}

.footer-links a:hover,
.contact-link:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a.social-icon-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    background-color: var(--color-white) !important;
    color: var(--color-brown) !important;
    border-radius: 50% !important;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-icons a.social-icon-btn svg,
.social-icons a.social-icon-btn i {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.social-icons a.social-icon-btn:hover {
    transform: translateY(-5px);
}

/* ============================
   RESPONSIVE — 1024px
   ============================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        height: auto;
        min-height: calc(100vh - 80px);
        gap: 0;
        text-align: center;
    }

    .hero-left {
        align-items: center;
        text-align: center;
        order: 2;
        padding-right: 0;
        padding: 40px 5% 30px;
        gap: 20px;
    }

    .hero-right {
        order: 1;
        height: 45vh;
        align-items: flex-end;
    }

    .cta-wrapper {
        justify-content: center;
    }

    .headline {
        font-size: 38px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .about-doctor-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        height: 460px;
        order: -1;
    }

    .about-title {
        font-size: 36px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vertical-divider {
        display: none;
    }

    .testimonial-card {
        border-bottom: 1px solid rgba(89, 74, 60, 0.15);
        padding-bottom: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .video-grid {
        gap: 24px;
    }

    .video-card {
        flex: 0 1 calc(50% - 24px);
        min-width: 280px;
    }
}

/* ============================
   RESPONSIVE — 768px (Mobile)
   ============================ */
@media (max-width: 768px) {

    /* Header */
    .glass-header {
        padding: 14px 20px;
    }

    .brand h1 {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .brand span {
        font-size: 8px;
        letter-spacing: 3px;
    }

    .action-button {
        display: none;
    }

    .menu-icon {
        flex: 0;
    }

    /* Hero */
    .hero-section {
        padding-top: 70px;
    }

    .hero-container {
        height: auto;
        min-height: unset;
        padding: 0;
    }

    .hero-left {
        order: 1;
        padding: 28px 5% 12px;
        gap: 10px;
    }

    .headline {
        font-size: 30px;
        line-height: 1.25;
        margin-bottom: 4px;
    }

    .subheadline {
        font-size: 15px;
    }

    .hero-right {
        order: 2;
        height: auto;
        min-height: unset;
        align-items: flex-end;
        padding-bottom: 0;
    }

    .dra-photo {
        height: auto;
        width: 95%;
        max-height: 90vw;
        object-position: top center;
    }

    .dra-glow {
        width: 320px;
        height: 320px;
    }

    .hero-quote {
        font-size: 13px;
    }

    .scroll-indicator {
        display: flex;
        bottom: 16px;
        left: auto;
        right: 5%;
    }

    /* Stats */
    .stats-section {
        padding: 44px 6%;
    }

    .stats-title {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 32px;
    }

    .stat-number {
        font-size: 40px;
        margin-bottom: 6px;
    }

    /* Services */
    .services-section {
        padding: 44px 5%;
    }

    .services-header .title {
        font-size: 24px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card img {
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: contain;
        padding: 0;
        background-color: #FDF7F2;
    }

    /* Space / Carousel */
    .space-section {
        padding: 36px 0 30px;
    }

    .space-section .section-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .marquee-slide {
        height: 240px;
    }

    /* Video Scroll */
    .video-scroll-section {
        padding: 36px 5% 30px;
        min-height: auto;
    }

    .video-section-title .title {
        font-size: 28px;
    }

    .video-card-mockup {
        max-width: 280px;
        border-width: 8px;
        border-radius: 28px;
    }

    .video-scroll-section .container {
        margin-top: 32px !important;
    }

    /* Video Testimonials */
    .video-testimonials-section {
        padding: 44px 5%;
    }

    .video-testimonials-section .section-title {
        font-size: 26px;
    }

    .video-grid {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .video-card {
        flex: none;
        width: 100%;
        max-width: 400px;
        min-width: unset;
    }

    .video-wrapper {
        height: 340px;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 44px 5%;
    }

    .testimonials-header .title {
        font-size: 18px;
        padding: 0 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 10px 16px;
    }

    /* FAQ */
    .faq-section {
        padding: 44px 5%;
    }

    .faq-title {
        font-size: 26px;
    }

    .faq-question {
        font-size: 14px;
        padding: 16px 18px;
    }

    /* About */
    .about-doctor-section {
        padding: 44px 5%;
    }

    .about-images {
        position: relative;
        height: 280px;
        display: block;
        margin-bottom: 16px;
    }

    .img-about {
        position: absolute;
        border-radius: 16px;
        object-fit: cover;
    }

    .img-about-1 {
        width: 68%;
        height: 220px;
        top: 0;
        left: 0;
        z-index: 1;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .img-about-2 {
        width: 54%;
        height: 190px;
        bottom: 0;
        right: 0;
        z-index: 2;
        border: 5px solid #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    .about-title {
        font-size: 30px;
    }

    .about-quote {
        padding: 20px 22px;
    }

    .about-quote p {
        font-size: 15px;
    }

    .about-text p {
        font-size: 14px;
        margin-bottom: 14px;
    }

    /* Footer */
    .site-footer {
        padding: 44px 5% 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-links a,
    .contact-link {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-logo {
        font-size: 24px;
    }
}

/* ============================
   RESPONSIVE — 480px (Small Mobile)
   ============================ */
@media (max-width: 480px) {

    .headline {
        font-size: 26px;
    }

    .btn-cta {
        height: 46px;
        font-size: 11px;
        padding: 4px 48px 4px 22px;
    }

    .stats-title {
        font-size: 12px;
    }

    .stat-number {
        font-size: 36px;
    }

    .about-images {
        height: 340px;
    }

    .faq-section {
        max-width: 100%;
    }

    .marquee-slide {
        height: 190px;
    }

    .video-card-mockup {
        max-width: 240px;
    }
}

/* --- Modal Estilizado --- */
.custom-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.custom-modal-overlay.open {
    display: flex;
}

.custom-modal-content {
    background: var(--color-cream);
    max-width: 600px;
    width: 100%;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(166, 113, 83, 0.2);
    animation: modalAppear 0.4s ease-out;
}

@keyframes modalAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--color-brown);
    line-height: 1;
    transition: transform 0.3s ease;
}

.custom-modal-close:hover {
    transform: rotate(90deg);
    color: var(--color-copper);
}

#modalTitle {
    font-family: var(--font-heading);
    color: var(--color-copper);
    margin-bottom: 20px;
    font-size: 24px;
}

#modalText {
    font-family: var(--font-primary);
    color: var(--color-brown);
    font-size: 16px;
    line-height: 1.8;
}

#modalText b {
    color: var(--color-copper);
}

/* Mobile Menu Overlay & Animation */
.mobile-menu-overlay {
    visibility: hidden;
    pointer-events: none;
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-menu-overlay.open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 420px;
    height: 100dvh;
    background: #000000;
    padding: 80px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.open .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
    transition: transform 0.4s ease;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-menu-brand {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #FFFFFF;
    letter-spacing: 3px;
    margin-bottom: 50px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.mobile-menu-overlay.open .mobile-menu-brand {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* Staggered animation for links */
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(1) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(2) { transition-delay: 0.20s; opacity: 1; transform: translateY(0); }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(4) { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(5) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.mobile-menu-overlay.open .mobile-nav-links li:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

.mobile-nav-links li a {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    color: #FFFFFF;
    text-decoration: none;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 2px;
    transition: color 0.3s ease, padding-left 0.3s ease, border-color 0.3s ease;
}

.mobile-nav-links li a:hover {
    color: #CCCCCC;
    padding-left: 12px;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.mobile-nav-links li.menu-cta {
    margin-top: 40px;
}

.mobile-nav-links li.menu-cta a {
    background: #FFFFFF;
    color: #000000;
    text-align: center;
    border-radius: 50px;
    border-bottom: none;
    padding: 16px 24px;
    font-size: 14px;
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mobile-nav-links li.menu-cta a:hover {
    background: #E0E0E0;
    color: #000000;
    padding-left: 24px;
}