:root {
    --purple: #7D3A84;
    --purple-dark: #5D2863;
    --purple-soft: #F5ECF6;
    --purple-pale: #FBF9FC;
    --text: #242124;
    --muted: #666168;
    --border: #E6DEE8;
    --white: #FFFFFF;
    --shadow: 0 16px 45px rgba(93, 40, 99, .10);
    --radius: 18px;
    --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

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

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.site-header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 245px;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand-name {
    display: grid;
    line-height: 1.1;
    color: var(--purple-dark);
}

.brand-name strong { font-size: 1.2rem; }
.brand-name span { font-size: .73rem; color: var(--muted); margin-top: 4px; }

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
    font-size: .92rem;
    font-weight: 600;
}

.main-nav > a { padding: 28px 0; }
.main-nav > a:hover { color: var(--purple); }

.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; cursor: pointer; padding: 28px 0; }
.nav-dropdown summary::-webkit-details-marker { display: none; }

.nav-dropdown-menu {
    position: absolute;
    top: 58px;
    left: -16px;
    width: 230px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.nav-dropdown-menu a {
    display: block;
    padding: 11px 13px;
    border-radius: 9px;
}
.nav-dropdown-menu a:hover { background: var(--purple-soft); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: .2s ease;
    cursor: pointer;
}

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

.btn-outline { border-color: var(--purple); color: var(--purple); background: white; }
.btn-outline:hover { background: var(--purple-soft); }

.btn-outline-dark { border-color: var(--text); color: var(--text); margin-top: 24px; }
.btn-outline-dark:hover { border-color: var(--purple); color: var(--purple); }

.btn-light { background: white; color: var(--purple-dark); }
.btn-light:hover { background: var(--purple-soft); color: var(--purple-dark); }

.btn-outline-light { border-color: rgba(255,255,255,.7); color: white; }
.btn-outline-light:hover { background: white; color: var(--purple-dark); }

.hero {
    background: linear-gradient(135deg, var(--purple-pale), var(--purple-soft));
}

.hero-home { padding: 86px 0; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}

.hero-copy h1,
.hero-simple h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy h1 span { color: var(--purple); }

.hero-lead {
    max-width: 650px;
    font-size: 1.18rem;
    color: var(--muted);
}

.eyebrow {
    display: inline-block;
    color: var(--purple);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.eyebrow.light { color: rgba(255,255,255,.8); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
    font-size: .87rem;
    color: var(--muted);
}

.image-placeholder {
    min-height: 360px;
    border: 1px dashed rgba(125,58,132,.45);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(125,58,132,.10), rgba(255,255,255,.65));
    display: grid;
    place-items: center;
    text-align: center;
    padding: 30px;
    color: var(--purple-dark);
}

.image-placeholder div {
    max-width: 280px;
    display: grid;
    gap: 8px;
}

.image-placeholder span { color: var(--muted); font-size: .9rem; }

.hero-image { min-height: 480px; }

.hero-simple { padding: 78px 0; }
.hero-simple-copy { max-width: 850px; }
.hero-simple h1 { font-size: clamp(2.5rem, 5vw, 4rem); }

.section { padding: 90px 0; }
.section-soft { background: var(--purple-pale); }

.intro-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
    letter-spacing: -.025em;
    margin: 10px 0 18px;
}

h3 { line-height: 1.25; font-size: 1.35rem; }

.section-heading { margin-bottom: 42px; }
.section-heading.centered { text-align: center; max-width: 760px; margin-inline: auto; }
.section-heading p { color: var(--muted); }

.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.service-card,
.info-card,
.article-card,
.condition-card,
.team-card,
.location-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 6px 22px rgba(36,33,36,.04);
}

.service-card { min-height: 270px; }
.service-card.large { padding: 22px; }

.service-card p,
.info-card p,
.article-card p,
.location-card p,
.team-card p { color: var(--muted); }

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--purple-soft);
    color: var(--purple);
    font-weight: 900;
    margin-bottom: 20px;
}

