/* MILU MARKET — multi-page company yellow pages */

:root {
  --ink: #12151a;
  --ink-soft: #3a4250;
  --muted: #667085;
  --paper: #f3f5f2;
  --surface: #ffffff;
  --forest: #0b3d2e;
  --forest-mid: #146048;
  --forest-bright: #1a7a5a;
  --leaf: #d8f3e7;
  --amber: #e3a008;
  --amber-ink: #1c1404;
  --line: rgba(11, 61, 46, 0.12);
  --shadow: 0 20px 50px rgba(18, 21, 26, 0.08);
  --radius: 2px;
  --shell: min(1120px, calc(100% - 2rem));
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(26, 122, 90, 0.1), transparent 55%),
    radial-gradient(700px 380px at 100% 8%, rgba(227, 160, 8, 0.1), transparent 50%),
    linear-gradient(180deg, #f7f8f5 0%, var(--paper) 45%, #eef1ec 100%);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.shell { width: var(--shell); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  padding: 0.65rem 1rem; background: var(--forest); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.promo-bar {
  background: var(--forest); color: #e8f6ef; text-align: center;
  font-size: 0.86rem; font-weight: 500; padding: 0.55rem 1rem;
}
.promo-bar p { margin: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 248, 245, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.25rem;
}

.logo {
  display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none;
}

.logo-mark {
  display: grid; place-items: center; width: 2.15rem; height: 2.15rem;
  background: var(--forest); color: #f4efe0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 0.86rem; letter-spacing: 0.08em; color: var(--forest); }
.logo-text span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.12em; }

.nav { display: none; gap: 0.35rem; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; font-weight: 500;
  padding: 0.45rem 0.7rem; border-bottom: 2px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.nav a:hover, .nav a:focus-visible { color: var(--forest); }
.nav a.is-active {
  color: var(--forest); border-bottom-color: var(--amber); font-weight: 600;
}

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.5rem; height: 2.5rem; border: 1px solid var(--line);
  background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle span:not(.sr-only) {
  display: block; width: 1.05rem; height: 2px; margin-inline: auto; background: var(--forest);
}
.nav.is-open {
  display: flex; position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; gap: 0; padding: 0.5rem 1rem 1rem;
  background: rgba(247, 248, 245, 0.98); border-bottom: 1px solid var(--line);
}
.nav.is-open a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.3rem; border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.btn-primary { background: var(--forest); color: #f3faf6; }
.btn-primary:hover { background: var(--forest-bright); }
.btn-ghost { background: transparent; color: var(--forest); border-color: rgba(11, 61, 46, 0.25); }
.btn-ghost:hover { background: rgba(11, 61, 46, 0.05); }
.btn-accent { background: var(--amber); color: var(--amber-ink); }
.btn-accent:hover { background: #efb01f; }
.btn-text {
  padding: 0.35rem 0.5rem; background: transparent; color: var(--forest);
  border: 0; font-size: 0.88rem; cursor: pointer;
}
.btn-text:hover { background: rgba(11, 61, 46, 0.06); }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--leaf); }

.section { padding: 4.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head h2 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem); font-weight: 600;
  letter-spacing: -0.02em; color: var(--forest);
}
.section-head p { margin: 0.8rem 0 0; color: var(--muted); font-size: 1.05rem; }
.section-head.invert h2 { color: #eaf6f0; }
.section-head.invert p { color: rgba(234, 246, 240, 0.78); }

/* Home hero with image */
.hero-home {
  position: relative; min-height: min(78vh, 680px);
  display: grid; align-items: end; color: #fff; overflow: clip;
}
.hero-home-media { position: absolute; inset: 0; }
.hero-home-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 18s var(--ease) both;
}
.hero-home-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 22, 0.88) 0%, rgba(8, 28, 22, 0.55) 48%, rgba(8, 28, 22, 0.25) 100%),
    linear-gradient(180deg, rgba(8, 28, 22, 0.2), rgba(8, 28, 22, 0.75));
}
.hero-home-content {
  position: relative; z-index: 1; padding: 6.5rem 0 4rem; max-width: 38rem;
}
.eyebrow {
  margin: 0 0 0.9rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
}
.hero-home h1 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; line-height: 1.08;
  letter-spacing: -0.025em; text-wrap: balance; max-width: 20ch;
}
.hero-home .lead {
  margin: 1.15rem 0 0; color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.12rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Page banner */
.page-banner {
  position: relative; min-height: 280px; display: grid; align-items: end;
  color: #fff; overflow: clip;
}
.page-banner-media { position: absolute; inset: 0; }
.page-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 22, 0.35), rgba(8, 28, 22, 0.82));
}
.page-banner-content { position: relative; z-index: 1; padding: 4.5rem 0 2.5rem; }
.page-banner h1 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 600;
}
.page-banner p { margin: 0.7rem 0 0; max-width: 36rem; color: rgba(255,255,255,0.86); }

