/* ============================================================
   Norgerosa — Premium Norwegian Spreads
   Design: Nordic premium · navy / red / gold / cream
   ============================================================ */

:root {
  --navy: #0A1D33;
  --navy-2: #0F2A4A;
  --navy-3: #16385F;
  --red: #C8102E;
  --red-dark: #9E0D24;
  --gold: #D4AF37;
  --gold-2: #E9CD6F;
  --gold-dark: #B08D24;
  --cream: #FAF6EE;
  --cream-2: #F3ECDC;
  --white: #FFFFFF;
  --ink: #16293B;
  --muted: #5C6B7A;
  --line: #E5DCC8;
  --shadow-sm: 0 4px 14px rgba(10, 29, 51, .08);
  --shadow-md: 0 12px 34px rgba(10, 29, 51, .14);
  --shadow-lg: 0 24px 60px rgba(10, 29, 51, .22);
  --radius: 18px;
  --radius-lg: 28px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 2000;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top .25s;
}
.skip-link:focus { top: 12px; }

/* ---------- Section helpers ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--red);
}
.eyebrow::before, .eyebrow::after {
  content: ""; height: 1px; width: 34px; background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15;
  color: var(--navy); margin-top: 14px;
}
.section-sub { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  position: relative; overflow: hidden;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-dark)); color: var(--navy); box-shadow: 0 8px 22px rgba(212, 175, 55, .35); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(212, 175, 55, .45); }
.btn-red { background: linear-gradient(135deg, #E02A44, var(--red) 50%, var(--red-dark)); color: #fff; box-shadow: 0 8px 22px rgba(200, 16, 46, .32); }
.btn-red:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(200, 16, 46, .42); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-outline { border: 1.5px solid var(--gold); color: var(--gold-dark); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }

/* ---------- Loader ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 5000;
  background: radial-gradient(120% 120% at 50% 0%, #10294A 0%, var(--navy) 55%, #060F1C 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .55s ease, visibility .55s ease;
}
.page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo-wrap { position: relative; width: 150px; height: 150px; margin: 0 auto 18px; }
.loader-logo {
  position: absolute; inset: 18px; width: 114px; height: auto; object-fit: contain;
  background: #fff; border-radius: 14px; padding: 6px;
  animation: loaderBreathe 1.6s ease-in-out infinite;
}
.loader-ring { position: absolute; inset: 0; width: 150px; height: 150px; transform: rotate(-90deg); }
.ring-track { stroke: rgba(255,255,255,.12); stroke-width: 3; }
.ring-progress {
  stroke: url(#goldGrad); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 339; stroke-dashoffset: 339;
  animation: loaderSpin 1.4s var(--ease) infinite;
}
@keyframes loaderSpin { 0% { stroke-dashoffset: 339; } 55% { stroke-dashoffset: 70; } 100% { stroke-dashoffset: 339; } }
@keyframes loaderBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.loader-text {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold-2);
  letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 2px 18px rgba(212,175,55,.4);
}
.loader-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.loader-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: dotJump 1.2s ease-in-out infinite; }
.loader-dots i:nth-child(2) { animation-delay: .15s; }
.loader-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dotJump { 0%,100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-8px); opacity: 1; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; }
.header-top { background: var(--navy); color: rgba(255,255,255,.85); font-size: .8rem; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.header-tagline { letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-2); }
.header-contact { display: flex; gap: 22px; }
.header-contact a { display: inline-flex; align-items: center; gap: 7px; transition: color .25s; }
.header-contact a:hover { color: var(--gold-2); }

.header-main {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, padding .3s;
}
.header-main.scrolled { box-shadow: var(--shadow-sm); }
.header-main-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; transition: padding .3s; }
.header-main.scrolled .header-main-inner { padding: 8px 0; }
.brand-logo { height: 56px; width: auto; transition: height .3s; }
.header-main.scrolled .brand-logo { height: 46px; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .93rem;
  color: var(--navy); position: relative; transition: color .25s, background .25s;
}
.site-nav a:hover { color: var(--red); }
.site-nav a.active { color: var(--red); background: rgba(200,16,46,.08); }
.site-nav a.nav-cta { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-dark)); color: var(--navy); box-shadow: 0 6px 16px rgba(212,175,55,.35); }
.site-nav a.nav-cta:hover { transform: translateY(-2px); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; background: var(--cream-2); border-radius: 999px; padding: 4px; gap: 2px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-weight: 700; font-size: .82rem;
  color: var(--muted); transition: all .25s;
}
.lang-btn img { border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.lang-btn:hover { color: var(--navy); }
.lang-btn.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.lang-btn.active img { box-shadow: 0 0 0 2px var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide .bg {
  position: absolute; inset: -8%;
  background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 7s linear;
}
.hero-slide.active .bg { transform: scale(1); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,15,28,.92) 0%, rgba(10,29,51,.72) 45%, rgba(10,29,51,.35) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 660px; padding: 120px 0 100px; color: #fff; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-2); font-size: .82rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  opacity: 0; transform: translateY(18px);
}
.hero-slide.active .hero-eyebrow { animation: riseIn .8s var(--ease) .25s forwards; }
.hero-title {
  font-family: var(--font-serif); font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.12; margin: 18px 0 22px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(24px);
}
.hero-slide.active .hero-title { animation: riseIn .85s var(--ease) .45s forwards; }
.hero-text { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 540px; margin-bottom: 32px; opacity: 0; transform: translateY(24px); }
.hero-slide.active .hero-text { animation: riseIn .85s var(--ease) .65s forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; transform: translateY(24px); }
.hero-slide.active .hero-ctas { animation: riseIn .85s var(--ease) .8s forwards; }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }

.hero-arrows { position: absolute; right: 4%; bottom: 12%; z-index: 5; display: flex; gap: 10px; }
.hero-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s; backdrop-filter: blur(4px); background: rgba(255,255,255,.06);
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.hero-dots { position: absolute; left: 4%; bottom: 14%; z-index: 5; display: flex; gap: 10px; }
.hero-dot { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); transition: background .3s, width .3s; }
.hero-dot.active { background: var(--gold); width: 52px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5;
  color: rgba(255,255,255,.75); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll::after { content: ""; width: 1.5px; height: 34px; background: linear-gradient(180deg, var(--gold), transparent); animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.6); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ---------- Story section ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.story-media { position: relative; }
.story-media .img-main {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; height: 480px; object-fit: cover;
}
.story-media::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 62%; height: 62%;
  border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}
.story-badge {
  position: absolute; bottom: 28px; left: -24px;
  background: var(--navy); color: #fff; padding: 20px 26px; border-radius: 16px;
  box-shadow: var(--shadow-lg); border-bottom: 4px solid var(--gold);
}
.story-badge .num { font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold-2); line-height: 1; }
.story-badge .lbl { font-size: .8rem; color: rgba(255,255,255,.8); margin-top: 4px; }
.story-body .section-title { margin-top: 12px; }
.story-body p { color: var(--muted); margin-top: 18px; }
.story-body .btn { margin-top: 30px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.stat { text-align: center; padding: 24px 10px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold); }
.stat .num { font-family: var(--font-serif); font-weight: 800; font-size: 1.9rem; color: var(--red); }
.stat .lbl { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ---------- Featured products carousel ---------- */
.carousel-wrap { position: relative; }
.carousel-viewport { overflow: hidden; margin: 0 -14px; padding: 14px; }
.carousel-track { display: flex; gap: 28px; transition: transform .6s var(--ease); }
.product-card {
  flex: 0 0 calc((100% - 56px) / 3); min-width: 0;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  cursor: pointer; position: relative;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-card .media { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--cream-2); }
