/* ============================================================
   Tapicería Morales — hoja de estilos
   Estética: artesanal · cálida · elegante · con textura
   ============================================================ */

:root {
  /* Bases cálidas */
  --paper:       oklch(0.973 0.008 74);
  --paper-2:     oklch(0.958 0.011 72);
  --cream:       oklch(0.940 0.015 70);
  --cream-deep:  oklch(0.905 0.020 68);

  /* Tintas */
  --ink:         oklch(0.235 0.013 55);
  --ink-soft:    oklch(0.330 0.015 52);
  --leather:     oklch(0.430 0.058 48);
  --muted:       oklch(0.520 0.022 58);
  --line:        oklch(0.880 0.013 68);
  --line-soft:   oklch(0.915 0.010 70);

  /* Acentos */
  --terra:       oklch(0.605 0.138 42);
  --terra-deep:  oklch(0.515 0.130 40);
  --terra-tint:  oklch(0.940 0.030 50);
  --gold:        oklch(0.760 0.120 78);

  --night:       oklch(0.205 0.014 56);

  /* Tipografía */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesque", system-ui, -apple-system, sans-serif;

  /* Medidas */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px oklch(0.3 0.02 55 / 0.06), 0 2px 6px oklch(0.3 0.02 55 / 0.05);
  --shadow-md: 0 6px 18px oklch(0.3 0.02 55 / 0.10), 0 2px 6px oklch(0.3 0.02 55 / 0.06);
  --shadow-lg: 0 24px 60px oklch(0.25 0.02 55 / 0.20);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(oklch(0.55 0.03 55 / 0.022) 1px, transparent 1px);
  background-size: 4px 4px;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--night); color: var(--paper); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--terra);
  display: inline-block;
}
.section--ink .eyebrow { color: var(--gold); }
.section--ink .eyebrow::before { background: var(--gold); }
.section--ink h2 { color: var(--paper); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.section-head p { margin-top: 1.1rem; color: var(--muted); font-size: 1.08rem; }
.section--ink .section-head p { color: oklch(0.86 0.012 70); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  padding: 0.92em 1.5em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--terra); color: oklch(0.99 0.01 80); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--terra-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; color: var(--paper); border-color: oklch(0.8 0.02 70 / 0.4); }
.btn--outline-light:hover { border-color: var(--paper); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: oklch(0.973 0.008 74 / 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.5), var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--terra);
  display: grid; place-items: center;
  color: var(--paper);
  flex: none;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.15);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-family: var(--serif); font-size: 1.24rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name span { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  padding: 0.5em 0.85em; border-radius: var(--radius); position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--terra); }
.nav-links .m-phone { display: none; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-phone {
  display: flex; align-items: center; gap: 0.55em;
  font-weight: 600; font-size: 0.98rem; color: var(--ink);
}
.nav-phone svg { width: 1.05em; height: 1.05em; color: var(--terra); }
.nav-phone:hover { color: var(--terra); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: var(--paper); border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: .25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--terra); }
.hero-lead {
  margin-top: 1.4rem; font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  color: var(--ink-soft); line-height: 1.6; max-width: 30ch;
}
.hero-tagline {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
  color: var(--leather); margin-top: 0.5rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero-trust {
  display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem;
  padding-top: 1.7rem; border-top: 1px solid var(--line);
}
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 1.05em; height: 1.05em; }
.hero-trust b { font-weight: 700; }
.hero-trust .muted { color: var(--muted); font-size: 0.95rem; }

.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .frame::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.18);
  border-radius: var(--radius-lg);
}
.hero-badge {
  position: absolute; left: -22px; bottom: 36px;
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.85rem; max-width: 240px;
  border: 1px solid var(--line-soft);
}
.hero-badge .ico {
  width: 42px; height: 42px; border-radius: 50%; background: var(--terra-tint);
  color: var(--terra-deep); display: grid; place-items: center; flex: none;
}
.hero-badge .ico svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-family: var(--serif); font-size: 1.05rem; }
.hero-badge span { font-size: 0.82rem; color: var(--muted); line-height: 1.3; }

/* ---------- Strip de valores ---------- */
.value-strip { background: var(--night); color: var(--paper); }
.value-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: oklch(0.32 0.02 56);
  border-radius: 0;
}
.value-cell {
  background: var(--night); padding: 1.8rem var(--gutter);
  display: flex; align-items: center; gap: 0.9rem;
}
.value-strip .container { padding: 0; }
.value-cell .ico { color: var(--gold); flex: none; }
.value-cell .ico svg { width: 26px; height: 26px; }
.value-cell b { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; display: block; }
.value-cell span { font-size: 0.85rem; color: oklch(0.78 0.012 70); }

