/* ==========================================
   SWS — South West Support
   Design System & Styles
   Technology That Cares as Much as You Do
   ========================================== */

/* ---------- Design Tokens ---------- */
:root {
    --bg-primary: #1a2744;
    --bg-secondary: #151f38;
    --bg-card: #243758;
    --bg-card-hover: #2a3f62;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --accent: #0ea5a0;
    --accent-light: #14d9d1;
    --accent-dark: #0a7c78;
    --accent-glow: rgba(14, 165, 160, 0.25);
    --accent-glow-strong: rgba(14, 165, 160, 0.45);
    --slate-dark: #2d3748;
    --glass-bg: rgba(26, 39, 68, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(14, 165, 160, 0.25);
    --danger: #ef4444;
    --success: #22c55e;
    --warning: #f59e0b;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utilities ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight { color: var(--accent); }

.section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    max-width: 700px;
    margin: 0 auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    line-height: 1.2;
    font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #0b1a2e;
    box-shadow: 0 0 20px var(--accent-glow), 0 4px 15px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px var(--accent-glow-strong), 0 8px 25px rgba(0,0,0,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(14, 165, 160, 0.4);
}

.btn-secondary:hover {
    background: rgba(14, 165, 160, 0.1);
    border-color: var(--accent);
}

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ---------- Glass Panel ---------- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.75rem 0;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo svg, .logo img {
    height: 42px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.logo-text .brand-sub {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 500;
    margin-top: 2px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--text-primary);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -150px;
    left: -150px;
    animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: var(--accent-dark);
    bottom: -200px;
    right: -100px;
    animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-dark);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatOrb 18s ease-in-out infinite alternate;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-centered {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

.hero-centered .hero-text {
    max-width: 720px;
}

.hero-centered .hero-text p {
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-cta {
    justify-content: center;
}

/* Hero Logo */
.hero-logo-wrapper {
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 340px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(14, 165, 160, 0.15));
    animation: logoFadeIn 1.2s ease-out;
}

.hero-text p.hero-tagline {
    color: var(--accent-light);
    font-size: 1.05rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hero-text p.hero-tagline .highlight {
    color: var(--text-primary);
}

.hero-text h1 {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    max-width: 860px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 560px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 1060px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px -15px rgba(14, 165, 160, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(14, 165, 160, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    stroke-width: 1.8;
    fill: none;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.service-features li .check {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ==========================================
   CARE SECTOR SECTION
   ========================================== */
.care-sector {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.care-feature {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition);
}

.care-feature:hover {
    background: rgba(14, 165, 160, 0.04);
    border-color: var(--glass-border);
}

.care-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(14, 165, 160, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.care-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 1.8;
    fill: none;
}

.care-feature h4 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.care-feature p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 960px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.25rem;
    right: 1.25rem;
    font-size: 5rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.15;
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px -15px rgba(14, 165, 160, 0.12);
}

.testimonial-card blockquote {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-card blockquote p + p {
    margin-top: 0.85rem;
}

.testimonial-card figcaption {
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testimonial-org {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ==========================================
   ABOUT US SECTION
   ========================================== */
.about-section {
    background: var(--bg-primary);
}

.about-story {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.about-story .about-text {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.85;
    margin-top: 1.5rem;
}

.team-container {
    margin-top: 2rem;
}

.team-subtitle {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.team-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.team-group-title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 2rem;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.morale-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.3);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px -15px rgba(14, 165, 160, 0.15);
}

.team-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1 / 1;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.placeholder-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.4), rgba(14, 165, 160, 0.05));
}

.monogram {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    box-shadow: 0 0 40px var(--accent-glow);
}

/* Winnie's card sits alone in its row, so it can be taller to show the full photo */
.dog-card .team-img-wrapper {
    aspect-ratio: 4 / 5;
}

.team-img-high {
    object-position: center 20%;
}

.team-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.team-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.team-role {
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}


/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section-bg {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--glass-border-hover);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    gap: 1rem;
    transition: var(--transition);
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question .faq-q-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

.faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(14, 165, 160, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-toggle svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: var(--accent);
}

.faq-item.active .faq-toggle svg {
    stroke: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.contact-details {
    margin-bottom: 2.5rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-details li .contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(14, 165, 160, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details li .contact-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 165, 160, 0.06);
    border: 1px solid rgba(14, 165, 160, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
}

/* Contact Form */
.contact-form-container {
    padding: 2.5rem;
}

/* Step Indicators */
.step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.step-dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.step-dot.active {
    background: var(--accent);
    width: 48px;
}

.step-dot.completed {
    background: var(--accent-dark);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInStep 0.4s ease;
}

.form-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.form-step-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-consent {
    margin-top: 1.25rem;
    color: var(--text-tertiary);
    font-size: 0.78rem;
    line-height: 1.6;
}

.form-consent a {
    color: var(--text-secondary);
    text-decoration: underline;
}

.form-consent a:hover {
    color: var(--accent-light);
}

.form-error {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.08);
    color: var(--text-primary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.form-error a {
    color: var(--accent-light);
    text-decoration: underline;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 0 3px rgba(14, 165, 160, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.challenge-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.challenge-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.challenge-option:hover {
    border-color: rgba(14, 165, 160, 0.3);
    background: rgba(14, 165, 160, 0.05);
}

.challenge-option.selected {
    border-color: var(--accent);
    background: rgba(14, 165, 160, 0.1);
    color: var(--accent-light);
}

.challenge-option input[type="checkbox"] {
    display: none;
}

.challenge-check {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.challenge-option.selected .challenge-check {
    background: var(--accent);
    border-color: var(--accent);
}

.challenge-option.selected .challenge-check::after {
    content: '✓';
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.form-nav .btn {
    min-width: 120px;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ghost:hover {
    color: var(--text-primary);
}

/* Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.form-success.show {
    display: block;
    animation: fadeInStep 0.5s ease;
}

.form-success .success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.form-success .success-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--success);
    stroke-width: 2;
    fill: none;
}

.form-success h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* ==========================================
   LEGAL PAGES
   ========================================== */
.legal-section {
    padding-top: 10rem;
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
}

.legal-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--text-tertiary);
    font-size: 0.88rem;
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2.25rem 0 0.75rem;
}

.legal-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.35rem;
}

.legal-content a {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-brand .footer-logo svg {
    height: 36px;
    width: auto;
}

.footer-brand .footer-logo span {
    font-size: 1.15rem;
    font-weight: 800;
}

.footer-tagline {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.footer-brand > p {
    color: var(--text-tertiary);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

.footer-legal {
    margin-top: 0.35rem;
    max-width: 640px;
    line-height: 1.6;
}

.footer-privacy-link {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-decoration: underline;
    white-space: nowrap;
    transition: var(--transition);
}

.footer-privacy-link:hover {
    color: var(--accent);
}

.footer-bottom-simple {
    border-top: none;
    padding-top: 0;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes floatOrb {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.15); }
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes logoFadeIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }
.delay-5 { transition-delay: 0.75s; }

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .section { padding: 5rem 0; }
    .container { padding: 0 1.25rem; }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .care-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .form-row,
    .challenge-options {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        justify-content: center;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.55rem;
    }

    .hero-logo {
        max-width: 240px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
    }
}
