/* ============================================
   FITZPATRICK SKIN CARE — STYLESHEET
   ============================================ */

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

:root {
    --green-50:  #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #064e3b;
    --green-950: #022c22;
    
    --offwhite:  #faf9f6;
    --cream:     #f5f3ee;
    --warm:      #ede8df;
    --sand:      #e8e0d4;
    
    --dark:      #0f1a14;
    --dark-mid:  #1a2e24;
    --text:      #1a2e24;
    --text-light:#4a5e52;
    --text-muted:#7a8e82;
    
    --white:     #ffffff;
    --radius:    16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow:    0 4px 24px rgba(6, 78, 59, 0.08);
    --shadow-lg: 0 12px 48px rgba(6, 78, 59, 0.12);
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Outfit', 'Segoe UI', system-ui, sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--offwhite);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(250, 249, 246, 0.95);
    box-shadow: 0 2px 20px rgba(6, 78, 59, 0.06);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-900);
}

.nav__logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--green-800), var(--green-500));
    border-radius: 10px;
    display: block;
    position: relative;
}

.nav__logo-icon::after {
    content: '';
    position: absolute;
    inset: 8px;
    background: var(--offwhite);
    border-radius: 6px;
}

.nav__logo-accent {
    color: var(--green-600);
    font-weight: 400;
}

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

.nav__link {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-600);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav__link:hover {
    color: var(--green-800);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: var(--green-800);
    padding: 10px 20px;
    border-radius: 50px;
    transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
    background: var(--green-700);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-900);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(6, 78, 59, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

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

.hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--green-500);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--green-950);
    margin-bottom: 24px;
}

.hero__headline em {
    font-style: italic;
    color: var(--green-700);
}

.hero__sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 520px;
}

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

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

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

.hero__stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--green-800);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.813rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero__stat-divider {
    width: 1px;
    height: 48px;
    background: var(--sand);
}

/* Hero right — image stack */
.hero__right {
    position: relative;
    height: 600px;
}

.hero__image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__img-main {
    width: 75%;
    height: 80%;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.hero__img-accent {
    width: 55%;
    height: 40%;
    position: absolute;
    bottom: 5%;
    left: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--offwhite);
}

.hero__img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__float-card {
    position: absolute;
    bottom: 38%;
    left: 55%;
    background: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero__float-icon {
    width: 40px;
    height: 40px;
    background: var(--green-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

.hero__float-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

/* Hero decorative shapes */
.hero__shape {
    position: absolute;
    pointer-events: none;
}

.hero__shape--circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-200), var(--green-400));
    top: -40px;
    right: -60px;
    opacity: 0.3;
}

.hero__shape--dot-grid {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--green-300) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    bottom: 10%;
    left: -20px;
    opacity: 0.5;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--green-400), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.938rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--green-800);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(6, 78, 59, 0.3);
}

.btn--primary:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--green-800);
    border: 2px solid var(--green-200);
}

.btn--ghost:hover {
    background: var(--green-50);
    border-color: var(--green-400);
    transform: translateY(-2px);
}

.btn--dark {
    background: var(--dark);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--dark-mid);
    transform: translateY(-2px);
}

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

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

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

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

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

/* ---------- MARQUEE ---------- */
.marquee {
    background: var(--green-900);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.marquee__track {
    display: flex;
    gap: 24px;
    align-items: center;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee__track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee span {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}

.marquee__sep {
    color: var(--green-400) !important;
    font-size: 0.625rem !important;
}

/* ---------- SECTION COMMON ---------- */
.section-header {
    margin-bottom: 56px;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 16px;
    background: var(--green-100);
    padding: 8px 16px;
    border-radius: 50px;
}

.section-tag--light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--green-950);
    margin-bottom: 16px;
}

.section-title em {
    font-style: italic;
    color: var(--green-600);
}

.section-desc {
    font-size: 1.063rem;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 560px;
}

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

/* ---------- SERVICES ---------- */
.services {
    padding: 100px 0;
    background: var(--offwhite);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
}

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

.service-card--featured {
    grid-column: span 1;
    border: 2px solid var(--green-200);
}

.service-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--green-800);
    color: var(--white);
    font-size: 0.688rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 50px;
    z-index: 1;
}

.service-card__img {
    height: 200px;
    overflow: hidden;
}

.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card__body {
    padding: 28px;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    background: var(--green-100);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    margin-bottom: 16px;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.313rem;
    font-weight: 700;
    color: var(--green-950);
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 0.938rem;
    line-height: 1.65;
    color: var(--text-light);
    margin-bottom: 16px;
}

.service-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-card__list li {
    font-size: 0.875rem;
    color: var(--text-light);
    padding-left: 16px;
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--green-400);
    border-radius: 50%;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

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

