:root {
  --charcoal: #17181A;
  --charcoal-2: #202225;
  --concrete: #DEDAD0;
  --concrete-2: #EDEAE2;
  --copper: #B5651D;
  --copper-light: #D68A45;
  --amber: #EAB616;
  --white: #F7F5F0;
  --steel: #8C9096;
  --ink: #17181A;
  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", -apple-system, sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); scroll-behavior: smooth; }

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  overflow-x: hidden;
  background: var(--concrete-2);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* pegboard texture */
.pegboard {
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
}
.pegboard-light {
  background-image: radial-gradient(circle, rgba(23,24,26,0.08) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
}

/* ---------- NAV ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--charcoal);
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 2px solid var(--amber);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: 1080px; margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 8px;
}
.brand .bolt { color: var(--amber); font-size: 1.2rem; }
.brand img { height: 44px; width: auto; display: block; }
.nav-call {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--amber);
  padding: 9px 16px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- HERO ---------- */
.hero {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--font-display);
  color: var(--amber);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
}
h1.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  max-width: 14ch;
  color: var(--white);
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.1rem;
  color: #C7C9CC;
  max-width: 46ch;
}
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 24px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--amber); color: var(--charcoal); }
.btn-outline { border: 1.5px solid #4A4D51; color: var(--white); }

.wire-svg {
  position: absolute;
  right: -60px;
  top: 0;
  height: 100%;
  width: 60%;
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}
.wire-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.2s ease forwards 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .wire-path { animation: none; stroke-dashoffset: 0; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- SERVICES ---------- */
section.services { padding: 84px 0; background: var(--concrete-2); }
.section-head { max-width: 52ch; margin-bottom: 48px; }
.section-tag {
  font-family: var(--font-display);
  color: var(--copper);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 10px;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--ink);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #C6C1B5;
  border: 1px solid #C6C1B5;
}
.service-card {
  background: var(--concrete-2);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tool-outline {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
}
.tool-outline svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.service-card p { font-size: 0.94rem; color: #4B4D50; }
@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- ABOUT ---------- */
section.about {
  background: var(--charcoal);
  color: var(--white);
  padding: 84px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text p { color: #C7C9CC; margin-top: 18px; font-size: 1.02rem; max-width: 48ch; }
.about-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.about-list-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.98rem; color: var(--white);
}
.about-list-item .mark { color: var(--amber); font-family: var(--font-display); font-weight: 700; }
.photo-slot {
  background: var(--charcoal-2);
  border: 2px dashed #4A4D51;
  border-radius: 2px;
  aspect-ratio: 16/9;
  overflow: hidden;
  padding: 8px;
  transform: rotate(-1.5deg);
  position: relative;
}
.photo-slot::before {
  content: "";
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%) rotate(3deg);
  width: 46px; height: 18px;
  background: rgba(234,182,22,0.85);
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.photo-slot span { color: #6E7176; font-size: 0.88rem; font-family: var(--font-display); }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- GALLERY ---------- */
section.gallery { padding: 84px 0; background: var(--concrete-2); }
.gallery-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.gallery-slot {
  background: var(--white);
  border: 1px solid #C6C1B5;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  aspect-ratio: 16/9;
  padding: 8px;
  position: relative;
}
.gallery-slot:nth-child(2n) { transform: rotate(1deg); }
.gallery-slot:nth-child(2n+1) { transform: rotate(-1deg); }
.gallery-slot::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 36px; height: 14px;
  background: rgba(181,101,29,0.7);
}
.gallery-slot img { width: 100%; height: 100%; object-fit: cover; }
.gallery-slot span { font-size: 0.82rem; color: #8B8577; font-family: var(--font-display); }
@media (max-width: 560px) {
  .gallery-row { grid-template-columns: 1fr; }
}

/* ---------- CONTACT ---------- */
footer.contact {
  background: var(--charcoal);
  color: var(--white);
  padding: 84px 0 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-block h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--amber);
  margin-bottom: 10px;
}
.contact-block p, .contact-block a { color: #C7C9CC; font-size: 0.98rem; text-decoration: none; }
.contact-block a:hover { color: var(--amber); }
.contact-ctas { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.foot-note {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #34373B;
  font-size: 0.84rem;
  color: #6E7176;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* floating whatsapp */
.float-wa {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  background: #EAB616;
  color: var(--charcoal);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  z-index: 60;
}

/* ---------- ESTATORES (destacado) ---------- */
.nav-link { margin-left: auto; margin-right: 14px; color: var(--amber); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.hero-stator {
  display: inline-block; margin-top: 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--amber); text-decoration: none;
  border-bottom: 1.5px solid var(--amber); padding-bottom: 3px;
}
section.estatores { background: var(--concrete-2); padding: 64px 0 72px; border-top: 4px solid var(--copper); }
.est-lead { margin-top: 14px; color: #4B4D50; font-size: 1.02rem; }
.est-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.est-step { position: relative; background: var(--white); padding: 8px 8px 0; border: 1px solid #C6C1B5; box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.est-step img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
.est-step figcaption { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; padding: 10px 4px 12px; }
.est-num { position: absolute; top: 14px; left: 14px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: var(--charcoal); color: var(--amber); font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.est-final { border: 2px solid var(--amber); }
.est-final .est-num { background: var(--amber); color: var(--charcoal); }
.est-cta { margin-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.est-note { font-size: 0.95rem; color: #4B4D50; max-width: 40ch; }
@media (max-width: 820px) { .est-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .nav-link { display: none; } }

/* ---------- MÓVIL ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .nav-inner { padding: 10px 16px; gap: 10px; }
  .brand { font-size: 0.82rem; gap: 6px; }
  .brand img { height: 38px; }
  .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-link { margin-right: 8px; font-size: 0.88rem; }
  .nav-call { padding: 8px 12px; font-size: 0.88rem; }
  .hero { padding: 44px 0 56px; }
  h1.hero-title { max-width: none; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn, .est-cta .btn, .contact-ctas .btn { width: 100%; justify-content: center; }
  .wire-svg { opacity: 0.25; width: 90%; }
  section.estatores { padding: 44px 0 52px; }
  section.services, section.about, section.gallery { padding: 52px 0; }
  .section-head { margin-bottom: 30px; }
  .est-steps { gap: 12px; }
  .est-step { padding: 6px 6px 0; }
  .est-step figcaption { font-size: 0.8rem; padding: 8px 2px 10px; }
  .est-num { top: 10px; left: 10px; width: 26px; height: 26px; font-size: 0.85rem; }
  .est-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .est-note { max-width: none; }
  .about-grid { gap: 36px; }
  .photo-slot { transform: none; }
  .gallery-row { gap: 18px; }
  .gallery-slot, .gallery-slot:nth-child(n) { transform: none; }
  footer.contact { padding: 52px 0 96px; }
  .contact-grid { gap: 28px; }
}

/* ---------- ENVÍOS ---------- */
section.envios { background: var(--charcoal); padding: 64px 0 72px; }
section.envios .section-tag { color: var(--amber); }
section.envios h2 { color: var(--white); }
section.envios .est-lead { color: #C7C9CC; }
.env-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.env-steps { list-style: none; counter-reset: paso; display: grid; gap: 16px; }
.env-steps li { counter-increment: paso; position: relative; padding-left: 52px; color: #C7C9CC; line-height: 1.5; }
.env-steps li strong { color: var(--white); }
.env-steps li::before { content: counter(paso); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--charcoal); font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.env-card { background: var(--white); border-left: 6px solid var(--amber); padding: 24px; box-shadow: 0 8px 22px rgba(0,0,0,0.35); }
.env-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 16px; }
.env-card dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; }
.env-card dt { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: #6B6D70; text-transform: uppercase; letter-spacing: 0.03em; }
.env-card dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.env-card a { color: var(--ink); }
.env-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-dark { background: transparent; color: var(--ink); border: 2px solid var(--ink); cursor: pointer; font: inherit; font-family: var(--font-display); font-weight: 600; padding: 12px 20px; border-radius: 2px; }
@media (max-width: 820px) { .env-grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 640px) {
  section.envios { padding: 44px 0 52px; }
  .nav-env { display: none; }
  .env-card { padding: 18px; }
  .env-card dl { grid-template-columns: 1fr; gap: 2px; }
  .env-card dd { margin-bottom: 10px; }
  .env-actions .btn, .env-actions button { width: 100%; justify-content: center; text-align: center; }
}
.nav-env { margin-left: 0; }

/* ---------- SEO ---------- */
a.brand { color: var(--white); }
section.cobertura { background: var(--concrete); padding: 64px 0; border-top: 4px solid var(--copper); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.chips li { background: var(--white); border: 1px solid #C6C1B5; padding: 6px 12px; font-size: 0.88rem; font-family: var(--font-display); }
.svc-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.svc-link { display: block; text-decoration: none; background: var(--charcoal); color: var(--white); padding: 16px 18px; border-left: 4px solid var(--amber); }
.svc-link strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.svc-link span { font-size: 0.88rem; color: #C7C9CC; }
.svc-link:hover { background: var(--charcoal-2); }
section.faq { background: var(--concrete-2); padding: 64px 0; }
.faq-item { background: var(--white); border: 1px solid #C6C1B5; margin-bottom: 10px; padding: 14px 18px; max-width: 760px; }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; }
.faq-item p { margin-top: 10px; color: #4B4D50; }
.page-hero { padding-bottom: 56px; }
.crumbs { font-size: 0.85rem; color: #C7C9CC; margin-bottom: 14px; }
.crumbs a { color: var(--amber); }
.article { max-width: 780px; }
.article h2 { margin: 28px 0 10px; font-family: var(--font-display); }
.article p, .article li { margin-bottom: 10px; color: #333; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 14px; }
.article a { color: var(--copper); font-weight: 600; }
section.page-body { padding: 52px 0 24px; }
@media (max-width: 760px) { section.cobertura, section.faq { padding: 44px 0; } }
