/* Rolling Tool — scaffold brochure
   Tema sugerido: industrial Patagonia (oscuro + acento ámbar/herramienta).
   Open Design puede reemplazar este archivo por completo. */

:root {
  --bg: #12100e;
  --bg-alt: #1a1714;
  --bg-card: #221e1a;
  --fg: #f3efe8;
  --fg-muted: #a89f92;
  --accent: #e8a54b;
  --accent-ink: #1a1204;
  --border: #2e2822;
  --border-light: #3d342c;
  --max-w: 1100px;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fg); }

.wrap {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.wrap.narrow { max-width: 640px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: rgba(18, 16, 14, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav a:hover { color: var(--fg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  filter: brightness(1.05);
  color: var(--accent-ink);
}

.btn-ghost {
  border-color: var(--border-light);
  color: var(--fg);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-whatsapp {
  background: #1f7a4d;
  color: #fff;
}

.btn-whatsapp:hover { filter: brightness(1.08); color: #fff; }

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.2), var(--bg) 92%),
    radial-gradient(ellipse at 20% 0%, rgba(232, 165, 75, 0.12), transparent 50%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  font-weight: 700;
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

.section.alt { background: var(--bg-alt); }

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.section h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.section p { color: var(--fg-muted); max-width: 60ch; }

.section-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

/* Cards */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.card p { margin: 0; font-size: 0.95rem; }

/* Process */
.steps {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.checklist li {
  color: var(--fg-muted);
  padding-left: 1.4rem;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Contact / map */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-list strong { display: block; color: var(--fg); }

.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: var(--bg-card);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  padding: 2rem 1.25rem 2.5rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer p { margin: 0.25rem 0; }

/* WhatsApp flojo */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  background: #1f7a4d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  text-decoration: none;
  font-weight: 700;
}

.wa-float:hover { color: #fff; filter: brightness(1.08); }

/* Placeholder de imagen */
.placeholder-img {
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: var(--radius);
  border: 1px dashed var(--border-light);
  background:
    linear-gradient(135deg, rgba(232, 165, 75, 0.08), transparent 50%),
    var(--bg-card);
  display: grid;
  place-items: center;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* Util */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--fg-muted); }
.hidden { display: none !important; }


/* Photo blocks for real workshop imagery */
.hero-photo,
.acceso-photo,
.photo-grid {
  margin: 2rem 0 0;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.photo-grid figure,
.hero-photo,
.acceso-photo {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.photo-grid img,
.hero-photo img,
.acceso-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-photo figcaption,
.acceso-photo figcaption {
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
}