.text-link { color: var(--purple); font-weight: 800; }

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-grid span {
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 16px;
    background: white;
    font-size: .9rem;
}

.feature-grid { display: grid; gap: 22px; }
.feature-grid.four { grid-template-columns: repeat(4,1fr); }
.feature {
    padding: 24px;
    border-left: 3px solid var(--purple);
    background: white;
}
.feature p { color: var(--muted); margin-bottom: 0; }

.steps {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 12px;
}
.steps div {
    padding: 20px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    text-align: center;
}
.steps b { color: var(--purple); display: block; margin-bottom: 10px; }
.steps span { font-weight: 700; font-size: .9rem; }

.center-action { text-align: center; margin-top: 25px; }

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

.location-label {
    color: var(--purple);
    font-weight: 800;
    letter-spacing: .12em;
    font-size: .75rem;
}

.locations-section { background: #fff; }

.cta-banner {
    background: var(--purple);
    color: white;
    padding: 58px 0;
}
.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.cta-content h2 { margin: 0; color: white; max-width: 720px; }

.content-narrow { max-width: 820px; }

.split-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}
.image-placeholder.tall { min-height: 520px; }
.card-image { min-height: 260px; margin-bottom: 22px; }
.article-image { min-height: 190px; margin: -28px -28px 22px; border-radius: 18px 18px 0 0; border-left: 0; border-right: 0; border-top: 0; }

.check-list, .plain-list {
    padding-left: 20px;
}
.check-list li { margin: 10px 0; }
.check-list li::marker { color: var(--purple); }

.vertical-steps { display: grid; gap: 15px; }
.vertical-steps > div {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.vertical-steps b { color: var(--purple); min-width: 28px; }

.timeline {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}
.timeline > div {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
}
.timeline b {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple);
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
}
.condition-marker {
    width: 12px;
    height: 12px;
    background: var(--purple);
    border-radius: 50%;
}
.condition-card ul { color: var(--muted); }

.notice {
    padding: 20px 24px;
    border-left: 4px solid var(--purple);
    background: var(--purple-soft);
    border-radius: 10px;
}

.journey-list {
    display: grid;
    gap: 18px;
    max-width: 900px;
    margin-inline: auto;
}
.journey-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    align-items: start;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
}
.journey-number {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--purple);
    color: white;
    font-weight: 900;
}
.journey-step h2 { font-size: 1.5rem; margin-top: 0; }
.journey-step p { color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.team-photo { min-height: 340px; border-radius: 18px 18px 0 0; border-bottom: 0; }
.team-card { padding: 0; overflow: hidden; }
.team-card-body { padding: 28px; }
.role { color: var(--purple) !important; font-weight: 800; }

.faq-grid { display: grid; gap: 12px; }
.faq-grid details {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    padding: 18px 20px;
}
.faq-grid summary { cursor: pointer; font-weight: 750; }
.faq-grid p { color: var(--muted); margin-bottom: 0; }

.form-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    align-items: start;
}
.appointment-form {
    display: grid;
    gap: 18px;
    background: white;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
label { display: grid; gap: 7px; font-weight: 700; font-size: .9rem; }
input, select, textarea {
    width: 100%;
    border: 1px solid #D7CFD9;
    border-radius: 9px;
    padding: 12px 13px;
    font: inherit;
    background: white;
}
input:focus, select:focus, textarea:focus {
    outline: 3px solid rgba(125,58,132,.15);
    border-color: var(--purple);
}
.checkbox-line { display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 500; }
.checkbox-line input { width: auto; margin-top: 6px; }

.login-page {
    min-height: 65vh;
    display: grid;
    place-items: center;
    padding: 64px 20px;
    background: linear-gradient(135deg, var(--purple-pale), var(--purple-soft));
}
.login-card {
    width: min(100%, 460px);
    padding: 38px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}
.login-logo { width: 82px; height: 82px; object-fit: contain; margin-bottom: 12px; }
.login-card h1 { margin: 0; color: var(--purple-dark); font-size: 1.8rem; }
.login-description { margin: 6px 0 26px; color: var(--muted); }
.login-form { display: grid; gap: 18px; text-align: left; }
.login-form .btn { width: 100%; margin-top: 4px; }
.login-form label { margin-bottom: 7px; }
.login-card .validation-summary { text-align: left; }

@media (max-width: 560px) {
    .login-page { min-height: 60vh; padding: 40px 14px; }
    .login-card { padding: 28px 22px; }
}

.map-placeholder {
    min-height: 220px;
    margin-top: 22px;
    display: grid;
    place-items: center;
    background: var(--purple-soft);
    border-radius: 14px;
    color: var(--purple-dark);
    border: 1px dashed rgba(125,58,132,.4);
}

.site-footer {
    background: #211B22;
    color: white;
    padding: 65px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3,1fr);
    gap: 45px;
}
.footer-logo { width: 80px; filter: brightness(0) invert(1); opacity: .95; }
.footer-intro { color: #CFC6D0; max-width: 340px; }
.site-footer h3 { color: white; font-size: 1rem; }
.site-footer a { display: block; color: #CFC6D0; margin: 8px 0; }
.site-footer a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid #3A333B;
    margin-top: 45px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #AFA6B0;
    font-size: .85rem;
}
.footer-bottom > div { display: flex; gap: 20px; }

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    background: var(--purple);
    color: white;
    border-radius: 100px;
    padding: 13px 18px;
    font-weight: 800;
    box-shadow: var(--shadow);
}
.floating-whatsapp:hover { color: white; background: var(--purple-dark); }

