
:root{
  --orange:#ff5a00;
  --orange-dark:#d94a00;
  --black:#0b0d0f;
  --ink:#15181c;
  --muted:#6b737c;
  --soft:#f6f7f8;
  --line:#e7e9ec;
  --white:#ffffff;
  --radius:24px;
  --shadow:0 18px 45px rgba(0,0,0,.11);
  --max:1180px;
}

/* RESET GENERAL */
*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.55;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin-inline:auto;
}

/* =========================================================
   HEADER NEGRO
   ========================================================= */

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:#050607;
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
}

.brand img{
  width:174px;
  height:auto;
  display:block;
}

/* MENÚ PRINCIPAL */
.menu{
  display:flex;
  align-items:center;
  gap:28px;
  font-size:14px;
  font-weight:800;
}

.menu a{
  opacity:.86;
  color:rgba(255,255,255,.92);
  text-decoration:none;
}

.menu a:hover,
.menu a.active{
  opacity:1;
  color:var(--orange);
}

/* SELECTOR ES / EN */
.lang-switch{
  display:flex;
  gap:6px;
  align-items:center;
  border:1px solid rgba(255,255,255,.14);
  padding:5px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
}

.lang-switch a{
  font-size:12px;
  font-weight:900;
  padding:7px 10px;
  border-radius:999px;
  opacity:1;
  color:rgba(255,255,255,.82);
}

.lang-switch a:hover{
  color:#fff;
}

.lang-switch a.current{
  background:var(--orange);
  color:#fff;
}

/* BOTÓN HEADER */
.nav-cta{
  background:var(--orange);
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}

.nav-cta:hover{
  background:var(--orange-dark);
  color:#fff;
}

/* BOTÓN MÓVIL */
.mobile-toggle{
  display:none;
  width:44px;
  height:44px;
  border:0;
  border-radius:13px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:22px;
  cursor:pointer;
}

/* =========================================================
   HERO
   ========================================================= */

.hero{
  min-height:calc(100vh - 78px);
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 78% 14%, rgba(255,90,0,.14), transparent 28%),
    linear-gradient(180deg,#fff 0%,#f6f7f8 100%);
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.04fr .96fr;
  align-items:center;
  gap:58px;
  padding:76px 0;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--orange);
  font-size:12px;
  font-weight:900;
  letter-spacing:.17em;
  text-transform:uppercase;
  margin-bottom:20px;
}

.kicker:before{
  content:"";
  width:34px;
  height:3px;
  border-radius:99px;
  background:var(--orange);
}

h1,h2,h3,p{
  margin-top:0;
}

h1{
  font-size:clamp(44px,7vw,84px);
  line-height:.96;
  letter-spacing:-.055em;
  margin-bottom:26px;
}

h1 span{
  color:var(--orange);
  font-style:italic;
}

.lead{
  color:#4e5660;
  font-size:clamp(17px,2vw,21px);
  max-width:720px;
  margin-bottom:34px;
}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:14px 22px;
  border-radius:999px;
  font-weight:900;
  border:1px solid transparent;
  cursor:pointer;
}

.btn-primary{
  background:var(--orange);
  color:white;
}

.btn-primary:hover{
  background:var(--orange-dark);
}

.btn-dark{
  background:var(--black);
  color:white;
}

.btn-ghost{
  background:white;
  border-color:#d6d8db;
  color:#111;
}

.btn-ghost:hover{
  border-color:var(--orange);
  color:var(--orange);
}

.hero-card{
  border-radius:34px;
  background:var(--black);
  padding:44px;
  min-height:520px;
  position:relative;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-card:before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  right:-160px;
  bottom:-160px;
  background:var(--orange);
  opacity:.92;
}

.hero-logo{
  position:relative;
  z-index:1;
  width:min(92%,520px);
  margin:auto;
}

.metric-strip{
  position:absolute;
  z-index:2;
  left:26px;
  right:26px;
  bottom:26px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.metric{
  color:white;
  padding:15px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.06);
  border-radius:18px;
}

.metric strong{
  font-size:25px;
  display:block;
  line-height:1;
}

.metric small{
  color:rgba(255,255,255,.65);
  font-weight:700;
}

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */

.section{
  padding:92px 0;
}

.section-dark{
  background:var(--black);
  color:white;
}

.section-head{
  max-width:780px;
  margin-bottom:44px;
}

.eyebrow{
  color:var(--orange);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:900;
  margin-bottom:12px;
}

h2{
  font-size:clamp(34px,5vw,58px);
  line-height:1;
  letter-spacing:-.045em;
  margin-bottom:18px;
}

.section-head p{
  font-size:18px;
  color:#66707a;
}

.section-dark .section-head p,
.section-dark .lead{
  color:rgba(255,255,255,.68);
}

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

.card{
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  min-height:240px;
  transition:.25s ease;
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
  border-color:rgba(255,90,0,.35);
}

.card.dark{
  background:#12161b;
  border-color:#252b32;
  color:white;
}

.card p{
  color:#65707b;
  margin-bottom:0;
}

.card.dark p{
  color:rgba(255,255,255,.66);
}

.icon{
  width:48px;
  height:48px;
  border-radius:16px;
  background:#111;
  color:var(--orange);
  display:grid;
  place-items:center;
  font-size:22px;
  margin-bottom:20px;
}

/* SPLIT */
.split{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:54px;
  align-items:start;
}

.panel{
  background:var(--soft);
  border:1px solid #ebedf0;
  border-radius:34px;
  padding:38px;
}