/* ---------- Intro / Nosotros ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.intro-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1.3rem; }
.intro-copy p + p { margin-top: 1.1rem; }
.intro-copy p { color: var(--ink-soft); font-size: 1.06rem; }
.intro-sign { margin-top: 1.8rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--leather); }
.intro-media { position: relative; }
.intro-media .pic { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.intro-media .pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.intro-stack { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: center; }
.intro-stack .tall img { aspect-ratio: 3/4.4; }
.intro-stack .short { display: grid; gap: 16px; }
.intro-stack .short img { aspect-ratio: 1/1; }

/* Banda del taller (escaparate real) */
.workshop {
  margin: clamp(40px, 5vw, 72px) 0 0; position: relative;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.workshop img { width: 100%; height: auto; display: block; aspect-ratio: 1062/629; object-fit: cover; }
.workshop figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.4rem 1.5rem 1.1rem;
  display: flex; align-items: center; gap: 0.55rem;
  background: linear-gradient(to top, oklch(0.2 0.014 56 / 0.78), transparent);
  color: var(--paper); font-size: 0.95rem; font-weight: 500;
}
.workshop figcaption svg { width: 1.2em; height: 1.2em; color: var(--gold); flex: none; }

/* ---------- Servicios ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.svc-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.svc-photo { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--cream-deep); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-photo img { transform: scale(1.05); }
.svc-photo .tag {
  position: absolute; top: 12px; left: 12px;
  background: oklch(0.2 0.014 56 / 0.78); color: var(--paper);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4em 0.75em; border-radius: 100px; backdrop-filter: blur(4px);
}
.svc-body { padding: 1.5rem 1.5rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.svc-body p { color: var(--muted); font-size: 0.97rem; }
.svc-icon-card { background: var(--cream); }
.svc-icon-card .svc-photo {
  display: grid; place-items: center; aspect-ratio: 16/11;
  background:
    repeating-linear-gradient(135deg, oklch(0.9 0.02 68) 0 2px, transparent 2px 11px),
    var(--cream-deep);
  color: var(--leather);
}
.svc-icon-card .svc-photo svg { width: 52px; height: 52px; opacity: 0.85; }

/* ---------- Galería ---------- */
.gallery {
  columns: 3; column-gap: 18px;
}
.gallery .shot {
  break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius-lg); overflow: hidden;
  position: relative; cursor: zoom-in; box-shadow: var(--shadow-sm); background: var(--cream-deep);
  display: block; width: 100%;
}
.gallery .shot img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.gallery .shot:hover img { transform: scale(1.04); }
.gallery .shot .cap {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1rem 0.9rem;
  background: linear-gradient(to top, oklch(0.2 0.014 56 / 0.72), transparent);
  color: var(--paper); font-size: 0.9rem; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: .3s ease;
}
.gallery .shot:hover .cap { opacity: 1; transform: none; }
.gallery .shot .zoom {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  background: oklch(0.99 0.01 80 / 0.92); border-radius: 50%; display: grid; place-items: center;
  color: var(--ink); opacity: 0; transform: scale(.85); transition: .25s ease;
}
.gallery .shot:hover .zoom { opacity: 1; transform: none; }
.gallery .shot .zoom svg { width: 17px; height: 17px; }

/* hueco para fotos futuras */
.gallery .slot {
  break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius-lg);
  border: 1.5px dashed var(--line); background: var(--paper-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  text-align: center; padding: 2rem 1rem; min-height: 200px; color: var(--muted);
}
.gallery .slot svg { width: 30px; height: 30px; opacity: 0.6; }
.gallery .slot b { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); }
.gallery .slot span { font-family: "Courier New", monospace; font-size: 0.74rem; letter-spacing: 0.02em; }
.gallery-foot { margin-top: 2.2rem; text-align: center; }

/* ---------- Confianza ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.trust-item { padding-top: 1.6rem; border-top: 2px solid oklch(0.4 0.02 60 / 0.35); }
.section--ink .trust-item { border-top-color: oklch(0.55 0.05 60 / 0.5); }
.trust-item .n { font-family: var(--serif); font-size: 1.05rem; color: var(--gold); letter-spacing: 0.05em; margin-bottom: 0.9rem; }
.trust-item h3 { font-size: 1.4rem; margin-bottom: 0.55rem; }
.section--ink .trust-item h3 { color: var(--paper); }
.trust-item p { color: oklch(0.82 0.012 70); font-size: 0.98rem; }

/* ---------- Materiales ---------- */
.materials { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.swatch { aspect-ratio: 1; border-radius: var(--radius); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.swatch::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.08); border-radius: var(--radius); }
.swatch span {
  position: absolute; left: 8px; bottom: 7px; font-size: 0.68rem; font-weight: 600;
  color: oklch(1 0 0 / 0.92); text-shadow: 0 1px 2px oklch(0 0 0 / 0.4);
  letter-spacing: 0.03em;
}
.materials-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1.2rem; }
.materials-copy p { color: var(--ink-soft); }
.materials-copy ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.8rem; }
.materials-copy li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1.0rem; }
.materials-copy li svg { width: 1.3em; height: 1.3em; color: var(--terra); flex: none; margin-top: 0.15em; }

