/* ============================================
   Balancing Recovery LLC — Custom Styles
   Color Palette: Midnight Blue (#0D1B2A) + Mint (#7ED4C1)
   Fonts: DM Serif Display + Inter
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-midnight: #0D1B2A;
    --color-midnight-light: #1A2F45;
    --color-mint: #7ED4C1;
    --color-mint-light: #A8E6D8;
    --color-mint-pale: #D4F5ED;
    --color-cream: #F0F7F5;
    --color-warm-white: #F8FCFA;
    --color-white: #FFFFFF;
    --color-text-dark: #0D1B2A;
    --color-text-body: #2C3E50;
    --color-text-muted: #5A7A8C;
    --color-text-light: #F0F7F5;
    --color-border: #D4E8E2;
    --color-border-light: #E8F4F0;
    
    --font-display: 'DM Serif Display', 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(13, 27, 42, 0.06), 0 1px 2px rgba(13, 27, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(13, 27, 42, 0.08), 0 2px 4px rgba(13, 27, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(13, 27, 42, 0.12), 0 4px 12px rgba(13, 27, 42, 0.06);
    --shadow-xl: 0 24px 60px rgba(13, 27, 42, 0.16), 0 8px 20px rgba(13, 27, 42, 0.08);
    --shadow-mint: 0 8px 32px rgba(126, 212, 193, 0.25);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-max: 1280px;
    --container-padding: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-body);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ---------- Accessibility ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--color-midnight);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 16px;
}

:focus-visible {
    outline: 3px solid var(--color-mint);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Container ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---------- Floating Background Shapes ---------- */
.floating-shape {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.floating-shape--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-mint-pale) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.floating-shape--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-mint-pale) 0%, transparent 70%);
    bottom: 20%;
    left: -80px;
    animation: float2 25s ease-in-out infinite;
}

.floating-shape--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-mint-pale) 0%, transparent 70%);
    top: 50%;
    right: 5%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(1.05); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -20px); }
    66% { transform: translate(-15px, 15px); }
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(240, 247, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* ---------- Logo ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 101;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-midnight);
    letter-spacing: -0.01em;
}

.logo__suffix {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-mint);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.logo__text--light .logo__name {
    color: var(--color-white);
}

.logo__text--light .logo__suffix {
    color: var(--color-mint-light);
}

/* ---------- Navigation ---------- */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 101;
}

.nav__toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-midnight);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: translateY(7px) 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(-7px) rotate(-45deg);
}

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

.nav__link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-body);
    border-radius: var(--radius-full);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav__link:hover {
    color: var(--color-midnight);
    background: var(--color-mint-pale);
}

.nav__link--cta {
    background: var(--color-midnight);
    color: var(--color-white);
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--color-midnight-light);
    color: var(--color-white);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-midnight);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    background: var(--color-midnight-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn--outline:hover {
    background: var(--color-midnight);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--light {
    background: var(--color-white);
    color: var(--color-midnight);
    box-shadow: var(--shadow-md);
}

.btn--light:hover {
    background: var(--color-mint-pale);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline-light {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.btn--lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* ---------- Eyebrow ---------- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-midnight);
    margin-bottom: 20px;
}

.section-eyebrow--light {
    color: var(--color-mint-light);
}

.section-eyebrow-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-mint);
    border-radius: 50%;
    flex-shrink: 0;
}

.section-eyebrow-dot--light {
    background: var(--color-mint-light);
}

/* ---------- Section Title ---------- */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-midnight);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title--accent {
    color: var(--color-mint);
    font-style: italic;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 640px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--color-cream);
    overflow: hidden;
}

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

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.hero__eyebrow-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-mint);
    border-radius: 50%;
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-midnight);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero__headline-line {
    display: block;
}

.hero__headline-line--accent {
    color: var(--color-mint);
    font-style: italic;
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-body);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero__subtitle em {
    color: var(--color-midnight);
    font-style: italic;
    font-family: var(--font-display);
}

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

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}

/* ---------- Hero Image Stack ---------- */
.hero__image-col {
    position: relative;
}

.hero__image-stack {
    position: relative;
    height: 600px;
}

.hero__image {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image--main {
    width: 380px;
    height: 500px;
    top: 0;
    right: 0;
    z-index: 2;
}

.hero__image--accent {
    width: 260px;
    height: 180px;
    bottom: 140px;
    left: 0;
    z-index: 3;
    border: 4px solid var(--color-white);
}

.hero__image--floating {
    width: 220px;
    height: 160px;
    bottom: 0;
    right: 40px;
    z-index: 4;
    border: 4px solid var(--color-white);
}

.hero__stats-card {
    position: absolute;
    bottom: 60px;
    left: 30px;
    z-index: 5;
    background: var(--color-white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__stats-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    color: var(--color-mint);
    line-height: 1;
}

.hero__stats-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Hero Wave ---------- */
.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 80px;
}

/* ---------- Services ---------- */
.services {
    padding: 100px 0;
    background: var(--color-cream);
    position: relative;
}

.services__header {
    text-align: center;
    margin-bottom: 64px;
}

.services__header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-mint);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-mint-pale);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card--featured {
    grid-row: span 2;
    background: var(--color-midnight);
    border-color: transparent;
}

