/* =========================================================
   Abbitat Cocinas y Armarios — hoja de estilos
   ========================================================= */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --orange: #E67819;          /* naranja corporativo (decorativo) */
  --orange-ink: #B9540A;      /* naranja accesible para texto y botones */
  --orange-ink-2: #9C4608;
  --orange-tint: #FCEFE3;
  --grey-brand: #767475;
  --ink: #2A2826;
  --ink-2: #5E5A57;
  --line: #E7E2DD;
  --sand: #F6F2ED;
  --paper: #FFFFFF;
  --dark: #33302E;
  --ok: #2F7A3E;
  --err: #B3261E;

  --font-head: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(42, 40, 38, .06), 0 8px 24px rgba(42, 40, 38, .08);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 76px;
  --section: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: var(--orange-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-ink-2); }
button { font: inherit; }

h1, h2, h3, .h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3, .h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); font-size: .92rem; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }
@media (max-width: 480px) { :root { --gutter: 16px; } }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Eyebrow con el cuadrado del logotipo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--orange); flex: none; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--orange-ink); --fg: #fff; --bd: var(--orange-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { --bg: var(--orange-ink-2); --bd: var(--orange-ink-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: #CFC8C1; }
.btn-ghost:hover { --bg: var(--ink); --bd: var(--ink); color: #fff; }
.btn-light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-light:hover { --bg: var(--sand); --bd: var(--sand); color: var(--ink); }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn-ghost-light:hover { --bg: #fff; --bd: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: .5em 1.05em; font-size: .88rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(42,40,38,.06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 400; font-size: 1.75rem; letter-spacing: .04em; color: var(--ink); }
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); margin-top: 5px; }
.brand:hover { color: var(--ink); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 12px; color: var(--ink); text-decoration: none;
  font-family: var(--font-head); font-weight: 500; font-size: .93rem; position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: none; }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none;
  padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
}
.header-phone .icon { color: var(--orange-ink); }
.header-phone:hover { border-color: var(--orange); color: var(--ink); }

.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--ink); transform: translateX(-50%); transition: transform .2s, opacity .2s;
}
.nav-toggle .bars { top: 50%; margin-top: -1px; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; left: 0; transform: none; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
  .header-phone { padding: 12px; }
}
@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; margin-left: 0; }
  .header-phone { margin-left: auto; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(42,40,38,.12);
    max-height: calc(100vh - var(--header-h)); overflow: auto;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--orange-ink); }
  .nav-cta { display: inline-flex; }
  .brand-mark { width: 40px; }
  .brand-name { font-size: 1.5rem; }
}

/* ---------- Secciones ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p:last-child { color: var(--ink-2); margin-bottom: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.section-head-row h2 { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 var(--section); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .95rem; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--orange-ink); }

.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; z-index: -1; right: -28px; top: -28px; width: 55%; height: 62%;
  background: var(--orange);
}
.hero-media::after {
  content: ""; position: absolute; z-index: -1; left: -22px; bottom: -22px; width: 34%; height: 34%;
  background: var(--grey-brand);
}
.hero-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px;
  background: #fff; padding: 14px 18px; border-left: 4px solid var(--orange); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px;
}
.hero-badge strong { font-family: var(--font-head); font-size: .98rem; }
.hero-badge span { font-size: .86rem; color: var(--ink-2); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { margin: 8px 12px 0 0; }
  .hero-media::before { right: -12px; top: -12px; }
  .hero-media::after { left: -10px; bottom: -10px; }
}

/* ---------- Cabecera de página interior ---------- */
.page-hero { background: var(--sand); padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); border-bottom: 6px solid var(--orange); }
.page-hero-compact .lead { margin-bottom: 0; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

.crumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #B4ACA5; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--orange-ink); text-decoration: underline; }

/* ---------- Tarjetas de servicio ---------- */
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.service-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card figure { overflow: hidden; }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.service-card:hover img { transform: scale(1.03); }
.service-card-body { padding: 26px 28px 30px; }
.service-card-body h3 { font-size: 1.4rem; }
.service-card-body p { color: var(--ink-2); }
.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--orange-ink); }
.more .icon { transition: transform .2s; }
a:hover .more .icon { transform: translateX(4px); }
@media (max-width: 760px) { .service-cards { grid-template-columns: 1fr; } }