/* ---------- Reseñas ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(36px, 4vw, 56px); }
.google-badge {
  display: flex; align-items: center; gap: 1rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.4rem; box-shadow: var(--shadow-sm);
}
.google-badge .score { font-family: var(--serif); font-size: 2.4rem; line-height: 1; font-weight: 600; }
.google-badge .meta { font-size: 0.85rem; color: var(--muted); }
.google-badge .meta .stars { font-size: 0.95rem; }
.reviews-grid { columns: 3; column-gap: 24px; }
.review {
  break-inside: avoid; margin-bottom: 24px; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.review .stars { font-size: 0.95rem; margin-bottom: 0.9rem; }
.review p { font-size: 1.0rem; color: var(--ink-soft); line-height: 1.6; }
.review .who { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.2rem; }
.review .avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 700; font-size: 0.95rem; color: var(--paper); font-family: var(--sans);
}
.review .who b { font-size: 0.95rem; display: block; }
.review .who span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 72px); }
.contact-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1.3rem; }
.info-list { display: grid; gap: 1.3rem; margin: 1.8rem 0; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--terra-deep); display: grid; place-items: center; flex: none; border: 1px solid var(--line-soft); }
.info-row .ico svg { width: 21px; height: 21px; }
.info-row b { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; font-family: var(--sans); font-weight: 700; }
.info-row .val { font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.info-row .val a:hover { color: var(--terra); }
.info-row .val small { display: block; font-size: 0.92rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.8rem; }
.map-embed { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 240px; border: 0; filter: saturate(0.9); }

/* Formulario */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.form-card .sub { color: var(--muted); margin-bottom: 1.7rem; font-size: 0.98rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--ink-soft); }
.field label .req { color: var(--terra); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 0.8em 0.95em; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper-2); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terra); background: var(--paper);
  box-shadow: 0 0 0 3px oklch(0.605 0.138 42 / 0.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: oklch(0.55 0.18 28); }
.field .err { color: oklch(0.52 0.18 28); font-size: 0.8rem; margin-top: 0.35rem; display: none; }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.88rem; color: var(--muted); margin-bottom: 1.4rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--terra); }
.check a { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 2px; }
.form-note { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; }
.form-success {
  display: none; text-align: center; padding: 1rem; background: var(--terra-tint);
  border-radius: var(--radius); color: var(--terra-deep); font-weight: 600; margin-top: 1rem;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: oklch(0.82 0.012 70); padding-block: clamp(56px, 7vw, 88px) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); padding-bottom: 3rem; border-bottom: 1px solid oklch(0.32 0.02 56); }
.footer-brand .brand-name b { color: var(--paper); }
.footer-brand .brand-name span { color: oklch(0.7 0.012 70); }
.footer-brand p { margin-top: 1.2rem; max-width: 32ch; font-size: 0.96rem; line-height: 1.6; }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer-col a, .footer-col li { font-size: 0.96rem; color: oklch(0.82 0.012 70); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: 0.84rem; color: oklch(0.68 0.012 70); }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--paper); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: oklch(0.16 0.012 56 / 0.92);
  display: none; align-items: center; justify-content: center; padding: 4vw;
  opacity: 0; transition: opacity .25s ease; backdrop-filter: blur(3px);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--paper); font-size: 0.95rem; }
.lb-btn {
  position: absolute; background: oklch(1 0 0 / 0.1); border: 1px solid oklch(1 0 0 / 0.25);
  color: var(--paper); width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background .2s ease;
}
.lb-btn:hover { background: oklch(1 0 0 / 0.22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* ---------- Botón flotante llamar (móvil) ---------- */
.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; display: none;
  width: 60px; height: 60px; border-radius: 50%; background: var(--terra); color: var(--paper);
  align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}
.fab-call svg { width: 26px; height: 26px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .reviews-grid { columns: 2; }
  .value-strip .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; }
  .intro-grid, .materials, .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 0; }
  .trust-item { padding-block: 1.4rem; }
  .fab-call { display: flex; }

  /* menú móvil */
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; display: flex; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1.2rem;
    transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow-md); align-items: stretch;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 0.85em 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav-links .m-phone { display: flex; align-items: center; gap: 0.5em; color: var(--terra); font-weight: 700; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery, .reviews-grid { columns: 1; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .row-2 { grid-template-columns: 1fr; }
  .hero-cta .btn, .contact-cta .btn { flex: 1; }
  .hero-badge { left: 12px; right: 12px; max-width: none; }
}
