/* ========================================
   THE FOUNDER'S EDIT — IWD Campaign
   Brand: Skin to Love × Alternative Beauty
   Aesthetic: Clinical Warmth / Quiet Luxury
   ======================================== */

/* ---------- VARIABLES ---------- */
:root {
    /* Clinical Warmth Palette */
    --alabaster: #FAF9F6;
    --warm-stone: #F0EDE8;
    --parchment: #EDE9E3;
    --charcoal: #2C2C2C;
    --charcoal-soft: #3D3D3D;
    --taupe: #7A756E;
    --rose: #C89D90;
    --sage: #90ADA0;
    --ochre: #C5A55A;
    --blush: #D4B5A7;
    --warm-cream: #E8E0D6;
    --deep-rose: #8B4D45;

    /* Functional */
    --bg-primary: var(--alabaster);
    --bg-section: var(--warm-stone);
    --text-primary: var(--charcoal);
    --text-light: var(--taupe);
    --text-on-dark: #F5F3EF;
    --accent: var(--charcoal-soft);
    --accent-hover: var(--charcoal);
    --border-light: rgba(44, 44, 44, 0.08);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing & Shapes */
    --radius: 6px;
    --radius-sm: 3px;
    --shadow-soft: 0 2px 16px rgba(44, 44, 44, 0.04);
    --shadow-card: 0 4px 24px rgba(44, 44, 44, 0.06);
    --shadow-elevated: 0 8px 40px rgba(44, 44, 44, 0.08);
    --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.75;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 44px;
    border: none;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-on-dark);
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(0);
    box-shadow: none;
    opacity: 0.88;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--text-on-dark);
    transform: translateY(0);
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 1rem 3rem;
}

.nav.scrolled {
    background: rgba(250, 249, 246, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1rem 3rem;
    box-shadow: 0 1px 0 var(--border-light);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
}

/* Anchor wrappers around each logo image must be flex containers
   so they don't collapse and cause logos to drift out of the nav bar */
.nav-logo a {
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo-img {
    max-height: 24px;
    width: auto;
    filter: brightness(0);
    flex-shrink: 0;
    transition: filter var(--transition);
}

.stl-logo {
    width: 140px !important;
    height: auto !important;
    max-height: none !important;
}

.alt-logo {
    max-height: 24px;
}

.logo-divider {
    border-left: 1px solid #D3D3D3;
    height: 18px;
}

.nav.scrolled .logo-img {
    filter: brightness(0);
}

.nav-left,
.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-right {
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--charcoal-soft);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav.scrolled .nav-links a {
    color: var(--text-light);
}

.nav.scrolled .nav-links a:hover {
    color: var(--accent);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all var(--transition);
}

.nav.scrolled .hamburger span {
    background: var(--text-primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

.mobile-nav {
    display: none;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    overflow: hidden;
    background: var(--warm-stone);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(250, 249, 246, 0.98) 0%,
            rgba(250, 249, 246, 0.90) 45%,
            rgba(250, 249, 246, 0) 100%);
    z-index: 1;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    filter: saturate(0.85) brightness(1.05) sepia(0.08);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--charcoal);
    width: 100%;
    max-width: 1100px;
    padding: 180px 40px 140px;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 32px;
    font-weight: 400;
    font-family: var(--font-body);
    color: #6A6A6A;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6.5vw, 4.2rem);
    margin-bottom: 36px;
    letter-spacing: -0.015em;
    font-weight: 300;
    font-style: italic;
    color: var(--charcoal);
    opacity: 0;
    max-width: 600px;
    animation: fadeUp 1.2s 0.3s ease forwards;
}

.hero-sub {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 460px;
    margin: 0 0 52px;
    opacity: 0;
    letter-spacing: 0.015em;
    color: var(--taupe);
    animation: fadeUp 1.2s 0.6s ease forwards;
}

/* Hero CTA — charcoal pill */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    padding: 16px 48px;
    background: var(--charcoal-soft);
    color: #FEFEFE;
    border: none;
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    opacity: 0;
    animation: fadeUp 1.2s 0.9s ease forwards;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.hero-cta-btn:hover {
    background: var(--charcoal);
    opacity: 0.88;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollPulse 2s infinite;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 8rem 0 6rem 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text {
    max-width: 65ch;
}

.about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--text-primary);
    margin-bottom: 32px;
    font-weight: 400;
}

.about-text p {
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.about-text .highlight {
    color: var(--deep-rose);
    font-weight: 600;
}

.about-video {
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-video-wrapper {
    max-width: 340px;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    background: var(--warm-stone);
    /* Strict containment for corners on Safari */
    transform: translateZ(0);
}

.founder-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* Zero-Commission Callout */
.zero-commission-callout {
    background: #F5F4F0;
    border: 1px solid #E0DDD5;
    padding: 3rem;
    margin-top: 60px;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    /* Keep the lists themselves left-aligned */
}

/* We create an inner wrapper effect by constraining the children */
.zero-commission-callout>* {
    width: 100%;
    max-width: 55ch;
    margin-left: auto;
    margin-right: auto;
}

.zero-commission-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    text-align: center;
}

.zero-commission-body {
    font-size: 0.95rem;
    color: var(--charcoal-soft);
    line-height: 1.85;
    text-align: center;
}

.zero-commission-body strong {
    color: var(--charcoal);
    font-weight: 600;
}

.custom-list {
    list-style-type: none;
    padding-left: 0;
    margin: 1.5rem auto;
}

.custom-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--charcoal-soft);
    font-size: 0.95rem;
}

