* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  color: #1f2933;
  background: #ffffff;
}

.container {
    width: 90%;
  max-width: 1200px;
  margin: auto;
}

.header {
  background: #0f172a;
  padding: 16px 0;
}
.header .container {
  max-width: 1400px; /* m谩s ancho */
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
}

.logo {
  height: 45px;
}

nav a {
  color: #e5e7eb;
  margin-left: 24px;
  text-decoration: none;
  font-weight: 500;
}

nav a.btn {
  background: transparent;
  border: 1px solid #b11226;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
}

nav a.btn:hover {
  background: #b11226;
}
.btn {
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

.btn-primary {
  background: #b11226;
  color: #fff;
}

.hero {
  height: 75vh;
  background-size: cover;
  background-position: center;
}

.overlay {
   background: rgba(15,23,42,0.6);
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  color: #fff;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: #f3f4f6;
}
.section-divider {
  border: none;
  height: 1px;
  background: #e5e7eb;
  max-width: 900px;
  margin: 40px auto;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.banner {
  background: #0f172a;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.benefits {
  margin-top: 30px;
  list-style: none;
}

.benefits li {
  margin-bottom: 12px;
  font-size: 18px;
}

.contact-form {
  max-width: 500px;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
}

.footer {
    background: #0f172a;
  color: #cbd5e1;
  padding: 30px 0;
  text-align: center;
}
.footer p {
  color: #cbd5e1; /* gris claro corporativo */
}
.footer p:first-child {
  color: #e5e7eb;
  font-weight: 500;
}
.logo-box {
  background: #ffffff;
 padding: 12px 18px;     /* menos alto */
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.logo {
  height: 46px;           /* antes ~42 */
}

.hero-content {
  max-width: 700px;
}

.hero-content p {
  margin-top: 16px;
  margin-bottom: 32px; /* 馃憟 CLAVE */
  font-size: 18px;
  opacity: 0.95;
}

    
@media (max-width: 768px) {

  .header-content {
    min-height: auto;
    padding: 12px 0;
  }

  .logo-box {
    padding: 8px 12px;
  }

  .logo {
    height: 36px;
  }
}
@media (max-width: 768px) {

  nav a {
    margin-left: 14px;
    font-size: 14px;
  }

  nav a.btn {
    padding: 6px 12px;
  }
}
@media (max-width: 768px) {

  .hero {
    height: auto;
    padding: 100px 0 80px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .grid-4 {
    gap: 20px;
  }
}
@media (max-width: 768px) {

  nav a.btn {
    border: none;
    padding: 0;
    background: none;
    color: #e5e7eb;
    font-weight: 500;
  }

  nav a.btn:hover {
    background: none;
  }
}
/* ===== BOT脫N PRIMARIO UNIFICADO ===== */

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;

  padding: 12px 22px;
  border-radius: 6px;

  text-decoration: none;
  cursor: pointer;

  border: none;
  outline: none;
}

/* Bot贸n primario */
.btn-primary {
  background: #b11226;
  color: #ffffff;
}

.btn-primary:hover {
  background: #8f0e1f;
}

/* Evita estilos nativos del button */
button.btn-primary {
  appearance: none;
  -webkit-appearance: none;
}
/* ===============================
   AVALTECH ONE HERO COMPONENT
   =============================== */

.one-hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.one-header {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.one-logo-img {
  max-width: 320px;   /* 馃敶 l铆mite REAL */
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .one-logo-img {
    max-width: 220px;
  }
}
/* ===============================
   ESTADO AVALTECH ONE
   =============================== */

.one-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px auto 0;
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 20px;
  font-size: 14px;
  color: #374151;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b; /* 醡bar = en progreso */
}
/* Badge */
.one-badge {
  margin-top: 12px;
  font-size: 13px;
  color: #6b7280;
}
/* ===============================
   AJUSTE CONCEPTO AVALTECH ONE
   =============================== */

.section-concept {
  padding-top: 10px;   /* reduce espacio superior */
}

/* ===============================
   CONCEPTO – 2 COLUMNAS
   =============================== */

.concept-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 900px;
}

.concept-points ul {
  list-style: none;
  padding: 0;
}

.concept-points li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #374151;
}

/* Responsive */
@media (max-width: 768px) {
  .concept-grid {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   CONCEPT POINTS – ICONOS
   =============================== */

.benefits {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #374151;
}

.benefit-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #b11226; /* rojo Avaltech */
  position: relative;
  flex-shrink: 0;
  margin-top: 3px;
}

.benefit-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/* ===============================
   BENEFITS – FUTURE ICONS
   =============================== */

.benefits-future li {
  color: #374151;
}

/* Icono futuro */
.future-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6b7280; /* gris profesional */
  position: relative;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Flecha de avance */
.future-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
}
/* ===============================
   TIMELINE – EVOLUCIÓN FUTURA
   =============================== */

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  position: relative;
}

