/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-marsala: #4A121A;
    --color-marsala-dark: #2B070B;
    --color-marsala-light: #5E1A23;
    --color-rose-gold: #DCAE96;
    --color-rose-gold-medium: #E8C5C8;
    --color-rose-gold-light: #FAF3F0;
    --color-cream: #FAF6F2;
    --color-white: #FFFFFF;
    
    /* Text Colors */
    --color-text: #2D1C22;
    --color-text-light: #7A666D;
    --color-text-white: #FFFFFF;
    
    /* Typography */
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Shadows */
    --shadow-subtle: 0 4px 20px rgba(43, 7, 11, 0.03);
    --shadow-medium: 0 12px 30px rgba(43, 7, 11, 0.06);
    --shadow-premium: 0 20px 50px rgba(43, 7, 11, 0.1);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

p {
    line-height: 1.65;
    margin-bottom: 24px;
}

ul, ol {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-marsala { color: var(--color-marsala); }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }

/* Section Standard Headers */
.section-header {
    margin-bottom: 64px;
}

.section-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-marsala);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background-color: var(--color-marsala);
}

.section-tag.tag-rose {
    color: #C07F67;
}
.section-tag.tag-rose::before {
    background-color: #C07F67;
}

.section-title {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-marsala-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-light);
    font-weight: 400;
}

/* ==========================================================================
   BUTTONS (CTAs)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 18px 36px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.75rem;
}

.btn-primary {
    background-color: var(--color-marsala);
    color: var(--color-text-white);
    box-shadow: 0 8px 24px rgba(74, 18, 26, 0.15);
}

.btn-primary:hover {
    background-color: var(--color-marsala-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(74, 18, 26, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-marsala);
    border: 1px solid var(--color-rose-gold);
}

.btn-secondary:hover {
    background-color: var(--color-rose-gold-light);
    border-color: var(--color-marsala);
    color: var(--color-marsala);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, #4A121A 0%, #2B070B 100%);
    border: 1px solid rgba(220, 174, 150, 0.4);
}

.btn-gold:hover {
    border-color: var(--color-rose-gold);
}

.btn-block {
    width: 100%;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Shimmer/Glow effect on CTAs */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 20%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--color-marsala-dark) !important;
    box-shadow: var(--shadow-subtle);
    border-bottom: 1px solid rgba(220, 174, 150, 0.12);
    transition: var(--transition-smooth);
    padding: 16px 0;
}

.header.scrolled {
    padding: 10px 0;
    background-color: var(--color-marsala-dark) !important; /* Solid Deep Marsala matching the footer */
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(220, 174, 150, 0.22);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 38px;
    width: auto;
}

.header-logo-img {
    height: 38px; /* Refined, elegant and minimal scale */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    background: transparent !important;
    background-color: transparent !important;
    filter: none !important; /* Absolutely disabled to display white logo natively */
    mix-blend-mode: normal !important;
}

.header.scrolled .header-logo-img {
    height: 35px; /* Discrete, balanced scale when scrolling */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-rose-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-rose-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-fast);
    transform-origin: left center;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 200px;
    padding-bottom: 140px;
    background-color: var(--color-marsala-dark);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.tag-superior {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-rose-gold);
    background-color: rgba(220, 174, 150, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-title .highlight-text {
    font-style: italic;
    color: var(--color-rose-gold);
    position: relative;
    display: inline-block;
}

.hero-title .highlight-text::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(220, 174, 150, 0.15);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-rose-gold-light);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-actions {
    margin-bottom: 40px;
}

.hero-section .btn-primary {
    background: linear-gradient(135deg, var(--color-marsala) 0%, var(--color-marsala-dark) 100%);
    border: 1px solid rgba(220, 174, 150, 0.5);
    box-shadow: 0 8px 32px rgba(43, 7, 11, 0.4), 0 0 15px rgba(220, 174, 150, 0.15);
}

.hero-section .btn-primary:hover {
    border-color: var(--color-rose-gold);
    box-shadow: 0 12px 40px rgba(43, 7, 11, 0.6), 0 0 25px rgba(220, 174, 150, 0.3);
    transform: translateY(-3px);
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet-icon {
    color: var(--color-rose-gold);
    font-size: 1.1rem;
}

.bullet-text {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 0.78;
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(220, 174, 150, 0.3);
}

.frame-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-rose-gold);
    z-index: -1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.fd-top-right {
    top: -12px;
    right: -12px;
    border-bottom: none;
    border-left: none;
}