@media (max-width: 1050px) {
    .main-nav { gap: 12px; font-size: .84rem; }
    .brand { min-width: auto; }
    .brand-name { display: none; }
    .hero-grid, .intro-grid, .split-feature, .form-layout { grid-template-columns: 1fr; }
    .hero-image { min-height: 360px; }
    .feature-grid.four { grid-template-columns: repeat(2,1fr); }
    .steps { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 800px) {
    .site-header-inner { flex-wrap: wrap; padding: 12px 0; }
    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
    }
    .main-nav > a, .nav-dropdown summary { padding: 8px 0; white-space: nowrap; }
    .nav-dropdown-menu { position: fixed; top: 115px; left: 20px; }
    .header-cta { margin-left: auto; }
    .card-grid.three, .card-grid.two, .location-grid, .condition-grid, .timeline, .team-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .cta-content { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .hero-home, .section { padding: 60px 0; }
    .hero-copy h1, .hero-simple h1 { font-size: 2.5rem; }
    .button-row { flex-direction: column; align-items: stretch; }
    .button-row .btn { width: 100%; }
    .feature-grid.four, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .footer-bottom > div { flex-direction: column; gap: 5px; }
    .brand-logo { width: 48px; height: 48px; }
    .floating-whatsapp { right: 12px; bottom: 12px; }
}

/* Form validation / appointment feedback */
.validation-summary,
.field-validation {
    color: #9b1c31;
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.success-message {
    background: #f5ecf6;
    border: 1px solid #7D3A84;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    color: #5D2863;
    font-weight: 600;
}
/* Responsive Header & Compact CTA Button */
.header-cta .cta-text-mobile {
    display: none;
}

@media (max-width: 576px) {
    /* Compress container padding */
    .site-header-inner {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        gap: 0.5rem;
    }

    /* Scale down brand title on small screens */
    .brand-name span {
        display: none; /* Hide subtitle on tiny viewports to save space */
    }

    .brand-name strong {
        font-size: 1.1rem;
    }

    /* Compact CTA button sizing */
    .header-cta {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
        border-radius: 4px;
    }

        /* Swap full text to "Book" on small phones */
        .header-cta .cta-text-full {
            display: none;
        }

        .header-cta .cta-text-mobile {
            display: inline;
        }
}
/* Real Image Overrides for Card Placeholders */
.service-card .card-image {
    min-height: unset !important; /* Removes 260px / 360px min-height constraints */
    height: auto;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

    .service-card .card-image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }