:root {
  --gold: #c9973a;
  --gold-light: #ecc35f;
  --gold-deep: #a87a24;
  --bg: #0e0c09;
  --bg-alt: #16130e;
  --surface: #1d1913;
  --surface-2: #252017;
  --text: #f3ede1;
  --text-soft: #b9af9c;
  --line: #2f291f;
  --line-gold: rgba(236, 195, 95, 0.28);
  --wa: #15803d;
  --wa-dark: #0f6b34;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --kn: "Noto Sans Kannada", "Tunga", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  color-scheme: dark;
  accent-color: var(--gold);
  scrollbar-color: #4a3f2c var(--bg);
}
::selection { background: rgba(236, 195, 95, 0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-color: rgba(236, 195, 95, 0.55); }
input, select, textarea { caret-color: var(--gold-light); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.section { padding: 84px 0; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 48px;
  color: #fff;
}
.section-title:has(+ .section-lead) { margin-bottom: 14px; }
.section-lead { text-align: center; color: var(--text-soft); max-width: 560px; margin: 0 auto 44px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--bg); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 12, 9, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 74px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}
.brand-kn { font-family: var(--kn); font-size: 0.78rem; font-weight: 600; color: var(--text-soft); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .2s;
}
.site-nav a:not(.btn):hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 10px;
  cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 64px 0 56px;
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(236, 195, 95, 0.14), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: flex; justify-content: center; }
.hero-copy { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.hero-swoosh {
  width: min(440px, 80%);
  margin-bottom: 18px;
  filter: drop-shadow(0 10px 30px rgba(236, 195, 95, 0.18));
}
.hero h1 { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.hero-kn { font-family: var(--kn); font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: #fff; }
.hero-en {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero-tag { font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 500; margin-bottom: 18px; color: #fff; }
.hero-place { display: block; margin-top: 6px; font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em; color: var(--gold); }
.hero-lead { font-size: 1.08rem; color: var(--text-soft); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-strip {
  list-style: none;
  margin: 52px auto 0;
  padding: 18px 0 0;
  max-width: 760px;
  border-top: 1px solid var(--line-gold);
  display: flex;
  justify-content: space-around;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-strip li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-light);
}
.hero-strip svg { width: 26px; height: 26px; color: var(--text); }

/* Service cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
}
.card-icon {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2);
  color: var(--gold-light);
  border: 1px solid var(--line-gold);
}
.card-icon svg { width: 32px; height: 32px; }
.card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--gold-light); margin-bottom: 10px; }
.card p { color: var(--text-soft); }

/* Products */
.products {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.products li {
  padding: 18px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  background: var(--surface);
  transition: border-color .2s, color .2s, background-color .2s;
}
.products li.has-example:hover { border-color: var(--gold); color: var(--gold-light); background: var(--surface-2); }
/* Clickable products with an example photo */
.products li.has-example { padding: 0; }
.products li.products-other { grid-column: 1 / -1; }
.product-btn {
  appearance: none;
  width: 100%; height: 100%;
  padding: 18px 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: none; border: 0; border-radius: inherit;
  font: inherit; color: inherit; text-align: center;
  cursor: pointer;
}
.product-btn svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
.products li.has-example:hover .product-btn svg { color: var(--gold-light); }
.products-hint { text-align: center; margin-top: 18px; font-size: 0.9rem; color: var(--text-soft); }
.products-hint svg { width: 15px; height: 15px; vertical-align: -2px; color: var(--gold); }

/* About: story, timeline, machines */
.story { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; margin-bottom: 8px; }
.story-title { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--gold-light); margin: 0 0 16px; }
.story-text p { margin: 0 0 16px; max-width: 65ch; line-height: 1.75; }
.story-text p:last-child { margin-bottom: 0; color: var(--gold-light); font-weight: 500; }
.timeline { list-style: none; margin: 0; padding: 6px 0 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline-year { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; line-height: 1.1; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.timeline li p { margin: 0; color: var(--text-soft); }
.machines { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.machines li { padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-weight: 500; }

/* Our press photos */
.shop-grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: 20px; }
.shop-photo {
  margin: 0;
  position: relative;
  height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.shop-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.press-sub { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--gold-light); text-align: center; margin: 56px 0 24px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.press-video {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.press-video video { display: block; width: 100%; height: auto; aspect-ratio: 478 / 850; object-fit: cover; background: #000; }

/* Example pop-up */
.example-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  overflow: auto;
}
.example-dialog::backdrop { background: rgba(0, 0, 0, 0.75); }
.example-dialog img { display: block; width: 100%; height: auto; background: var(--bg-alt); }
.example-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.example-foot h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--gold-light); }
.example-foot p { font-size: 0.85rem; color: var(--text-soft); }
.example-close {
  position: absolute; top: 10px; right: 10px;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(14, 12, 9, 0.8); color: var(--text);
  cursor: pointer;
}
.example-close svg { width: 20px; height: 20px; }
.example-close:hover { background: var(--bg); color: var(--gold-light); }

.products-note { text-align: center; margin-top: 32px; color: var(--text-soft); }
.products-note a { color: var(--gold-light); font-weight: 600; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { text-align: center; padding: 0 10px; }
.step-num {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--bg);
  font: 700 1.5rem/1 var(--serif);
  margin-bottom: 16px;
}
.steps h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
.steps p { color: var(--text-soft); }

/* Order */
.order-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.order-intro h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: 16px; color: #fff; }
.order-intro > p { color: var(--text-soft); margin-bottom: 22px; }
.order-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.order-points li { padding-left: 30px; position: relative; font-weight: 500; }
.order-points li::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  margin-top: 3px;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230e0c09' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.order-form {
  background: var(--surface);
  border: 1px solid var(--line-gold);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  font: 400 1rem var(--sans);
  padding: 12px 14px;
  border: 1px solid #3a3326;
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #938a7a; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 151, 58, 0.25);
}
.field .invalid { border-color: #e0604f; }
.form-error { color: #f07c6c; font-size: 0.92rem; margin-bottom: 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn { flex: 1 1 200px; }
.form-alt { margin: 14px 0 0; font-size: 0.9rem; color: var(--text-soft); }
.form-alt a { color: var(--gold-light); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
.contact-list { display: grid; gap: 12px; align-content: start; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color .2s;
}
.contact-item:hover { border-color: var(--gold); }
.contact-hours:hover { border-color: var(--line); }
.contact-hours > span:last-child { flex: 1; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; font-variant-numeric: tabular-nums; }
.hours-row span:last-child { color: var(--text-soft); white-space: nowrap; }
.contact-item strong { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.contact-item span:last-child { word-break: break-word; }
.ci-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-gold);
  color: var(--gold-light);
}
.ci-icon svg { width: 20px; height: 20px; }
.ci-icon.ci-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--surface); }
.map iframe {
  width: 100%; height: 100%; min-height: 360px; border: 0; display: block;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.6) brightness(0.95);
}

/* Footer */
.site-footer { background: #080706; color: var(--text-soft); padding: 36px 0; font-size: 0.92rem; border-top: 1px solid var(--line-gold); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.08em; color: var(--gold-light); }
.footer-name span { font-family: var(--kn); font-style: normal; font-size: 0.9rem; letter-spacing: 0; color: var(--text-soft); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  z-index: 60;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Collapsed menu (the full menu needs ~1100px) ---------- */
@media (max-width: 1099px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line-gold);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
    padding: 8px 20px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-cta { margin-top: 16px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .cards-3 { gap: 16px; }
  .card { padding: 26px 18px; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .order-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 36px; }
  .machines { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-title { margin-bottom: 32px; }
  .hero { padding: 40px 0 44px; }
  .brand-mark { width: 56px; }
  .brand-name { font-size: 1.15rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-strip { flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; }
  .cards-3, .steps, .shop-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .press-sub { font-size: 1.6rem; margin-top: 44px; }
  .machines { grid-template-columns: 1fr; gap: 8px; }
  .story-title { font-size: 1.6rem; }
  .timeline li { grid-template-columns: 64px 1fr; gap: 14px; }
  .shop-photo { height: auto; aspect-ratio: 16 / 10; }
  .shop-photo-tall { aspect-ratio: 4 / 5; }
  .example-foot { flex-direction: column; align-items: flex-start; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .products li { padding: 14px 10px; font-size: 0.92rem; }
  .order-form { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .map, .map iframe { min-height: 280px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover, .wa-float:hover { transform: none; }
}