.fd-bottom-left {
    bottom: -12px;
    left: -12px;
    border-top: none;
    border-right: none;
}

.image-frame:hover .fd-top-right {
    transform: translate(6px, -6px);
}

.image-frame:hover .fd-bottom-left {
    transform: translate(-6px, 6px);
}

/* Background graphics */
.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.shape-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(220, 174, 150, 0.1) 0%, rgba(74, 18, 26, 0.2) 100%);
    filter: blur(40px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

/* ==========================================================================
   2. SEÇÃO DE AUTORIDADE (O KNOW-HOW)
   ========================================================================== */
.authority-section {
    padding: 150px 0;
    background-color: var(--color-white);
}

.authority-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.arched-image-frame {
    position: relative;
    width: 100%;
    max-width: 430px;
    aspect-ratio: 0.72;
    border-radius: 200px 200px 12px 12px; /* Arch frame */
    box-shadow: var(--shadow-premium);
    margin: 0 auto;
}

.authority-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 200px 200px 12px 12px;
}

.badge-experience {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--color-white);
    padding: 16px 24px;
    border-radius: 4px;
    box-shadow: var(--shadow-medium);
    border-left: 3px solid var(--color-marsala);
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-number {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-marsala);
    line-height: 1;
}

.badge-txt {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    line-height: 1.3;
}

.authority-intro {
    font-size: 1.15rem;
    color: var(--color-marsala-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.authority-text {
    color: var(--color-text-light);
    margin-bottom: 36px;
}

.highlight-checklist {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.checklist-item {
    display: flex;
    gap: 20px;
}

.check-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-rose-gold-light);
    color: var(--color-marsala);
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 20px;
    height: 20px;
}

.check-content h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-marsala-dark);
    margin-bottom: 4px;
    letter-spacing: 0.2px;
}

.check-content p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   3. SEÇÃO PONTE DE AUTORIDADE
   ========================================================================== */
.clinic-bridge-section {
    padding: 150px 0;
    background-color: var(--color-rose-gold-light);
}

/* Custom Asymmetric Grid */
.clinic-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    margin-top: 56px;
}

.grid-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-medium);
}

.grid-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(43, 7, 11, 0.8) 100%);
    color: var(--color-text-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-smooth);
}

.grid-card-overlay h3 {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.grid-card-overlay p {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.5;
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.grid-card:hover .grid-img {
    transform: scale(1.05);
}

/* Stack Column */
.grid-col-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.grid-col-stack .grid-card {
    height: 224px;
}

.grid-col-stack .grid-card-overlay {
    padding: 24px;
}

.grid-col-stack .grid-card-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

/* Text Card */
.text-card {
    background-color: var(--color-marsala);
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border: 1px solid rgba(220, 174, 150, 0.2);
}

.text-card-content {
    text-align: center;
}

.quote-mark {
    font-family: var(--font-headings);
    font-size: 4rem;
    line-height: 0.1;
    display: block;
    color: var(--color-rose-gold);
    margin-bottom: 24px;
}

.text-card-content p {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 16px;
}

.quote-author {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-rose-gold);
}

/* ==========================================================================
   4. SEÇÃO DE PROCEDIMENTOS
   ========================================================================== */
.procedures-section {
    padding: 150px 0;
    background-color: var(--color-white);
}

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

.procedure-card {
    background-color: var(--color-white);
    border: 1px solid rgba(220, 174, 150, 0.15);
    border-radius: 8px;
    padding: 40px 32px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.procedure-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(220, 174, 150, 0.4);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background-color: var(--color-rose-gold-light);
    color: var(--color-marsala);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.card-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.procedure-card:hover .card-icon-wrapper {
    background-color: var(--color-marsala);
    color: var(--color-white);
}

.procedure-title {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-marsala-dark);
    margin-bottom: 16px;
}

.procedure-desc {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    flex-grow: 1;
}

.procedure-benefits {
    border-top: 1px solid rgba(220, 174, 150, 0.15);
    padding-top: 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.procedure-benefits li {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text);
}

.procedure-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-marsala);
    border-bottom: 1px solid transparent;
    width: fit-content;
    padding-bottom: 4px;
}