.service-card--featured::before {
    background: var(--color-mint);
}

.service-card--featured .service-card__title,
.service-card--featured .service-card__desc,
.service-card--featured .service-card__features li {
    color: var(--color-text-light);
}

.service-card--featured .service-card__title {
    font-size: 24px;
}

.service-card__badge {
    display: inline-block;
    background: var(--color-mint-pale);
    color: var(--color-midnight);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.service-card--featured .service-card__badge {
    background: rgba(126, 212, 193, 0.2);
    color: var(--color-mint-light);
}

.service-card__icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-mint-pale);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.service-card--featured .service-card__icon-wrap {
    background: rgba(126, 212, 193, 0.15);
}

.service-card__icon-wrap svg {
    width: 28px;
    height: 28px;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-midnight);
    margin-bottom: 14px;
    line-height: 1.3;
}

.service-card__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-body);
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: var(--color-warm-white);
    position: relative;
}

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

.about__image-grid {
    position: relative;
    height: 600px;
}

.about__image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 75%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about__image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 45%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--color-white);
}

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

.about__experience-badge {
    position: absolute;
    bottom: 45%;
    right: 10%;
    z-index: 2;
    background: var(--color-mint);
    color: var(--color-midnight);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-mint);
    text-align: center;
    max-width: 180px;
}

.about__experience-number {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

.about__experience-text {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.about__content-side .section-subtitle {
    margin-bottom: 32px;
}

.about__lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-body);
    margin-bottom: 20px;
}

.about__content-side > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

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

.about__value-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-mint-pale);
    border-radius: var(--radius-md);
}

.about__value-icon svg {
    width: 24px;
    height: 24px;
}

.about__value-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-midnight);
    margin-bottom: 6px;
}

.about__value-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ---------- Approach ---------- */
.approach {
    padding: 100px 0;
    background: var(--color-midnight);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(126, 212, 193, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.approach__header {
    text-align: center;
    margin-bottom: 72px;
    position: relative;
    z-index: 1;
}

.approach__header .section-eyebrow {
    color: var(--color-mint-light);
}

.approach__header .section-title {
    color: var(--color-white);
}

.approach__header .section-subtitle {
    color: rgba(240, 247, 245, 0.6);
    margin: 0 auto;
}

.approach__steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.approach__step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 32px;
    position: relative;
}

.approach__step:not(:last-child) {
    margin-bottom: 48px;
}

.approach__step-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    color: var(--color-mint);
    line-height: 1;
    padding-top: 8px;
}

.approach__step-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 12px;
}

.approach__step-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(240, 247, 245, 0.65);
}

.approach__step-link {
    color: var(--color-mint);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(126, 212, 193, 0.3);
    transition: border-color var(--transition-fast);
}

.approach__step-link:hover {
    border-color: var(--color-mint);
}

.approach__step-connector {
    position: absolute;
    left: 24px;
    top: 56px;
    width: 2px;
    height: 48px;
    background: linear-gradient(to bottom, var(--color-mint), transparent);
}

.approach__step:last-child .approach__step-connector {
    display: none;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 100px 0;
    background: var(--color-cream);
    position: relative;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials__header .section-subtitle {
    margin: 0 auto;
}

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

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card--featured {
    background: var(--color-midnight);
    border-color: transparent;
}

.testimonial-card--featured .testimonial-card__text {
    color: rgba(240, 247, 245, 0.85);
}

.testimonial-card--featured .testimonial-card__name {
    color: var(--color-white);
}

.testimonial-card--featured .testimonial-card__detail {
    color: var(--color-mint-light);
}

.testimonial-card__quote-mark {
    font-family: var(--font-display);
    font-size: 80px;
    line-height: 0.8;
    color: var(--color-mint);
    margin-bottom: 8px;
    position: absolute;
    top: 24px;
    right: 32px;
    opacity: 0.4;
}

.testimonial-card__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-body);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.testimonial-card__attribution {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    background: var(--color-mint-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-card__name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-midnight);
}

.testimonial-card__detail {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 100px 0;
    background: var(--color-mint);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 27, 42, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-section__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-midnight);
    margin-bottom: 24px;
}

.cta-section__title--accent {
    color: var(--color-white);
    font-style: italic;
}

.cta-section__text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-midnight);
    opacity: 0.75;
    margin-bottom: 40px;
    max-width: 520px;
}

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

