/* ==========================================================
   Santosh Corporation — site styles
   Plain CSS, no framework. Mobile-first.
   ========================================================== */

:root {
  --ink: #0b1b33;
  --ink-2: #33435c;
  --muted: #64748b;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --brand: #1d5bd8;
  --brand-dark: #1447ad;
  --brand-soft: #e8f0ff;
  --accent: #f5a524;
  --navy: #0a1a33;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(11, 27, 51, .06);
  --shadow: 0 18px 40px -18px rgba(11, 27, 51, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 51, .35);

  --container: 1200px;
  --gutter: 16px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
@media (min-width: 992px) { .section { padding: 110px 0; } }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 91, 216, .7); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(29, 91, 216, .8); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo img { height: 44px; width: auto; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; display: block;
  padding: 10px 16px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 15px;
  transition: background .25s, color .25s;
}
.nav a:hover { background: var(--bg-soft); }
.nav a.is-active { color: var(--brand); background: var(--brand-soft); }
.header-cta { display: none; }

.menu-toggle {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), background .2s;
  position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff;
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu a:not(.btn) {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-size: 20px; font-weight: 700; color: var(--ink);
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s, transform .5s var(--ease), color .2s;
}
.mobile-menu a.is-active { color: var(--brand); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu__contact { margin-top: 24px; color: var(--muted); font-size: 15px; }
.mobile-menu__contact a { color: var(--ink); font-weight: 600; }

@media (min-width: 992px) {
  .nav, .header-cta { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 48px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 90% -10%, var(--brand-soft), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, #fff4e0, transparent 60%);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6.4vw, 64px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em;
  background: var(--accent); opacity: .35; border-radius: 4px; z-index: -1;
  transform-origin: left; animation: underline 1s .9s var(--ease) both;
}
.hero__lead { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; color: var(--ink); font-weight: 600; font-size: 14px; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

.hero__media { position: relative; }
.hero__img {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
.hero__badge {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink); font-weight: 700; line-height: 1.3;
  animation: float 5s ease-in-out infinite;
}
.hero__badge small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.hero__badge .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.hero__badge .ico svg { width: 22px; height: 22px; }
.hero__badge--a { left: -8px; bottom: 24px; }
.hero__badge--b { right: -8px; top: 24px; animation-delay: -2.5s; }
.hero__badge--b .ico { background: #fff4e0; color: #c47d00; }
.hero__shape {
  position: absolute; inset: auto -40px -40px auto; width: 180px; height: 180px; z-index: -1;
  background-image: radial-gradient(var(--brand) 1.6px, transparent 1.6px);
  background-size: 16px 16px; opacity: .25;
}

@media (min-width: 992px) {
  .hero { padding: 80px 0 110px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .hero__badge--a { left: -36px; }
  .hero__badge--b { right: -28px; }
}
@media (max-width: 480px) {
  .hero__badge { padding: 10px 12px; font-size: 13px; }
  .hero__badge .ico { width: 34px; height: 34px; }
  .hero__badge--b { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy); color: #fff; overflow: hidden;
  padding: 18px 0; white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 32s linear infinite; padding-left: 48px; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: 14px; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Feature cards ---------- */
.features { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .features { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.feature {
  position: relative; padding: 32px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }
.feature__icon {
  width: 60px; height: 60px; border-radius: 16px; margin-bottom: 22px;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.06); background: var(--brand); color: #fff; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Split / about ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--rev > :first-child { order: 2; } }
.split h2 { font-size: clamp(28px, 4vw, 42px); }
.split__media { position: relative; }
.split__media .frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; }
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover .frame img { transform: scale(1.05); }
.split__media::before {
  content: ""; position: absolute; inset: 24px -16px -16px 24px; border-radius: 24px;
  border: 2px solid var(--brand); opacity: .25; z-index: -1;
}
.stamp {
  position: absolute; right: 16px; bottom: -28px;
  background: var(--accent); color: var(--ink);
  border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow);
  font-weight: 800; line-height: 1.2; font-size: 15px; max-width: 200px;
}
.stamp small { display: block; font-weight: 600; font-size: 12px; opacity: .8; }

.checklist { display: grid; gap: 12px; margin: 24px 0 32px; }
@media (min-width: 600px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 12px; background: var(--bg-soft);
  color: var(--ink); font-weight: 600; font-size: 15px;
  transition: background .3s, transform .3s var(--ease);
}
.checklist li:hover { background: var(--brand-soft); transform: translateX(4px); }
.checklist svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

/* ---------- Product cards ---------- */
.products { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .products { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.product-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); position: relative; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.08); }
.product-card__tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.product-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 19px; margin-bottom: 8px; }
.product-card__body p { color: var(--muted); font-size: 15px; flex: 1; }
.product-card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); font-size: 15px; }
.product-card__link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.product-card:hover .product-card__link svg { transform: translateX(5px); }

.center-actions { text-align: center; margin-top: 48px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: background .35s, transform .4s var(--ease);
}
.step:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 44px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: 18px;
}
.step h3 { color: #fff; font-size: 19px; }
.step p { color: rgba(255,255,255,.7); margin: 0; font-size: 15px; }

.dark { background: var(--navy); color: rgba(255,255,255,.75); position: relative; overflow: hidden; }
.dark::after {
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  right: -200px; top: -300px; background: radial-gradient(circle, rgba(29,91,216,.45), transparent 65%);
  pointer-events: none;
}
.dark .container { position: relative; z-index: 1; }
.dark .section-head h2 { color: #fff; }
.dark .section-head p { color: rgba(255,255,255,.7); }
.dark .eyebrow { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: 48px 28px;
  background: linear-gradient(120deg, var(--brand) 0%, #0f3b99 100%);
  color: rgba(255,255,255,.85);
  display: grid; gap: 28px; align-items: center;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.12);
  animation: spin 30s linear infinite;
}
.cta::before { width: 360px; height: 360px; right: -120px; top: -160px; border-style: dashed; }
.cta::after { width: 220px; height: 220px; left: -80px; bottom: -120px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 10px; }
.cta p { margin: 0; font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 992px) { .cta { grid-template-columns: 1.4fr auto; padding: 64px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 20px; font-weight: 600; line-height: 1;
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); animation: fadeUp .45s var(--ease) both; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 72px 0 64px;
  background: var(--navy);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; animation: kenburns 20s ease-in-out infinite alternate; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,26,51,.95) 0%, rgba(10,26,51,.6) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5.5vw, 56px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { max-width: 620px; color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 0; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: var(--accent); }
@media (min-width: 992px) { .page-hero { padding: 110px 0 96px; } }

/* ---------- About page ---------- */
.prose p { font-size: 17px; }
.values { display: grid; gap: 20px; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .feature__icon { margin-bottom: 18px; }
.value h3 { font-size: 20px; }
.value p { color: var(--muted); margin: 0; font-size: 15px; }

.quote {
  margin: 0; padding: 36px 32px; border-radius: var(--radius);
  background: var(--brand-soft); border-left: 5px solid var(--brand);
  font-size: clamp(18px, 2.2vw, 22px); line-height: 1.6; color: var(--ink); font-weight: 600;
}

/* ---------- Packaging catalogue ---------- */
.chips-wrap {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 14px 0;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 600;
  transition: background .25s, color .25s, border-color .25s;
}
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.chips a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.catalog { display: grid; gap: 72px; }
@media (min-width: 992px) { .catalog { gap: 110px; } }
.item { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) {
  .item { grid-template-columns: 1fr 1fr; gap: 72px; }
  .item:nth-child(even) .item__media { order: 2; }
}
.item__media {
  position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; background: var(--bg-soft);
  cursor: zoom-in; border: 0; padding: 0; width: 100%;
}
.item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.item__media:hover img { transform: scale(1.06); }
.item__media .zoom {
  position: absolute; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow);
  transform: scale(.8); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.item__media .zoom svg { width: 20px; height: 20px; }
.item__media:hover .zoom, .item__media:focus-visible .zoom { transform: none; opacity: 1; }
@media (hover: none) { .item__media .zoom { opacity: 1; transform: none; } }

.item__num { font-size: 14px; font-weight: 800; color: var(--brand); letter-spacing: .1em; margin-bottom: 10px; display: block; }
.item h2 { font-size: clamp(26px, 3.4vw, 36px); }
.item p { font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); font-size: 13px; font-weight: 600; }

/* ---------- Lightbox modal ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6, 14, 28, .88);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 960px; width: 100%; transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 16px; background: #fff; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; font-weight: 700; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__close svg { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 16px; margin-top: -48px; position: relative; z-index: 2; }
@media (min-width: 600px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 4px; color: var(--ink-2);
  transition: transform .4s var(--ease);
}
a.contact-card:hover { transform: translateY(-6px); }
.contact-card .feature__icon { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 14px; }
.contact-card .feature__icon svg { width: 24px; height: 24px; }
.contact-card strong { color: var(--ink); font-size: 16px; }
.contact-card span { font-size: 15px; color: var(--muted); word-break: break-word; }

.contact-grid { display: grid; gap: 32px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; } }

.form-card { background: #fff; border-radius: 24px; padding: 32px 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .form-card { padding: 44px; } }
.form-card h2 { font-size: clamp(26px, 3.4vw, 34px); }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.alert { padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; margin-top: 20px; display: none; }
.alert.is-shown { display: block; animation: fadeUp .5s var(--ease) both; }
.alert--ok { background: #e7f7ee; color: #166534; }
.alert--err { background: #fdecec; color: #991b1b; }

.map { border-radius: 24px; overflow: hidden; min-height: 380px; height: 100%; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound__code {
  font-size: clamp(110px, 24vw, 220px); font-weight: 800; line-height: 1; letter-spacing: -.06em;
  background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: float 5s ease-in-out infinite;
}
.notfound p { color: var(--muted); font-size: 18px; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.65); padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; } }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; }
.footer-logo img { height: 36px; width: auto; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.75); transition: color .2s, padding .3s var(--ease); }
.site-footer ul a:hover { color: #fff; padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px;
}

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }

.to-top {
  position: fixed; right: 24px; bottom: 86px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }
.to-top svg { width: 20px; height: 20px; }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 150; background: linear-gradient(90deg, var(--brand), var(--accent)); transform-origin: left; transform: scaleX(0); }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--zoom { transform: scale(.94); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.intro > * { animation: fadeUp .9s var(--ease) both; }
.intro > :nth-child(1) { animation-delay: .1s; }
.intro > :nth-child(2) { animation-delay: .2s; }
.intro > :nth-child(3) { animation-delay: .3s; }
.intro > :nth-child(4) { animation-delay: .4s; }
.intro > :nth-child(5) { animation-delay: .5s; }
.intro-media { animation: zoomIn 1.2s .2s var(--ease) both; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-2%, -1%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

@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 { opacity: 1; transform: none; }
}