.custom-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--taupe);
}

.muted-date {
    font-size: 0.85rem;
    color: #6A6A6A;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.transition-text {
    font-size: 0.95rem;
    color: var(--charcoal-soft);
    line-height: 1.85;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
}

/* Invitation Card */
.invitation-card {
    margin-top: 60px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.invitation-icon {
    font-size: 1.8rem;
    color: var(--ochre);
    flex-shrink: 0;
    line-height: 1;
}

.invitation-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 400;
}

.invitation-content p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.9;
    max-width: 65ch;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 0 0 6rem 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 20px;
    font-weight: 400;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: transparent;
    border: 1px solid #EAE8E3;
}

.rating-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--charcoal);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    background: var(--bg-primary);
    padding: 44px;
    border-radius: 0;
    transition: transform var(--transition);
    border: 1px solid #EAE8E3;
    box-shadow: none;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.testimonial-excellence {
    font-family: var(--font-heading);
    color: var(--charcoal);
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.9;
    font-weight: 400;
}

.testimonial-author {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 56px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: #2C2C2C;
    font-size: 1.8rem;
    font-weight: 300;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.testimonial-btn:hover {
    opacity: 0.7;
    background: transparent;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: var(--warm-cream);
    transition: all var(--transition);
    cursor: pointer;
}

.testimonial-dots .dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* ---------- REGISTRATION ---------- */
.register {
    padding: 0 0 8rem 0;
    background: var(--bg-primary);
}

.form-wrapper {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 72px 56px;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--border-light);
}

.form-header {
    text-align: center;
    margin-bottom: 48px;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 400;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.required {
    color: var(--deep-rose);
}

.form-group input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(44, 44, 44, 0.15);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    background: transparent;
    transition: border-color var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--charcoal);
    box-shadow: none;
}

.form-group input::placeholder {
    color: #C0BDB8;
}

.form-notice {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 32px;
    padding: 16px 20px;
    background: var(--warm-stone);
    border-radius: 0;
    border-left: 2px solid var(--ochre);
    line-height: 1.7;
}

/* Checkboxes */
.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border: 1px solid #2C2C2C !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    background-color: transparent !important;
    margin: 0 12px 0 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

input[type="checkbox"]:checked {
    background-color: #2C2C2C !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-size: 80% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.checkbox-text {
    flex: 1;
}


.inline-link {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: rgba(44, 44, 44, 0.25);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition);
}

.inline-link:hover {
    text-decoration-color: var(--text-primary);
}

.form-error {
    background: #FAF0EE;
    color: var(--deep-rose);
    padding: 14px 18px;
    border-radius: 0;
    font-size: 0.82rem;
    margin-bottom: 20px;
    text-align: center;
}

.btn-submit {
    margin-top: 12px;
}

/* Solid Charcoal Button */
.btn-solid-charcoal {
    background: var(--charcoal);
    color: #FFF;
    width: 100%;
    padding: 20px;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-solid-charcoal:hover {
    background: #1a1a1a;
}

/* Security Notice */
.security-notice {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6A6A6A;
    font-size: 11px;
    line-height: 1.5;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.padlock-icon {
    width: 14px;
    height: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ---------- SUCCESS ---------- */
.success-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

.success-card {
    background: var(--bg-primary);
    padding: 72px 56px;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--border-light);
    text-align: center;
}

.success-icon {
    font-size: 2.4rem;
    color: var(--ochre);
    margin-bottom: 28px;
    animation: pulse 2.5s infinite;
}

.success-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 400;
}

.success-lead {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 480px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.success-steps {
    text-align: left;
    margin-bottom: 48px;
}

.success-steps h3 {
    font-size: 1.3rem;
    margin-bottom: 28px;
    text-align: center;
    font-weight: 400;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: var(--warm-stone);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 400;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.8;
}

.success-explore {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.success-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 28px 0 40px;
    flex-wrap: wrap;
}

.success-sign-off {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    font-style: italic;
    font-weight: 400;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--charcoal);
    color: rgba(245, 243, 239, 0.6);
    padding: 72px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: rgba(245, 243, 239, 0.85);
    margin-bottom: 8px;
    font-style: italic;
    font-weight: 400;
}

.footer-copy {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: rgba(245, 243, 239, 0.9);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Fade-in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 14px);
    }

    .form-wrapper {
        padding: 40px 32px;
    }

    .success-card {
        padding: 48px 32px;
    }
}

@media (max-width: 600px) {

    .nav-left,
    .nav-right,
    .nav-links {
        display: none;
    }

    .mobile-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .mobile-nav-links a {
        color: var(--text-primary) !important;
        font-size: 1.1rem;
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 0.04em;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(250, 249, 246, 0.95) 0%,
                rgba(250, 249, 246, 0.85) 60%,
                rgba(250, 249, 246, 0.4) 100%);
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 32px);
        min-width: 260px;
    }

    .form-wrapper {
        padding: 32px 24px;
    }

    .success-card {
        padding: 36px 24px;
    }

    .success-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .form-header h2 {
        font-size: 1.8rem;
    }
}