.cta-section__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 500px;
}

.cta-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: var(--color-warm-white);
    position: relative;
}

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

.contact__lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-body);
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

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

.contact__detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-mint-pale);
    border-radius: var(--radius-md);
}

.contact__detail-icon svg {
    width: 22px;
    height: 22px;
}

.contact__detail-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact__detail-value {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-midnight);
    font-style: normal;
}

.contact__detail-link {
    color: var(--color-midnight);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact__detail-link:hover {
    color: var(--color-mint);
}

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.contact__map-link {
    display: block;
    position: relative;
}

.contact__map-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.contact__map-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    color: var(--color-midnight);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.contact__map-overlay:hover {
    background: var(--color-mint);
    color: var(--color-midnight);
}

/* ---------- Form ---------- */
.contact__form-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
}

.contact__form-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-midnight);
    margin-bottom: 8px;
}

.contact__form-subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-midnight);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-dark);
    background: var(--color-cream);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.form-input:focus {
    border-color: var(--color-mint);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(126, 212, 193, 0.15);
}

.form-input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D1B2A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.form-privacy {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 16px;
    text-align: center;
    line-height: 1.5;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success__icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    background: var(--color-mint-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success__title {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-midnight);
    margin-bottom: 12px;
}

.form-success__text {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.form-success__text a {
    color: var(--color-mint);
    font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-midnight);
    color: var(--color-text-light);
    padding: 80px 0 0;
}

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

.footer__tagline {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(240, 247, 245, 0.55);
    margin-top: 20px;
    max-width: 300px;
}

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

.footer__link-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-mint-light);
    margin-bottom: 20px;
}

.footer__link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link-list a {
    font-size: 14px;
    color: rgba(240, 247, 245, 0.55);
    transition: color var(--transition-fast);
}

.footer__link-list a:hover {
    color: var(--color-white);
}

.footer__contact-link {
    color: rgba(240, 247, 245, 0.55) !important;
    transition: color var(--transition-fast);
}

.footer__contact-link:hover {
    color: var(--color-mint) !important;
}

.footer__address {
    font-size: 14px;
    color: rgba(240, 247, 245, 0.55);
    line-height: 1.6;
    font-style: normal;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px 0;
    text-align: center;
}

.footer__copyright {
    font-size: 14px;
    color: rgba(240, 247, 245, 0.35);
}

.footer__disclaimer {
    font-size: 12px;
    color: rgba(240, 247, 245, 0.25);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    .floating-shape {
        animation: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero__image-col {
        max-width: 500px;
    }
    
    .hero__image-stack {
        height: 450px;
    }
    
    .hero__image--main {
        width: 280px;
        height: 380px;
    }
    
    .hero__image--accent {
        width: 200px;
        height: 140px;
    }
    
    .hero__image--floating {
        width: 180px;
        height: 130px;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card--featured {
        grid-row: span 1;
    }
    
    .about__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about__image-grid {
        height: 400px;
        max-width: 500px;
    }
    
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card:last-child {
        grid-column: span 2;
    }
    
    .cta-section__inner {
        grid-template-columns: 1fr;
    }
    
    .cta-section__image {
        height: 350px;
        order: -1;
    }
    
    .contact__container {
        grid-template-columns: 1fr;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 100;
    }
    
    .nav__menu.open {
        transform: translateX(0);
    }
    
    .nav__link {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: var(--radius-md);
    }
    
    .nav__link:hover {
        background: var(--color-mint-pale);
    }
    
    .nav__link--cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        background: var(--color-midnight);
        color: var(--color-white);
    }
    
    .nav__overlay {
        position: fixed;
        inset: 0;
        background: rgba(13, 27, 42, 0.5);
        z-index: 99;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
    }
    
    .nav__overlay.active {
        opacity: 1;
        pointer-events: all;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero__image-stack {
        height: 350px;
    }
    
    .hero__image--main {
        width: 220px;
        height: 300px;
    }
    
    .hero__image--accent {
        width: 160px;
        height: 110px;
    }
    
    .hero__image--floating {
        width: 150px;
        height: 110px;
        right: 20px;
    }
    
    .hero__stats-card {
        padding: 14px 20px;
        bottom: 40px;
        left: 20px;
    }
    
    .hero__stats-number {
        font-size: 28px;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__image-grid {
        height: 320px;
    }
    
    .about__experience-badge {
        right: 5%;
        padding: 16px 20px;
    }
    
    .approach__step {
        grid-template-columns: 44px 1fr;
        gap: 20px;
    }
    
    .approach__step-number {
        font-size: 36px;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card:last-child {
        grid-column: span 1;
    }
    
    .contact__form-card {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer__links {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services, .about, .approach, .testimonials, .cta-section, .contact {
        padding: 64px 0;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
    }
}
