/* ============================================
   ADVENT Mequon — Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
select, input, textarea { font-family: inherit; font-size: inherit; }

/* --- Utility --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-mint-500 { color: #48D1A5; }

/* --- Section Header --- */
.section-header { max-width: 680px; margin-bottom: 56px; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2eb88a;
    margin-bottom: 12px;
}
.section-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #48D1A5;
    border-radius: 2px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: #0A2342;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a6b8a;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn--mint {
    background: #48D1A5;
    color: #0A2342;
    border-color: #48D1A5;
}
.btn--mint:hover {
    background: #3cc496;
    border-color: #3cc496;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(72, 209, 165, 0.35);
}
.btn--ghost {
    background: transparent;
    color: #0A2342;
    border-color: #0A2342;
}
.btn--ghost:hover {
    background: #0A2342;
    color: #f0f4f8;
    transform: translateY(-2px);
}
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--sm { padding: 10px 22px; font-size: 0.875rem; }
.btn--full { width: 100%; }

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(240, 244, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 35, 66, 0.08);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled {
    box-shadow: 0 4px 20px rgba(10, 35, 66, 0.1);
}
.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #0A2342;
}
.nav__logo-mark {
    width: 36px;
    height: 36px;
    background: #48D1A5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #0A2342;
    line-height: 1;
}
.nav__logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.nav__logo-dot {
    color: #2eb88a;
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav__links a {
    text-decoration: none;
    color: #0A2342;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}
.nav__links a:not(.btn):hover { color: #2eb88a; }
.nav__links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #48D1A5;
    border-radius: 2px;
    transition: width 0.25s ease;
}
.nav__links a:not(.btn):hover::after { width: 100%; }

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
}
.nav__toggle-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #0A2342;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
    opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: #f0f4f8;
    overflow: hidden;
}
.hero__bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.hero__blob--1 {
    width: 500px;
    height: 500px;
    background: #c2e9d4;
    top: -100px;
    right: -100px;
}
.hero__blob--2 {
    width: 350px;
    height: 350px;
    background: #d0dbe8;
    bottom: -50px;
    left: 10%;
}
.hero__blob--3 {
    width: 200px;
    height: 200px;
    background: #e2f5eb;
    top: 40%;
    right: 30%;
}
.hero__grid {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(72, 209, 165, 0.15);
    color: #1b7458;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero__headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.15;
    color: #0A2342;
    margin-bottom: 24px;
}
.hero__headline em {
    font-style: normal;
    color: #2eb88a;
}
.hero__sub {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #4a6b8a;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}
.hero__trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0A2342;
    font-weight: 500;
    font-size: 0.95rem;
}
.hero__trust-item svg { color: #48D1A5; flex-shrink: 0; }

/* Hero image */
.hero__image-wrap {
    position: relative;
}
.hero__image-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(10, 35, 66, 0.15);
}
.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: #48D1A5;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.4;
}
.hero__floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(10, 35, 66, 0.12);
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero__floating-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #48D1A5, #2eb88a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}
.hero__floating-label {
    font-weight: 700;
    color: #0A2342;
    font-size: 0.95rem;
}
.hero__floating-sub {
    font-size: 0.8rem;
    color: #4a6b8a;
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: white;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #f0f4f8;
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 35, 66, 0.1);
    border-color: rgba(72, 209, 165, 0.3);
    background: white;
}
.service-card__icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e2f5eb, #c2e9d4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b7458;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.service-card:hover .service-card__icon-wrap {
    background: linear-gradient(135deg, #48D1A5, #2eb88a);
    color: white;
}
.service-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0A2342;
    margin-bottom: 10px;
}
.service-card__desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a6b8a;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: #f0f4f8;
}
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about__img-stack {
    position: relative;
}
.about__img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 35, 66, 0.12);
}
.about__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about__img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(10, 35, 66, 0.15);
    border: 4px solid white;
}
.about__img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about__stat-card {
    position: absolute;
    top: -20px;
    left: -20px;
    background: #0A2342;
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(10, 35, 66, 0.2);
}
.about__stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #48D1A5;
    line-height: 1;
}
.about__stat-label {
    font-size: 0.8rem;
    color: #a3b8d6;
    margin-top: 4px;
}
.about__content { max-width: 520px; }
.about__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a6b8a;
    margin-bottom: 16px;
}
.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.about__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #0A2342;
    font-size: 0.95rem;
}
.about__feature-icon {
    width: 28px;
    height: 28px;
    background: #e2f5eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2eb88a;
    flex-shrink: 0;
}

