/* ==========================================================================
   MOCKUP ALIGNMENT STYLESHEET (100% MATCH) - DRA. PAOLA GÓMEZ
   ========================================================================== */

:root {
    /* Color Palette */
    --color-accent: #C38A8A;         /* Dusty Rose / Rose Gold */
    --color-accent-light: rgba(195, 138, 138, 0.12);
    --color-dark: #2B2525;           /* Charcoal Dark */
    --color-bg-seda: #FAF7F4;        /* Silk Cream background matching mockup */
    --color-whatsapp: #25d366;
    
    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --font-cursive: 'Sacramento', cursive;
}

/* Base resets & styles */
body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-bg-seda);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
}

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

.border-rose-light {
    border-color: var(--color-accent-light) !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #ffffff !important;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.65rem 1.6rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #a87272 !important;
    border-color: #a87272 !important;
    box-shadow: 0 8px 20px rgba(195, 138, 138, 0.25) !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.65rem 1.6rem;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
    background-color: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(195, 138, 138, 0.08);
    z-index: 1030;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
    color: var(--color-dark);
}

.logo-sub {
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 2px;
}

.site-header .nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--color-dark);
    transition: color 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--color-accent) !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background-color: #FCF9F6;
    position: relative;
    padding-bottom: 95px; /* Room for curve overlay */
}

.hero-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
}

.signature-title {
    font-family: var(--font-cursive);
    font-size: 4.8rem;
    color: var(--color-accent);
    font-weight: 400;
    line-height: 0.5;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

.hero-desc {
    font-size: 1.05rem;
    color: #555050;
    max-width: 520px;
}

.hero-image-wrapper {
    position: relative;
    padding-bottom: 10px; /* Ensure flat bottom overlaps nicely with SVG curve */
}

.hero-img {
    border-radius: 200px 200px 0 0; /* Perfect Dome layout matching mockup */
    max-width: 100%;
    max-height: 520px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(43, 37, 37, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1;
}

/* Bottom Curve Divider */
.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 10;
    pointer-events: none;
}

.hero-curve svg {
    display: block;
    width: 100%;
    height: 100%;
}

.curve-flower-icon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    background-color: var(--color-bg-seda);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(195, 138, 138, 0.1);
    border: 1.5px solid rgba(195, 138, 138, 0.15);
}

/* Testimonials / Patients Group */
.avatar-item {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #FCF9F6;
    overflow: hidden;
    margin-right: -10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

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

.decor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #E2D7D7;
    transition: background-color 0.2s ease;
}

.decor-dot.active {
    background-color: var(--color-accent);
}

/* ==========================================================================
   PILLARS BAR (FOCUS CARDS)
   ========================================================================== */
.p-line {
    width: 50px;
    height: 1px;
    background-color: rgba(195, 138, 138, 0.3);
}

.p-icon {
    display: flex;
    align-items: center;
}

.pillars-panel {
    border: 1px solid rgba(195, 138, 138, 0.08);
    box-shadow: 0 15px 40px rgba(43, 37, 37, 0.03) !important;
}

.col-custom {
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    .col-custom {
        flex: 0 0 20%;
        max-width: 20%;
        border-right: 1px solid rgba(195, 138, 138, 0.12);
    }
    .col-custom:last-child {
        border-right: none;
    }
}

.pillar-card p {
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ==========================================================================
   ABOUT / BIO SECTION
   ========================================================================== */
.about-img-wrapper img {
    border-radius: 200px 200px 0 0; /* Perfect Dome layout matching mockup left picture */
    max-height: 480px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.about-tag {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
}

.about-desc {
    font-size: 1.05rem;
    color: #5a5454;
}

.bio-divider-line {
    margin-top: -5px;
}

.bio-line {
    width: 35px;
    height: 1px;
    background-color: rgba(195, 138, 138, 0.25);
}

.bio-heart-icon {
    display: flex;
    align-items: center;
}

.check-icon-wrapper {
    color: var(--color-accent);
    font-size: 1.15rem;
    line-height: 1;
}

.watermark-monogram {
    position: absolute;
    bottom: -15px;
    right: -10px;
    font-family: var(--font-heading);
    font-size: 15rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.03;
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.bio-leaf-overlay {
    position: absolute;
    bottom: -20px;
    right: 20px;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   QUOTE / INSPIRATIONAL BANNER (RESTYLED MATCHING MOCKUP)
   ========================================================================== */
.inspirational-quote-section {
    background-color: var(--color-accent) !important;
    background: linear-gradient(135deg, #c58f8f 0%, #b27272 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 5rem 0 !important;
}

.inspirational-quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

/* ==========================================================================
   FOOTER (UNIFIED HORIZONTAL BAR IN LIGHT BG)
   ========================================================================== */
.site-footer {
    background-color: #FAF7F4 !important;
    border-top: 1px solid rgba(195, 138, 138, 0.15) !important;
}

.site-footer .btn-outline-primary {
    border-radius: 30px;
    font-weight: 600;
}

.footer-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(195, 138, 138, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.instagram-handle-link {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.instagram-handle-link:hover {
    color: var(--color-dark);
}

.border-secondary-subtle {
    border-color: rgba(195, 138, 138, 0.15) !important;
}

/* ==========================================================================
   MODALS & FORM CONTROLS
   ========================================================================== */
.modal-content {
    background-color: #FCF9F6;
    border: 1px solid rgba(195, 138, 138, 0.2) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.25rem rgba(195, 138, 138, 0.15);
}

#appointmentForm .btn-primary.w-100 {
    background: linear-gradient(135deg, var(--color-accent), #b37373) !important;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(195, 138, 138, 0.2);
}

#appointmentForm .btn-primary.w-100:hover {
    background: var(--color-dark) !important;
}

/* Custom responsiveness check */
@media (max-width: 991.98px) {
    .signature-title {
        font-size: 3.5rem;
    }
    .hero-curve {
        height: 60px;
    }
}
