/* ==========================================================================
   Jagdamba New Energy Pvt. Ltd. — Stylesheet
   Palette: saffron + deep red + charcoal, warm cream neutrals
   ========================================================================== */
:root {
  --saffron: #f2891d;
  --saffron-light: #ffb347;
  --saffron-soft: #fff1df;
  --red: #9b1c1f;
  --red-dark: #6e1215;
  --charcoal: #1c1d22;
  --charcoal-2: #2a2b32;
  --ink: #2b2a2e;
  --muted: #6b6670;
  --cream: #fffaf3;
  --cream-2: #fbf2e6;
  --line: #ecdfcf;
  --white: #ffffff;
  --grad: linear-gradient(135deg, #f7a531 0%, #e8661c 45%, #9b1c1f 100%);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(60, 20, 10, .28);
  --shadow-sm: 0 6px 20px -10px rgba(60, 20, 10, .25);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--saffron); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--charcoal); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section--tint { background: var(--cream-2); }
.section--dark { background: var(--charcoal); color: #d9d4cf; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--charcoal); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Indian motif touches ---------- */
.motif-bg {
  background-image: url("../img/motif.svg");
  background-size: 200px;
  background-repeat: repeat;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: url("../img/mark.svg") center/contain no-repeat;
}
.section--dark .eyebrow { color: var(--saffron-light); }
.divider {
  display: flex; align-items: center; gap: .75rem; color: var(--saffron); margin: 1.2rem 0 1.6rem;
}
.divider::before, .divider::after { content: ""; height: 2px; width: 46px; background: currentColor; border-radius: 2px; }
.divider span { width: 8px; height: 8px; transform: rotate(45deg); background: var(--red); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .divider { justify-content: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--dark .lead { color: #bdb6ae; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 999px; font-weight: 600; font-family: var(--font-head);
  font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad); background-origin: border-box; color: #fff; box-shadow: 0 10px 28px -10px rgba(232, 102, 28, .7); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(232, 102, 28, .8); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--charcoal); }
.btn--outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--red); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 250, 243, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(0,0,0,.35); border-color: var(--line); background: rgba(255, 250, 243, .96); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--grad); opacity: .9; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }
@media (min-width: 961px) { .brand img { height: 56px; } }
.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .55rem .9rem; border-radius: 999px; color: var(--charcoal);
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--saffron-soft); color: var(--red); }
.nav-links a[aria-current="page"] { color: var(--red); background: var(--saffron-soft); }
.nav-links .btn { padding: .65rem 1.25rem; margin-left: .5rem; color: #fff; }
.nav-links .btn:hover { color: #fff; background: var(--grad); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--saffron-soft);
  cursor: pointer; position: relative; flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform .3s, top .3s, opacity .2s; content: "";
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--cream); padding: 1rem 1.25rem 1.75rem; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0,0,0,.4);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility .3s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .nav-links .btn { margin: .6rem 0 0; padding: .95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden;
  background: var(--charcoal);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(20, 12, 10, .88) 0%, rgba(40, 16, 12, .66) 42%, rgba(30, 12, 10, .15) 100%),
    linear-gradient(0deg, rgba(20, 12, 10, .55), transparent 40%);
}
.hero__motif {
  position: absolute; z-index: 1; right: -140px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%);
  opacity: .14; pointer-events: none; animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.hero__content { position: relative; z-index: 2; padding: 6rem 0 7rem; }
.hero__content > * { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 .accent { background: linear-gradient(90deg, #ffc163, #f2891d 60%, #ff7a45); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #eadfd6; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--saffron-light); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.6rem; list-style: none; padding: 0; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .9rem; backdrop-filter: blur(6px);
}
.hero__chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron-light); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 1.6rem; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; padding: clamp(5rem, 12vw, 8.5rem) 0 clamp(3.5rem, 8vw, 5.5rem); overflow: hidden; background: var(--charcoal); }
.page-hero img.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(20,12,10,.9), rgba(60,18,14,.6) 60%, rgba(30,12,10,.35)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 820px; }
.page-hero .lead { color: #eadfd6; max-width: 640px; }
.page-hero .eyebrow { color: var(--saffron-light); }
.breadcrumb { font-size: .9rem; color: #d8c9bc; margin-bottom: 1rem; }
.breadcrumb a { color: var(--saffron-light); }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 3.5rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.align-center { align-items: center; }

/* ---------- About split ---------- */
.about-media { position: relative; }
.about-media .img-main { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-media .img-float {
  position: absolute; right: -8px; bottom: -28px; width: 52%; border-radius: var(--radius-sm); border: 6px solid var(--cream);
  box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover;
}
.about-media .badge {
  position: absolute; left: -10px; top: 26px; background: var(--grad); color: #fff; padding: 1rem 1.2rem; border-radius: 14px;
  font-family: var(--font-head); font-weight: 600; box-shadow: var(--shadow-sm); max-width: 210px; line-height: 1.3; font-size: .95rem;
}
@media (min-width: 900px) { .about-media .img-float { right: -30px; } .about-media .badge { left: -24px; } }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--saffron-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b1c1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat;
}
.section--dark .check-list li::before { background-color: rgba(242,137,29,.18); }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.75rem; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; height: 100%;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card p { color: var(--muted); margin-bottom: 0; }
.icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: linear-gradient(135deg, #fff1df, #ffe0c2); color: var(--red);
}
.icon svg { width: 28px; height: 28px; }
.card .more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.1rem; font-weight: 600; font-family: var(--font-head); }

/* Service cards with image */
.service-card { padding: 0; display: flex; flex-direction: column; }
.service-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .6s; }
.service-card:hover img { transform: scale(1.05); }
.service-card .media { overflow: hidden; }
.service-card .body { padding: 1.6rem 1.6rem 1.9rem; }
.service-card .tag { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); margin-bottom: .4rem; display: block; }

