/* =========================================================
   Qué Te COSO — Atelier boutique de costura · Lorca
   Design system + layout
   ========================================================= */

:root {
  /* Backgrounds */
  --linen: #f6f1ea;
  --cream: #efe7db;
  --paper: #fbf8f3;

  /* Ink / text */
  --ink: #241f1a;
  --ink-soft: #4a423a;
  --muted: #8a7e70;

  /* Accents */
  --rose: #d9a8a0;
  --rose-deep: #c4837a;
  --rose-wash: #f1ddd8;
  --terra: #b5764f;
  --terra-deep: #9c5f3c;
  --gold: #b08d57;
  --gold-soft: #c9ab78;

  /* Lines */
  --hair: rgba(36, 31, 26, 0.12);
  --hair-strong: rgba(36, 31, 26, 0.2);

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Mulish", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 4px;

  --shadow-sm: 0 1px 2px rgba(36, 31, 26, 0.06), 0 8px 24px rgba(36, 31, 26, 0.06);
  --shadow-md: 0 4px 12px rgba(36, 31, 26, 0.08), 0 24px 60px rgba(36, 31, 26, 0.12);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--linen);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

p { margin: 0 0 1em; text-wrap: pretty; }

/* ---------- Utilities ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--terra) 0 6px, transparent 6px 11px);
}

/* Running-stitch divider */
.stitch {
  height: 2px;
  width: 100%;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 9px, transparent 9px 17px);
  opacity: 0.7;
  border: 0;
}

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

.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 {
  font-size: clamp(34px, 5.4vw, 60px);
}
.section-head p { color: var(--ink-soft); font-size: 18px; margin-top: 18px; }
.section--ink .section-head p { color: rgba(246, 241, 234, 0.78); }
.section--ink .eyebrow { color: var(--gold-soft); }
.section--ink .eyebrow::before { background-image: repeating-linear-gradient(90deg, var(--gold-soft) 0 6px, transparent 6px 11px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.03em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--linen); }
.btn-primary:hover { background: var(--terra-deep); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.btn-ghost { border-color: var(--hair-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--linen); transform: translateY(-2px); }
.btn-light { background: var(--linen); color: var(--ink); }
.btn-light:hover { background: var(--rose-wash); transform: translateY(-2px); }
.btn-icon svg { width: 17px; height: 17px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 241, 234, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--hair);
  box-shadow: 0 6px 24px rgba(36, 31, 26, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

/* Logo wordmark */
.logo { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.logo .logo-mark {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.logo .logo-mark em { font-style: italic; font-weight: 500; font-size: 0.7em; color: var(--terra); }
.logo .logo-mark b { font-weight: 600; letter-spacing: 0.04em; }
.logo .logo-sub {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}
.header-phone svg { width: 16px; height: 16px; color: var(--terra); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  position: relative;
  width: 18px; height: 1.5px; background: var(--ink);
  transition: background 0.2s;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s ease;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 7px 16px 7px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.hero h1 {
  font-size: clamp(40px, 5.3vw, 68px);
  line-height: 1.0;
}
.hero h1 em { font-style: italic; color: var(--terra); }
.hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  max-width: 30em;
  margin-top: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 8px; margin-top: 34px; }
.tag {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: 6px 13px;
  border-radius: 999px;
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px dashed var(--gold-soft);
  border-radius: 6px;
  z-index: -1;
}
.hero-chip {
  position: absolute;
  left: -22px; bottom: 34px;
  background: var(--paper);
  padding: 16px 20px;
  border-radius: 5px;
  box-shadow: var(--shadow-md);
  max-width: 215px;
}
.hero-chip .hc-k { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--terra); }
.hero-chip .hc-t { font-size: 13px; color: var(--ink-soft); margin-top: 6px; font-weight: 600; }

/* Marquee strip under hero */
.marquee {
  border-block: 1px solid var(--hair);
  background: var(--paper);
  overflow: hidden;
  padding-block: 16px;
}
.marquee-track {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-x 34s linear infinite;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-soft);
  align-items: center;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 42px; }
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* =========================================================
   INTRO
   ========================================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.intro-figure { position: relative; }
.intro-figure img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}
.intro-figure figcaption {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--linen);
  background: rgba(36, 31, 26, 0.55);
  backdrop-filter: blur(4px);
  padding: 9px 14px;
  border-radius: 4px;
}
.intro-body h2 { font-size: clamp(30px, 4.2vw, 50px); }
.intro-body p { color: var(--ink-soft); font-size: 18px; margin-top: 18px; }
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--terra);
  margin-top: 14px;
}

