/* ===== Honest Tech Supplies — estilos ===== */
:root {
  --ink: #2b2e38;
  --ink-soft: #5b6070;
  --steel: #8a8f9c;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --blue: #2f8fe6;
  --sky: #8fd0f2;
  --teal: #4cc3c0;
  --grad: linear-gradient(135deg, #2f8fe6 0%, #5ab8ef 50%, #4cc3c0 100%);
  --metal: linear-gradient(180deg, #9a9fab 0%, #3e414d 100%);
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(30, 60, 110, .25);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* ===== Tipografía ===== */
h1, h2, h3, .brand { font-family: "Montserrat", sans-serif; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 620px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .lead { margin: 16px auto 0; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(47,143,230,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(47,143,230,.8); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ===== Navegación ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 20px 0;
}
.nav.scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 2px; font-weight: 500; font-size: 1.45rem; letter-spacing: .04em; }
.brand .word { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .globe { width: 26px; height: 26px; }
.brand small { display: block; font-size: .55rem; letter-spacing: .25em; color: var(--ink-soft); margin-top: -4px; text-align: right; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--ink-soft); position: relative; transition: color .2s; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { padding: 10px 20px; color: #fff; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; }
.menu-toggle span { display: block; height: 2px; width: 22px; background: var(--ink); margin: 5px auto; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 120px; overflow: hidden;
  background: radial-gradient(1000px 500px at 85% 10%, rgba(143,208,242,.25), transparent 60%),
              radial-gradient(700px 400px at 0% 90%, rgba(76,195,192,.12), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; margin-bottom: 22px; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: "Montserrat"; font-size: 1.9rem; }
.hero-stats span { font-size: .85rem; color: var(--ink-soft); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .globe-big { width: min(420px, 80vw); filter: drop-shadow(0 30px 40px rgba(47,143,230,.3)); animation: float 7s ease-in-out infinite; }
.orbit { position: absolute; border: 1px dashed rgba(47,143,230,.25); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit.o1 { width: 115%; aspect-ratio: 1; }
.orbit.o2 { width: 135%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 60s; }
.orbit::before { content: ""; position: absolute; top: 12%; left: 12%; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.chip {
  position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.chip i { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; }
.chip svg { width: 18px; height: 18px; stroke: #fff; }
.chip.c1 { top: 8%; left: -4%; }
.chip.c2 { bottom: 10%; right: -6%; animation-delay: -3s; }
.waves { position: absolute; left: 0; right: 0; bottom: -40px; height: 340px; z-index: 1; pointer-events: none; opacity: .9; }
.waves svg { width: 100%; height: 100%; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Marquee de categorías ===== */
.strip { border-block: 1px solid var(--line); background: #fff; overflow: hidden; padding: 22px 0; }
.strip-track { display: flex; gap: 56px; width: max-content; animation: marquee 35s linear infinite; }
.strip-track span { font-family: "Montserrat"; font-weight: 600; color: var(--steel); white-space: nowrap; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; display: flex; align-items: center; gap: 56px; }
.strip-track span::after { content: "◆"; color: var(--sky); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Secciones ===== */
section { padding: 110px 0; }
.alt { background: var(--bg-alt); }

/* Nosotros */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-card {
  position: relative; border-radius: 28px; padding: 44px; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, #1f2a3d 0%, #2c3e5c 100%); box-shadow: var(--shadow);
}
.about-card::before { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; border-radius: 50%; background: var(--grad); opacity: .35; filter: blur(30px); }
.about-card h3 { font-size: 1.5rem; margin-bottom: 14px; position: relative; }
.about-card p { color: #c8d3e3; position: relative; }
.about-card ul { list-style: none; margin-top: 26px; display: grid; gap: 14px; position: relative; }
.about-card li { display: flex; gap: 12px; align-items: flex-start; }
.about-card li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--grad) ; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14L4 9.5l1.4-1.4 3.1 3.1 6.1-6.1L16 6.5 8.5 14z'/%3E%3C/svg%3E") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14L4 9.5l1.4-1.4 3.1 3.1 6.1-6.1L16 6.5 8.5 14z'/%3E%3C/svg%3E") center/contain no-repeat; }
.about-text p + p { margin-top: 16px; }
.about-text .lead { margin-top: 18px; }

/* Productos */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  position: relative; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(47,143,230,.12), rgba(76,195,192,.15)); margin-bottom: 22px; }
.icon svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); font-weight: 500; }
.badge { position: absolute; top: 20px; right: 20px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: rgba(76,195,192,.15); color: #24908d; }

/* Ventajas */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 30px 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line); text-align: left; }
.value .num { font-family: "Montserrat"; font-size: 2.6rem; font-weight: 700; line-height: 1; margin-bottom: 14px; }
.value h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value p { color: var(--ink-soft); font-size: .93rem; }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: .3; }
.step { text-align: center; position: relative; }
.step .dot {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 2px solid var(--blue);
  display: grid; place-items: center; font-family: "Montserrat"; font-weight: 700; color: var(--blue); position: relative; z-index: 1;
  transition: background .3s, color .3s;
}
.step:hover .dot { background: var(--grad); color: #fff; border-color: transparent; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .93rem; }

/* Garantía banner */
.guarantee {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  padding: 44px 48px; border-radius: 28px; background: var(--grad); color: #fff; box-shadow: 0 30px 60px -25px rgba(47,143,230,.6);
}
.guarantee .shield { width: 80px; height: 80px; border-radius: 22px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.guarantee .shield svg { width: 40px; height: 40px; stroke: #fff; fill: none; stroke-width: 1.7; }
.guarantee h3 { font-size: 1.6rem; margin-bottom: 6px; }
.guarantee p { opacity: .92; }
.guarantee .btn { background: #fff; color: var(--blue); }
.guarantee .btn:hover { transform: translateY(-2px); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 32px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .icon { margin: 0; width: 48px; height: 48px; border-radius: 14px; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--ink-soft); font-size: .8rem; }
.contact-list strong { font-weight: 600; }
form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 8px; font-size: .85rem; font-weight: 600; }
input, select, textarea {
  font: inherit; font-weight: 400; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg-alt); color: var(--ink); transition: border-color .2s, background .2s; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .85rem; color: #24908d; font-weight: 600; display: none; }
.form-note.show { display: block; }

/* Footer */
footer { background: #1b2230; color: #aab4c6; padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer .brand .word { background: linear-gradient(180deg, #fff, #b9c2d2); -webkit-background-clip: text; background-clip: text; }
footer .brand small { color: #8995aa; }
footer p { margin-top: 16px; font-size: .92rem; max-width: 340px; }
footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-family: "Montserrat"; }
footer ul { list-style: none; display: grid; gap: 10px; font-size: .92rem; }
footer a:hover { color: var(--sky); }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 24px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Botón volver arriba */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px); transition: .3s; z-index: 40;
}
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.2; }

/* Animaciones al hacer scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .values { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 40px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80vw); background: #fff;
    flex-direction: column; justify-content: center; gap: 28px; transform: translateX(100%);
    transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,.08);
  }
  .nav-links.open { transform: none; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-toggle { position: relative; z-index: 60; }
  section { padding: 80px 0; }
  .values, .steps, .row, .foot-grid { grid-template-columns: 1fr; }
  .chip { display: none; }
  .hero { padding-top: 110px; }
  .hero-stats { gap: 28px; }
  form { padding: 26px 20px; }
}
