/* style.css
   NO CRÍTICO: estilos para el resto de la landing (secciones debajo del fold).
   Importante: NO repetir aquí lo del header/nav/botones porque ya va inline crítico.
*/

@font-face {
  font-family: 'Rajdhani-Regular';
  src: url(../font/Rajdhani-Bold.ttf);
}

@font-face {
  font-family: 'Rajdhani-Bold';
  src: url('./font/Rajdhani-Bold.ttf') format('opentype');
  font-weight: bold;
  font-style: normal;
}



@font-face {
  font-family: 'Rajdhani-SemiBold';
  src: url('./font/Rajdhani-SemiBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Rajdhani-Medium';
  src: url('./font/Rajdhani-Medium.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;

}

@font-face {
  font-family: 'Rajdhani-Regular';
  src: url('./font/Rajdhani-Regular.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;

}

@font-face {
  font-family: 'Rajdhani-Light';
  src: url('./font/Rajdhani-Light.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;

}
/* Helpers generales para secciones */
.section {
  padding: 56px 16px;
}
#productos,
#como-cotizar,
#logistica,
#faq,
#contacto {
  scroll-margin-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Tipografía base para títulos en secciones (NO afecta el header) */
h1, h2, h3 {
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

p {
  line-height: 1.55;
}

/* Utilidades */
.muted {
  opacity: 0.85;
}

.center {
  text-align: center;
}

/* Responsive para secciones (no header) */
@media (max-width: 900px) {
  h2 { font-size: 1.6rem; }
  .section { padding: 44px 16px; }
}


/* Hover links menú desktop */
.nav-desktop a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #ffffffb0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-desktop a:hover {
  color: #ffffffb0;
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}
/* Hover botones */
.btn {
  font-family: 'Rajdhani-Bold';
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: #16a34a; /* verde más oscuro */
  transform: translateY(-1px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}
/* Hover / tap feedback menú mobile */
.nav-mobile a {
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-mobile a:hover {
  color: #22c55e;
}


/* ===== CARDS SUPERPUESTAS ===== */
.cats{
  position: relative;
  margin-top: -70px; /* superposición */
  padding-bottom: 40px;
}

.cats__grid{
  display: grid;
grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-card{
  display: flex;
  flex-direction: column;

  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(2, 8, 23, .18);
  border: 1px solid rgba(15, 23, 42, .08);
}

.cat-card__img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
}
.cat-card{
  position: relative;
}

.cat-card__img{
  position: relative;
}

.cat-card__img::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.05));
}


.cat-card h3{
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #0f172a;
}

/* 👇 este texto es el que absorbe la diferencia */
.cat-card p{
  font-size: .92rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, .78);
  margin-bottom: 12px;
  flex-grow: 1;          /* CLAVE */
}

/* botón siempre abajo */
.cat-card__cta{
  margin-top: auto;     /* CLAVE */
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .12);
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: .92rem;
  background: #fff;
  transition: background-color .2s ease, transform .15s ease;
}

.cat-card__cta:hover{
  background: rgba(25, 115, 218, 0.192);
  transform: translateY(-1px);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px){
  .hero{ padding: 44px 0 120px; }
  .cats__grid{ grid-template-columns: 1fr; }
  .cats{ margin-top: -52px; }
  .cat-card p{ min-height: auto; }
}
/* ===== SECCIÓN: Por qué Forte Metal (3 columnas) ===== */
.benefits{
  padding: 56px 0;
  background: #ffffff;
}

.benefits__title{
  text-align: center;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 22px;
}

.benefits__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit{
  text-align: center;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  padding: 18px 16px;
  background: #fff;
}

.benefit__icon{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 95, 0.08);
  color: #1e3a5f;
  margin: 0 auto 10px;
}

.benefit__h{
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #0f172a;
}

.benefit__p{
  color: rgba(15, 23, 42, .78);
  line-height: 1.55;
  font-size: .95rem;
}

/* CTA centrado (solo WhatsApp) */
.benefits__cta{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px){
  .benefits{ padding: 42px 0; }
  .benefits__grid{ grid-template-columns: 1fr; }
  .benefit{ padding: 16px; }
}
/* =========================================
   FORTE METAL — Route Steps
   Mobile: columna (tipo referencia)
   Desktop: fila (3 en línea)
   Paleta FORTE: azul oscuro + azul acero
   ========================================= */

