/* ==========================================================================
   IronCorp Steel — Design tokens
   ========================================================================== */
:root{
  --red: #601115;
  --red-dark: #400c0f;
  --red-light: #7d1a1f;
  --plomo: #2E2D30;
  --plomo-dark: #1a1a1c;
  --plomo-soft: #45444a;
  --gold: #C9A227;
  --gold-light: #E8CD72;
  --gold-dark: #8f721c;
  --white: #FFFFFF;
  --off-white: #F4F3F1;
  --ink: #201f22;
  --line: rgba(46,45,48,0.12);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --container: 1200px;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(26,26,28,0.08);
  --shadow-md: 0 12px 32px rgba(26,26,28,0.16);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .02em; }
p{ margin: 0 0 1em; }
ul{ list-style: none; margin: 0; padding: 0; }
.mono{ font-family: var(--font-mono); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--plomo-dark);
  padding: 12px 20px; z-index: 1000; font-weight: 600;
}
.skip-link:focus{ left: 24px; top: 24px; }

:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

.btn--gold{
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: var(--plomo-dark);
}
.btn--gold:hover{ background: var(--gold-light); }

.btn--ghost{
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--ghost:hover{ background: rgba(255,255,255,.08); }

.btn--red{
  background: var(--red);
  color: var(--white);
}
.btn--red:hover{ background: var(--red-light); }

.link-arrow{
  display: inline-block;
  font-weight: 600;
  color: var(--red);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 12px; padding-bottom: 12px;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand-mark{ border-radius: 6px; }
.brand-word{ display: flex; flex-direction: column; line-height: 1.1; }
.brand-word__main{
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  letter-spacing: .03em; color: var(--plomo);
}
.brand-word__sub{
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em;
  color: var(--gold-dark); font-weight: 500;
}

.main-nav ul{ display: flex; gap: 28px; }
.main-nav a{
  font-weight: 600; font-size: .95rem; color: var(--plomo);
  position: relative; padding: 6px 0;
}
.main-nav a::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after{ transform: scaleX(1); }

.header-cta{ flex-shrink: 0; }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--white); cursor: pointer;
}
.nav-toggle span{ display: block; height: 2px; background: var(--plomo); margin: 0 8px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero — signature diagonal shear, echoing the brand mark
   ========================================================================== */
.hero{
  position: relative;
  background: var(--plomo-dark);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 88px;
}
.hero-shear{
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 46%, var(--red) 46%, var(--red-dark) 100%);
  opacity: .9;
  pointer-events: none;
}
.hero-shear::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 44.6%, var(--gold) 44.6%, var(--gold) 45.4%, transparent 45.4%);
}
.hero-inner{ position: relative; z-index: 1; max-width: 780px; }

.eyebrow{
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px;
}
.eyebrow--dark{ color: var(--gold-dark); }