.product-card .media img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); padding: 14px; }
.product-card:hover .media img { transform: scale(1.08); }
.product-card .cat-chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--red); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(4px);
}
.product-card .halal-chip {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--navy); color: var(--gold-2); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; padding: 6px 10px; border-radius: 999px;
}
.product-card .body { padding: 22px 22px 26px; }
.product-card .name { font-family: var(--font-serif); font-size: 1.28rem; font-weight: 700; color: var(--navy); line-height: 1.25; }
.product-card .desc {
  color: var(--muted); font-size: .9rem; margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.product-card .price { font-family: var(--font-serif); font-weight: 700; color: var(--red); font-size: 1.15rem; }
.product-card .more {
  display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--gold-dark);
}
.product-card .more svg { width: 15px; height: 15px; transition: transform .3s; }
.product-card:hover .more svg { transform: translateX(4px); }

.carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.car-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  transition: all .3s; background: #fff;
}
.car-btn:hover { background: var(--navy); color: var(--gold-2); border-color: var(--navy); transform: translateY(-2px); }
.car-btn svg { width: 18px; height: 18px; }

/* ---------- Values ---------- */
.values-band { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%); position: relative; overflow: hidden; }
.values-band::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.18), transparent 65%);
}
.values-band::after {
  content: ""; position: absolute; bottom: -160px; left: -100px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(200,16,46,.16), transparent 65%);
}
.values-band .section-title { color: #fff; }
.values-band .section-sub { color: rgba(255,255,255,.75); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; z-index: 2; }
.value-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 34px 26px; backdrop-filter: blur(8px);
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.value-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.09); border-color: rgba(212,175,55,.5); }
.value-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(212,175,55,.25), rgba(212,175,55,.08));
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.value-icon svg { width: 28px; height: 28px; stroke: var(--gold-2); fill: none; stroke-width: 1.7; }
.value-card h3 { color: #fff; font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: rgba(255,255,255,.7); font-size: .9rem; }

/* ---------- Testimonials ---------- */
.testi-slider { position: relative; max-width: 820px; margin: 0 auto; }
.testi-slide { text-align: center; padding: 10px 30px; display: none; }
.testi-slide.active { display: block; animation: fadeUp .7s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.testi-stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 5px; }
.testi-quote { font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; line-height: 1.55; color: var(--navy); margin-top: 20px; }
.testi-quote::before { content: "“"; color: var(--gold); font-size: 3rem; line-height: 0; vertical-align: -18px; margin-right: 4px; }
.testi-person { margin-top: 24px; }
.testi-person .n { font-weight: 700; color: var(--ink); }
.testi-person .c { color: var(--muted); font-size: .88rem; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: all .3s; }
.testi-dot.active { background: var(--gold); transform: scale(1.3); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: linear-gradient(120deg, var(--red), var(--red-dark)); overflow: hidden; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.14);
}
.cta-band::before { width: 300px; height: 300px; top: -140px; left: -80px; }
.cta-band::after { width: 380px; height: 380px; bottom: -200px; right: -100px; }
.cta-inner { position: relative; z-index: 2; text-align: center; padding: 76px 20px; }
.cta-inner h2 { font-family: var(--font-serif); color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.cta-inner p { color: rgba(255,255,255,.85); margin: 14px auto 30px; max-width: 520px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  padding: 96px 0 84px; text-align: center; overflow: hidden;
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 2px solid rgba(212,175,55,.22);
}
.page-hero::before { width: 320px; height: 320px; top: -160px; right: -80px; }
.page-hero::after { width: 240px; height: 240px; bottom: -120px; left: -60px; }
.page-hero h1 { font-family: var(--font-serif); color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); position: relative; z-index: 2; }
.page-hero p { color: rgba(255,255,255,.8); margin-top: 14px; max-width: 620px; margin-inline: auto; position: relative; z-index: 2; }
.crumbs { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); position: relative; z-index: 2; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { opacity: .6; }

