/* =========================================================
   FOX TRANSPORT — Homepage Mockup
   Palette: Black (primary) • Crimson Red (accent) • Gold (secondary)
   ========================================================= */

:root {
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #181818;
  --line: rgba(255, 255, 255, 0.08);
  --crimson: #c8102e;
  --crimson-dark: #9b0c23;
  --crimson-glow: rgba(200, 16, 46, 0.45);
  --gold: #d4af37;
  --gold-light: #f3d27a;
  --gold-grad: linear-gradient(135deg, #f3d27a 0%, #d4af37 45%, #a87d22 100%);
  --white: #ffffff;
  --text: #cfcfcf;
  --muted: #8a8a8a;

  --font-head: "Bebas Neue", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --header-h: 84px;
}

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

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

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

body.no-scroll { overflow: hidden; }

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

::selection { background: var(--crimson); color: #fff; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

.text-crimson { color: var(--crimson); font-style: normal; }
.text-gold {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.center { text-align: center; margin-top: 56px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--black);
  display: grid; place-content: center; gap: 18px; justify-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader__road { width: 180px; height: 3px; background: var(--black-3); overflow: hidden; border-radius: 3px; }
.preloader__road span { display: block; width: 40%; height: 100%; background: var(--gold-grad); animation: drive 1s var(--ease) infinite; }
.preloader__text { font-family: var(--font-head); font-size: 28px; letter-spacing: 6px; color: #fff; }
.preloader__text em { color: var(--crimson); font-style: normal; }
@keyframes drive { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--crimson); }
.hero .eyebrow::before { display: none; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 0 var(--crimson-glow); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--crimson-glow); }
  70% { box-shadow: 0 0 0 12px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

.section { padding: 120px 0; position: relative; }
.section__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 22px;
}
.section__head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section__head .eyebrow { justify-content: center; }
.section__head--split { text-align: left; max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section__head--split .section__sub { max-width: 420px; }
.section__sub { color: var(--muted); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 50px; border: 2px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s, border-color .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateX(-101%);
  transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::before { transform: translateX(0); }
.btn--lg { padding: 18px 34px; font-size: 15px; }
.btn--block { width: 100%; }

.btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(5px); }

.btn--crimson { background: var(--crimson); color: #fff; box-shadow: 0 10px 30px -10px var(--crimson-glow); }
.btn--crimson::before { background: var(--crimson-dark); }
.btn--crimson:hover { box-shadow: 0 18px 40px -12px var(--crimson-glow); }

.btn--gold { background: var(--gold-grad); color: #111; box-shadow: 0 10px 30px -12px rgba(212, 175, 55, .55); }
.btn--gold::before { background: #fff; }

.btn--outline { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline::before { background: #fff; }
.btn--outline:hover { color: #111; border-color: #fff; }

.btn--dark { background: var(--black); color: #fff; }
.btn--dark::before { background: var(--gold); }
.btn--dark:hover { color: #111; }

.link-arrow { display: inline-flex; gap: 10px; align-items: center; color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; margin-top: 10px; }
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(8px); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, height .4s var(--ease), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  height: 70px;
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .8);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 46px; height: 46px; transition: transform .5s var(--ease); filter: drop-shadow(0 4px 12px rgba(200, 16, 46, .35)); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.08); }
.logo__text { font-family: var(--font-head); font-size: 26px; letter-spacing: 3px; color: #fff; line-height: 1; }
.logo__text strong { font-weight: 400; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 34px; }
.nav__link {
  position: relative; font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: #ddd;
  padding: 6px 0; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--crimson); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.active { color: #fff; }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 12px 24px; font-size: 13px; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; position: relative; z-index: 120; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; background: var(--crimson); }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 100px; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -10% 0 0 0;
  background: #1a0b0e center/cover no-repeat;
  transform: scale(1.12);
  animation: heroZoom 2.4s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .96) 0%, rgba(10, 10, 10, .78) 40%, rgba(10, 10, 10, .2) 100%),
    linear-gradient(0deg, var(--black) 0%, transparent 35%);
}
.hero__lines { position: absolute; inset: 0; pointer-events: none; }
.hero__lines span {
  position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line);
}
.hero__lines span::after {
  content: ""; position: absolute; left: 0; width: 1px; height: 120px;
  background: linear-gradient(transparent, var(--gold), transparent);
  animation: lineRun 6s linear infinite;
}
.hero__lines span:nth-child(1) { left: 25%; }
.hero__lines span:nth-child(2) { left: 50%; }
.hero__lines span:nth-child(2)::after { animation-delay: 2s; background: linear-gradient(transparent, var(--crimson), transparent); }
.hero__lines span:nth-child(3) { left: 75%; }
.hero__lines span:nth-child(3)::after { animation-delay: 4s; }
@keyframes lineRun { from { top: -120px; } to { top: 100%; } }

.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(56px, 9vw, 124px);
  line-height: .92; letter-spacing: 1px; color: #fff;
  margin-bottom: 26px;
}
.hero__line { display: block; }
.hero__desc { max-width: 540px; font-size: 18px; color: #bdbdbd; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__anim {
  opacity: 0; transform: translateY(40px);
  animation: heroIn 1s var(--ease) forwards;
  animation-delay: calc(var(--d, 0s) + .6s);
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero__stats {
  display: flex; gap: 0; margin-top: 64px; max-width: 640px;
  border-top: 1px solid var(--line);
}
.stat { flex: 1; padding: 22px 22px 0 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat strong { font-family: var(--font-head); font-weight: 400; font-size: 46px; line-height: 1; color: var(--gold); display: inline; }
.stat span { display: block; font-size: 13px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: grid; justify-items: center; gap: 8px; color: var(--muted);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
}
.mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.mouse__wheel { width: 3px; height: 8px; background: var(--gold); border-radius: 3px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--crimson);
  overflow: hidden; padding: 18px 0;
  transform: rotate(-1.5deg) scale(1.03);
  margin: -20px 0 0; position: relative; z-index: 3;
  box-shadow: 0 20px 40px -20px var(--crimson-glow);
}
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-head); font-size: 30px; letter-spacing: 2px; color: #fff; white-space: nowrap; }
.marquee i { color: var(--gold-light); font-style: normal; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.intro__media { position: relative; }
.intro__img {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: #1a0b0e center/cover no-repeat;
  position: relative; z-index: 2;
  transition: transform .8s var(--ease);
}
.intro__media:hover .intro__img { transform: translate(-8px, -8px); }
.intro__frame {
  position: absolute; inset: 24px -24px -24px 24px;
  border: 2px solid var(--gold); border-radius: var(--radius); z-index: 1;
  transition: transform .8s var(--ease);
}
.intro__media:hover .intro__frame { transform: translate(8px, 8px); }
.intro__badge {
  position: absolute; z-index: 3; right: -30px; top: 40px;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--crimson); color: #fff;
  display: grid; place-content: center; text-align: center;
  font-family: var(--font-head); line-height: 1;
  box-shadow: 0 20px 40px -10px var(--crimson-glow);
  animation: float 5s ease-in-out infinite;
}
.intro__badge::before { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(255, 255, 255, .5); border-radius: 50%; animation: spin 18s linear infinite; }
.intro__badge strong { font-weight: 400; font-size: 18px; letter-spacing: 3px; color: var(--gold-light); }
.intro__badge span { font-size: 40px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.intro__text p { margin-bottom: 18px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0 30px; }
.checklist li { position: relative; padding-left: 30px; color: #e8e8e8; font-weight: 500; font-size: 15px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--crimson) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Services ---------- */
.services { background: var(--black-2); }
.services::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.services .container { position: relative; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.service-card {
  position: relative; overflow: hidden;
  background: var(--black-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 30px 34px;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  background: linear-gradient(180deg, transparent, rgba(200, 16, 46, .18));
  transition: height .6s var(--ease);
}
.service-card::after {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: var(--gold-grad); transition: width .6s var(--ease);
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(200, 16, 46, .5); box-shadow: 0 30px 60px -25px rgba(200, 16, 46, .45); }
.service-card:hover::before { height: 100%; }
.service-card:hover::after { width: 100%; }
.service-card > * { position: relative; z-index: 1; }

.service-card__num { position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-size: 54px; line-height: 1; color: rgba(255, 255, 255, .05); transition: color .5s; }
.service-card:hover .service-card__num { color: rgba(212, 175, 55, .25); }
.service-card__icon {
  width: 70px; height: 70px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 26px;
  background: rgba(200, 16, 46, .12); border: 1px solid rgba(200, 16, 46, .35);
  transition: background .5s, transform .6s var(--ease);
}
.service-card__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; transition: stroke .4s; }
.service-card:hover .service-card__icon { background: var(--crimson); transform: rotate(-8deg) scale(1.06); }
.service-card:hover .service-card__icon svg { stroke: #fff; }
.service-card h3 { font-family: var(--font-head); font-weight: 400; font-size: 30px; letter-spacing: 1px; color: #fff; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.service-card__link { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: 8px; }
.service-card__link span { transition: transform .35s var(--ease); }
.service-card:hover .service-card__link span { transform: translateX(6px); }

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 20px;
}
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__img {
  position: absolute; inset: 0;
  background: #1a0b0e center/cover no-repeat;
  transition: transform 1s var(--ease), filter .6s;
  filter: grayscale(35%) brightness(.8);
}
.gallery__item:hover .gallery__img { transform: scale(1.1); filter: grayscale(0) brightness(1); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, .9) 0%, transparent 55%);
}
.gallery__item::before {
  content: ""; position: absolute; inset: 14px; z-index: 2;
  border: 1px solid var(--gold); border-radius: 10px;
  opacity: 0; transform: scale(1.05); transition: opacity .5s, transform .6s var(--ease);
}
.gallery__item:hover::before { opacity: 1; transform: scale(1); }
.gallery__item figcaption {
  position: absolute; left: 30px; bottom: 26px; z-index: 3;
  transform: translateY(14px); transition: transform .5s var(--ease);
}
.gallery__item figcaption span { display: block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--crimson); font-weight: 700; margin-bottom: 2px; opacity: 0; transition: opacity .5s; }
.gallery__item figcaption strong { font-family: var(--font-head); font-weight: 400; font-size: 28px; letter-spacing: 1px; color: #fff; }
.gallery__item:hover figcaption { transform: translateY(0); }
.gallery__item:hover figcaption span { opacity: 1; }

/* ---------- Family ---------- */
.family { background: var(--black-2); overflow: hidden; }
.family__bg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-head); font-size: clamp(140px, 24vw, 360px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(212, 175, 55, .08);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.family__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.family__text p { margin-bottom: 26px; }
.family__quote {
  position: relative; margin: 0 0 34px; padding: 24px 28px 24px 30px;
  border-left: 3px solid var(--gold); background: rgba(255, 255, 255, .03); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 18px; font-style: italic; color: #eee;
}
.family__quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

.family__media { position: relative; }
.family__img {
  aspect-ratio: 4 / 3.6; border-radius: 200px 200px var(--radius) var(--radius);
  background: #1a0b0e center/cover no-repeat;
  border: 6px solid var(--black-3);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, .35), 0 40px 80px -30px rgba(0, 0, 0, .9);
  transition: transform .8s var(--ease);
}
.family__media:hover .family__img { transform: scale(1.02); }
.family__card {
  position: absolute; left: -36px; bottom: 40px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(17, 17, 17, .9); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 22px;
  box-shadow: 0 20px 40px -20px #000;
  animation: float 6s ease-in-out infinite;
}
.family__card svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--crimson); fill: #fff; }
.family__card strong { display: block; color: #fff; font-size: 15px; }
.family__card span { font-size: 13px; color: var(--muted); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--crimson);
  background-image:
    linear-gradient(115deg, rgba(0, 0, 0, .25) 0%, transparent 50%),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .04) 0 14px, transparent 14px 28px);
  padding: 70px 0; position: relative; overflow: hidden;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-head); font-weight: 400; font-size: clamp(38px, 4.5vw, 58px); line-height: 1; color: #fff; margin-bottom: 8px; }
.cta-band .text-gold { background: none; color: var(--gold-light); }
.cta-band p { color: rgba(255, 255, 255, .85); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact__info > p { margin-bottom: 36px; }
.contact__list { display: grid; gap: 18px; }
.contact__list li {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; border-radius: var(--radius);
  background: var(--black-2); border: 1px solid var(--line);
  transition: border-color .4s, transform .4s var(--ease), background .4s;
}
.contact__list li:hover { border-color: rgba(212, 175, 55, .5); transform: translateX(8px); background: var(--black-3); }
.contact__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(200, 16, 46, .12); transition: background .4s; }
.contact__list li:hover .contact__icon { background: var(--crimson); }
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.contact__list li:hover .contact__icon svg { stroke: #fff; }
.contact__list small { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span { color: #fff; font-weight: 600; font-size: 17px; }

.contact__form {
  background: var(--black-2); border: 1px solid var(--line); border-radius: 20px;
  padding: 46px 40px; position: relative; overflow: hidden;
}
.contact__form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.contact__form h3 { font-family: var(--font-head); font-weight: 400; font-size: 36px; letter-spacing: 1px; color: #fff; margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { position: relative; display: block; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; padding: 22px 18px 10px;
  background: var(--black); color: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 15px; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.field span {
  position: absolute; left: 18px; top: 16px; color: var(--muted); font-size: 15px; pointer-events: none;
  transition: top .25s var(--ease), font-size .25s var(--ease), color .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, .12); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 6px; font-size: 11px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.field.error input, .field.error textarea { border-color: var(--crimson); }
.form__note { margin-top: 14px; font-size: 14px; text-align: center; min-height: 20px; color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: #050505; border-top: 1px solid var(--line); padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.footer__brand p { margin-top: 18px; max-width: 360px; color: var(--muted); font-size: 15px; }
.footer h4 { font-family: var(--font-head); font-weight: 400; font-size: 22px; letter-spacing: 2px; color: #fff; margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.footer ul a { position: relative; transition: color .3s, padding .3s var(--ease); }
.footer ul a:hover { color: var(--gold); padding-left: 8px; }
.footer__bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.to-top { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); transition: background .3s, color .3s, transform .4s var(--ease); }
.to-top:hover { background: var(--crimson); color: #fff; transform: translateY(-4px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-60px); }
.reveal--right { transform: translateX(60px); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .intro__grid, .family__grid, .contact__grid { gap: 60px; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; gap: 40px;
    background: rgba(10, 10, 10, .97); backdrop-filter: blur(10px);
    clip-path: circle(0 at calc(100% - 46px) 42px);
    transition: clip-path .7s var(--ease);
  }
  .nav.open { clip-path: circle(150% at calc(100% - 46px) 42px); }
  .nav__list { flex-direction: column; align-items: center; gap: 26px; }
  .nav__link { font-family: var(--font-head); font-size: 40px; letter-spacing: 2px; }

  .intro__grid, .family__grid, .contact__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 520px; }
  .intro__badge { right: 0; }
  .family__media { order: -1; max-width: 560px; }
  .family__card { left: 16px; }
  .section__head--split { flex-direction: column; align-items: start; gap: 0; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-column: span 2; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 600px) {
  .section { padding: 84px 0; }
  .container { width: calc(100% - 36px); }
  .logo__text { font-size: 22px; }
  .logo__mark { width: 40px; height: 40px; }
  .hero { padding-top: 120px; }
  .hero__desc { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { margin-top: 44px; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 12px; }
  .stat strong { font-size: 34px; }
  .stat span { font-size: 11px; }
  .hero__scroll { display: none; }
  .hero__lines span:nth-child(1), .hero__lines span:nth-child(3) { display: none; }
  .marquee span { font-size: 24px; }

  .services__grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .intro__badge { width: 100px; height: 100px; top: -20px; }
  .intro__badge span { font-size: 30px; }
  .intro__frame { inset: 14px -14px -14px 14px; }

  .gallery__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .gallery__item--tall, .gallery__item--wide { grid-column: auto; grid-row: auto; }
  .gallery__item figcaption { transform: none; }
  .gallery__item figcaption span { opacity: 1; }

  .cta-band__inner { flex-direction: column; text-align: center; }
  .contact__form { padding: 34px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero__anim { opacity: 1; transform: none; }
}
