/* ==========================================================================
   N&N Auto Repair (Pty) Ltd — Corporate Website Stylesheet
   Pure CSS3. No frameworks.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --orange: #f26522;
  --orange-bright: #ff7a33;
  --orange-soft: rgba(242, 101, 34, 0.14);
  --black: #0a0a0b;
  --charcoal: #121316;
  --panel: #17191d;
  --panel-2: #1d2025;
  --line: rgba(255, 255, 255, 0.09);
  --line-orange: rgba(242, 101, 34, 0.42);
  --white: #ffffff;
  --grey: #b7bcc4;
  --grey-dim: #8c9199;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1220px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  --font: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --head-h: 86px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .6rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; color: var(--grey); }
::selection { background: var(--orange); color: #fff; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 58px 0; }
.section--alt { background: var(--charcoal); }
.section--hex { background-color: var(--charcoal); background-image: var(--hex); background-size: 46px 80px; }
.center { text-align: center; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.text-orange { color: var(--orange); }

/* Honeycomb pattern used as a subtle industrial texture */
:root {
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='80' viewBox='0 0 46 80'%3E%3Cpath d='M23 0l20 11.5v23L23 46 3 34.5v-23z' fill='none' stroke='%23ffffff' stroke-opacity='0.045'/%3E%3Cpath d='M23 40l20 11.5v23L23 86 3 74.5v-23z' fill='none' stroke='%23ffffff' stroke-opacity='0.045'/%3E%3C/svg%3E");
}

/* Section label + heading */
.label {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: .55rem;
}
.rule { width: 78px; height: 4px; background: var(--orange); border-radius: 2px; margin: 14px 0 22px; }
.center .rule { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.06rem; max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .82rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(242, 101, 34, .28); }
.btn--primary:hover { background: var(--orange-bright); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- 5. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 10, 11, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .6); border-bottom-color: var(--line-orange); }
.header__inner { display: flex; align-items: center; gap: 20px; height: var(--head-h); }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block;
  padding: .6rem .8rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--white); border-bottom-color: var(--orange); }
.nav__item { position: relative; }
.nav__toggle-icon { display: inline-block; margin-left: .3rem; font-size: .6rem; transform: translateY(-1px); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 290px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: .5rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__item--has-drop:hover .dropdown,
.nav__item--has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: .5rem .75rem;
  font-size: .86rem;
  color: var(--grey);
  border-radius: 6px;
  border-left: 2px solid transparent;
}
.dropdown a:hover { background: var(--panel-2); color: var(--white); border-left-color: var(--orange); }
.header__cta { flex: 0 0 auto; }
.header .btn { padding: .7rem 1.15rem; font-size: .74rem; }

/* Hamburger */
.burger {
  display: none;
  width: 46px; height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px 11px;
  margin-left: auto;
}
.burger span { display: block; height: 2px; background: #fff; margin: 4px 0; transition: transform .22s ease, opacity .22s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.mobile-nav.is-open { max-height: 90vh; overflow-y: auto; }
.mobile-nav a { display: block; padding: .95rem 22px; border-bottom: 1px solid var(--line); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .86rem; }
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav .m-sub a { padding-left: 40px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--grey); font-size: .9rem; }
.m-drop-toggle {
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: .95rem 22px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .86rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.m-drop-toggle .chev { color: var(--orange); transition: transform .2s ease; }
.m-drop-toggle.is-open .chev { transform: rotate(180deg); }
.m-sub { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: var(--black); }
.m-sub.is-open { max-height: 800px; }
.mobile-nav .m-cta { padding: 18px 22px 26px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0a0a0b 0%, #131417 55%, #0a0a0b 100%);
  border-bottom: 1px solid var(--line);
}
.hero__bg { position: absolute; inset: 0; background-image: var(--hex); background-size: 56px 96px; opacity: .9; }
.hero__glow {
  position: absolute; width: 620px; height: 620px; right: -160px; top: -180px;
  background: radial-gradient(circle, rgba(242, 101, 34, .28), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 30% 40%, #000 10%, transparent 78%);
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 92px 0 96px; }
.hero h1 { margin-bottom: 0; }
.hero h1 .line2 { color: var(--orange); display: block; }
.hero__sub { font-size: 1.12rem; color: var(--grey); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--radius); border: 1px solid var(--line-orange);
  box-shadow: var(--shadow); width: 100%; object-fit: cover; max-height: 560px;
}
.hero__diag { position: absolute; right: -12px; bottom: -12px; width: 120px; height: 8px; background: var(--orange); transform: skewX(-38deg); }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; padding: 74px 0 62px;
  background: linear-gradient(120deg, #0a0a0b, #16181c 60%, #0a0a0b);
  border-bottom: 1px solid var(--line-orange);
}
.page-hero__bg { position: absolute; inset: 0; background-image: var(--hex); background-size: 46px 80px; }
.page-hero .container { position: relative; z-index: 2; }
.crumbs { font-size: .8rem; color: var(--grey-dim); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.crumbs a:hover { color: var(--orange); }

/* ---------- 7. Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--panel), var(--charcoal));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-orange); box-shadow: var(--shadow); }
.card h3 { color: #fff; }
.card p:last-child { margin-bottom: 0; }
.card--flat:hover { transform: none; }

.icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line-orange);
  background: var(--orange-soft);
  color: var(--orange);
  margin-bottom: 16px;
}
.icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Service card with image */
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.service-card__body .icon { width: 42px; height: 42px; margin-bottom: 12px; }
.service-card__body .icon svg { width: 21px; height: 21px; }
.service-card .more { margin-top: auto; padding-top: 12px; color: var(--orange); font-weight: 700; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; }
.service-card:hover .more { color: var(--orange-bright); }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.media-frame { position: relative; }
.media-frame::after { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--line-orange); border-radius: var(--radius); z-index: -1; }

/* Stats */
.stat { text-align: center; }
.stat__value { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--orange); line-height: 1.1; }
.stat__label { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--grey); font-weight: 700; }

