/* ================================================
   NORINKO PERFORMANCE — Estilos
   Paleta de marca: rojo · blanco · amarillo (+ carbón para contraste)
   ================================================ */

:root {
  --red:        #D7141A;
  --red-dark:   #A50E13;
  --red-glow:   rgba(215, 20, 26, 0.35);
  --yellow:     #FFC20E;
  --yellow-dark:#E0A800;
  --white:      #FFFFFF;
  --light:      #F5F5F3;
  --ink:        #141414;
  --ink-2:      #1C1C1E;
  --text:       #1A1A1A;
  --text-2:     #55555C;
  --line:       rgba(20, 20, 20, 0.10);
  --line-dark:  rgba(255, 255, 255, 0.12);

  --font-display: 'Saira', 'Barlow', Impact, sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;

  --radius:    6px;
  --radius-lg: 14px;
  --ease:      cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --gutter:    clamp(16px, 4vw, 32px);
  --skew:      polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.hl { color: var(--yellow); }
.hl-red { color: var(--red); }
.hl-yellow { color: var(--yellow); }

/* ---------- Etiquetas y títulos ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.tag__bar { width: 34px; height: 8px; background: linear-gradient(90deg, var(--red) 0 50%, var(--yellow) 50% 100%); transform: skewX(-24deg); flex-shrink: 0; }
.tag--dark { color: var(--ink); }
.tag--light { color: var(--white); }
.tag--light .tag__bar { background: linear-gradient(90deg, var(--white) 0 50%, var(--yellow) 50% 100%); }

.section__title {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.0; letter-spacing: -.01em; text-transform: uppercase;
  margin-bottom: 22px;
}
.section__lead { color: var(--text-2); max-width: 600px; font-size: 18px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 17px;
  letter-spacing: .06em; text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  clip-path: var(--skew);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--white); }
.btn--outline { color: var(--white); background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.btn--outline:hover { background: var(--white); color: var(--ink); }
.btn--sm { padding: 10px 22px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled { background: rgba(20, 20, 20, .94); backdrop-filter: blur(12px); box-shadow: 0 2px 0 var(--red); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand__logo { height: 66px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.85); position: relative; transition: color .2s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 0; background: var(--yellow); transition: width .25s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links a:not(.btn):hover::after { width: 100%; }

.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 3px; background: var(--white); transition: transform .3s var(--ease), opacity .2s; }
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 20px; background: var(--yellow); }
.nav__burger span:nth-child(3) { top: 27px; background: var(--red); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.78) 38%, rgba(10,10,10,.15) 72%, rgba(10,10,10,.35) 100%),
    linear-gradient(0deg, rgba(10,10,10,.85) 0%, transparent 35%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, var(--red) 0 70%, var(--yellow) 70% 100%); }
.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: clamp(56px, 9.5vw, 132px);
  line-height: .92; letter-spacing: -.02em; text-transform: uppercase;
  margin-bottom: 26px;
}
.hero__lead { max-width: 560px; color: rgba(255,255,255,.85); font-size: clamp(17px, 1.6vw, 20px); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 20px 48px; border-top: 1px solid var(--line-dark); padding-top: 26px; max-width: 720px; }
.hero__stats li { display: flex; align-items: center; gap: 14px; }
.hero__stats strong { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 48px; line-height: 1; color: var(--yellow); }
.hero__stats span { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.3; }

/* ---------- Franja ---------- */
.ticker { background: var(--yellow); overflow: hidden; border-bottom: 4px solid var(--ink); }
.ticker__track { display: flex; align-items: center; width: max-content; gap: 28px; padding: 14px 0; animation: ticker 36s linear infinite; }
.ticker span { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ticker i { width: 22px; height: 8px; background: var(--red); transform: skewX(-24deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section--white { background: var(--white); color: var(--text); }
.section--light { background: var(--light); color: var(--text); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .section__lead { color: rgba(255,255,255,.72); }
.section--red { background: var(--red); color: var(--white); }
.section--red .section__lead { color: rgba(255,255,255,.9); }
.section__head { margin-bottom: clamp(44px, 6vw, 68px); }
.section__head--center { text-align: center; }
.section__head--center .section__lead { margin: 0 auto; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px 26px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(20,20,20,.35); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__num { position: absolute; right: 18px; top: 12px; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 44px; color: var(--yellow); opacity: .55; line-height: 1; }
.service__icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--white); background: var(--red); border-radius: 12px; margin-bottom: 22px; transform: skewX(-8deg); }
.service__icon svg { width: 28px; height: 28px; transform: skewX(8deg); }
.service h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 21px; line-height: 1.15; text-transform: uppercase; margin-bottom: 10px; }
.service p { color: var(--text-2); font-size: 15.5px; margin-bottom: 18px; }
.service__link { margin-top: auto; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.service__link:hover { color: var(--ink); }
.service--featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.service--featured p { color: rgba(255,255,255,.75); }
.service--featured .service__icon { background: var(--yellow); color: var(--ink); }
.service--featured .service__link { color: var(--yellow); }
.service--featured .service__link:hover { color: var(--white); }

/* ---------- Split (clásicos / quemacocos) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--reverse { grid-template-columns: 1.1fr 1fr; }
.split > * { min-width: 0; }
.split__media { position: relative; display: grid; place-items: center; }
.emblem { position: relative; width: min(100%, 540px); height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
.section--red .split__media::before {
  content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,194,14,.35), transparent 65%);
}

.checks { margin: 28px 0 36px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: rgba(255,255,255,.9); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 4px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3.5'%3E%3Cpath d='M5 12l4.5 4.5L19 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks b { color: var(--white); font-weight: 700; }

/* Quemacocos */
.sun-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 36px; }
.sun-card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 22px 20px; border-top: 4px solid var(--red); }
.sun-card:nth-child(2) { border-top-color: var(--yellow); }
.sun-card:nth-child(3) { border-top-color: var(--white); }
.sun-card__k { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 14px; color: var(--yellow); letter-spacing: .1em; }
.sun-card h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; margin: 4px 0 8px; }
.sun-card p { font-size: 15px; color: rgba(255,255,255,.7); }

.photo { position: relative; width: min(100%, 440px); }
.photo img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 40px 70px -30px rgba(0,0,0,.8); }
.photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 4px solid var(--yellow); border-radius: var(--radius-lg); }
.photo::after { content: ""; position: absolute; left: -14px; top: 30px; width: 10px; height: 38%; background: var(--red); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 30px 24px; background: var(--white); border-radius: var(--radius-lg); border-left: 5px solid var(--red); box-shadow: 0 10px 30px -20px rgba(20,20,20,.3); }
.feature:nth-child(even) { border-left-color: var(--yellow); }
.feature h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; margin-bottom: 10px; }
.feature p { color: var(--text-2); font-size: 15.5px; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--yellow)); transform: skewX(-20deg); }
.step { position: relative; padding: 0 24px 0 0; }
.step__num {
  position: relative; display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 24px;
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 26px;
  background: var(--white); color: var(--red); border: 4px solid var(--red); border-radius: 50%;
}
.step:nth-child(even) .step__num { border-color: var(--yellow); color: var(--ink); }
.step h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq > * { min-width: 0; }
.faq__list { border-top: 1px solid var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 50px 22px 0;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 20px;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 600; font-size: 30px; color: var(--yellow); transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--yellow); }
.faq__item p { color: rgba(255,255,255,.72); padding: 0 40px 24px 0; }

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__grid > * { min-width: 0; }
.contact__list { margin-top: 32px; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; color: var(--white); font-weight: 500; }
.contact__list svg { width: 22px; height: 22px; color: var(--yellow); flex-shrink: 0; }
.contact__list a:hover { color: var(--yellow); }

