/* =========================================
   AQUA DENTAL LOFT - PREMIUM LANDING PAGE
   CSS STYLE SHEET
========================================= */

/* --- Custom Variables --- */
:root {
    /* Color Palette */
    --primary-color: #ad974f; /* Refined Gold/Bronze */
    --primary-dark: #8c7636;
    --primary-light: #f7f5ee;
    --secondary-color: #42a0a4; /* Teal Accent */
    --secondary-dark: #337d80;
    --secondary-light: #e6f5f5;
    --text-dark: #253642; /* Deep slate/navy charcoal */
    --text-muted: #5e6b75;
    --bg-warm: #f4f8fb; /* Clean light gray-blue background */
    --bg-white: #ffffff;
    --bg-dark: #1e2a33; /* Sophisticated dark slate navy */
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Global Styles */
    --border-radius-sm: 4px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(17, 24, 39, 0.03), 0 2px 4px -1px rgba(17, 24, 39, 0.02);
    --shadow-md: 0 10px 20px -3px rgba(17, 24, 39, 0.05), 0 4px 6px -2px rgba(17, 24, 39, 0.03);
    --shadow-lg: 0 25px 50px -12px rgba(17, 24, 39, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 0.92rem; /* a little bit smaller */
    color: var(--text-muted);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-family: var(--font-serif);
    font-weight: 600; /* a little bit bolder */
    line-height: 1.15;
}



em {
    font-family: var(--font-serif);
    font-style: italic;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

.bg-warm {
    background-color: var(--bg-warm);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--bg-white) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

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

.text-muted {
    color: #9ca3af !important;
}

/* --- Section Header --- */
.section-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-header.text-center {
    margin: 0 auto 60px;
}

.category-title {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-header h2, .sanctuary-content h2, .makeover-content h2 {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.bg-dark .section-header h2, .bg-dark h2 {
    color: var(--bg-white);
}

/* --- Premium Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--bg-warm);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--bg-dark);
    color: var(--bg-white);
}

.btn-dark:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Premium Book Button --- */
.btn-book {
    background-color: var(--bg-white) !important;
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.76rem; /* Letras pequenas premium */
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    background-color: var(--bg-warm) !important;
}

/* --- Header / Navigation --- */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

/* Glassmorphism ao scrollar a página */
.header.scrolled {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.75); /* Transparência glassmorphism premium */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

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

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

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-dark {
    display: none !important;
}

.logo-white {
    display: block !important;
}

.header.scrolled .logo-dark {
    display: block !important;
}

.header.scrolled .logo-white {
    display: none !important;
}

/* Navbar em formato cápsula estilizada */
.navbar {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 4px 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header.scrolled .navbar {
    background-color: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.76rem; /* Letras pequenas premium */
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.75);
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.nav-link i {
    font-size: 0.55rem;
    opacity: 0.6;
    margin-top: 1px;
    transition: var(--transition);
}

.nav-link:hover i {
    transform: translateY(2px);
}

.header.scrolled .nav-link {
    color: rgba(17, 24, 39, 0.75);
}

.nav-link:hover, .nav-link.active {
    color: var(--bg-white);
}

.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active {
    color: var(--text-dark);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--bg-white);
    cursor: pointer;
}

.header.scrolled .menu-toggle {
    color: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh; /* Ocupa toda a altura da tela no desktop para preencher sem buracos */
    min-height: 700px; /* Altura mínima segura para evitar sobreposições */
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    padding-bottom: 40px; /* Reduzido para dar respiro sem aumentar a altura */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-desktop.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: heroZoom 16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
}

@keyframes heroZoom {
    from {
        transform: scale(1.0);
    }
    to {
        transform: scale(1.07);
    }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 17, 21, 0.7) 0%, rgba(15, 17, 21, 0.35) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 80px; /* Ajustado para alinhar perfeitamente */
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 700; /* Bold maior */
    color: var(--bg-white);
    line-height: 1.1;
    margin-bottom: 24px; /* Reduzido de 36px */
    padding-top: 40px; /* Ajustado para descer sem exagerar */
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px; /* Reduzido de 32px */
}

/* Tamanho de botões menor específico da Hero no Desktop */
.hero-cta-group .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Hero Info Badge & Details */
.hero-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    margin-top: 8px; /* Reduzido de 12px */
    margin-bottom: 16px; /* Reduzido de 20px */
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #06b6d4; /* cyan */
    border-radius: 50%;
    display: inline-block;
}

.badge-text {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: 1.5px;
}

.hero-info-details {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Reduzido de 12px */
}

.info-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-family: var(--font-sans);
}

.info-detail-item i {
    color: #06b6d4; /* cyan */
    font-size: 1.1rem;
    width: 16px;
    text-align: center;
}

.info-detail-item a {
    color: inherit;
    transition: var(--transition);
}

.info-detail-item a:hover {
    color: var(--primary-color);
}

/* Scroll to Explore */
.hero-scroll-explore {
    position: absolute;
    bottom: 24px; /* Ajustado para ficar na margem inferior ideal */
    right: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
    opacity: 0.5;
    color: var(--bg-white);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.explore-line {
    width: 80px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.phone-link {
    color: var(--primary-light);
    border-bottom: 1px dotted var(--primary-color);
}

.phone-link:hover {
    color: var(--bg-white);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.service-card:hover .service-img img {
    transform: scale(1.06);
}

.service-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-content {
    padding: 32px;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-content p {
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.link-learn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.link-learn:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.all-services-link-wrapper {
    text-align: center;
    margin-top: 60px;
}

.link-all-services {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
    padding-bottom: 4px;
}

.link-all-services:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    gap: 12px;
}

/* --- Sanctuary Section --- */
.sanctuary-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.sanctuary-images {
    flex: 1;
    position: relative;
}

.main-portrait-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.bw-portrait {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    filter: grayscale(1) contrast(1.05);
}

.quote-overlay-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 320px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-overlay-card p {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.4;
}

.sanctuary-content {
    flex: 1;
}

.desc-highlight {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

.sanctuary-content p {
    margin-bottom: 36px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-box p {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* --- Doctors Section --- */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.doctor-card {
    display: flex;
    align-items: center;
    gap: 32px;
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.02);
}

.doctor-avatar-wrapper {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-light);
}

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

.doctor-info h3 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.doctor-specialty {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.doctor-info p {
    font-size: 0.85rem;
    line-height: 1.6;
}

/* --- Staff Banner Section --- */
.staff-banner-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 600px;
    box-shadow: var(--shadow-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.staff-banner-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.staff-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.staff-banner-wrapper:hover .staff-banner-img {
    transform: scale(1.04);
}

.staff-overlay-card {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: none;
    padding: 0;
    box-shadow: none;
    max-width: 580px;
    z-index: 2;
}

.staff-overlay-card h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--bg-white);
    margin-bottom: 12px;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.staff-overlay-card p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* --- Smile Makeover Section (Before & After Slider) --- */
.makeover-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.makeover-content {
    flex: 1;
}

.makeover-content h2 {
    margin-bottom: 24px;
}

.makeover-content .desc-text {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.makeover-cards-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
}

.makeover-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.makeover-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.makeover-card-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(8, 145, 178, 0.12);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.makeover-card-content h4 {
    color: var(--bg-white);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.makeover-card-content p {
    color: #9ca3af;
    font-size: 0.76rem;
    line-height: 1.5;
    margin: 0;
}

.makeover-slider-wrapper {
    flex: 1.2;
}

/* --- Interactive Before/After Split Slider Component --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.before-img {
    width: 100%;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    -webkit-clip-path: inset(0 50% 0 0);
    will-change: clip-path;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.before-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
}

.after-img {
    z-index: 1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.after-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
}

.slider-badge {
    position: absolute;
    bottom: 24px;
    background-color: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(4px);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 3;
}

.label-before {
    left: 24px;
}

.label-after {
    right: 24px;
}

.slider-range {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    z-index: 5;
    cursor: ew-resize;
}

.slider-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 6px;
    height: 520px;
    background: transparent;
    cursor: ew-resize;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 3;
    pointer-events: none;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-radius: 50%;
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* --- Appointment Section --- */
.appointment-wrapper {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15), 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.appointment-info-dark {
    flex: 1;
    background-color: var(--bg-dark);
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.appointment-info-dark h2 {
    color: var(--bg-white);
    font-size: 1.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
}

.appointment-desc {
    color: #9ca3af;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 36px;
}

.appointment-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.appointment-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--bg-white);
    font-size: 0.95rem;
}

.appointment-features li i {
    color: #4b5563; /* grey outline icon */
    font-size: 1.2rem;
}

.appointment-support span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.appointment-support p {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--bg-white);
    margin: 0;
}

.appointment-support p a:hover {
    color: var(--primary-color);
}

.appointment-form-card {
    flex: 1.2;
    padding: 40px 48px;
}

.appointment-form-card h3 {
    font-size: 1.7rem;
    margin-bottom: 24px;
}

.form-niche-select {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.niche-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.niche-btn:hover, .niche-btn.active {
    background-color: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

.booking-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.full-width-field {
    grid-column: span 2;
}

.form-group-wrap label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.form-group-wrap input, .form-group-wrap select {
    width: 100%;
    padding: 11px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px; /* inputs arredondados premium */
    background-color: var(--bg-warm);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    transition: var(--transition);
}

.form-group-wrap input:focus, .form-group-wrap select:focus {
    outline: none;
    background-color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 4px;
}

.time-slot-btn {
    background-color: var(--bg-warm);
    border: 1px solid var(--border-color);
    padding: 9px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.time-slot-btn:hover, .time-slot-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.btn-submit-form {
    padding: 16px;
    font-size: 1rem;
    margin-top: 12px;
}

/* --- Footer Section --- */
.footer {
    padding: 80px 0 30px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-info .logo {
    margin-bottom: 24px;
}

.brand-desc {
    font-size: 0.85rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.brand-socials {
    display: flex;
    gap: 16px;
}

.brand-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.brand-socials a:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.footer-links-col h4 {
    color: var(--bg-white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links-col ul li {
    margin-bottom: 14px;
}

.footer-links-col ul li a {
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-links-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom-copyright {
    text-align: center;
    padding-top: 30px;
    font-size: 0.85rem;
    color: #4b5563;
}

/* --- Responsividade --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.8rem;
    }
    
    .sanctuary-container, .makeover-container, .appointment-wrapper {
        flex-direction: column;
        gap: 60px;
    }
    
    .makeover-container {
        align-items: stretch !important;
    }
    
    .quote-overlay-card {
        position: static;
        margin: 20px auto 0;
        max-width: 100%;
    }
    
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Ajustes Gerais para mobile - previne quebras e colisões de letras */
    h1, h2, h3, h4 {
        line-height: 1.35 !important;
    }
    
    .section-padding {
        padding: 80px 0; /* Padding mais amigável para celular */
    }

    /* Previne sobreposições e quebras no header mobile */
    .header {
        padding: 15px 0;
    }
    
    .header .btn-book {
        display: none !important; /* Oculta o botão CTA no topo para dar espaço ao logotipo respirar no celular */
    }
    
    .logo {
        font-size: 1.45rem !important; /* Tamanho do logo ajustado para celular */
    }
    
    .menu-toggle {
        display: block;
    }

    .navbar {
        background: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        display: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-radius: 0 !important;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    /* Manter o design mobile original intocado (letras legíveis e fundo escuro) */
    .nav-link {
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 10px 12px !important;
    }
    
    .header.scrolled .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    
    .nav-link:hover, .nav-link.active,
    .header.scrolled .nav-link:hover, .header.scrolled .nav-link.active {
        color: var(--primary-color) !important;
    }
    
    /* Hero Responsivo com contraste reforçado */
    .hero {
        height: auto;
        min-height: 600px;
        padding: 140px 0 80px;
        background-image: none !important;
        background-color: #0f1115 !important;
    }

    .hero::before {
        display: none !important;
    }
    
    .hero-bg-overlay {
        background: rgba(15, 17, 21, 0.5) !important; /* Lighter overlay on mobile for brighter video */
    }

    .hero-video-bg {
        opacity: 0.85 !important; /* Brighter background video on mobile */
        transform: scale(1.18) !important; /* Zoom in to crop out black letterbox bars on mobile */
        transform-origin: center center !important;
    }
    
    .hero h1 {
        font-size: clamp(2.1rem, 7vw, 2.6rem); /* Tamanho responsivo perfeito */
        margin-bottom: 24px;
        text-align: center;
        padding-top: 0 !important; /* Reseta o padding do desktop no mobile */
    }

    .hero-content p {
        text-align: center !important;
    }

    .hero-google-badge {
        display: flex !important;
        margin: 16px auto !important;
        padding: 10px 52px !important;
        width: fit-content !important;
        justify-content: center !important;
        gap: 24px !important;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    
    .stat-box {
        text-align: center !important;
    }
    
    .hero-cta-group .btn {
        width: 100%; /* Botões do hero tomam largura total no celular para cliques fáceis */
    }
    
    .hero-phone-text {
        text-align: center;
        margin-top: 16px;
    }
    
    /* Seção de Serviços */
    .section-header h2, .sanctuary-content h2, .makeover-content h2 {
        font-size: 2.4rem;
        line-height: 1.3 !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Ajuste para a Foto do Santuário (About) - proporcional no celular */
    .bw-portrait {
        height: 380px !important; /* Altura ideal que não engole toda a tela no mobile */
        border-radius: var(--border-radius-md);
    }
    
    .quote-overlay-card {
        position: relative;
        margin: -30px auto 0 !important; /* Pequena sobreposição centralizada */
        width: 90%;
        padding: 20px;
    }

    /* Centralização perfeita das fotos dos Doutores */
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .doctor-card {
        flex-direction: column;
        align-items: center; /* Centraliza a foto de forma impecável no celular */
        text-align: center;
        padding: 24px;
    }
    
    .doctor-avatar-wrapper {
        margin: 0 auto 16px; /* Centraliza horizontalmente */
    }
    
    /* Seção de Equipe no Mobile */
    .staff-banner-wrapper {
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
        margin: 0 !important; /* Retira margem extra já que agora está dentro do container */
        overflow: visible !important;
    }
    
    .staff-banner-wrapper::after {
        display: none !important;
    }
    
    .staff-banner-img {
        height: 280px !important;
        border-radius: var(--border-radius-md);
        box-shadow: var(--shadow-lg);
    }
    
    .staff-overlay-card {
        position: static !important;
        margin-top: 20px !important;
        max-width: 100% !important;
        padding: 24px !important;
        background-color: var(--bg-white) !important;
        box-shadow: var(--shadow-md) !important;
        border-radius: var(--border-radius-md) !important;
    }
    
    .staff-overlay-card h3 {
        color: var(--text-dark) !important;
        font-family: var(--font-serif) !important;
        font-size: 1.6rem !important;
        font-style: italic !important;
        text-shadow: none !important;
        font-weight: 500 !important;
    }
    
    .staff-overlay-card p {
        color: var(--text-muted) !important;
        font-family: var(--font-sans) !important;
        text-shadow: none !important;
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
    }

    /* Slider Antes e Depois Responsivo */
    .makeover-slider-wrapper {
        width: 100% !important;
    }
    
    .slider-container {
        width: 100% !important;
        height: 320px !important; /* Altura confortável para o slider no celular */
    }
    
    .slider-range::-webkit-slider-thumb {
        height: 320px !important;
    }
    
    .slider-range::-moz-range-thumb {
        height: 320px !important;
    }
    
    .slider-line {
        height: 100%;
    }
    
    /* Seção de Agendamento */
    .appointment-info-dark {
        padding: 40px 24px;
    }
    
    .appointment-info-dark h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .appointment-form-card {
        padding: 40px 24px;
    }
    
    .form-niche-select {
        flex-wrap: wrap; /* Permite que os botões caiam de linha de forma organizada se necessário */
        justify-content: center;
        gap: 8px;
    }
    
    .niche-btn {
        flex: 1 1 calc(33.333% - 8px); /* Botões flexíveis proporcionais */
        padding: 8px 12px;
        font-size: 0.8rem;
        text-align: center;
    }
    
    .booking-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .full-width-field {
        grid-column: span 1;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-scroll-explore {
        display: none !important;
    }
}

/* --- Custom Additions for Esteem Smiles --- */

/* Carousel / Modern Gallery Section */
.gallery-section {
    position: relative;
    background-color: var(--bg-warm);
    padding: 120px 0;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: transparent;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.carousel-track-container {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 40px;
    color: var(--bg-white);
    z-index: 2;
}

.carousel-caption h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.carousel-caption p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 24px;
}

.carousel-btn-next {
    right: 24px;
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary-color);
    width: 28px;
    border-radius: 10px;
}

/* Double Locations Section */
.locations-section {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.location-card {
    background-color: var(--bg-warm);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(173, 151, 79, 0.25);
}

.location-card h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
    display: inline-block;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.location-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 4px;
    width: 24px;
    text-align: center;
}

.location-item h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.location-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.location-btn-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.location-btn-group .btn {
    padding: 10px 20px;
    font-size: 0.82rem;
}

/* Service Modal Popup */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 17, 21, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 650px;
    padding: 48px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(173, 151, 79, 0.15);
}

.modal-backdrop.active .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

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

.modal-icon-wrap {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.modal-title h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.modal-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.modal-body ul {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-body li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.modal-body li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.modal-footer {
    display: flex;
    gap: 16px;
}

/* Adjustments for general services grid layout with 5 cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.services-grid .service-card {
    flex: 1 1 calc(33.333% - 27px);
    min-width: 320px;
    max-width: 380px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .carousel-track-container {
        height: 400px;
    }
    .locations-grid {
        grid-template-columns: 1fr;
    }
    .services-grid .service-card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .carousel-track-container {
        height: 420px !important;
    }
    .carousel-caption {
        padding: 24px;
    }
    .carousel-caption h3 {
        font-size: 1.6rem;
    }
    .carousel-btn {
        display: none !important;
    }
    .location-card {
        padding: 24px;
    }
    .location-card h3 {
        font-size: 1.8rem;
    }
    .location-btn-group {
        flex-direction: column;
    }
    .modal-container {
        padding: 32px 24px;
    }
    .modal-body ul {
        grid-template-columns: 1fr;
    }
    .services-grid .service-card {
        flex: 1 1 100%;
    }
}

/* --- New Color & Video Feedback Adjustments --- */

/* Hero Loop Background Video Positioning */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65; /* Increased opacity for a brighter background video */
}

@media (min-width: 769px) {
    .hero-video-bg {
        transform: scale(1.18); /* Zoom in to crop out black letterbox bars on desktop */
        transform-origin: center center;
    }
}

/* Ensure overlay is above the video and below the container */
.hero-bg-overlay {
    z-index: 1 !important;
}

.hero-container {
    z-index: 2 !important;
    position: relative;
}

/* Remove static photo blending from hero background pseudo-element */
.hero::before {
    background-image: none !important;
    background-color: #0f1115 !important; /* Solid dark base under video */
}

/* Glassmorphic Google Reviews Rating Badge */
.hero-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px 30px; /* Shorter height, wider default capsule layout */
    border-radius: 50px;
    margin-top: 12px; /* Placed closer to the CTA buttons */
    margin-bottom: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    width: max-content;
    max-width: 100%;
}

.hero-google-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 36px 0 rgba(0, 0, 0, 0.2);
}

@media (min-width: 769px) {
    .hero-google-badge {
        padding: 10px 48px !important; /* Shorter and wider horizontally on desktop for harmony */
        gap: 24px !important;
    }
    
    .badge-google-text {
        letter-spacing: 0.5px;
    }
    
    .reviews-count {
        font-size: 0.78rem !important; /* Slightly larger text on desktop */
        letter-spacing: 0.8px !important;
    }
}

.badge-google-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    width: 32px; /* Increased Google logo size slightly */
    height: 32px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.badge-google-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating-num {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-right: 4px;
}

.badge-stars i {
    color: #fbbf24; /* Gold Google star color */
    font-size: 0.75rem;
}

.reviews-count {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    margin-top: 1px;
}

/* Stats Grid Override (3 Columns) */
.stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Professional Vertical Doctor Layout */
.doctor-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 40px 24px !important;
    height: 100%;
}

.doctor-avatar-wrapper {
    margin: 0 auto 24px !important;
}

.doctor-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
}

.doctor-info h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.doctor-specialty {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 16px;
}

.doctor-info p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Smile Makeover Light Override */
.makeover.bg-white .makeover-card {
    background-color: var(--primary-light) !important; /* Soft gold/cream #f7f5ee */
    border: 1px solid rgba(173, 151, 79, 0.25) !important; /* Premium gold border */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(173, 151, 79, 0.04);
}

.makeover.bg-white .makeover-card:hover {
    background-color: #f2efe4 !important; /* Slightly darker gold/cream on hover */
    border-color: rgba(173, 151, 79, 0.4) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(173, 151, 79, 0.08);
}

.makeover.bg-white .makeover-card-content h4 {
    color: var(--text-dark) !important;
    font-size: 1.1rem;
    font-weight: 600;
}

.makeover.bg-white .makeover-card-content p {
    color: var(--text-muted) !important;
    font-size: 0.8rem;
}

.makeover.bg-white .makeover-card-icon {
    background-color: rgba(173, 151, 79, 0.1) !important;
    color: var(--primary-color) !important;
}

.makeover.bg-white .slider-container {
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
}

.makeover.bg-white .text-muted {
    color: var(--text-muted) !important;
}


/* Appointment Sidebar Light Teal Override */
.appointment-info-light {
    flex: 1;
    background-color: var(--secondary-light); /* Soft teal #e6f5f5 */
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.appointment-info-light h2 {
    color: var(--text-dark);
    font-size: 1.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
}

.appointment-info-light .appointment-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 36px;
}

.appointment-info-light .appointment-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.appointment-info-light .appointment-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.appointment-info-light .appointment-features li i {
    color: var(--secondary-color) !important; /* Teal icons */
    font-size: 1.2rem;
}

.appointment-info-light .appointment-support span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.appointment-info-light .appointment-support p {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.appointment-info-light .appointment-support p a {
    color: var(--secondary-dark);
}

.appointment-info-light .appointment-support p a:hover {
    color: var(--secondary-color);
}

/* Light Footer Overrides */
.footer.bg-warm {
    background-color: var(--bg-warm);
    border-top: 1px solid var(--border-color);
}

.footer.bg-warm .footer-top-grid {
    border-bottom: 1px solid var(--border-color);
    border-color: var(--border-color) !important;
}

.footer.bg-warm .footer-links-col h4 {
    color: var(--text-dark);
}

.footer.bg-warm .footer-links-col ul li a {
    color: var(--text-muted);
}

.footer.bg-warm .footer-links-col ul li a:hover {
    color: var(--secondary-color);
}

.footer.bg-warm .brand-desc {
    color: var(--text-muted);
}

.footer.bg-warm .brand-socials a {
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--text-dark);
}

.footer.bg-warm .brand-socials a:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.footer.bg-warm .footer-bottom-copyright {
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* Fix Gallery Carousel border radius for Webkit and overflow clipping */
.carousel-container, 
.carousel-track-container, 
.carousel-slide, 
.carousel-slide img {
    border-radius: var(--border-radius-lg) !important;
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Webkit bug fix for border radius overflow clipping */
}

