:root{
  --color-primary:#24262B;
  --color-primary-dark:#141519;
  --color-secondary:#3F434B;
  --color-accent:#E63946;
  --color-bg:#F6F6F7;
  --color-surface:#FFFFFF;
  --color-text:#1A1B1F;
  --color-text-muted:#5B5F68;
  --color-border:#E3E4E7;
  --font-heading:"Fraunces",serif;
  --font-body:"Nunito Sans",system-ui,sans-serif;
  --radius:0px;
  --shadow:none;
  --section-pad:4.5rem;
  --gap:1.5rem;
  --max-width:1140px;
}

/* base.css — estilos base parametrizados por el tema (usa las variables de :root que
   inyecta pickTheme). Claude Code puede AÑADIR reglas, pero debe usar estas variables
   para colores/tipografías. NO hardcodear colores. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--color-text);
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }

/* Layout */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--color-surface); }
.section--primary { background: var(--color-primary); color: #fff; }
.section--primary h1, .section--primary h2, .section--primary h3 { color: #fff; }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .5rem;
}

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; max-width: var(--max-width); margin: 0 auto;
}
.nav__brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; }
.nav__links { display: flex; gap: 1.5rem; align-items: center; }
.nav__links a { color: var(--color-text); font-weight: 500; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-surface); border-bottom: 1px solid var(--color-border); }

/* Botones — el estilo por defecto lo define pickTheme via --btn-* si se desea; acá 3 variantes. */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--color-primary); color: #fff;
  padding: .85rem 1.6rem; border-radius: var(--radius);
  font-weight: 600; border: 2px solid var(--color-primary); cursor: pointer;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--pill { border-radius: 999px; }
.btn--accent { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-text); }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; }

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

/* Hero helpers */
.hero { position: relative; }
.hero--full { min-height: 82vh; display: grid; place-items: center; text-align: center; color: #fff; }
.hero--full::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 1; }
.hero--full > * { position: relative; z-index: 2; }
.hero--split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; }
.hero--minimal { background: var(--color-primary); color: #fff; text-align: center; }
.hero--minimal h1 { color: #fff; }

/* Reviews / stars */
.stars { color: var(--color-accent); letter-spacing: 2px; font-size: 1.2rem; }

/* WhatsApp CTA flotante (acción principal por defecto) */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 100;
  background: #25D366; color: #fff; width: 58px; height: 58px; border-radius: 999px;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  font-size: 1.6rem;
}
.wa-float:hover { transform: scale(1.06); }

/* Sample-content badge (modo NUEVO: marca contenido de muestra) */
.sample-note {
  background: #FFF3CD; color: #664d03; border: 1px solid #ffe69c;
  padding: .5rem .9rem; border-radius: 8px; font-size: .85rem; text-align: center;
}

/* Footer */
.site-footer { background: var(--color-secondary); color: #fff; padding: 2.5rem 0; font-size: .95rem; }
.site-footer a { color: #fff; opacity: .85; }

/* Utilidades */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; }
.muted { color: var(--color-text-muted); }

/* Tints armónicos derivados del color primario (para fondos suaves que SIEMPRE combinan) */
.section--tint { background: color-mix(in srgb, var(--color-primary) 6%, var(--color-bg)); }
.section--tint-accent { background: color-mix(in srgb, var(--color-accent) 10%, var(--color-bg)); }
.chip { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface)); color: var(--color-primary); }

/* Fotos y galería */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.gallery img, .media-cover { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery img { aspect-ratio: 4 / 3; }
.hero-photo { background-size: cover; background-position: center; }
.hero--split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
figure { margin: 0; }
.illustrative { font-size: .78rem; color: var(--color-text-muted); font-style: italic; }

/* Responsive */
@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero--split { grid-template-columns: 1fr; text-align: center; }
  .nav__links { display: none; }
}

/* ================= Reglas específicas de este sitio (Taller El Fierro) ================= */

/* Nav transparente sobre el hero → sólida al scrollear */
.site-header--overlay {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header--overlay .nav__brand,
.site-header--overlay .nav__links a { color: #fff; }
.site-header--overlay.is-scrolled {
  background: var(--color-primary);
  border-bottom-color: color-mix(in srgb, #fff 12%, var(--color-primary));
}
.nav__brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-sub { font-family: var(--font-body); font-weight: 600; font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.nav__links a { text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.nav__cta { color: var(--color-text) !important; }

/* Botón hamburguesa (mobile) */
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: #fff; display: block; }
.is-scrolled .nav__toggle span { background: #fff; }

/* Hero */
.hero--full { min-height: 92vh; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 700; margin-bottom: 1rem; color: color-mix(in srgb, var(--color-accent) 85%, #fff); }
.hero__lead { max-width: 46ch; margin: 1.2rem auto 2rem; font-size: 1.15rem; opacity: .95; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero__trust { margin-top: 2.2rem; font-size: 1rem; opacity: .95; }
.hero__trust strong { font-size: 1.15rem; }
.btn--on-dark { color: #fff; border-color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--color-primary); }

/* Highlights */
.highlights { padding-top: 3rem; padding-bottom: 3rem; }
.highlight { text-align: left; }
.highlight__ico { font-size: 2rem; display: block; margin-bottom: .6rem; }
.highlight h3 { text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; }

/* Servicios */
.service { display: flex; flex-direction: column; }
.service h3 { text-transform: uppercase; letter-spacing: .03em; font-size: 1.1rem; }
.service__price { margin-top: auto; padding-top: .8rem; font-weight: 700;
  color: var(--color-accent); font-family: var(--font-heading); }

/* Galería: primera foto destacada */
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure:first-child img { height: 100%; aspect-ratio: auto; }

/* Reseñas */
.reviews-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: .5rem; }
.reviews-head__score { font-size: 1.05rem; }
.review p { font-style: italic; }
.review footer { font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: .82rem; color: var(--color-text-muted); }

/* Horarios + mapa */
.locate { align-items: start; }
.hours { list-style: none; padding: 0; margin: .5rem 0 0; }
.hours li { display: flex; justify-content: space-between; padding: .6rem 0;
  border-bottom: 1px solid var(--color-border); }
.hours li span:first-child { text-transform: uppercase; letter-spacing: .04em;
  font-size: .85rem; font-weight: 600; }
.map { width: 100%; min-height: 380px; border: 1px solid var(--color-border); }
.locate .btn { margin-right: .5rem; margin-bottom: .5rem; }

/* Footer */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.footer-brand { font-family: var(--font-heading); font-size: 1.15rem; }
.footer-legal { margin-top: 1.8rem; padding-top: 1.2rem;
  border-top: 1px solid color-mix(in srgb, #fff 15%, transparent);
  font-size: .82rem; opacity: .8; }

@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-primary); padding: 1rem 1.25rem;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { color: #fff; padding: .7rem 0; }
  .nav__cta { margin-top: .5rem; text-align: center; }
  .gallery figure:first-child { grid-column: auto; grid-row: auto; }
  .gallery figure:first-child img { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
}
