/* ===== Colores y base (tomados del logo) ===== */
:root {
  --navy: #1e3456;
  --navy-dark: #142540;
  --orange: #f07a2a;
  --orange-dark: #d9651a;
  --text: #1f2937;
  --muted: #5b6574;
  --line: #e4e8ee;
  --gray: #f4f6f9;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 37, 64, .08);
  --font-title: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; margin-top: 40px; }
.accent { color: var(--orange); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.eyebrow--light { color: #ffb37f; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-title); font-weight: 700; font-size: .95rem;
  padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px rgba(240, 122, 42, .3); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--orange-dark); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ===== Barra superior ===== */
.topbar { background: var(--navy-dark); color: #c9d3e3; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 600; white-space: nowrap; }
.topbar__phone svg { width: 15px; height: 15px; fill: var(--orange); }

/* ===== Encabezado ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(20,37,64,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--font-title); font-weight: 600; font-size: .93rem; color: var(--navy); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--orange); transition: width .2s; }
.nav a:not(.btn):hover::after { width: 100%; }
.nav__cta { color: var(--white) !important; padding: 10px 18px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(240,122,42,.12), transparent 40%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  padding: 80px 0 90px;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero__checks li { position: relative; padding-left: 26px; font-weight: 500; color: var(--navy); font-size: .95rem; }
.hero__checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hero__visual { position: relative; display: flex; justify-content: center; }
.hex {
  width: min(380px, 80vw); aspect-ratio: 1 / 1.1; background: var(--white);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: grid; place-items: center; box-shadow: var(--shadow);
  position: relative;
}
.hex--big { background: linear-gradient(145deg, #ffffff, #eef2f8); }
.hex img { width: 92%; }
.hero__badge {
  position: absolute; background: var(--white); border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; max-width: 190px;
  border-left: 4px solid var(--orange);
}
.hero__badge strong { font-family: var(--font-title); font-size: 1.3rem; color: var(--navy); }
.hero__badge span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.hero__badge--1 { left: 0; bottom: 14%; }
.hero__badge--2 { right: 0; top: 8%; border-left-color: var(--navy); }

/* ===== Franja ===== */
.strip { background: var(--navy); color: var(--white); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.strip__item { display: flex; align-items: center; gap: 14px; }
.strip__item svg { width: 38px; height: 38px; flex-shrink: 0; fill: var(--orange); }
.strip__item strong { display: block; font-family: var(--font-title); font-size: .95rem; }
.strip__item span { font-size: .83rem; color: #b8c4d8; }

/* ===== Secciones ===== */
.section { padding: 90px 0; }
.section--gray { background: var(--gray); }
.section--navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: #d6deea; }
.section--navy h2 { color: var(--white); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Nosotros ===== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about__card {
  border-radius: var(--radius); padding: 30px 22px; display: flex; flex-direction: column; gap: 14px;
  font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; min-height: 170px; justify-content: flex-end;
}
.about__card svg { width: 46px; height: 46px; }
.about__card--navy { background: var(--navy); color: var(--white); grid-row: span 2; min-height: 100%; }
.about__card--navy svg { fill: var(--orange); }
.about__card--orange { background: var(--orange); color: var(--white); }
.about__card--orange svg { fill: var(--white); }
.about__card--light { background: var(--gray); color: var(--navy); border: 1px solid var(--line); }
.about__card--light svg { fill: var(--orange); }
.about__text p { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.value { background: var(--gray); border-radius: var(--radius); padding: 20px; border-top: 3px solid var(--orange); }
.value p { margin: 0; font-size: .93rem; }

/* ===== Tarjetas de productos ===== */
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 12px; background: rgba(240,122,42,.12);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; fill: var(--orange); }
.card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ===== Marcas ===== */
.brands { padding: 80px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.brands .section__head { margin-bottom: 36px; }
.brands__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brands__list li {
  display: grid; place-items: center; height: 84px; padding: 0 12px; text-align: center;
  font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em;
  color: #8a94a3; background: var(--gray); border: 1px solid var(--line); border-radius: 12px;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.brands__list li:hover { color: var(--navy); background: var(--white); border-color: var(--orange); transform: translateY(-3px); }
.brands__list li.has-logo { background: var(--white); }
.brands__list li img { max-height: 48px; max-width: 80%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.brands__list li:hover img { filter: none; opacity: 1; }
.brands__note { text-align: center; color: var(--muted); font-size: .8rem; margin: 22px 0 0; }

/* ===== Servicios ===== */
.service {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--orange); transition: width .3s; }
.service:hover { box-shadow: var(--shadow); }
.service:hover::before { width: 100%; }
.service__num { display: block; font-family: var(--font-title); font-weight: 800; font-size: 2rem; color: rgba(30,52,86,.15); margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ===== Por qué elegirnos ===== */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why__text p { font-size: 1.05rem; margin-bottom: 28px; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.why__list li {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 18px 20px 18px 58px; position: relative;
}
.why__list li::before {
  content: ""; position: absolute; left: 18px; top: 20px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
}
.why__list strong { display: block; color: var(--white); font-family: var(--font-title); }
.why__list span { font-size: .93rem; }

/* ===== Pasos ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 30px; left: calc(50% + 40px); right: calc(-50% + 40px);
  border-top: 2px dashed #c9d2df;
}
.step__num {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--navy); color: var(--white);
  font-family: var(--font-title); font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 0 0 6px rgba(240,122,42,.18);
}
.step p { color: var(--muted); font-size: .93rem; }

/* ===== Llamado a la acción ===== */
.cta { background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%); color: var(--white); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 50px; padding-bottom: 50px; }
.cta h2 { color: var(--white); margin-bottom: 6px; }
.cta p { margin: 0; font-size: 1.05rem; opacity: .95; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative;
  font-family: var(--font-title); font-weight: 700; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ===== Contacto ===== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact__info p { color: var(--muted); margin-bottom: 26px; }
.contact__item {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 12px;
  border: 1px solid var(--line); margin-bottom: 14px; transition: border-color .2s, box-shadow .2s;
}
a.contact__item:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.contact__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.contact__icon svg { width: 24px; height: 24px; fill: var(--white); }
.contact__icon--wa { background: var(--wa); }
.contact__item small { display: block; color: var(--muted); font-size: .8rem; }
.contact__item strong { font-family: var(--font-title); color: var(--navy); font-size: 1.05rem; }

.form { background: var(--gray); border-radius: 18px; padding: 34px; border: 1px solid var(--line); }
.form h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form__note { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 16px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font: inherit; font-weight: 400; color: var(--text); background: var(--white);
  border: 1px solid #d3dae4; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,122,42,.18); }
.form textarea { resize: vertical; }
.form__error { color: #c0392b; font-size: .9rem; min-height: 1.2em; margin: 0 0 10px; }

/* ===== Footer ===== */
.footer { background: var(--navy-dark); color: #aab6c9; font-size: .93rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer__logo { background: var(--white); border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer__logo img { height: 52px; width: auto; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .85rem; text-align: center; }

/* ===== Botón flotante WhatsApp ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }

/* ===== Animación al aparecer ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,37,64,.1);
    padding: 8px 20px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 14px; border-bottom: 0 !important; }

  .hero { padding: 50px 0 60px; }
  .hero__inner, .about, .why, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hex { width: min(260px, 65vw); }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .brands__list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .step::after { display: none; }
  .cta__inner { flex-direction: column; text-align: center; }
  .section { padding: 70px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar__inner span:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .header__inner { height: 66px; }
  .logo img { height: 46px; }
  .grid--4, .grid--3, .strip__inner, .values, .form__row, .steps, .footer__inner { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
  .brands { padding: 60px 0; }
  .brands__list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brands__list li { height: 70px; font-size: 1rem; }
  .hero__actions .btn { width: 100%; }
  .form { padding: 24px 18px; }
  .about__media { grid-template-columns: 1fr 1fr; }
  .about__card { min-height: 130px; padding: 22px 18px; }
}
