/* SAWCO TEC: hoja de estilos
   Colores de marca tomados del logo original (EPS) */
@font-face {
  font-family: "Saira";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 50% 125%;
  src: url("../fonts/saira.woff2") format("woff2-variations"), url("../fonts/saira.woff2") format("woff2");
}

:root {
  --negro: #050707;
  --acero: #14191B;
  --acero-2: #1E2427;
  --linea: #2C3438;
  --rosa: #EE2554;
  --rosa-claro: #FF5C80;
  --rosa-oscuro: #C3123F;
  --texto: #F2F4F5;
  --texto-2: #B8C1C5;
  --claro: #E8ECEE;
  --claro-texto: #0F1416;
  --claro-texto-2: #3D4A50;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--negro);
  color: var(--texto);
  font-family: "Saira", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rosa-claro); }
a:hover { color: #FFFFFF; }
:focus-visible { outline: 3px solid var(--rosa-claro); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(32px, 4.4vw, 52px); font-stretch: 112%; letter-spacing: -0.01em; max-width: 20ch; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--rosa); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  font: inherit; font-size: 17px; font-weight: 700; text-decoration: none;
  border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-pink { background: var(--rosa); color: #FFFFFF; }
.btn-pink:hover { background: var(--rosa-oscuro); color: #FFFFFF; }
.btn-ghost { background: transparent; color: var(--texto); border-color: #5A666C; }
.btn-ghost:hover { border-color: var(--texto); color: #FFFFFF; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 7, 7, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img:first-child { width: 40px; height: auto; }
.brand-word { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--texto-2); text-decoration: none; font-size: 16px; font-weight: 500; padding: 10px 0; }
.nav a:not(.btn):hover { color: #FFFFFF; }
.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--linea); border-radius: var(--radius); cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--texto); content: ""; }
.nav-toggle-bars { top: 23px; }
.nav-toggle-bars::before { left: 0; top: -7px; }
.nav-toggle-bars::after { left: 0; top: 7px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--negro); border-bottom: 1px solid var(--linea); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--linea); font-size: 18px; }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--rosa-claro); margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 800;
  font-stretch: 118%;
  line-height: .96;
  letter-spacing: -0.015em;
  max-width: 12ch;
}
.lead { margin-top: 24px; font-size: 20px; color: var(--texto-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.cutter { margin: 0; }
.cutter-svg { width: 100%; height: auto; display: block; }
.part-fill { fill: transparent; transition: fill .6s; }
.cutter.is-done .part-fill { fill: #2A3236; }
.cuts path { stroke: var(--rosa); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(238, 37, 84, .8)); }
.travel { stroke: #8A969C; stroke-width: 1; stroke-dasharray: 4 5; opacity: .7; }
.head { filter: drop-shadow(0 0 10px #EE2554); }
.readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: var(--radius); overflow: hidden; margin-top: 12px; }
.readout > div { background: var(--acero); padding: 12px 16px; display: flex; flex-direction: column; }
.readout-label { font-size: 13px; color: var(--texto-2); }
.readout-val { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; font-stretch: 90%; color: #FFFFFF; }
.cutter-note { font-size: 14px; color: var(--texto-2); margin-top: 10px; }

.facts { margin-top: clamp(48px, 7vw, 88px); }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--rosa); }
.facts dl > div { padding: 20px 20px 28px 0; }
.facts dl > div + div { padding-left: 20px; border-left: 1px solid var(--linea); }
.facts dt { font-size: 14px; color: var(--texto-2); }
.facts dd { margin: 4px 0 0; font-size: 21px; font-weight: 700; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .readout-val { font-size: 20px; }
  .readout > div { padding: 10px 12px; }
  .facts dl { grid-template-columns: minmax(0, 1fr); }
  .facts dl > div, .facts dl > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--linea); }
}

/* Secciones */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-intro { margin-top: 16px; color: var(--texto-2); max-width: 40em; }

/* Proceso: secuencia real, numerada */
.process { border-top: 1px solid var(--linea); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: paso; }
.steps li { counter-increment: paso; position: relative; padding-top: 72px; }
.steps li::before {
  content: counter(paso);
  position: absolute; top: 0; left: 0;
  font-size: 56px; font-weight: 800; line-height: 1; color: var(--rosa);
  font-stretch: 125%;
}
.steps li::after { content: ""; position: absolute; top: 28px; left: 56px; right: -32px; height: 2px; background: repeating-linear-gradient(90deg, var(--linea) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--texto-2); font-size: 17px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps li::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Cómo cotizamos: bloque claro */
.pricing { background: var(--claro); color: var(--claro-texto); }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pricing h2 { max-width: 16ch; }
.lead-dark { margin-top: 24px; font-size: 20px; color: var(--claro-texto-2); max-width: 32em; }
.price-row { padding: 24px 0; border-top: 2px solid var(--claro-texto); }
.price-row + .price-row { border-top: 1px solid #B9C3C8; }
.price-row h3 { margin-bottom: 8px; }
.price-row p { color: var(--claro-texto-2); font-size: 17px; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: minmax(0, 1fr); } }

/* Materiales */
.table-box { margin-top: 40px; overflow-x: auto; border: 1px solid var(--linea); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--linea); }
thead th { font-size: 14px; font-weight: 600; color: var(--texto-2); background: var(--acero); }
tbody th { font-weight: 700; }
tbody td:nth-child(2) { font-weight: 700; color: #FFFFFF; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody td:last-child { color: var(--texto-2); }
tbody tr:last-child > * { border-bottom: 0; }

/* Formulario */
.quote { background: var(--acero); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.quote-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote-copy p { margin-top: 20px; color: var(--texto-2); max-width: 30em; }
.quote-copy .quote-tip { padding: 16px 20px; border-left: 3px solid var(--rosa); background: var(--acero-2); color: var(--texto); font-size: 17px; }
.quote-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { font-size: 15px; font-weight: 600; }
.opt { font-weight: 400; color: var(--texto-2); }
input, select, textarea {
  font: inherit; font-size: 17px; color: var(--texto);
  background: var(--negro); border: 1px solid #46525A; border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; width: 100%;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #7E8A90; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--rosa-claro); outline-offset: 0; border-color: var(--rosa-claro); }
input[aria-invalid="true"] { border-color: var(--rosa-claro); }
.form-error { color: var(--rosa-claro); font-weight: 600; font-size: 16px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }

/* Otros servicios */
.service-list { margin-top: 48px; border-top: 1px solid var(--linea); }
.service { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--linea); }
.service h3 { font-size: 26px; font-stretch: 112%; }
.service p { margin-top: 6px; color: var(--texto-2); max-width: 44em; }
.service-link { font-weight: 700; text-decoration: none; white-space: nowrap; padding: 12px 0; }
.service-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .service { grid-template-columns: 40px minmax(0, 1fr); }
  .service-link { grid-column: 2; padding: 0; }
}

/* Footer */
.site-footer { padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand > img { width: 56px; height: auto; }
.footer-brand div img { width: 180px; height: auto; }
.footer-sub { margin-top: 6px; color: var(--texto-2); font-size: 16px; font-weight: 300; }
.footer-h { font-size: 16px; font-weight: 700; margin-bottom: 12px; max-width: none; font-stretch: 100%; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--texto-2); font-size: 16px; }
.site-footer ul a { color: var(--texto); }
.site-footer ul a:hover { color: var(--rosa-claro); }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linea); color: #7E8A90; font-size: 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