.fm-route{
  /* Paleta FORTE (la que veníamos usando) */
  --fm-ink: #0b1220;      /* azul muy oscuro */
  --fm-blue: #0b3a75;     /* azul acero */
  --fm-steel: rgba(255,255,255,.92);
  --fm-steel2: rgba(255,255,255,.74);
  --fm-line: rgba(255,255,255,.55);
  --fm-lineSoft: rgba(255,255,255,.35);

  --radius: 18px;

  position: relative;
  padding: 70px 0 64px;
  color: var(--fm-steel);

  background:
    linear-gradient(180deg, rgba(11,18,32,.82), rgba(11,18,32,.82)),
    var(--bg-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.fm-route__overlay{
  position:absolute;
  inset:0;
 background: linear-gradient(135deg,#0f2742 0%, #244b6b 55%, #2a5a78 100%);
  pointer-events:none;
}

.fm-route__wrap{
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

/* Head */
.fm-route__head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.fm-route__kicker{
  margin: 0 0 8px;
  letter-spacing: .22em;
  font-weight: 800;
  font-size: .78rem;
  color: rgba(255,255,255,.72);
}

.fm-route__title{
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.2vw, 44px);
}

.fm-route__lead{
  margin: 0;
  color: var(--fm-steel2);
  line-height: 1.6;
}

/* Timeline wrapper */
.fm-route__timeline{
  position: relative;
  margin: 26px auto 0;
  max-width: 980px;
  padding: 18px 10px;
}

/* SVG (RUTA) SOLO PARA MOBILE */
.fm-route__svg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .95;
}

.fm-route__path{
  fill: none;
  stroke: var(--fm-line);
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: .9;
}

.fm-route__dot{
  fill: rgba(255,255,255,.95);
  opacity: .9;
}

/* ===== NODOS ===== */
.fm-node{
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;

  padding: 18px 18px;
  margin: 18px 0;

  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* título y texto */
.fm-node__h{
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.fm-node__p{
  margin: 0;
  color: var(--fm-steel2);
  line-height: 1.55;
  font-size: .98rem;
  max-width: 52ch;
}

/* Número grande (se nota tipo referencia) */
.fm-node__num{
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(56px, 7vw, 92px);
  line-height: 1;
  color: rgba(255,255,255,.88);
}

/* Detalle FORTE: acento azul en borde izquierdo */
.fm-node::before{
  content:"";
  position:absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: linear-gradient(180deg, rgba(11,58,117,.0), rgba(11,58,117,.95), rgba(11,58,117,.0));
  border-radius: 99px;
  opacity: .9;
}

/* CTA */
.fm-route__cta{
  margin-top: 26px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.fm-route__btn{
  min-width: 240px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  color: #fff;
}

.fm-route__btn small{
  display:block;
  font-weight: 700;
  font-size: .86rem;
  opacity: .88;
  margin-top: 2px;
}

.fm-route__btn--primary{
   background: #22c55e;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.fm-route__btn--ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.26);
}

.fm-route__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
}

/* ===== MOBILE (columna) ===== */
@media (max-width: 899px){
  .fm-route{ padding: 56px 0 54px; }

  .fm-route__timeline{
    padding: 10px 4px;
  }

  .fm-node{
    padding: 16px 14px;
    gap: 14px;
  }

  .fm-node__p{
    font-size: .95rem;
  }

  .fm-route__btn{
    width: 100%;
    max-width: 520px;
    min-width: 0;
  }
}

/* ===== DESKTOP (fila 3 en línea) =====
   - Oculta la “ruta” curva
   - Muestra los 3 cards en fila
*/
@media (min-width: 900px){
  .fm-route__svg{ display:none; } /* porque para pc van en fila */

  .fm-route__timeline{
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
    padding: 20px 0;
  }

  .fm-node{
    margin: 0;            /* saca el margin vertical */
    height: 100%;
    align-content: start;
    padding: 20px 18px;
  }

  .fm-node__num{
    font-size: 84px;
  }

  .fm-node__p{
    max-width: 38ch;
  }
}










/* ===== SECCIÓN FORM (texto izq + form der) ===== */
.leadform{
  padding: 64px 0;
  background: linear-gradient(135deg,#0f2742 0%, #244b6b 55%, #2a5a78 100%);
  color: #fff;
}

.leadform__grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.leadform__copy h2{
 font-family: 'Rajdhani-Bold';
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.leadform__sub{
  opacity: .92;
  margin-bottom: 14px;
  line-height: 1.5;
}

.leadform__bullets{
  margin: 0 0 14px 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  opacity: .95;
}

.leadform__note{
  margin: 14px 0 14px;
  opacity: .9;
}

/* Card del form */
.leadform__card{
  background: #ffffff;
  color: #0f172a;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 14px 34px rgba(2,8,23,.22);
}

/* ===== FORM ===== */
.form{
  display: grid;
  gap: 12px;
}

.form__row{
  display: grid;
  gap: 12px;
}

.form__row--2{
  grid-template-columns: 1fr 1fr;
}

.field span{
  font-family: 'Rajdhani-Medium';
  display: block;
  font-size: .85rem;
  margin-bottom: 6px;
  color: rgba(15,23,42,.78);
}

.field input,
.field select,
.field textarea{
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.14);
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  outline: none;
}

.field textarea{ resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(30,58,95,.55);
  box-shadow: 0 0 0 4px rgba(30,58,95,.12);
}

.form__submit{
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  background: #1e3a5f;
  color: #fff;
  transition: transform .15s ease, background-color .2s ease;
}

.form__submit:hover{
  background: #18304f;
  transform: translateY(-1px);
}

.form__micro{
  text-align: center;
  font-size: .86rem;
  color: rgba(15,23,42,.70);
}

/* Responsive */
@media (max-width: 950px){
  .leadform__grid{
    grid-template-columns: 1fr;
  }
  .leadform{
    padding: 48px 20px;
  }
  .form__row--2{
    grid-template-columns: 1fr;
  }
}
/* Textarea compacto (1 renglón visible) */
.textarea-small{
  min-height: 44px;     /* misma altura que un input */
  height: 44px;
  resize: vertical;     /* el usuario puede agrandarlo si quiere */
}
/* ===== FAQ + LO MÁS PEDIDO ===== */
.faq{
  padding: 56px 0;
  background: linear-gradient(135deg,#0f2742 0%, #244b6b 55%, #2a5a78 100%);
}

.faq__grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.faq__sideTitle,
.faq__title{
    font-family: 'Rajdhani-Bold';
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.faq__list{
  margin: 0 0 14px 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

/* Acordeón (sin JS) */
.faq__item{
  border-top: 1px solid rgba(243, 243, 243, 0.12);
  padding: 10px 0;
}

.faq__item:last-child{
  border-bottom: 1px solid rgba(250, 250, 250, 0.12);
}

.faq__q{
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

/* Oculta el marker default */
.faq__q::-webkit-details-marker{ display:none; }

/* Flecha */
.faq__q::after{
  content: "▾";
  font-size: 1rem;
  opacity: .7;
  transition: transform .2s ease;
}

.faq__item[open] .faq__q::after{
  transform: rotate(180deg);
}

.faq__a{
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  padding: 0 0 10px 0;
}

/* Responsive */
@media (max-width: 900px){
  .faq{ padding: 42px 20px; }
  .faq__grid{ grid-template-columns: 1fr; }
}
/* ===== FOOTER ===== */
.footer{
  background: #073763;
  color: #ffffff;
}

/* Franja CTA */
.footer-cta{
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-cta__inner{
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
    background: rgb(255, 255, 255);
}

.footer-cta__text{
font-family: 'Rajdhani-Bold';
  font-weight: 700;
  letter-spacing: -0.01em;
  opacity: 0.95;
  color: black;
}

.footer-cta__buttons{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Banda principal */
.footer-main__inner{
  padding: 26px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Logo */
.footer-logo{
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.footer-logo span{ font-weight: 400; }

/* Info derecha */
.footer-info{
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.footer-item{
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-ico{
  width: 22px;
  display: inline-flex;
  justify-content: center;
}

/* Legal */
.footer-bottom{
  background: rgba(0,0,0,0.12);
}

.footer-bottom__inner{
  padding: 10px 16px;
  text-align: center;
  opacity: 0.85;
}

.footer-logo-img {
  max-height: 52px;     /* tamaño chico, elegante */
  width: auto;
  display: block;
  opacity: 0.95;
}

.footer-brand {
  display: flex;
  align-items: center;
}


/* Responsive */
@media (max-width: 900px){
  .footer-cta__inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta__buttons{
    width: 100%;
    justify-content: flex-start;
  }

  .footer-main__inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo{
    font-size: 1.8rem;
  }

   .footer-logo-img {
    max-height: 28px;
  }
}