.hero h1{
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero-lede{
  font-size: 1.05rem;
  max-width: 56ch;
  color: rgba(255,255,255,.86);
  margin-bottom: 32px;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.hero-facts{
  display: flex; flex-wrap: wrap; gap: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 24px;
  font-size: .92rem;
  color: rgba(255,255,255,.78);
}
.hero-facts .mono{ color: var(--gold-light); font-weight: 700; margin-right: 6px; }

/* ==========================================================================
   About
   ========================================================================== */
.about{ padding: 96px 0; background: var(--off-white); }
.about-grid{
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 64px; align-items: center;
}
.about-copy h2{ font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--plomo); }
.about-copy p{ color: var(--plomo-soft); max-width: 58ch; }

.about-panel{
  position: relative;
  aspect-ratio: 4/3;
  background: var(--plomo-dark);
  border-radius: var(--radius);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  box-shadow: var(--shadow-md);
}
.about-panel__photo{
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ==========================================================================
   Products
   ========================================================================== */
.products{ padding: 96px 0; }
.products h2{ color: var(--plomo); font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.section-lede{ color: var(--plomo-soft); max-width: 62ch; font-size: 1.02rem; margin-bottom: 48px; }
.section-lede--light{ color: rgba(255,255,255,.8); }

.product-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card{
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.product-card:hover{
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.product-card__code{
  display: inline-block;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em;
  color: var(--gold-dark); background: rgba(201,162,39,.12);
  padding: 4px 9px; border-radius: 3px; margin-bottom: 16px;
}
.product-card__icon{ width: 42px; height: 42px; color: var(--red); margin-bottom: 14px; }
.product-card__photo-wrap{
  width: calc(100% + 52px);
  margin: -28px -26px 18px;
  aspect-ratio: 3/2;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.product-card__photo{ width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card h3{
  font-size: 1.02rem; color: var(--plomo); text-transform: none;
  letter-spacing: 0; margin-bottom: 8px;
}
.product-card p{ font-size: .92rem; color: var(--plomo-soft); margin: 0; }

.products-cta{
  margin-top: 56px;
  padding: 32px;
  background: var(--off-white);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.products-cta p{ margin: 0; font-weight: 600; color: var(--plomo); font-size: 1.05rem; }

/* ==========================================================================
   Why us
   ========================================================================== */
.why{
  position: relative;
  background: var(--red);
  color: var(--white);
  padding: 96px 0;
  overflow: hidden;
}
.hero-shear--flip{
  background: linear-gradient(115deg, transparent 82%, var(--plomo-dark) 82%);
  opacity: .55;
}
.hero-shear--flip::before{ display: none; }
.why .eyebrow{ color: var(--gold-light); }
.why h2{ font-size: clamp(1.8rem, 3.4vw, 2.4rem); max-width: 20ch; position: relative; z-index: 1; }

.why-grid{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: 48px;
}
.why-card__code{
  display: block; font-family: var(--font-mono); font-size: .85rem;
  color: var(--gold-light); margin-bottom: 14px; letter-spacing: .1em;
}
.why-card h3{ font-size: 1.05rem; margin-bottom: 10px; }
.why-card p{ font-size: .92rem; color: rgba(255,255,255,.8); margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact{ background: var(--plomo-dark); color: var(--white); padding: 96px 0; }
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.contact h2{ font-size: clamp(1.8rem, 3.4vw, 2.4rem); max-width: 16ch; }

.contact-list{ margin: 32px 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li{ display: flex; flex-direction: column; gap: 4px; }
.contact-list__label{
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-light);
}
.contact-list a{ font-weight: 600; }
.contact-list a:hover{ color: var(--gold-light); }

.contact-map{
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
}
.contact-map iframe{ width: 100%; height: 100%; min-height: 320px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--plomo); color: rgba(255,255,255,.85); }
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding: 64px 24px 40px;
}
.footer-brand p{ color: rgba(255,255,255,.65); font-size: .9rem; margin-top: 16px; max-width: 32ch; }
.footer-brand .brand-word__main{ color: var(--white); }
.footer-col h4{
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.footer-col a:hover{ color: var(--gold-light); }

.footer-bottom{ border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom__inner{
  padding: 20px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-bottom p{ margin: 0; font-size: .82rem; color: rgba(255,255,255,.55); }

.claims-book-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--gold-light);
  border: 1px solid rgba(232,205,114,.4);
  border-radius: 3px; padding: 8px 14px;
  transition: background .2s ease, border-color .2s ease;
}
.claims-book-link:hover{ background: rgba(232,205,114,.1); border-color: var(--gold-light); }
.claims-book-link__icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold-light); color: var(--plomo-dark);
  font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
}

/* ==========================================================================
   Libro de Reclamaciones
   ========================================================================== */
.claims-hero{
  position: relative;
  background: var(--plomo-dark);
  color: var(--white);
  overflow: hidden;
  padding: 64px 0 56px;
}
.claims-hero__inner{ position: relative; z-index: 1; max-width: 760px; }
.breadcrumb{
  font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 18px;
}
.breadcrumb a{ color: rgba(255,255,255,.85); text-decoration: underline; }
.claims-hero h1{ font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 16px; }

.claims-notice{ background: var(--off-white); padding: 56px 0; }
.claims-notice__grid{
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start;
}
.claims-notice__card h2{
  font-size: 1.3rem; text-transform: none; letter-spacing: 0; color: var(--plomo);
  margin-bottom: 14px;
}
.claims-notice__card p{ color: var(--plomo-soft); }
.claims-notice__types{ display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.claims-notice__types li{ color: var(--plomo-soft); font-size: .95rem; }
.claims-notice__label{
  display: inline-block; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--red);
  background: rgba(96,17,21,.08); border-radius: 3px; padding: 3px 9px;
  margin-right: 8px;
}
.claims-notice__disclaimer{
  font-size: .86rem; color: var(--plomo-soft); border-top: 1px solid var(--line);
  padding-top: 16px; margin-top: 16px;
}

.claims-notice__establishment{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.claims-notice__establishment h3{
  font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--plomo);
  margin-bottom: 16px;
}
.claims-notice__establishment dl{ margin: 0; }
.claims-notice__establishment dt{
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-dark); margin-top: 14px;
}
.claims-notice__establishment dt:first-child{ margin-top: 0; }
.claims-notice__establishment dd{
  margin: 4px 0 0; font-size: .92rem; color: var(--plomo);
}
.claims-notice__establishment dd.pending,
#rucFormValue{
  color: var(--red); font-style: italic;
}

.claims-form-section{ padding: 56px 0 96px; }
.claims-form{
  max-width: 820px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.claims-form__meta{
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
  font-size: .85rem; color: var(--plomo-soft);
  background: var(--off-white); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 32px;
}
.claims-form__meta strong{ color: var(--plomo); }

.claims-form fieldset{
  border: none; border-top: 1px solid var(--line);
  padding: 32px 0 0; margin: 0 0 32px;
}
.claims-form legend{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .02em;
  text-transform: uppercase; color: var(--plomo); padding: 0; margin-bottom: 22px;
}
.fieldset-number{
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-family: var(--font-mono); font-size: .8rem;
}

.form-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.form-field--wide{ grid-column: 1 / -1; }
.form-field{ display: flex; flex-direction: column; gap: 6px; }
.form-field label{ font-size: .88rem; font-weight: 600; color: var(--plomo); }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field select,
.form-field textarea{
  font-family: var(--font-body); font-size: .95rem;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--white); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.18);
}
.form-field textarea{ resize: vertical; }
.form-hint{ margin: 0; font-size: .78rem; color: var(--plomo-soft); }

.radio-row{ display: flex; gap: 20px; margin-top: 6px; }
.radio-inline{
  display: flex; align-items: center; gap: 8px; font-weight: 500;
  font-size: .92rem; color: var(--plomo); cursor: pointer;
}

.form-check{
  flex-direction: row; align-items: flex-start; gap: 10px;
  margin-bottom: 14px;
}
.form-check input[type="checkbox"]{ margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.form-check label{ font-weight: 500; font-size: .9rem; color: var(--plomo-soft); }

.form-status{
  min-height: 1.4em; font-weight: 600; font-size: .92rem;
}
.form-status[data-state="error"]{ color: var(--red); }
.form-status[data-state="success"]{ color: #2f6b3a; }

.claims-form__actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.btn--ghost-dark{ border-color: var(--plomo); color: var(--plomo); }
.btn--ghost-dark:hover{ background: var(--off-white); }

.form-footnote{
  margin-top: 24px; font-size: .82rem; color: var(--plomo-soft);
  border-top: 1px solid var(--line); padding-top: 20px;
}
.form-footnote a{ font-weight: 600; color: var(--red); }

@media (max-width: 760px){
  .claims-notice__grid{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .claims-form{ padding: 28px 20px; }
}

@media print{
  .site-header, .whatsapp-float, .site-footer, .claims-hero, .claims-notice,
  .claims-form__actions, .form-footnote{ display: none !important; }
  .claims-form{ box-shadow: none; border: none; padding: 0; }
  body{ background: var(--white); }
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.whatsapp-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 600;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float img{ border-radius: 50%; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-panel{ order: -1; max-width: 420px; }
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px){
  .main-nav, .header-cta{ display: none; }
  .nav-toggle{ display: flex; }

  .main-nav{
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
  }
  .main-nav.is-open{ display: block; }
  .main-nav ul{ flex-direction: column; gap: 4px; }
  .main-nav a{ display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav .header-cta{ display: none; }

  .header-inner{ position: relative; }

  .hero{ padding: 72px 0 64px; }
  .hero-facts{ flex-direction: column; gap: 14px; }

  .product-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; padding: 48px 24px 32px; }

  .products-cta{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px){
  .whatsapp-float{ width: 50px; height: 50px; right: 16px; bottom: 16px; }
}