/* Checklist */
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: .55rem 0; color: var(--grey); }
.checklist li::before {
  content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin-top: .55rem;
  background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 4px var(--orange-soft);
}

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, #17181c 0%, #1c1d21 45%, var(--orange) 190%);
  border-top: 1px solid var(--line-orange); border-bottom: 1px solid var(--line-orange);
  padding: 58px 0;
}
.cta-banner::before {
  content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(242,101,34,.3), transparent 60%);
}
.cta-banner .container { position: relative; display: flex; gap: 26px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-banner h2 { margin-bottom: .3rem; }
.cta-banner p { margin: 0; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 18px; }
.timeline__item { display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: start; }
.timeline__num {
  display: grid; place-items: center; height: 72px; border-radius: var(--radius);
  border: 1px solid var(--line-orange); background: var(--orange-soft);
  color: var(--orange); font-size: 1.5rem; font-weight: 800;
}
.timeline__body { background: linear-gradient(180deg, var(--panel), var(--charcoal)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color .2s ease, transform .2s ease; }
.timeline__item:hover .timeline__body { border-color: var(--line-orange); transform: translateX(4px); }
.timeline__body h3 { text-transform: uppercase; letter-spacing: .05em; }

/* Info rows (company information) */
.info-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row dt { color: var(--orange); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.info-row dd { margin: 0; color: var(--white); }
.director { display: flex; gap: 16px; align-items: center; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.director .num { color: var(--orange); font-weight: 800; border: 1px solid var(--line-orange); border-radius: 8px; padding: .3rem .6rem; }
.director strong { display: block; }
.director span { color: var(--grey-dim); font-size: .88rem; }

/* ---------- 8. Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.filter {
  background: transparent; border: 1px solid var(--line); color: var(--grey);
  padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
  text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 700;
  transition: all .18s ease;
}
.filter:hover { color: #fff; border-color: var(--line-orange); }
.filter.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
.gallery { columns: 3; column-gap: 20px; }
.gallery__item {
  break-inside: avoid; margin-bottom: 20px; position: relative; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000;
}
.gallery__item img { width: 100%; transition: transform .5s ease, opacity .3s ease; }
.gallery__item:hover img { transform: scale(1.05); opacity: .85; }
.gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.88), transparent);
  font-size: .84rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transform: translateY(6px); opacity: 0; transition: all .25s ease;
}
.gallery__item:hover .gallery__cap { transform: translateY(0); opacity: 1; }
.gallery__item.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 1200; display: none;
  background: rgba(0, 0, 0, .93); padding: 30px;
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border: 1px solid var(--line-orange); border-radius: var(--radius); }
.lightbox__caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--grey); letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.06); border: 1px solid var(--line);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; line-height: 1;
}
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- 9. Blog ---------- */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: #000; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--orange); color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 5px;
}
.badge--soon { background: rgba(10,10,11,.85); border: 1px solid var(--line-orange); color: var(--orange); left: auto; right: 12px; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__body .more { margin-top: auto; color: var(--orange); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }

/* ---------- 10. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); font-weight: 700; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  background: var(--black); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem .9rem; color: #fff; transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft);
}
.field .error { font-size: .78rem; color: #ff6b5e; min-height: 1rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff6b5e; }
.field.has-error .error { display: block; }
.form-note { font-size: .82rem; color: var(--grey-dim); }
.form-success {
  display: none; margin-top: 18px; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line-orange); background: var(--orange-soft); color: #fff;
}
.form-success.is-visible { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 18px; }
.radio-row label { display: flex; align-items: center; gap: .5rem; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--grey); font-size: .95rem; }
.radio-row input { width: auto; accent-color: var(--orange); }

/* Contact info list */
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon { margin-bottom: 0; flex: 0 0 auto; width: 46px; height: 46px; }
.contact-item h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .2rem; }
.contact-item p { margin: 0; color: #fff; }
.contact-item a:hover { color: var(--orange); }

/* ---------- 11. Footer ---------- */
.footer { background: var(--charcoal); border-top: 3px solid var(--orange); padding: 62px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 34px; }
.footer h4 { text-transform: uppercase; letter-spacing: .12em; font-size: .84rem; color: #fff; margin-bottom: 1rem; position: relative; padding-bottom: .6rem; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--orange); }
.footer img.flogo { height: 56px; margin-bottom: 16px; }
.footer li { margin-bottom: .55rem; }
.footer a { color: var(--grey); font-size: .92rem; }
.footer a:hover { color: var(--orange); }
.footer p { font-size: .92rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 9px; color: var(--grey);
  transition: all .18s ease;
}
.socials a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.footer__bottom {
  margin-top: 46px; border-top: 1px solid var(--line); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .84rem; color: var(--grey-dim);
}

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-orange);
  background: var(--orange); color: #fff; cursor: pointer; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.5);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- 12. Animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .mobile-nav { display: block; }
  .hero__inner { grid-template-columns: 1fr; padding: 66px 0 72px; }
  .hero__media { order: -1; }
  .hero__media img { max-height: 380px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
}
@media (max-width: 860px) {
  .section { padding: 62px 0; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .media-frame::after { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .hero__actions .btn, .cta-banner .btn { width: 100%; }
  .timeline__item { grid-template-columns: 62px 1fr; gap: 12px; }
  .timeline__num { height: 58px; font-size: 1.2rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand img { height: 42px; }
  :root { --head-h: 72px; }
  body { font-size: 15.5px; }
}
