/* ============================================================
   Anunci marketing site — shared styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--spring-wood);
  color: var(--martinique);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; }

/* ---------- Top nav ---------- */
nav.top {
  height: 72px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(241, 238, 230, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}
nav.top.scrolled { border-bottom-color: var(--border-subtle); }
nav.top .row { display: flex; align-items: center; gap: 38px; width: 100%; }
nav.top .logo img { height: 24px; display: block; }
nav.top ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
nav.top a.lnk {
  color: var(--fg-1);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
  transition: color 120ms var(--ease-out);
}
nav.top a.lnk:hover { color: var(--blue-violet); }
nav.top a.lnk.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--martinique);
  border-radius: 2px;
}
nav.top .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 11px;
  border: 0;
  cursor: pointer;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out), transform 100ms var(--ease-out);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn .ico {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

.btn-primary {
  background: var(--cta-color, var(--rajah));
  color: var(--cta-fg, var(--martinique));
  box-shadow: var(--shadow-xs);
}
.btn-primary:hover {
  background: var(--cta-hover, var(--yellow-600));
  box-shadow: var(--shadow-sm);
}
.btn-dark { background: var(--martinique); color: var(--spring-wood); }
.btn-dark:hover { background: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--martinique); }
.btn-ghost:hover { background: var(--cream-300); }
.btn-outline {
  background: transparent;
  color: var(--martinique);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.btn-outline:hover {
  background: var(--cream-100);
  box-shadow: inset 0 0 0 1px var(--martinique);
}

/* ---------- Eyebrow ---------- */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 6px 12px;
  background: var(--peach-yellow);
  border-radius: 999px;
}
.eyebrow-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 999px;
  display: inline-block;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--martinique);
  color: var(--spring-wood);
  padding: 72px 0 32px;
  margin-top: 0;
}
footer.site .footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
footer.site .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-content: start;
}
footer.site .footer-nav a {
  color: rgba(241, 238, 230, 0.85);
  font-size: 14px;
  font-weight: 400;
  transition: color 120ms var(--ease-out);
}
footer.site .footer-nav a:hover { color: var(--rajah); text-decoration: none; }
footer.site .footer-contact .lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--rajah);
  margin-bottom: 10px;
  font-family: var(--font-display);
}
footer.site .footer-contact a {
  font-size: 15px;
  color: rgba(241, 238, 230, 0.9);
  font-weight: 500;
  transition: color 120ms var(--ease-out);
}
footer.site .footer-contact a:hover { color: var(--rajah); text-decoration: none; }
footer.site .cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
footer.site img.logo { height: 30px; }
footer.site .tagline {
  font-size: 14px;
  color: rgba(241, 238, 230, 0.7);
  margin-top: 16px;
  max-width: 30ch;
  line-height: 1.55;
}
footer.site .addr {
  font-size: 12px;
  font-family: var(--font-mono);
  color: rgba(241, 238, 230, 0.55);
  margin-top: 18px;
  line-height: 1.6;
}
footer.site h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--rajah);
  margin: 0 0 14px;
  font-family: var(--font-display);
}
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
footer.site ul a {
  color: rgba(241, 238, 230, 0.85);
  font-size: 14px;
  font-weight: 400;
  transition: color 120ms var(--ease-out);
}
footer.site ul a:hover { color: var(--rajah); }
footer.site .legal {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(241, 238, 230, 0.12);
  font-size: 12px;
  color: rgba(241, 238, 230, 0.55);
  font-family: var(--font-mono);
}
footer.site .legal a { color: inherit; }
footer.site .legal a:hover { color: var(--rajah); }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero .eyebrow-line {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.page-hero h1 {
  position: relative;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--martinique);
  margin: 0 0 22px;
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero h1 .hl-plain {
  position: relative;
  z-index: 1;
}
.page-hero h1 .accent {
  position: relative;
  z-index: 0;
  background: var(--rajah);
  padding: 0.06em 0.12em;
  border-radius: 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.page-hero .lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 56ch;
  margin: 0 0 28px;
}
.page-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Section utilities ---------- */
.sec { padding: 96px 0; }
.sec-h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
  max-width: 22ch;
  text-wrap: balance;
}
.sec-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 60ch;
  margin: 0 0 48px;
}
.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sec-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-3);
  flex-shrink: 0;
}
.sec-eyebrow.accent-rajah { color: var(--navy-700); }
.sec-eyebrow.accent-rajah::before { background: var(--rajah); }
.sec-eyebrow.accent-violet { color: var(--navy-700); }
.sec-eyebrow.accent-violet::before { background: var(--blue-violet); }
.sec-eyebrow.accent-navy { color: var(--navy-700); }
.sec-eyebrow.accent-navy::before { background: var(--martinique); }

/* Photo placeholder (warm retail interior) */
.photo {
  background: linear-gradient(135deg, var(--cream-300), var(--peach-yellow) 60%, var(--cream-300));
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(40, 40, 80, 0.12), transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(40, 40, 80, 0.08), transparent 50%),
    linear-gradient(0deg, rgba(40, 40, 80, 0.18), transparent 65%);
}
/* Illustrated variant — flat editorial scene in brand palette */
.photo.illu::before {
  background: linear-gradient(0deg, rgba(40, 40, 80, 0.62), rgba(40, 40, 80, 0.28) 14%, transparent 32%);
  z-index: 1;
}
.photo.illu .scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Hero carousel ---------- */
.photo.carousel { isolation: isolate; }
.photo.carousel .track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  z-index: 0;
}
.photo.carousel .slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.photo.carousel .slide .scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.photo.carousel .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(40, 40, 80, 0.62), rgba(40, 40, 80, 0.28) 14%, transparent 32%);
  pointer-events: none;
  z-index: 1;
}
.photo.carousel .slide .ph-label,
.photo.carousel .slide .caption { z-index: 2; }
.photo.carousel.illu::before { display: none; }
.photo.carousel .dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  padding: 6px 10px;
  background: rgba(40, 40, 80, 0.42);
  border-radius: 999px;
}
.photo.carousel .dot {
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: rgba(241, 238, 230, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 200ms cubic-bezier(0.22, 1, 0.36, 1), width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.photo.carousel .dot:hover { background: rgba(241, 238, 230, 0.75); }
.photo.carousel .dot:focus-visible { outline: 2px solid var(--blue-violet); outline-offset: 2px; }
.photo.carousel .dot.active { background: var(--rajah); width: 38px; }
.photo.carousel .dot.active:hover { background: var(--rajah); }

.photo .caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  color: rgba(241, 238, 230, 0.85);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  z-index: 2;
}
.photo .ph-label {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(40, 40, 80, 0.65);
  color: var(--spring-wood);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 2;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
}

/* Generic */
.is-hidden { display: none !important; }
::selection { background: var(--rajah); color: var(--martinique); }