.procedure-link svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

.procedure-card:hover .procedure-link svg {
    transform: translateX(4px);
}

/* ==========================================================================
   5. SEÇÃO DE LOCALIZAÇÃO E CHAMADA FINAL
   ========================================================================== */
.location-section {
    padding: 150px 0;
    background: linear-gradient(135deg, var(--color-marsala-dark) 0%, #1F0509 100%);
    color: var(--color-text-white);
    position: relative;
    overflow: hidden;
}

.location-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 174, 150, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

.location-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(220, 174, 150, 0.15);
    border-radius: 12px;
    padding: 80px;
    backdrop-filter: blur(10px);
}

.location-content {
    text-align: center;
}

.location-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-rose-gold);
    margin-bottom: 20px;
    display: inline-block;
}

.location-title {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}

.location-subtitle {
    font-size: 1.05rem;
    opacity: 0.8;
    margin-bottom: 56px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.location-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
    border-top: 1px solid rgba(220, 174, 150, 0.15);
    border-bottom: 1px solid rgba(220, 174, 150, 0.15);
    padding: 32px 0;
    text-align: left;
}

.detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(220, 174, 150, 0.1);
    color: var(--color-rose-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 20px;
    height: 20px;
}

.detail-txt {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-txt strong {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-rose-gold);
}

.detail-txt span {
    font-size: 0.88rem;
    opacity: 0.9;
}

.location-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-scarcity-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--color-rose-gold);
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-rose-gold);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(220, 174, 150, 0.4);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 174, 150, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 174, 150, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 174, 150, 0); }
}

/* ==========================================================================
   6. FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 150px 0;
    background-color: var(--color-cream);
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid rgba(220, 174, 150, 0.1);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 32px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-marsala-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    outline: none;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-marsala);
    background-color: rgba(220, 174, 150, 0.03);
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-rose-gold);
    transition: var(--transition-smooth);
}

/* Horizontal line */
.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: var(--color-white);
}

.faq-answer p {
    padding: 0 32px 24px 32px;
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.footer {
    background-color: var(--color-marsala-dark);
    color: var(--color-text-white);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(220, 174, 150, 0.2);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 64px;
}

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

.footer-logo-text {
    font-family: var(--font-headings);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 2px;
    text-transform: none;
    margin-bottom: 16px;
    display: block;
    text-decoration: none;
    transition: var(--transition-smooth);
    width: 100%;
}

.footer-logo-text:hover {
    color: var(--color-white);
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.7;
    max-width: 320px;
}

.social-links {
    margin-top: 16px;
}

.social-link-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-rose-gold);
    font-weight: 600;
    font-size: 0.85rem;
}

.social-link-item:hover {
    color: var(--color-white);
}

.social-link-item svg {
    width: 18px;
    height: 18px;
}

.footer-addresses {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.address-block h4 {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 12px;
}

.address-block p {
    font-size: 0.82rem;
    opacity: 0.7;
    line-height: 1.6;
}

.address-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-rose-gold);
    display: block;
    margin-bottom: 8px;
}

.highlighted-address {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(220, 174, 150, 0.15);
    padding: 24px;
    border-radius: 4px;
}

.days-label {
    display: block;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-rose-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    opacity: 0.5;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.legal-link:hover {
    color: var(--color-white);
    opacity: 1;
}

/* ==========================================================================
   WHATSAPP FLOATING BADGE
   ========================================================================== */
.whatsapp-floating {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 99;
    display: flex;
    align-items: center;
    background-color: var(--color-marsala);
    border: 1px solid var(--color-rose-gold);
    color: var(--color-text-white);
    padding: 10px 18px 10px 10px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(74, 18, 26, 0.25);
    transition: var(--transition-smooth);
}

.whatsapp-floating:hover {
    transform: translateY(-5px) scale(1.02);
    background-color: var(--color-marsala-light);
    border-color: var(--color-rose-gold-medium);
    box-shadow: 0 12px 35px rgba(74, 18, 26, 0.4);
}

.whatsapp-icon-container {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-marsala);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon-container svg {
    width: 24px;
    height: 24px;
}

.whatsapp-badge {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-left: 8px;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-rose-gold);
    border-radius: 50px;
    z-index: -1;
    opacity: 0.4;
    animation: w-pulse 2s infinite;
}