/* Línea central */
.timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e5e7eb;
}

/* Paso */
.timeline-step {
  text-align: center;
  position: relative;
  padding-top: 30px;
}

.timeline-step h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.timeline-step p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}

.timeline-step ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

.timeline-step li {
  margin-bottom: 6px;
  color: #374151;
}

/* Punto */
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9ca3af;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
}

/* Paso activo (Hoy) */
.timeline-step.active .timeline-dot {
  background: #b11226; /* rojo Avaltech */
}

/* Responsive */
@media (max-width: 768px) {
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .timeline-step {
    text-align: left;
    padding-left: 24px;
  }

  .timeline-dot {
    left: 0;
    transform: none;
  }
}
@font-face {
  font-display: swap;
}
.one-title {
  font-size: 32px;
  margin-bottom: 8px;
}

.hero-dark {
  background: linear-gradient(135deg, #0f172a, #020617);
  padding: 120px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 18px;
  color: #cbd5f5;
  max-width: 520px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 14px;
  color: #fff;
}

.hero-card strong {
  display: block;
  margin-bottom: 6px;
}
.hero-dark {
  background: linear-gradient(135deg, #0f172a, #020617);
  padding: 120px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 18px;
  color: #cbd5f5;
  max-width: 520px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 14px;
  color: #fff;
}

.hero-card strong {
  display: block;
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }
}
.hero-dark h1,
.hero-dark p {
  color: #ffffff;
}
.hero-dark p {
  color: #cbd5f5;
}
.hero-text h1 {
  font-size: 44px;
  font-weight: 700;
}
html {
  scroll-behavior: smooth;
}
.hero-servicios {
  min-height: 65vh;
  background-position: center 25%;
}
@media (max-width: 768px) {
  .hero,
  .hero-servicios {
    min-height: 50vh;
    background-position: center;
  }
}
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f3f4f6;
  color: #1f2937;
  line-height: 1.6;
}

main.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}

h1 {
  font-size: 36px;
  margin-bottom: 16px;
  color: #0f172a;
}

h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 12px;
  color: #0f172a;
}

h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #1e293b;
}

p {
  margin-bottom: 16px;
  color: #374151;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.service-box {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-box ul {
  padding-left: 18px;
}

.service-box li {
  margin-bottom: 8px;
}

.method {
  background: #ffffff;
  border-left: 4px solid #2563eb;
  padding: 24px;
  margin-top: 32px;
  border-radius: 6px;
}

.cta {
  background: #2563eb;
  color: #fff;
  padding: 64px 24px;
  margin-top: 80px;
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  color: #e0e7ff;
  max-width: 750px;
  margin: 0 auto 24px;
}

.cta a {
  display: inline-block;
  background: #fff;
  color: #2563eb;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.cta a:hover {
  background: #e5e7eb;
}
.hero h1 {
  color: #ffffff;
}

.hero p {
  color: #e5e7eb;
}
.cta {
  background: #0f172a;
  color: #ffffff;
  padding: 64px 24px;
  margin-top: 80px;
  text-align: center;
}
.cta h2 {
  color: #ffffff;
}

.cta p {
  color: #cbd5e1;
}
.cta a {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}
.cta a:hover {
  background: #ffffff;
  color: #0f172a;
}
.banner {
  background: #0f172a;
  padding: 64px 24px;
  text-align: center;
}

.banner h2 {
  color: #ffffff;
}
/* =========================
   FORMULARIOS – ESTILO CORPORATIVO
========================= */

.form {
  max-width: 720px;
  margin-top: 40px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #0f172a;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
}

.actions {
  margin-top: 28px;
}
/* Ajuste fino contacto */
.section .form {
  margin-top: 5px; /* antes 40px */
}
.section h1 {
  margin-bottom: 12px;
}
.section.section-light {
  padding-bottom: 32px;
}
/* Contacto: unir contexto + formulario */
.section.section-light {
  padding-bottom: 24px;
}

.section.section-light + .section {
  padding-top: 24px;
}
.section-compact {
  padding-top: 40px;
  padding-bottom: 40px;
}
.btn-outline {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  border: 1px solid #c1121f; /* rojo corporativo */
  color: #c1121f;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: #c1121f;
  color: #fff;
}