.about__visual {
    position: relative;
    height: 600px;
}

.about__img-main {
    width: 78%;
    height: 85%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about__img-float {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.about__img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--green-800);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about__badge-year {
    display: block;
    font-size: 0.688rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.about__badge-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.about__content .section-title {
    margin-bottom: 24px;
}

.about__text {
    font-size: 1.063rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text);
}

.about__feature-icon {
    width: 28px;
    height: 28px;
    background: var(--green-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 100px 0;
    background: var(--offwhite);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 16px;
    margin-top: 56px;
}

.gallery__item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery__item:hover img {
    transform: scale(1.06);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-tag {
    background: var(--white);
    color: var(--green-900);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

.gallery__item--wide {
    grid-column: span 6;
}

.gallery__item:not(.gallery__item--wide) {
    grid-column: span 3;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    padding: 100px 0;
    background: var(--green-900);
    position: relative;
    overflow: hidden;
}

.cta-banner__bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-banner__circle {
    position: absolute;
    border-radius: 50%;
}

.cta-banner__circle--1 {
    width: 400px;
    height: 400px;
    background: rgba(34, 197, 94, 0.1);
    top: -100px;
    right: -100px;
}

.cta-banner__circle--2 {
    width: 250px;
    height: 250px;
    background: rgba(74, 222, 128, 0.08);
    bottom: -80px;
    left: 10%;
}

.cta-banner__rect {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    transform: rotate(45deg);
    top: 20%;
    left: 5%;
}

.cta-banner__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-banner__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-banner__title em {
    font-style: italic;
    color: var(--green-300);
}

.cta-banner__desc {
    font-size: 1.063rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
}

.cta-banner__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 100px 0;
    background: var(--offwhite);
}

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

.contact__info .section-title {
    margin-bottom: 16px;
}

.contact__desc {
    font-size: 1.063rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 36px;
}

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

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

.contact__detail-icon {
    width: 48px;
    height: 48px;
    background: var(--green-100);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

.contact__detail strong {
    display: block;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-800);
    margin-bottom: 4px;
}

.contact__detail span,
.contact__detail a {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact__detail a:hover {
    color: var(--green-700);
    text-decoration: underline;
}

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

/* Form */
.contact__form-wrap {
    position: relative;
}

.contact__form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(6, 78, 59, 0.06);
}

.contact__form-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-950);
    margin-bottom: 8px;
}

.contact__form-sub {
    font-size: 0.938rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

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

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

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

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--text);
    background: var(--offwhite);
    border: 2px solid var(--sand);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), background var(--transition);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--green-400);
    background: var(--white);
}

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

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success__icon {
    width: 64px;
    height: 64px;
    background: var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    margin: 0 auto 16px;
}

.form-success__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-950);
    margin-bottom: 8px;
}

.form-success__text {
    font-size: 0.938rem;
    color: var(--text-light);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--green-950);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer__logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    border-radius: 10px;
    display: block;
    position: relative;
}

.footer__logo-icon::after {
    content: '';
    position: absolute;
    inset: 8px;
    background: var(--green-950);
    border-radius: 6px;
}

.footer__logo-accent {
    color: var(--green-400);
    font-weight: 400;
}

.footer__tagline {
    font-size: 0.938rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer__links strong,
.footer__contact strong {
    display: block;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-400);
    margin-bottom: 16px;
}

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

.footer__links a {
    font-size: 0.938rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

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

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

.footer__contact a {
    font-size: 0.938rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

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

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.813rem;
    color: rgba(255,255,255,0.4);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero__container {
        gap: 40px;
    }
    
    .hero__right {
        height: 480px;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__layout {
        gap: 48px;
    }
    
    .gallery__grid {
        grid-template-rows: repeat(2, 220px);
    }
    
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(6, 78, 59, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    
    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__cta {
        justify-content: center;
        width: 100%;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero__right {
        height: 400px;
        order: -1;
    }
    
    .hero__img-main {
        width: 80%;
        height: 75%;
    }
    
    .hero__img-accent {
        width: 55%;
        height: 45%;
    }
    
    .hero__float-card {
        bottom: 40%;
        left: 50%;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__visual {
        height: 400px;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery__item--wide {
        grid-column: span 2;
    }
    
    .contact__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        justify-content: center;
    }
    
    .hero__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .hero__stat-divider {
        width: 48px;
        height: 1px;
    }
    
    .about__features {
        grid-template-columns: 1fr;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }
    
    .gallery__item--wide,
    .gallery__item:not(.gallery__item--wide) {
        grid-column: span 1;
    }
    
    .cta-banner__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact__form-card {
        padding: 24px;
    }
}
