/* =========================================================
   Valencia Home Realty — Estilos globales
   Diseño claro, mediterráneo, minimalista
   ========================================================= */

:root {
  /* Paleta */
  --clay:      #c9683f;   /* terracota valenciana */
  --clay-dark: #a9522f;
  --sea:       #1f6f78;   /* azul mediterráneo */
  --sea-dark:  #16545b;
  --sand:      #f7f2ea;   /* crema */
  --sand-2:    #efe7da;
  --ink:       #23201c;   /* texto principal */
  --muted:     #6f675c;   /* texto secundario */
  --line:      #e7ddce;
  --white:     #ffffff;
  --gold:      #d9a441;
  --ok:        #3f8f5b;
  --warn:      #d98a1f;
  --danger:    #c0453b;

  --radius:   16px;
  --radius-sm: 10px;
  --shadow:   0 10px 30px rgba(35, 32, 28, .08);
  --shadow-lg:0 20px 50px rgba(35, 32, 28, .14);
  --maxw:     1180px;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--sea); text-decoration: none; transition: color .2s; }
a:hover { color: var(--clay); }

/* Foco visible para navegación con teclado (accesibilidad) */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.lang-switch:focus-visible, .nav-toggle:focus-visible, .card__media:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Respeta la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section   { padding: 74px 0; }
.section--tight { padding: 48px 0; }
.bg-white  { background: var(--white); }
.bg-sand2  { background: var(--sand-2); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; font-size: .72rem; color: var(--clay); margin-bottom: 14px;
}
.section-head { max-width: 620px; margin: 0 auto 46px; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 50px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .22s ease; white-space: nowrap; line-height: 1;
}
.btn--primary { background: var(--clay); color: #fff; }
.btn--primary:hover { background: var(--clay-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sea { background: var(--sea); color: #fff; }
.btn--sea:hover { background: var(--sea-dark); color: #fff; transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 242, 234, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--ink); white-space: nowrap; line-height: 1.15; }
.brand:hover { color: var(--ink); }
.brand .brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--clay), var(--gold));
  display: grid; place-items: center; color: #fff; font-size: 1.1rem; box-shadow: var(--shadow);
}
.brand-text { display: flex; flex-direction: column; }
.brand-text b { font-weight: 700; white-space: nowrap; }
.brand small { font-family: var(--sans); font-weight: 500; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .95rem; padding: 9px 13px; border-radius: 8px; white-space: nowrap;
}
.nav-links a:hover { background: var(--sand-2); color: var(--clay); }
.nav-links a.active { color: var(--clay); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 5px; background: none; border: 1px solid var(--line); border-radius: 50px; padding: 6px 11px; cursor: pointer; font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--muted); transition: border-color .2s; }
.lang-switch:hover { border-color: var(--clay); }
.lang-switch span { color: var(--muted); }
.lang-switch span.on { color: var(--clay); }
.lang-switch i { color: var(--line); font-style: normal; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20,25,30,.72) 0%, rgba(20,25,30,.38) 55%, rgba(20,25,30,.15) 100%);
}
.hero__inner { max-width: 720px; padding: 60px 0; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,.92); max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap; }
.hero__stats .num { font-family: var(--serif); font-size: 2rem; color: #fff; }
.hero__stats .lbl { font-size: .82rem; color: rgba(255,255,255,.8); }

/* page hero (interior) */
.page-hero { position: relative; color: #fff; padding: 96px 0 66px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(20,25,30,.55), rgba(20,25,30,.72)); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ---------- Buscador rápido ---------- */
.searchbar {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end;
}
.searchbar.floating { margin-top: -46px; position: relative; z-index: 20; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.field select, .field input {
  font-family: var(--sans); font-size: .95rem; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--sand); color: var(--ink); width: 100%;
}
.field select:focus, .field input:focus { outline: 2px solid var(--clay); border-color: transparent; }

/* ---------- Grid tarjetas ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Property card */
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 50px; color: #fff; backdrop-filter: blur(3px);
}
.badge--nuevo { background: var(--ok); }
.badge--reservado { background: var(--warn); }
.badge--vendido { background: var(--danger); }
.badge--op { background: rgba(31,111,120,.92); }
.card__fav { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.9); border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: .95rem; }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__price { font-family: var(--serif); font-size: 1.5rem; color: var(--clay); font-weight: 700; }
.card__price small { font-size: .8rem; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.card__zone { font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 5px; margin: 4px 0 8px; }
.card__title { font-size: 1.08rem; margin-bottom: 8px; }
.card__desc { font-size: .9rem; color: var(--muted); margin-bottom: 14px; flex: 1; }
.card__specs { display: flex; gap: 16px; font-size: .84rem; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 14px; }
.card__specs span { display: flex; align-items: center; gap: 5px; }

/* ---------- Ventajas / features ---------- */
.feature { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s; }
.feature:hover { transform: translateY(-4px); }
.feature .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--sand-2); color: var(--clay); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Servicios ---------- */
.service { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.service .ic { font-size: 1.7rem; color: var(--sea); margin-bottom: 14px; }
.service h3 { font-size: 1.15rem; }
.service p { font-size: .92rem; color: var(--muted); margin: 0; }
.service .num-lbl { position: absolute; top: 14px; right: 20px; font-family: var(--serif); font-size: 2.4rem; color: var(--sand-2); font-weight: 700; }

/* ---------- Blog ---------- */
.post { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post__media { aspect-ratio: 16/10; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .78rem; color: var(--clay); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.post__body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post__body p { font-size: .9rem; color: var(--muted); flex: 1; }

/* ---------- Formularios ---------- */
.form-card { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select {
  font-family: var(--sans); font-size: .95rem; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--sand); color: var(--ink); width: 100%;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: 2px solid var(--clay); border-color: transparent; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-ok { background: #e8f4ec; color: var(--ok); border: 1px solid #bfe0cb; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 16px; }

/* ---------- Contacto info ---------- */
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-item .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--sand-2); color: var(--clay); display: grid; place-items: center; font-size: 1.2rem; }
.contact-item h4 { font-family: var(--sans); font-size: .95rem; margin: 0 0 3px; }
.contact-item p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Property detail ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity .2s; }
.gallery img:hover { opacity: .9; }
.gallery .g-main { grid-row: 1 / span 2; aspect-ratio: auto; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; list-style: none; padding: 0; margin: 0; }
.spec-list li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.spec-list li b { font-weight: 600; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.feature-chips li { background: var(--sand-2); padding: 8px 15px; border-radius: 50px; font-size: .86rem; }
.detail-sticky { position: sticky; top: 96px; }
.price-box { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: 22px; right: 22px; bottom: 22px; max-width: 560px; margin: 0 auto; z-index: 95;
  background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px;
}
.cookie-banner p { margin: 0 0 12px; font-size: .9rem; }
.cookie-actions { display: flex; gap: 10px; }
@media (max-width: 720px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--sea), var(--sea-dark)); color: #fff; border-radius: var(--radius); padding: 52px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 540px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc7ba; padding: 66px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #cfc7ba; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; color: #a99f92; max-width: 280px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cfc7ba; }
.socials a:hover { background: var(--clay); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: #a99f92; }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Utilidades ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }
.founder-badge { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.95); backdrop-filter: blur(4px); border-radius: 12px; padding: 12px 18px 13px; box-shadow: var(--shadow-lg); }
.founder-badge b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.founder-badge span { font-size: .82rem; color: var(--muted); }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { padding: 9px 18px; border-radius: 50px; border: 1px solid var(--line); background: var(--white); font-size: .88rem; cursor: pointer; transition: .2s; font-family: var(--sans); }
.chip:hover { border-color: var(--clay); color: var(--clay); }
.chip.active { background: var(--clay); color: #fff; border-color: var(--clay); }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.results-bar .count { font-size: .95rem; color: var(--muted); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-2{margin-top:1.4rem}

/* ---------- Consulta (producto) ---------- */
.hl { color: var(--gold); }
.promo-badge {
  display: inline-block; background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.5); padding: 6px 15px; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 18px; backdrop-filter: blur(3px);
}
.cons-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 28px; }
.cons-price { display: flex; align-items: baseline; gap: 6px; color: #fff; flex-wrap: wrap; }
.cons-price .num { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; }
.cons-price .cur { font-size: 1.1rem; opacity: .85; }
.cons-price .note { display: block; width: 100%; font-size: .8rem; opacity: .82; }
.cons-meta { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.cons-meta .m { color: rgba(255,255,255,.9); font-size: .92rem; }
.cons-meta .m b { color: #fff; }

.check-list, .cross-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.check-list li, .cross-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.check-list li::before { content: "✓"; color: var(--ok); font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
.cross-list li { color: var(--muted); }
.cross-list li::before { content: "✕"; color: var(--danger); font-weight: 700; font-size: 1.05rem; line-height: 1.4; }

.topics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c-topic { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 15px 17px; display: flex; gap: 13px; align-items: flex-start; box-shadow: var(--shadow); }
.c-topic .n { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--sand-2); color: var(--clay); font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.c-topic .tt { font-size: .98rem; font-weight: 500; }
.c-topic .sub { color: var(--muted); font-size: .82rem; margin-top: 3px; }

.offer-price { font-family: var(--serif); font-size: 3.4rem; font-weight: 700; color: #fff; margin: 8px 0 4px; }
.offer-price span { font-size: 1.3rem; opacity: .85; }
.offer-list { list-style: none; padding: 0; margin: 0 auto 28px; display: inline-grid; gap: 11px; text-align: left; }
.offer-list li { display: flex; gap: 10px; color: rgba(255,255,255,.95); font-size: 1.02rem; }
.offer-list li::before { content: "✓"; color: #fff; font-weight: 700; }

.promo-band { background: linear-gradient(120deg, var(--clay), var(--gold)); color: #fff; border-radius: var(--radius); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.promo-band .promo-txt { max-width: 560px; }
.promo-band h2 { color: #fff; margin-bottom: 8px; }
.promo-band p { color: rgba(255,255,255,.94); margin: 0; }
.promo-band .price { font-family: var(--serif); font-size: 1.35rem; margin-top: 12px; }
.promo-band .btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.promo-band .btn--light:hover { background: var(--ink); color: #fff; }

/* Prose (legal / blog article) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th, .admin-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .9rem; }
.admin-table th { background: var(--sand-2); font-family: var(--sans); }
.admin-table img { width: 60px; height: 44px; object-fit: cover; border-radius: 8px; }
.status-pill { font-size: .74rem; padding: 4px 10px; border-radius: 50px; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-main { grid-row: auto; grid-column: 1 / span 2; }
}
@media (max-width: 1000px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: var(--sand); border-bottom: 1px solid var(--line); padding: 14px 22px; gap: 4px; align-items: stretch;
  }
  .site-header.open .nav-links a { padding: 12px; }
}
@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .promo-band { padding: 32px 24px; text-align: center; justify-content: center; }
  .offer-price { font-size: 2.6rem; }
  .form-row.two { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero__stats { gap: 26px; }
  .cta-band { padding: 36px 22px; }
  .footer-bottom { flex-direction: column; }
  .detail-cols { grid-template-columns: 1fr !important; }
}