/* Header Specific Button Overrides for dark background visibility */
.header .btn-secondary {
    color: var(--color-rose-gold);
    border-color: rgba(220, 174, 150, 0.6);
}

.header .btn-secondary:hover {
    background-color: var(--color-rose-gold);
    color: var(--color-marsala-dark);
    border-color: var(--color-rose-gold);
}

@keyframes w-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.15, 1.3); opacity: 0; }
}

/* ==========================================================================
   HIGH CONVERTING MODAL
   ========================================================================== */
.lead-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 7, 11, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.lead-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--color-white);
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    transform: translateY(30px);
    transition: var(--transition-smooth);
    margin: 0 16px;
}

.lead-modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 0.5;
    color: var(--color-text-light);
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover {
    color: var(--color-marsala);
}

.modal-header-accent {
    height: 6px;
    background: linear-gradient(to right, var(--color-marsala) 0%, var(--color-rose-gold) 100%);
}

.modal-body {
    padding: 48px;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
}

.modal-title-area {
    margin-bottom: 32px;
    text-align: center;
}

.modal-pre-title {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-rose-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.modal-title {
    font-family: var(--font-headings);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-marsala-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.modal-subtitle {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Form Styling */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-rose-gold);
    pointer-events: none;
}

.input-wrapper input, .input-wrapper select {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid rgba(220, 174, 150, 0.3);
    background-color: var(--color-cream);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--color-text);
    outline: none;
    transition: var(--transition-fast);
}

.input-wrapper input:focus, .input-wrapper select:focus {
    border-color: var(--color-marsala);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(74, 18, 26, 0.05);
}

.form-disclaimer {
    font-size: 0.7rem;
    text-align: center;
    color: var(--color-text-light);
    margin-top: 16px;
}

/* Step 2 Success Area */
.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-rose-gold-light);
    color: var(--color-marsala);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.success-icon-wrapper svg {
    width: 40px;
    height: 40px;
}

.btn-whatsapp {
    background-color: #25D366;
    border: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background-color: #20BA56;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-icon {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   SCROLL REVEAL & LOAD ANIMATIONS
   ========================================================================== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards ease-out;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

/* Delayed animations in Hero */
.hero-content .animate-slide-up:nth-child(2) { animation-delay: 0.2s; }
.hero-content .animate-slide-up:nth-child(3) { animation-delay: 0.4s; }
.hero-content .animate-slide-up:nth-child(4) { animation-delay: 0.6s; }
.hero-content .animate-slide-up:nth-child(5) { animation-delay: 0.8s; }

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

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    to { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal triggers */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for grids */
.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }

/* Hero Trust Bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(220, 174, 150, 0.2); /* Rosé gold accent line */
}

.trust-item {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-rose-gold);
}

.trust-divider {
    color: rgba(220, 174, 150, 0.4);
    font-size: 0.8rem;
}

/* ==========================================================================
   NEW. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 150px 0;
    background-color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.testimonial-card {
    background-color: var(--color-white);
    border: 1px solid rgba(220, 174, 150, 0.15);
    border-radius: 12px;
    padding: 48px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-rose-gold);
    box-shadow: var(--shadow-medium);
}

.testimonial-card .quote-mark {
    font-family: var(--font-headings);
    font-size: 4rem;
    color: var(--color-rose-gold);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 40px;
    line-height: 1;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    border-top: 1px solid rgba(220, 174, 150, 0.1);
    padding-top: 20px;
}

.author-name {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-marsala);
    margin-bottom: 4px;
}

.author-location {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.author-treatment {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-rose-gold);
    letter-spacing: 0.5px;
}

/* Footer Brand Logo */
.footer-logo-container {
    display: inline-block;
    margin-bottom: 24px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    background-color: transparent !important;
    filter: none !important; /* Absolutely disabled! */
    mix-blend-mode: normal !important; /* Absolutely normal! */
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST BREAKPOINTS)
   ========================================================================== */