.form { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); border-top: 6px solid var(--yellow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field__label { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--light); border: 2px solid transparent; border-radius: var(--radius);
  padding: 13px 15px; font-size: 16px; color: var(--text); transition: border-color .2s, background .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D7141A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9a9aa0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--white); }
.field .is-invalid { border-color: var(--red); background: #fff1f1; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.field .chip input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 16px; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 15px; color: var(--text-2);
  transition: all .2s;
}
.chip span:hover { border-color: var(--ink); color: var(--ink); }
.chip input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.form__error { color: var(--red); font-weight: 600; font-size: 15px; }
.form__note { font-size: 13px; color: var(--text-2); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding: 60px 0 30px; border-top: 6px solid var(--yellow); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { color: rgba(255,255,255,.6); margin-top: 16px; max-width: 380px; font-size: 15px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.footer__nav a { font-family: var(--font-display); font-style: italic; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.footer__nav a:hover { color: var(--yellow); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: 14px; color: rgba(255,255,255,.55); }
.footer__bottom a { color: rgba(255,255,255,.85); }
.footer__bottom a:hover { color: var(--yellow); }
.footer__fine { width: 100%; font-size: 12px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 0; }
  .steps::before { display: none; }
}

@media (max-width: 860px) {
  .nav__burger { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--red);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { font-size: 28px; color: var(--white); }

  .split, .split--reverse, .faq, .contact__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .emblem, .photo { width: min(100%, 320px); }
  .sun-cards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero__bg img { object-position: center; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.82) 55%, rgba(10,10,10,.95) 100%); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .services, .features, .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px 28px; }
  .hero__stats strong { font-size: 40px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .brand__logo { height: 52px; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