/* What we do / cards with images */
.feature-grid {
  display: grid; gap: 1.25rem;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-card img { width: 100%; height: 180px; object-fit: cover; }
.feature-card .body { padding: 1.25rem 1.3rem 1.5rem; }
.feature-card h3 { margin: 0; font-size: 1.15rem; color: var(--ink); }
.feature-card p { margin: 0.55rem 0 0; color: var(--ink-soft); }

.why-band {
  background: var(--forest); color: #eaf6f0;
}
.why-band .shell {
  display: grid; gap: 1.5rem; align-items: center;
}
.why-band p { margin: 0.7rem 0 0; color: rgba(234,246,240,0.82); max-width: 40rem; }
.why-band-visual img {
  width: 100%; max-height: 320px; object-fit: cover; border: 1px solid rgba(255,255,255,0.12);
}

/* Categories */
.category-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem;
}
.category-card {
  position: relative; overflow: hidden; min-height: 150px;
  text-decoration: none; color: #fff; display: grid; align-items: end;
  cursor: pointer;
}
.category-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 320ms var(--ease);
}
.category-card:hover img { transform: scale(1.05); }
.category-card span {
  position: relative; z-index: 1; padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(8,28,22,0.85));
  font-weight: 700; letter-spacing: 0.04em;
}

/* Product cards */
.product-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.1rem;
}
.product-card {
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 180ms var(--ease);
}
.product-card:hover { border-color: rgba(11, 61, 46, 0.28); }
.product-card .thumb {
  background: #f7f8f6; aspect-ratio: 1; display: grid; place-items: center; padding: 1rem;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-card .body { padding: 1rem 1.1rem 1.25rem; display: grid; gap: 0.45rem; flex: 1; }
.product-card h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.product-card .desc { margin: 0; color: var(--muted); font-size: 0.9rem; }
.product-card .meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; margin-top: auto;
}
.product-card .price { font-weight: 700; color: var(--forest); }
.product-card .grade {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--forest-mid); background: var(--leaf); padding: 0.2rem 0.45rem;
}

/* Guarantees */
.guarantee-grid { display: grid; gap: 1.25rem; }
.guarantee-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start;
}
.guarantee-item img {
  width: 64px; height: 64px; object-fit: contain; background: #fff;
  border: 1px solid var(--line); padding: 0.35rem;
}
.guarantee-item h3 { margin: 0; font-size: 1.08rem; }
.guarantee-item p { margin: 0.4rem 0 0; color: var(--ink-soft); }

/* Company / contact */
.spec-grid { display: grid; margin: 0 0 2rem; border-top: 1px solid var(--line); }
.spec {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.spec dt {
  margin: 0; color: var(--muted); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.spec dd { margin: 0; font-weight: 500; }
.status { color: var(--forest-mid); font-weight: 600; }

.address-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--amber); padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.address-panel-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.85rem;
}
.address-panel-top h3 {
  margin: 0; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.full-address {
  margin: 0; font-family: var(--font-display); font-style: normal;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem); line-height: 1.45;
  color: var(--forest); font-weight: 500;
}
.address-note {
  margin: 1.25rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.95rem;
}

.contact-grid {
  display: grid; gap: 1.5rem;
}
.contact-card {
  background: var(--surface); border: 1px solid var(--line); padding: 1.35rem;
}
.contact-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--ink-soft); text-decoration: none; }
.contact-card a:hover { color: var(--forest); }

.faq details {
  border-bottom: 1px solid var(--line); padding: 1rem 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--forest);
}
.faq details p { margin: 0.65rem 0 0; color: var(--ink-soft); }

.cta-band { padding-top: 0; }
.cta-inner {
  display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start;
  padding: clamp(1.6rem, 4vw, 2.4rem); background: #16382d; color: #eaf6f0;
}
.cta-inner h2 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600;
}
.cta-inner p { margin: 0.7rem 0 0; color: rgba(234, 246, 240, 0.8); max-width: 40rem; }

.site-footer {
  border-top: 1px solid var(--line); padding: 2.5rem 0 2rem;
  background: rgba(255, 255, 255, 0.4);
}
.footer-grid { display: grid; gap: 1.75rem; }
.footer-brand { display: flex; align-items: center; gap: 0.85rem; }
.footer-brand strong { display: block; }
.footer-brand p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9rem; }
.footer-label {
  margin: 0 0 0.65rem; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.footer-grid ul li { margin-bottom: 0.4rem; color: var(--ink-soft); font-size: 0.95rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--forest); }
.footer-meta {
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.85rem;
}
.footer-meta p { margin: 0; }

.prose {
  max-width: 46rem;
}
.prose h2 {
  margin: 2.25rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--forest);
}
.prose p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.muted-slot {
  color: var(--muted);
  font-style: italic;
}
.text-link {
  color: var(--forest);
  font-weight: 600;
  text-underline-offset: 3px;
}

.toast {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%) translateY(120%);
  z-index: 80; padding: 0.8rem 1.15rem; background: var(--ink); color: #fff;
  font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow);
  transition: transform 220ms var(--ease);
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }

.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (min-width: 760px) {
  :root { --shell: min(1120px, calc(100% - 3.5rem)); }
  .nav-toggle { display: none; }
  .nav { display: flex; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .why-band .shell { grid-template-columns: 1.2fr 0.9fr; gap: 2.5rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(6, 1fr); }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
}

@media (max-width: 480px) {
  .spec { grid-template-columns: 1fr; gap: 0.25rem; }
  .hero-actions .btn { width: 100%; }
  .guarantee-item { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .promo-bar, .site-header, .hero-actions, .cta-band, .toast, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