/* =========================================================
   SERVICES
   ========================================================= */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: 6px;
  overflow: hidden;
}
.svc {
  background: var(--linen);
  padding: 34px 30px 32px;
  position: relative;
  transition: background 0.3s ease, transform 0.3s ease;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.section--cream .svc { background: var(--cream); }
.svc:hover { background: var(--paper); }
.svc-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.svc-mark {
  width: 30px; height: 30px;
  margin: 18px 0 20px;
  color: var(--terra);
}
.svc-mark svg { width: 100%; height: 100%; }
.svc h3 { font-size: 25px; margin-bottom: 8px; }
.svc p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.svc-tag {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   FEATURE BLOCKS (split image + text)
   ========================================================= */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(56px, 8vw, 112px); }
.feature--reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}
.feature-media .fm-2 {
  position: absolute;
  width: 44%;
  aspect-ratio: 3 / 4;
  bottom: -28px;
  right: -22px;
  border: 6px solid var(--linen);
  box-shadow: var(--shadow-md);
  border-radius: 4px;
}
.section--cream .feature-media .fm-2 { border-color: var(--cream); }
.feature-body h2 { font-size: clamp(30px, 4.4vw, 52px); }
.feature-body p { color: var(--ink-soft); font-size: 17px; margin-top: 18px; }
.feature-list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 12px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px; font-weight: 600;
}
.feature-list li::before {
  content: "";
  flex: none;
  margin-top: 9px;
  width: 16px; height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--terra) 0 4px, transparent 4px 7px);
}

/* =========================================================
   HEBREO / SEMANA SANTA strip (ink)
   ========================================================= */
.hebreo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hebreo-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hebreo-imgs img {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hebreo-imgs img:nth-child(2) { margin-top: 36px; }
.hebreo-body h2 { font-size: clamp(32px, 4.6vw, 56px); color: var(--linen); }
.hebreo-body p { color: rgba(246,241,234,0.8); font-size: 17px; margin-top: 18px; }

/* =========================================================
   GALLERY
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--hair-strong);
  background: transparent;
  color: var(--ink-soft);
  transition: all 0.22s ease;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: var(--linen); }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 14px;
  grid-auto-flow: row dense;
  gap: 16px;
}
.gitem {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: var(--cream);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1), opacity 0.45s ease, box-shadow 0.3s ease;
}
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2,0.7,0.2,1); }
.gitem:hover { box-shadow: var(--shadow-md); }
.gitem:hover img { transform: scale(1.05); }
.gitem-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 18px 16px;
  background: linear-gradient(to top, rgba(36,31,26,0.78), rgba(36,31,26,0));
  color: var(--linen);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.gitem:hover .gitem-cap { opacity: 1; transform: translateY(0); }
.gitem-cap b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.gitem-cap span { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-soft); }
.gitem.is-hidden { display: none; }

/* placeholder slot */
.gitem--ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    repeating-linear-gradient(45deg, var(--cream) 0 11px, #e7ddce 11px 22px);
  border: 1.5px dashed var(--gold);
  cursor: default;
  box-shadow: none;
  color: var(--muted);
  text-align: center;
  padding: 16px;
}
.gitem--ph:hover { box-shadow: none; }
.gitem--ph .ph-plus { font-size: 28px; color: var(--gold); line-height: 1; }
.gitem--ph .ph-t { font-family: "Courier New", monospace; font-size: 12px; letter-spacing: 0.04em; }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.rating-badge { display: flex; align-items: center; gap: 18px; }
.rating-score { font-family: var(--serif); font-size: 64px; line-height: 0.9; color: var(--terra); }
.rating-meta .stars { font-size: 18px; }
.rating-meta span { display: block; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; margin-top: 4px; }

.carousel { position: relative; }
.carousel-track { overflow: hidden; }
.carousel-rail { display: flex; transition: transform 0.55s cubic-bezier(0.22,0.7,0.2,1); }
.review-card {
  flex: 0 0 100%;
  padding: 4px;
}
.review-inner {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review-inner .quote-mark {
  font-family: var(--serif);
  font-size: 90px;
  line-height: 0.6;
  color: var(--rose);
  height: 40px;
  display: block;
}
.review-text {
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--ink);
  margin: 8px 0 28px;
  font-weight: 500;
}
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--rose-wash);
  color: var(--terra-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  flex: none;
}
.review-author .ra-name { font-weight: 700; font-size: 15px; }
.review-author .ra-meta { font-size: 12.5px; color: var(--muted); }