/* CHECKLIST */
.checklist{
  display:grid;
  gap:14px;
  list-style:none;
  padding:0;
  margin:0;
}

.checklist li{
  display:flex;
  gap:12px;
  font-weight:750;
}

.checklist li:before{
  content:"";
  flex:0 0 auto;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--orange);
  margin-top:8px;
}

/* FORMULARIOS */
.form{
  display:grid;
  gap:14px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.form input,
.form textarea,
.form select{
  width:100%;
  border:1px solid #dfe2e6;
  border-radius:14px;
  padding:15px 16px;
  font:inherit;
  background:white;
}

.form textarea{
  min-height:122px;
  resize:vertical;
}

.form small{
  color:#69727c;
}

/* =========================================================
   PÁGINAS INTERNAS
   ========================================================= */

.page-hero{
  padding:90px 0 58px;
  background:
    radial-gradient(circle at 75% 25%,rgba(255,90,0,.13),transparent 30%),
    #f7f7f7;
}

.page-hero h1{
  font-size:clamp(44px,6vw,72px);
}

.breadcrumb{
  font-weight:850;
  color:#69727d;
  margin-bottom:20px;
}

.breadcrumb span{
  color:var(--orange);
}

.notice{
  border-left:5px solid var(--orange);
  padding:20px 24px;
  background:#fff6f0;
  border-radius:18px;
  color:#513522;
  margin-top:28px;
}

/* =========================================================
   PRODUCTOS
   ========================================================= */

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

.product{
  border:1px solid var(--line);
  background:#fff;
  border-radius:26px;
  overflow:hidden;
  transition:.25s ease;
}

.product:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.product-media{
  min-height:154px;
  background:
    linear-gradient(135deg,rgba(255,90,0,.14),rgba(255,255,255,.2)),
    #f2f3f4;
  display:flex;
  align-items:flex-end;
  padding:20px;
}

.product-tag{
  background:var(--black);
  color:white;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:900;
}

.product-body{
  padding:24px;
}

.product p{
  color:#66707a;
  min-height:74px;
}

.product ul{
  margin:0 0 22px;
  padding-left:18px;
  color:#4f5862;
}

.product .btn{
  width:100%;
  min-height:46px;
}

/* =========================================================
   SERVICIOS
   ========================================================= */

.services-list{
  display:grid;
  gap:18px;
}

.service-row{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:20px;
  padding:24px;
  border-radius:24px;
  background:white;
  border:1px solid var(--line);
}

.service-num{
  width:54px;
  height:54px;
  border-radius:18px;
  background:var(--black);
  color:white;
  display:grid;
  place-items:center;
  font-weight:900;
}

.service-row h3{
  font-size:24px;
  margin-bottom:7px;
}

.service-row p{
  margin:0;
  color:#66707a;
}

/* =========================================================
   CTA
   ========================================================= */

.cta{
  border-radius:36px;
  background:
    radial-gradient(circle at 80% 10%,rgba(255,90,0,.44),transparent 31%),
    var(--black);
  color:white;
  padding:54px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:32px;
  align-items:center;
}

.cta p{
  color:rgba(255,255,255,.7);
  font-size:18px;
  margin-bottom:0;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer{
  background:#050607;
  color:white;
  padding:48px 0 26px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:32px;
  padding-bottom:34px;
}

.footer img{
  width:185px;
  margin-bottom:18px;
}

.footer p,
.footer a{
  color:rgba(255,255,255,.65);
}

.footer h4{
  margin:0 0 12px;
}

.footer-links{
  display:grid;
  gap:9px;
}

.legal{
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:22px;
  color:rgba(255,255,255,.52);
  font-size:13px;
}

/* =========================================================
   BLOQUES COMERCIALES TECNIMEX
   ========================================================= */

.supply-band{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:34px;
}

.supply-pill{
  border:1px solid rgba(255,90,0,.22);
  background:#fff;
  border-radius:18px;
  padding:18px;
  font-weight:900;
  color:#20252b;
}

.supply-pill small{
  display:block;
  margin-top:6px;
  color:#6b737c;
  font-weight:650;
}

.route-box{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.route-step{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
}

.route-step strong{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:14px;
  background:var(--orange);
  color:#fff;
  margin-bottom:16px;
}

.route-step p{
  color:#66707a;
  margin-bottom:0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:900px){
  .mobile-toggle{
    display:block;
  }

  .menu{
    display:none;
    position:absolute;
    top:86px;
    left:20px;
    right:20px;
    background:#0b0d0f;
    flex-direction:column;
    align-items:flex-start;
    padding:22px;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(0,0,0,.28);
    border:1px solid rgba(255,255,255,.08);
  }

  .menu.open{
    display:flex;
  }

  .menu a{
    color:rgba(255,255,255,.92);
  }

  .menu a:hover,
  .menu a.active{
    color:var(--orange);
  }

  .nav-cta{
    display:none;
  }

  .hero-grid,
  .split,
  .cta{
    grid-template-columns:1fr;
  }

  .hero-card{
    min-height:420px;
  }

  .cards,
  .catalog-grid{
    grid-template-columns:1fr;
  }

  .metric-strip{
    position:relative;
    left:auto;
    right:auto;
    bottom:auto;
    margin-top:28px;
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .supply-band,
  .route-box{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .container{
    width:min(100% - 26px,var(--max));
  }

  .section{
    padding:68px 0;
  }

  .brand img{
    width:145px;
  }

  .hero-card,
  .panel{
    padding:24px;
    border-radius:26px;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .cta{
    padding:34px;
  }
}