/* ---------- Products page ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-chip {
  padding: 10px 22px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .9rem; color: var(--muted); transition: all .3s;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-chip.active { background: var(--navy); color: var(--gold-2); border-color: var(--navy); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card.grid { flex: none; }

/* Search box */
.search-box { position: relative; max-width: 460px; margin: 0 auto 40px; }
.search-box input {
  width: 100%; padding: 15px 50px 15px 22px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: .95rem; font-family: inherit;
  transition: border-color .3s, box-shadow .3s; outline: none;
}
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.15); }
.search-box svg { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }

/* ---------- Product modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 3000; background: rgba(6,15,28,.7);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: var(--radius-lg); max-width: 900px; width: 100%;
  max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1.1fr;
  transform: translateY(30px) scale(.97); transition: transform .4s var(--ease);
  box-shadow: var(--shadow-lg); position: relative;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-media { background: var(--cream-2); display: flex; align-items: center; justify-content: center; padding: 30px; }
.modal-media img { max-height: 420px; object-fit: contain; }
.modal-body { padding: 40px; position: relative; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--cream-2); color: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: all .3s; font-size: 1.1rem;
}
.modal-close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.modal-cat { color: var(--red); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.modal-title { font-family: var(--font-serif); font-size: 1.9rem; color: var(--navy); margin: 8px 0 12px; }
.modal-desc { color: var(--muted); font-size: 1rem; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.meta-chip { background: var(--cream); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--navy); }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 760px) {
  .modal { grid-template-columns: 1fr; }
  .modal-media img { max-height: 280px; }
}

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 480px; object-fit: cover; }
.about-mission { background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-md); border-left: 5px solid var(--gold); }
.about-mission h2 { font-family: var(--font-serif); color: var(--navy); font-size: 1.8rem; }
.about-mission p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.info-card { display: flex; gap: 18px; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 18px; transition: transform .3s; }
.info-card:hover { transform: translateY(-4px); }
.info-icon {
  flex: 0 0 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--gold-2);
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 24px; height: 24px; stroke-width: 1.7; }
.info-card h4 { font-size: 1.02rem; color: var(--navy); }
.info-card p, .info-card a { color: var(--muted); font-size: .92rem; word-break: break-word; }
.info-card a:hover { color: var(--red); }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .86rem; color: var(--navy); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: .95rem; background: var(--cream); transition: border-color .3s, box-shadow .3s; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.14); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.form-success { background: #EAF6EC; border: 1px solid #BFE3C8; color: #1F6B35; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: .92rem; }
.form-error { background: #FDECEE; border: 1px solid #F3C1C8; color: #A11527; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding: 72px 0 48px; }
.footer-logo { height: 62px; width: auto; background: #fff; border-radius: 10px; padding: 4px 8px; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.65); max-width: 320px; }
.footer-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.badge {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(212,175,55,.14); color: var(--gold-2); border: 1px solid rgba(212,175,55,.35);
}
.footer-col h4 { color: #fff; font-family: var(--font-serif); font-size: 1.05rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: rgba(255,255,255,.68); font-size: .93rem; transition: color .25s, padding-left .25s; }
.footer-col ul a:hover { color: var(--gold-2); padding-left: 5px; }
.footer-social { display: flex; gap: 12px; margin-bottom: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8);
  transition: all .3s;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer-note { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 4000;
  background: var(--navy); color: #fff; border-radius: 16px; padding: 16px 20px;
  display: flex; align-items: center; gap: 22px; box-shadow: var(--shadow-lg);
  max-width: min(720px, 92%); border: 1px solid rgba(212,175,55,.4);
}
.cookie-bar p { font-size: .86rem; color: rgba(255,255,255,.85); }
.cookie-bar .btn { white-space: nowrap; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-code { font-family: var(--font-serif); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; color: var(--navy); line-height: 1; background: linear-gradient(120deg, var(--red), var(--gold-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page h1 { font-family: var(--font-serif); color: var(--navy); margin: 16px 0 10px; font-size: 2rem; }
.error-page p { color: var(--muted); margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.car { flex: 0 0 calc((100% - 28px) / 2); }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .section { padding: 68px 0; }
  .header-contact { display: none; }
  .site-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: var(--navy); flex-direction: column; align-items: stretch;
    padding: 90px 26px 30px; gap: 4px; transition: right .4s var(--ease); z-index: 1500;
  }
  .site-nav.open { right: 0; box-shadow: -30px 0 60px rgba(0,0,0,.3); }
  .site-nav a { color: #fff; padding: 13px 18px; border-radius: 12px; font-size: 1.02rem; }
  .site-nav a:hover, .site-nav a.active { background: rgba(255,255,255,.08); color: var(--gold-2); }
  .site-nav a.nav-cta { text-align: center; }
  .nav-toggle { display: flex; z-index: 1600; }
  .nav-toggle span { background: var(--navy); }
  .nav-toggle.open span { background: #fff; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6,15,28,.55); z-index: 1400; opacity: 0; visibility: hidden; transition: all .3s; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card.car { flex: 0 0 100%; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding: 110px 0 130px; }
  .hero-arrows { bottom: 26px; right: 5%; }
  .hero-dots { bottom: 30px; left: 5%; }
  .hero-scroll { display: none; }
  .story-badge { left: 12px; bottom: 16px; }
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
}