.carousel-nav { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.car-btn {
  width: 48px; height: 48px; border-radius: 999px;
  border: 1.5px solid var(--hair-strong);
  background: transparent; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.car-btn:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.car-btn svg { width: 18px; height: 18px; }
.dots { display: flex; gap: 8px; margin-left: 6px; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--hair-strong); border: 0; padding: 0; transition: all 0.25s ease; }
.dot.active { background: var(--terra); width: 26px; }

/* discreet review chips */
.review-chips {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rchip {
  background: transparent;
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 20px 22px;
}
.rchip .stars { font-size: 13px; }
.rchip p { font-size: 14px; color: var(--ink-soft); margin: 8px 0 12px; }
.rchip b { font-size: 13px; font-weight: 700; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
}
.contact-info h2 { font-size: clamp(32px, 4.6vw, 56px); color: var(--linen); }
.contact-info > p { color: rgba(246,241,234,0.78); font-size: 17px; margin-top: 16px; max-width: 34em; }
.info-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 4px; }
.info-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid rgba(246,241,234,0.14);
}
.info-row:last-child { border-bottom: 1px solid rgba(246,241,234,0.14); }
.info-ic {
  flex: none; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(246,241,234,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-soft);
}
.info-ic svg { width: 18px; height: 18px; }
.info-row .ir-k { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.info-row .ir-v { font-size: 16px; font-weight: 600; color: var(--linen); margin-top: 3px; }
.info-row .ir-v a:hover { color: var(--gold-soft); }
.info-row .ir-v span { display: block; font-weight: 500; color: rgba(246,241,234,0.72); font-size: 14.5px; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.map-embed {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(246,241,234,0.14);
  filter: grayscale(0.25) sepia(0.12) contrast(1.02);
}
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

/* Form */
.form-card {
  background: var(--paper);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.form-card h3 { font-size: 30px; margin-bottom: 6px; }
.form-card .fc-sub { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--linen);
  border: 1.5px solid var(--hair);
  border-radius: 6px;
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(181, 118, 79, 0.14);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid { border-color: #c0533f; box-shadow: 0 0 0 3px rgba(192, 83, 63, 0.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.err-msg { color: #b6452f; font-size: 12.5px; font-weight: 600; margin-top: 6px; display: none; }
.field.show-err .err-msg { display: block; }

.check {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 22px;
  line-height: 1.4;
}
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--terra); flex: none; }
.check a { color: var(--terra); text-decoration: underline; text-underline-offset: 2px; }
.form-card .btn-primary { width: 100%; }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .fs-ic {
  width: 64px; height: 64px; border-radius: 999px; margin: 0 auto 18px;
  background: var(--rose-wash); color: var(--terra-deep);
  display: flex; align-items: center; justify-content: center;
}
.form-success .fs-ic svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 28px; }
.form-success p { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #1b1713; color: rgba(246,241,234,0.7); padding-block: 64px 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246,241,234,0.12);
}
.footer .logo .logo-mark { color: var(--linen); }
.footer .logo .logo-sub { color: rgba(246,241,234,0.5); }
.footer-col h4 {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14px; }
.footer-col a:hover { color: var(--linen); }
.footer-blurb { font-size: 14.5px; max-width: 30em; margin-top: 16px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-top: 22px; font-size: 12.5px; color: rgba(246,241,234,0.45);
}
.footer-bottom a:hover { color: var(--linen); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 16, 13, 0.92);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { position: relative; max-width: min(880px, 92vw); }
.lb-img {
  max-width: 100%; max-height: 80vh; object-fit: contain;
  border-radius: 5px; box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lb-cap { color: var(--linen); text-align: center; margin-top: 16px; }
.lb-cap b { font-family: var(--serif); font-size: 22px; font-weight: 500; display: block; }
.lb-cap span { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-soft); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(246,241,234,0.1);
  border: 1px solid rgba(246,241,234,0.2);
  color: var(--linen); border-radius: 999px;
  width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(246,241,234,0.25); }
.lb-close { top: -62px; right: 0; }
.lb-prev { left: -68px; top: 50%; transform: translateY(-50%); }
.lb-next { right: -68px; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 20px; height: 20px; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Mobile menu container */
.mobile-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  box-shadow: var(--shadow-md);
  z-index: 55;
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
  padding: 16px var(--pad) 28px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.mobile-menu a { display: block; font-family: var(--serif); font-size: 26px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.mobile-menu .btn { width: 100%; margin-top: 8px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .gallery { grid-auto-rows: 12px; }
}
@media (max-width: 960px) {
  .nav-links, .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; order: -1; }
  .hero-chip { left: 0; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-figure { max-width: 460px; }
  .feature, .feature--reverse .feature-media { grid-template-columns: 1fr; order: 0; }
  .feature-media { order: -1 !important; }
  .feature-media .fm-2 { display: none; }
  .hebreo-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .review-chips { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { top: 8px; right: 8px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .review-chips { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
}