/* --- Patients CTA --- */
.patients {
    padding: 100px 0;
    background: white;
}
.patients__card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: #0A2342;
    border-radius: 32px;
    overflow: hidden;
    min-height: 560px;
}
.patients__left {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.patients__left .section-tag { color: #92d6b4; }
.patients__left .section-tag::before { background: #48D1A5; }
.patients__left .section-title { color: white; }
.patients__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #a3b8d6;
    margin-bottom: 32px;
}
.patients__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.patients__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #d0dbe8;
    font-size: 0.95rem;
    line-height: 1.5;
}
.patients__list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #48D1A5;
}
.patients__right {
    position: relative;
    overflow: hidden;
}
.patients__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Location --- */
.location {
    padding: 100px 0;
    background: #f0f4f8;
}
.location__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}
.location__info { display: flex; flex-direction: column; }
.location__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
    flex: 1;
}
.location__detail {
    display: flex;
    gap: 16px;
}
.location__detail-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2eb88a;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.08);
}
.location__detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4a6b8a;
    margin-bottom: 4px;
}
.location__detail-value {
    font-size: 1rem;
    color: #0A2342;
    line-height: 1.6;
}
.location__phone {
    color: #2eb88a;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s;
}
.location__phone:hover { color: #1b7458; }
.location__hours div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.95rem;
}
.location__hours span:first-child { color: #0A2342; font-weight: 500; }
.location__hours span:last-child { color: #4a6b8a; }
.location__map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(10, 35, 66, 0.1);
    min-height: 400px;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: white;
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact__body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4a6b8a;
    margin-bottom: 32px;
}
.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact__method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #f0f4f8;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}
.contact__method:hover {
    background: white;
    border-color: rgba(72, 209, 165, 0.3);
    box-shadow: 0 8px 24px rgba(10, 35, 66, 0.08);
    transform: translateX(4px);
}
.contact__method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #48D1A5, #2eb88a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}
.contact__method-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4a6b8a;
}
.contact__method-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0A2342;
}

/* Form */
.contact__form-wrap {
    background: #f0f4f8;
    border-radius: 24px;
    padding: 40px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0A2342;
}
.form__optional {
    font-weight: 400;
    color: #4a6b8a;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #d0dbe8;
    border-radius: 12px;
    background: white;
    color: #0A2342;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #48D1A5;
    box-shadow: 0 0 0 3px rgba(72, 209, 165, 0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a3b8d6;
}
.form__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: #1b7458;
}
.form__success svg { color: #48D1A5; }
.form__success p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #0A2342;
}

/* --- Footer --- */
.footer {
    background: #0A2342;
    padding: 64px 0 0;
}
.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(163, 184, 214, 0.2);
}
.footer__tagline {
    color: #a3b8d6;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 320px;
}
.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer__col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #48D1A5;
    margin-bottom: 16px;
}
.footer__col a,
.footer__col p {
    display: block;
    color: #a3b8d6;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
    transition: color 0.2s;
}
.footer__col a:hover { color: #92d6b4; }
.footer__col p { line-height: 1.6; }
.footer__bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__bottom p {
    color: #7695c4;
    font-size: 0.85rem;
    line-height: 1.6;
}
.footer__disclaimer {
    max-width: 500px;
    font-size: 0.8rem !important;
    color: #7695c4 !important;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero__grid { gap: 32px; }
    .hero__image-card { max-width: 480px; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .patients__card { grid-template-columns: 1fr; }
    .patients__right { min-height: 360px; }
}

@media (max-width: 768px) {
    .nav__toggle { display: flex; }
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(240, 244, 248, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(10, 35, 66, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    .nav__links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__image-wrap { order: -1; max-width: 400px; margin: 0 auto; }
    .hero__floating-card { left: 10px; bottom: 20px; }
    .hero__trust { gap: 20px; }

    .services__grid { grid-template-columns: 1fr; }
    .about__grid { grid-template-columns: 1fr; }
    .about__img-secondary { right: 10px; bottom: -20px; }
    .about__stat-card { left: 10px; top: -10px; }
    .about__features { grid-template-columns: 1fr; }

    .patients__left { padding: 40px 32px; }
    .location__grid { grid-template-columns: 1fr; }
    .location__map { min-height: 300px; }

    .contact__grid { grid-template-columns: 1fr; }
    .contact__form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .footer__top { grid-template-columns: 1fr; }
    .footer__links { grid-template-columns: repeat(2, 1fr); }
    .footer__bottom { flex-direction: column; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__floating-card { display: none; }
    .footer__links { grid-template-columns: 1fr; }
}