/* Tablet Portrait & down (Max 991px) */
@media (max-width: 991px) {
    .header {
        padding: 14px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-marsala-dark);
        border-left: 1px solid rgba(220, 174, 150, 0.15);
        box-shadow: -10px 0 30px rgba(43, 7, 11, 0.3);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 105;
        padding: 48px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    /* Toggle active state animation */
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -3px);
    }
    
    .header-btn {
        display: none !important; /* Hide tiny button on tablets */
    }
    
    /* Hero layout change */
    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 32px;
        text-align: center;
        padding-top: 20px;
    }

    .authority-section,
    .clinic-bridge-section,
    .procedures-section,
    .location-section,
    .faq-section {
        padding: 90px 0; /* Elegant spacious padding for tablet/mobile */
    }
    
    .hero-content {
        display: contents;
    }
    
    .tag-superior {
        order: 1;
        margin-bottom: 16px;
        align-self: center;
    }
    
    .hero-title {
        order: 2;
        font-size: 2.5rem;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        order: 3;
        margin-bottom: 32px;
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image-wrapper {
        order: 4;
        margin-bottom: 32px;
        display: flex;
        justify-content: center;
    }
    
    .image-frame {
        max-width: 350px;
    }
    
    .hero-actions {
        order: 5;
        margin-bottom: 32px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .hero-bullets {
        order: 6;
        justify-content: center;
    }

    .header-logo-img {
        height: 35px !important; /* Minimalist, sutil scale on tablets */
    }
    
    /* Authority layout change */
    .authority-container {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .authority-image-side {
        order: -1;
    }
    
    .arched-image-frame {
        max-width: 340px;
    }
    
    /* Clinic Bridge Grid */
    .clinic-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-card {
        height: 350px;
    }
    
    .grid-col-stack .grid-card {
        height: 220px;
    }
    
    /* Trust Bar and Testimonials Responsive */
    .hero-trust-bar {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 32px;
        border-top: 1px solid rgba(220, 174, 150, 0.15);
    }
    
    .testimonials-section {
        padding: 90px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 48px;
    }
    
    .testimonial-card {
        padding: 32px;
    }
    
    /* Location layouts */
    .location-wrapper {
        padding: 48px;
    }
    
    .location-details {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 0;
    }
    
    .location-title {
        font-size: 2.2rem;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-addresses {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Phone Portrait (Max 576px) */
@media (max-width: 576px) {
    html {
        font-size: 16px; /* Base size 16px to guarantee the requested minimum body legibility on mobile */
    }
    
    .container {
        padding: 0 32px; /* Amplified side margins on mobile to prevent text from sticking to borders */
    }

    .authority-section,
    .clinic-bridge-section,
    .procedures-section,
    .location-section,
    .faq-section {
        padding: 80px 0; /* Balanced premium padding for smartphone screens */
    }
    
    .btn {
        width: 100%;
        padding: 18px 24px;
    }
    
    .section-title {
        font-size: 1.85rem; /* Margins/line wrapping optimization on mobile titles */
        line-height: 1.35;
    }
    
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 1.05rem; /* Min 16px size for highly eligible body description */
        line-height: 1.65; /* Elegant airy line spacing */
    }

    .authority-intro {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .authority-text, .procedure-desc, .location-subtitle, .faq-answer p {
        font-size: 1.0rem; /* Secure 16px legibility size */
        line-height: 1.65; /* Relaxed elegant line height */
    }
    
    .hero-bullets {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .arched-image-frame {
        max-width: 100%;
        border-radius: 120px 120px 12px 12px;
    }
    
    .badge-experience {
        right: 10px;
        bottom: 10px;
        padding: 10px 16px;
    }
    
    .badge-number {
        font-size: 1.6rem;
    }
    
    .location-wrapper {
        padding: 40px 24px;
    }
    
    .location-title {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 0.92rem;
        line-height: 1.4;
    }
    
    .faq-answer p {
        padding: 0 24px 20px 24px;
    }
    
    .modal-body {
        padding: 32px 24px;
    }

    .footer {
        padding-bottom: 100px; /* Spacious bottom offset to completely clear the floating WhatsApp widget */
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
        .whatsapp-floating {
          bottom: 24px;
          right: 24px;
      }

      .header-logo-img {
          height: 35px !important; /* Minimalist, sutil scale on mobile phones */
      }
      
      .hero-trust-bar {
          gap: 8px;
      }
      
      .trust-item {
          font-size: 0.75rem;
      }
      
      .trust-divider {
          font-size: 0.7rem;
      }
      
      .testimonials-section {
          padding: 80px 0;
      }
      
      .testimonial-card {
          padding: 24px;
      }
}