/* ---------- Ventajas ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.features-3 { grid-template-columns: repeat(3, 1fr); }
.features li { background: #fff; padding: 28px 24px; border-top: 3px solid var(--orange); }
.features h3 { margin-bottom: .4em; }
.features p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--orange-tint); color: var(--orange-ink); margin-bottom: 18px; }
.feature-icon .icon { width: 24px; height: 24px; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features, .features-3 { grid-template-columns: 1fr; } }

/* ---------- Proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: "0" counter(step); position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--orange);
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 72px; right: -14px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li::after { display: none; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Financiación ---------- */
.finance-band { background: var(--dark); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.finance-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px 40px; align-items: center; }
.finance-band h2 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: .3em; }
.finance-band p { color: #DDD7D1; margin: 0; }
.finance-figure { width: 104px; height: 104px; display: grid; place-items: center; background: var(--orange); }
.finance-figure span { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: #fff; letter-spacing: -.03em; }
@media (max-width: 760px) { .finance-inner { grid-template-columns: 1fr; } .finance-figure { width: 80px; height: 80px; } .finance-figure span { font-size: 1.7rem; } }

/* ---------- Mosaico ---------- */
.mosaic { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(200px, 26vw, 330px); gap: 16px; }
.mosaic li { overflow: hidden; }
.mosaic li.m-wide { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; } }

/* ---------- Bloques texto + imagen ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split-media { position: relative; }
.split-media::after { content: ""; position: absolute; width: 72px; height: 72px; background: var(--orange); right: -14px; bottom: -14px; z-index: -1; }
.split-rev .split-media::after { right: auto; left: -14px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-rev .split-media { order: 2; } .split-media::after { right: -8px; bottom: -8px; } .split-rev .split-media::after { left: -8px; } }

.prose h2 { margin-top: 1.6em; }
.prose > h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.ticks { list-style: none; padding: 0 !important; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 10px; height: 10px; background: var(--orange); }

/* ---------- Exposición ---------- */
.showroom { background: var(--sand); }
.showroom-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.showroom-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.showroom-text p { color: var(--ink-2); }
@media (max-width: 900px) { .showroom-grid { grid-template-columns: 1fr; } .showroom-media img { aspect-ratio: 4 / 3; } }

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--orange-ink); margin-top: 3px; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--orange-ink); text-decoration: underline; }
.contact-list-lg { font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }
.faq { border-top: 1px solid #DCD5CE; }
.faq details { border-bottom: 1px solid #DCD5CE; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--orange-ink), var(--orange-ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--orange-ink), var(--orange-ink)) center / 2px 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 48px 22px 0; margin: 0; }
.more-links { margin-top: 28px; color: var(--ink-2); }

/* ---------- Formulario ---------- */
.form-section { background: linear-gradient(180deg, #fff 0, #fff 40%, var(--sand) 40%); }
.form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.form-aside p { color: var(--ink-2); }
.finance-note { display: flex; gap: 14px; align-items: flex-start; background: var(--orange-tint); padding: 16px 18px; margin-top: 8px; }
.finance-note .icon { color: var(--orange-ink); width: 26px; height: 26px; }
.finance-note p { margin: 0; color: var(--ink); font-size: .96rem; }

.lead-form { background: #fff; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; min-height: 48px; background: #fff;
  border: 1.5px solid #CFC8C1; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E5A57' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange-ink); box-shadow: 0 0 0 3px rgba(230, 120, 25, .22); }
.field.has-error input, .field.has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: .86rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 12px; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange-ink); flex: none; }
.check label { flex: 1; min-width: 0; }
.check.has-error label { color: var(--err); }
.check .field-error { flex-basis: 100%; margin: -4px 0 0 30px; }
.lead-form .btn-block { margin-top: 10px; }
.lead-form .btn[disabled] { opacity: .65; cursor: progress; }
.req-note { font-size: .82rem; color: var(--ink-2); margin: 10px 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 14px 16px; margin-bottom: 20px; border-left: 4px solid; font-weight: 500; }
.form-status.is-ok { background: #EAF4EC; border-color: var(--ok); color: #1F5129; }
.form-status.is-error { background: #FBEAE9; border-color: var(--err); color: #7E1B15; }

.gdpr { margin-top: 20px; font-size: .84rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; }
.gdpr summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.gdpr dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0 0; }
.gdpr dt { font-weight: 600; color: var(--ink); }
.gdpr dd { margin: 0; }
@media (max-width: 560px) { .gdpr dl { grid-template-columns: 1fr; } .gdpr dd { margin-bottom: 6px; } }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-section { background: var(--sand); }
}

/* ---------- Contacto ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 26px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.contact-card:hover { color: var(--ink); border-color: var(--orange); box-shadow: var(--shadow); }
.contact-card .feature-icon { margin-bottom: 12px; }
.contact-card-label { font-size: .85rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-card strong { font-family: var(--font-head); font-size: 1.05rem; overflow-wrap: anywhere; }
@media (max-width: 800px) { .contact-cards { grid-template-columns: 1fr; } }

.map { position: relative; aspect-ratio: 16 / 7; background: var(--sand); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; gap: 4px; }
.map-placeholder > .icon { width: 36px; height: 36px; color: var(--orange-ink); margin-bottom: 8px; }
.map-placeholder p { max-width: 46ch; color: var(--ink-2); margin: 0; }
.map-placeholder .hero-actions { margin-top: 16px; justify-content: center; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 5; } }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { min-height: 42px; padding: 8px 18px; border: 1.5px solid #CFC8C1; background: #fff; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a { display: block; overflow: hidden; position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s; }
.gallery a:hover img { transform: scale(1.04); }
.g-item[hidden] { display: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 18, 17, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 18, 17, .94); }
.lightbox figure { max-width: min(1100px, 88vw); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox figcaption { text-align: center; padding: 14px 0 0; color: #E8E3DE; font-size: .95rem; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; background: transparent; border: 1.5px solid currentColor; border-radius: 50%; color: inherit; cursor: pointer; }
.icon-btn .icon { width: 22px; height: 22px; }
.lightbox .icon-btn { position: fixed; color: #fff; border-color: rgba(255,255,255,.4); background: rgba(0,0,0,.25); }
.lightbox .icon-btn:hover { border-color: #fff; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- CTA ---------- */
.cta-band { background: var(--dark); color: #fff; padding: clamp(48px, 7vw, 88px) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #DDD7D1; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.15rem; }
.post-card-body p { color: var(--ink-2); font-size: .96rem; }
.post-card-body .more { margin-top: auto; }
.post-meta { font-size: .85rem; color: var(--ink-2); margin-bottom: .6em; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.post-head { padding: clamp(28px, 5vw, 56px) 0 0; }
.post-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.post-cover { max-width: 1080px; margin: 28px auto 0; }
.post-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.post-body { padding-top: clamp(32px, 5vw, 56px); padding-bottom: var(--section); }
.post-body .lead { color: var(--ink); max-width: none; }
.post-cta { margin-top: 48px; padding: 32px; background: var(--sand); border-left: 4px solid var(--orange); }
.post-cta h2 { font-size: 1.4rem; margin-top: 0; }
.post-cta .hero-actions { margin-top: 12px; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--sand); font-family: var(--font-head); font-weight: 600; }
tbody th { font-weight: 600; }
code { font-size: .9em; background: var(--sand); padding: 1px 6px; border-radius: 3px; }

/* ---------- Legal / 404 ---------- */
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; }
.notfound { text-align: left; }

/* ---------- Pie ---------- */
.site-footer { background: #252321; color: #CFC8C1; padding: clamp(48px, 7vw, 80px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer-title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer a { color: #E8E3DE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .contact-list .icon { color: var(--orange); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links .link-btn { color: #E8E3DE; text-decoration: none; font-size: inherit; }
.footer-links .link-btn:hover { color: #fff; text-decoration: underline; }
.brand-invert .brand-name { color: #fff; }
.brand-invert .brand-sub { color: #B9B1AA; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-bottom { border-top: 1px solid #3B3835; margin-top: 48px; padding-top: 20px; padding-bottom: 24px; font-size: .85rem; color: #9F9790; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Barra móvil ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; height: 64px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(42,40,38,.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 600; text-decoration: none; }
  .mobile-bar-call { color: var(--ink); }
  .mobile-bar-quote { background: var(--orange-ink); color: #fff; }
  .mobile-bar-quote:hover { color: #fff; }
}

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px;
  max-width: 980px; margin: 0 auto;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--orange);
  box-shadow: 0 18px 50px rgba(42,40,38,.22);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { display: flex; gap: 20px 28px; align-items: center; padding: 20px 24px; }
.cookie-banner p { margin: 0; font-size: .92rem; line-height: 1.55; }
.cookie-actions { display: flex; gap: 10px; flex: none; flex-wrap: wrap; }
@media (max-width: 860px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; padding: 18px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions [data-cookie-accept] { grid-column: 1 / -1; grid-row: 1; }
}

.cookie-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-top: 4px solid var(--orange); box-shadow: 0 24px 60px rgba(0,0,0,.3); color: var(--ink); }
.cookie-dialog::backdrop { background: rgba(37, 35, 33, .55); }
.cookie-dialog-body { padding: 24px 26px 26px; }
.cookie-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.cookie-dialog-head h2 { font-size: 1.35rem; margin: 0; }
.cookie-dialog-head .icon-btn { width: 40px; height: 40px; border-color: var(--line); }
.cookie-dialog p { font-size: .93rem; color: var(--ink-2); }
.cookie-cat { border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 12px; }
.cookie-cat p { margin: 6px 0 0; font-size: .88rem; }
.cookie-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cookie-cat h3 { font-size: 1rem; margin: 0; }
.pill { font-size: .76rem; font-weight: 600; background: var(--sand); padding: 4px 10px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; }
.cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 18px; }
@media (max-width: 560px) { .cookie-dialog-actions { display: grid; } .cookie-dialog-actions [data-cookie-accept] { grid-row: 1; } }

.switch { position: relative; display: inline-block; width: 50px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch-track { position: absolute; inset: 0; background: #CFC8C1; border-radius: 999px; transition: background .2s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .switch-track { background: var(--orange-ink); }
.switch input:checked + .switch-track::after { transform: translateX(22px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--orange); outline-offset: 2px; }