/* Why us (dark) */
.why-item { padding: 1.8rem; border-radius: var(--radius); background: var(--charcoal-2); border: 1px solid rgba(255,255,255,.06); height: 100%; transition: border-color .3s, transform .3s; }
.why-item:hover { border-color: rgba(242,137,29,.5); transform: translateY(-4px); }
.why-item .icon { background: rgba(242,137,29,.14); color: var(--saffron-light); }
.why-item p { color: #b9b2aa; margin: 0; }

/* Process */
.process { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: 1fr; position: relative; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; padding: 1.8rem 1.4rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: .8rem;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Gallery */
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery figure:nth-child(4), .gallery figure:nth-child(5), .gallery figure:nth-child(6) { grid-column: span 2; }
}
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 230px; background: #2a2b32; }
.gallery img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .7s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.2rem 1rem; color: #fff; font-family: var(--font-head); font-weight: 600;
  background: linear-gradient(0deg, rgba(20,10,8,.85), transparent);
}
.gallery figcaption small { display: block; font-family: var(--font-body); font-weight: 400; color: #f3d9bf; font-size: .82rem; }

/* CTA band */
.cta-band {
  position: relative; border-radius: calc(var(--radius) + 6px); padding: clamp(2.5rem, 6vw, 4rem); overflow: hidden; color: #fff;
  background: var(--grad); box-shadow: var(--shadow);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../img/motif-light.svg") right center / 220px repeat; opacity: .16; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff3e6; max-width: 620px; font-size: 1.08rem; }
.cta-band .btn--light { background: #fff; color: var(--red); }
.cta-band .btn--light:hover { background: var(--charcoal); color: #fff; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 900px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-wrap { grid-template-columns: 5fr 7fr; gap: 3rem; } }
.contact-info { background: var(--charcoal); color: #d9d4cf; border-radius: var(--radius); padding: 2.2rem; position: relative; overflow: hidden; }
.contact-info::before { content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; background: url("../img/mark.svg") center/contain no-repeat; opacity: .08; }
.contact-info h3 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon { width: 46px; height: 46px; border-radius: 12px; margin: 0; flex: none; background: rgba(242,137,29,.15); color: var(--saffron-light); }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; }
.contact-list a { color: #ffd2a1; word-break: break-word; }
.contact-list a:hover { color: #fff; }
.placeholder { border-bottom: 1px dashed rgba(255,179,71,.6); }

.form { background: var(--white); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--charcoal); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream);
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron); background: #fff; box-shadow: 0 0 0 4px rgba(242,137,29,.15); }
.form-note { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }
.form-status { margin-top: 1rem; font-weight: 600; color: var(--red); min-height: 1.5em; }

.map-wrap { margin-top: 2.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream-2); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Careers ---------- */
.job { display: flex; flex-direction: column; gap: 1rem; }
.job .meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: var(--saffron-soft); color: var(--red); font-size: .8rem; font-weight: 600; }
.job .btn { align-self: flex-start; margin-top: auto; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--saffron), var(--red)); }
.timeline li { position: relative; padding-left: 3.6rem; }
.timeline li span {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; box-shadow: 0 0 0 5px var(--cream);
}
.section--tint .timeline li span { box-shadow: 0 0 0 5px var(--cream-2); }
.timeline h3 { margin-bottom: .25rem; font-size: 1.1rem; }
.timeline p { color: var(--muted); margin: 0; }

/* Values / quote */
.quote { font-family: var(--font-head); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--charcoal); font-weight: 500; margin: 0; }
.quote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--saffron); margin-bottom: .5rem; }

/* Feature rows (services page) */
.feature { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; }
.feature img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature:nth-child(even) .feature__media { order: 2; }
}
.feature .num { font-family: var(--font-head); font-weight: 700; color: var(--saffron); letter-spacing: .1em; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: #141418; color: #a9a3a0; padding: 4.5rem 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: #cfc8c2; }
.site-footer a:hover { color: var(--saffron-light); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 340px; font-size: .95rem; }
.footer-bottom { margin-top: 3.5rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; font-size: .88rem; }

/* Back to top */
.to-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* 404 */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 5rem 0; }
.error-page .code { font-family: var(--font-head); font-size: clamp(6rem, 20vw, 11rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.65,.25,1), transform .8s cubic-bezier(.2,.65,.25,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.no-js .reveal { opacity: 1; transform: none; }

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