/* ============================================
   Medela Therapies — Stylesheet
   Palette: Deep Navy (#0a1628) + Warm Gold (#c9a84c)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

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

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

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #0a1628;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #4a5568;
    max-width: 600px;
    line-height: 1.7;
}

.section-header--center .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #c9a84c;
    color: #0a1628;
    border-color: #c9a84c;
}

.btn--primary:hover {
    background: #b8963f;
    border-color: #b8963f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
}

.btn--ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn--gold {
    background: #c9a84c;
    color: #0a1628;
    border-color: #c9a84c;
}

.btn--gold:hover {
    background: #b8963f;
    border-color: #b8963f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
}

.btn--outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    transition: background 0.3s ease;
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
}

.nav__logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

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

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.nav__link:hover {
    color: #c9a84c;
}

.nav__link--cta {
    background: #c9a84c;
    color: #0a1628;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600;
}

.nav__link--cta:hover {
    background: #b8963f;
    color: #0a1628;
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.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: rotate(-45deg) translate(5px, -5px);
}

.nav__overlay {
    display: none;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0a1628;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(10, 22, 40, 0.75) 50%,
        rgba(10, 22, 40, 0.6) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: #c9a84c;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    max-width: 760px;
    margin-bottom: 24px;
}

.hero__title em {
    color: #c9a84c;
    font-style: normal;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

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

.hero__stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #c9a84c;
}

.hero__stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: heroScroll 2s ease-in-out infinite;
}

@keyframes heroScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: #f8f7f4;
}

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

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 28px;
    border: 1px solid #e8e6e1;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
    border-color: rgba(201, 168, 76, 0.3);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card__desc {
    font-size: 0.925rem;
    color: #4a5568;
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.85rem;
    color: #4a5568;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #c9a84c;
    border-radius: 50%;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: #ffffff;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

.about__image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.12);
}

.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    background: #c9a84c;
    border-radius: 16px;
    z-index: -1;
    opacity: 0.2;
}

.about__experience-badge {
    position: absolute;
    bottom: 24px;
    left: -16px;
    background: #0a1628;
    color: #ffffff;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}

.about__experience-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #c9a84c;
}

.about__experience-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.about__content {
    max-width: 520px;
}

.about__text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

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

.about__value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 8px;
}

.about__value-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 2px;
}

.about__value-desc {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.5;
}

/* --- Approach --- */
.approach {
    padding: 100px 0;
    background: #0a1628;
}

.approach .section-tag {
    color: #c9a84c;
}

.approach .section-title {
    color: #ffffff;
}

.approach .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.approach__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.approach__step {
    position: relative;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.approach__step:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.approach__step-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.25);
    line-height: 1;
    margin-bottom: 16px;
}

.approach__step-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.approach__step-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* --- CTA --- */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0a1628 100%);
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta__content {
    flex: 1;
    min-width: 280px;
}

.cta__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.cta__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 480px;
}

.cta__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: #f8f7f4;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

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

.contact__detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 10px;
}

.contact__detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0a1628;
    margin-bottom: 4px;
}

.contact__detail-value {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

.contact__detail-value a {
    color: #1e3a5f;
    font-weight: 500;
}

.contact__detail-value a:hover {
    color: #c9a84c;
}

.contact__hours {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e8e6e1;
}

.contact__hours-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0a1628;
    margin-bottom: 8px;
}

.contact__hours-text {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Form */
.contact__form-wrap {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e8e6e1;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.04);
}

.contact__form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}

.contact__form-subtitle {
    font-size: 0.875rem;
    color: #4a5568;
    margin-bottom: 28px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form__input {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #1a1a2e;
    background: #f8f7f4;
    border: 1px solid #d4d2cd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__input::placeholder {
    color: #9ca3af;
}

.form__input:focus {
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #16a34a;
    font-weight: 500;
}

/* --- Footer --- */
.footer {
    background: #0a1628;
    padding: 64px 0 0;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.footer__logo span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer__tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    max-width: 280px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer__link-group strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c9a84c;
    margin-bottom: 16px;
}

.footer__link-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link-group a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    transition: color 0.2s ease;
}

.footer__link-group a:hover {
    color: #c9a84c;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
}

.footer__copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    max-width: 400px;
    text-align: right;
    line-height: 1.5;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .hero__scroll {
        animation: none;
        opacity: 0.5;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach__steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__inner {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    
    .nav__menu.open {
        transform: translateX(0);
    }
    
    .nav__menu li {
        width: 100%;
    }
    
    .nav__link {
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .nav__link--cta {
        margin-top: 24px;
        text-align: center;
        border-bottom: none;
    }
    
    .hero__stats {
        gap: 20px;
    }
    
    .hero__stat-divider {
        display: none;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__inner {
        grid-template-columns: 1fr;
    }
    
    .about__image-wrap {
        order: -1;
    }
    
    .about__experience-badge {
        left: 16px;
        bottom: 16px;
    }
    
    .approach__steps {
        grid-template-columns: 1fr;
    }
    
    .cta__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta__actions {
        justify-content: center;
    }
    
    .contact__inner {
        grid-template-columns: 1fr;
    }
    
    .contact__form-wrap {
        padding: 28px;
    }
    
    .form__row {
        grid-template-columns: 1fr;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__legal {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
    }
}
