/* =================================================
   TIPOGRAFÍA OFICIAL – RETHINK SANS
   ================================================= */
@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:wght@400;500;700&display=swap');

/* =================================================
   BRAND GUIDELINES – COLORES OFICIALES
   ================================================= */
:root{
  --brand-blue: #01537b;       /* Azul Von Hesse */
  --brand-blue-light: #378ba4; /* Azul claro */
  --midnight-blue: #01273e;    /* Azul medianoche */
  --gray-light: #f2f2f2;
  --gray-medium: #d3d3d3;
  --text-primary: #1f2937;
  --text-muted: #4b5563;
  --max-width: 1200px;
}

/* =================================================
   RESET BASE
   ================================================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body {
  font-family: 'Rethink Sans', sans-serif;
  color: var(--gray-medium);
  line-height: 1.6;
  
}


img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

.hero-wrapper::before {
  pointer-events: none;
}

.logo {
  position: relative;
  z-index: 10;
}
.logo a {
  display: inline-block;
}
.container{
  max-width: var(--max-width);
  margin: auto;
  padding: 0 20px;
}

/* =================================================
   HEADER / NAV
   ================================================= */
.header {
  background: transparent;
  padding: 20px 0;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 52px;       /* tamaño ideal para header */
  width: auto;
  max-width: 290px; 
  position: relative;  
  top: 15px;/* evita logos gigantes */
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}



nav ul{
  display:flex;
  align-items:center;
  gap:30px;
  list-style:none;
  margin:0;
  padding:0;
}

nav li{
  display:flex;
  align-items:center;
}

.nav a {
  color: #fff;
  margin-left: 24px;
  text-decoration: none;
}


.nav a {
  color: #0c0c0c;
  margin-left: 24px;
  text-decoration: none;
}

nav .btn-primary{
  background: var(--brand-blue);
  border-radius:6px;
  padding:0 20px;
}

nav .btn-primary:hover{
  background: var(--brand-blue-light);
  color:#fff;
}

nav a:hover{
  color: var(--brand-blue-light);
}
nav ul li a {
  text-decoration: none;
  color: #ffffff;
  padding: 9px 13px;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
nav ul li a.btn-contact {
  background-color: #01537b; /* color de ejemplo */
  color: #fff;
  border-radius: 5px;
  padding: 12px 18px; /* más grande que antes */
  font-size: 1.05rem; /* ligeramente más grande */
  font-weight: 500;   /* un poco más visible */
}

nav ul li a.btn-contact:hover {
  background-color: #01334a;
}




/* ================= HERO NUEVO LAYOUT ================= */
/* =================================================
   HERO BASE
   ================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  margin: 0 auto;        /* 🔥 centra SIEMPRE */
  padding: 0 20px;
  padding-top: 120px;
  text-align: center;
}

/* =================================================
   HERO BACKGROUND
   ================================================= */
.hero-wrapper {
  min-height: 100vh;
  background-image: url("../img/Milton Exponiendo 4-convertido-a-1920x1080-convertido-a-1820x1020-convertido-a-1400x1000.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
}

/* Overlay */
.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1); /* 🔥 casi nada */
  z-index: 1;
}
.hero-text {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
  
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Contenido arriba */
.header,
.hero {
  position: relative;
  z-index: 2;
}

/* =================================================
   GRID HERO (CLAVE: sin transform raros)
 
/* HERO BASE */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center; /* centrado horizontal */
  text-align: center;
  width: 100%;
}

/* CONTAINER */
.hero .container {
  max-width: 1200px;
  margin: 0 auto; /* 🔥 clave */
  padding: 0 20px;
}

/* GRID */
.hero-grid {
  max-width: 800px;
  margin: 0 auto;
}

.hero-text {
  margin: 0 auto;
  max-width: 850px; /* 🔥 más ancho */
  text-align: center;
  margin-top: 60px;
  
}
/* TÍTULO GRANDE PREMIUM */
.hero-text h1 {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 
    0 2px 6px rgba(0,0,0,0.4),
    0 8px 30px rgba(0,0,0,0.35);
}

/* SUBTEXTO MÁS ELEGANTE */
.hero-text p {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 30px auto;
  color: #ffffff;
  text-shadow: 
    0 1px 4px rgba(0,0,0,0.35),
    0 6px 20px rgba(0,0,0,0.3);
  
}
.hero-text h1 {
  text-shadow: 0 4px 25px rgba(0,0,0,0.6);
}

.hero-text p {
  text-shadow: 0 3px 15px rgba(0,0,0,0.5);
}
/* RESPONSIVE GRANDE */
@media (min-width: 1600px) {
  .hero-text h1 {
    font-size: 3.2rem;
  }

  .hero-text p {
    font-size: 1.2rem;
  }
}
/* BOTÓN (listo para usar) */
.hero-text .btn {
  display: inline-block;
  margin-top: 10px;
}

@media (min-width: 1600px) {

  .header-content {
    max-width: 1600px;
    padding: 0 80px; /* más aire */
  }

  /* Logo más grande */
 

   nav {
    margin-left: auto;
    padding-right: -10px; /* 👈 empuja más a la derecha */
  }

  nav ul {
    gap: 50px;
  }

  nav ul li a {
    font-size: 1.15rem;
  }

  nav ul li a.btn-contact {
    padding: 14px 24px;
    font-size: 1.1rem;
  }
}
.hero-buttons a {
  display: inline-block;
  padding: 14px 30px;
  background: #01537b;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.hero-buttons a:hover {
  background: #378ba4;
  transform: translateY(-2px);
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
  margin-bottom: -5px;
}

.services-header h2 {
  font-size: 2.8rem;
  color: var(--midnight-blue);
  font-weight: 700;
  margin-bottom: 35px;
}

.services-header p {
  color: #6b7280;
  font-size: 1.1rem;
}
/* Animación */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================================
   HERO SERVICIOS (AJUSTE FINO)
   ================================================= */
.hero-servicios {
  min-height: 80vh;
}

.hero-servicios .hero {
  min-height: 70vh;
  align-items: center;
  padding-top: 60px; /* baja el contenido */
}

/* =================================================
   RESPONSIVE
   ================================================= */
@media (max-width: 900px) {

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-grid {
    margin: 0 auto;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }
}
@media (min-width: 1600px) {

  .hero {
    padding-top: 240px;  /* 👈 antes 300 → ahora más arriba */
  }

  .hero-text h1 {
    font-size: 3.4rem;
  }

  .hero-text p {
    font-size: 1.3rem;
  }

}
@media (min-width: 1600px) {

  .header-content {
    max-width: 1600px;
    padding: 0 80px; /* más aire */
  }

 

   nav {
    margin-left: auto;
    padding-right: -10px; /* 👈 empuja más a la derecha */
  }

  nav ul {
    gap: 50px;
  }

  nav ul li a {
    font-size: 1.15rem;
  }

  nav ul li a.btn-contact {
    padding: 14px 24px;
    font-size: 1.1rem;
  }
}
/* ================= CONTACTO ELEGANTE INTERNACIONAL ================= */

.contact-section {
  padding: 160px 20px;
  background: #ffffff;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Intro */
.contact-intro {
  text-align: center;
  margin-bottom: 80px;
}

.contact-intro span {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--brand-blue);
  font-weight: 600;
}

.contact-intro h2 {
  font-size: 3rem;
  font-weight: 700;
  margin: 20px 0;
  line-height: 1.2;
  color: #111;
}

.contact-intro p {
  max-width: 600px;
  margin: 0 auto;
  color: #666;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Formulario limpio */
.contact-form-pro {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Inputs estilo editorial */
.contact-form-pro input,
.contact-form-pro textarea {
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 16px 4px;
  font-size: 1rem;
  background: transparent;
  transition: all 0.3s ease;
  outline: none;
}

.contact-form-pro input:focus,
.contact-form-pro textarea:focus {
  border-bottom: 1px solid var(--brand-blue);
}

/* Textarea */
.contact-form-pro textarea {
  min-height: 140px;
  resize: none;
}

/* Botón sobrio */
.contact-form-pro button {
  margin-top: 30px;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form-pro button:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-intro h2 {
    font-size: 2.2rem;
  }
}

/* =================================================
   SERVICIOS – INTERCALADO REAL Y MÁS COMPACTO
   ================================================= */
/* =================================================
   SERVICIOS – ESTILO CORPORATIVO SERIO
   ================================================= */
/* ===============================
   SERVICES SECTION - PREMIUM
================================= */
/* =================================================
   SECCIÓN SERVICIOS
   ================================================= */

.services-row{
  max-width:1200px;
  margin:160px auto; /* antes 200px, muy grande */
  padding:0 60px;
  display:flex;
  flex-direction:column;
  gap:140px; /* antes 160 */
}

/* ===== BLOQUE ===== */

.service-item{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
  align-items:center;
  position:relative;
}

/* Línea divisoria elegante */
.service-item:not(:last-child)::after{
  content:"";
  position:absolute;
  bottom:-70px;
  left:0;
  width:100%;
  height:1px;
  background:linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.08),
    transparent
  );
}

/* ===== IMAGEN ===== */

.service-item img{
  width:100%;
  height:420px;
  object-fit:cover;
  border-radius:14px;
  transition:transform .6s ease, box-shadow .6s ease;
  box-shadow:0 25px 50px rgba(0,0,0,.08);
}

/* Hover elegante */
.service-item img:hover{
  transform:scale(1.04);
  box-shadow:0 35px 70px rgba(0,0,0,.12);
}

/* Intercalado */
.service-item:nth-child(even) img{
  order:2;
}

.service-item:nth-child(even) .service-text{
  order:1;
}

/* ===== TEXTO ===== */

.service-text{
  max-width:540px;
}

/* Etiqueta superior */

.service-label{
  font-size:.75rem;
  letter-spacing:4px;
  font-weight:600;
  color:var(--brand-blue);
  text-transform:uppercase;
  margin-bottom:18px;
  display:inline-block;
  position:relative;
}

.service-label::after{
  content:"";
  display:block;
  width:36px;
  height:2px;
  background:var(--brand-blue);
  margin-top:10px;
  opacity:.6;
}

/* ===== TITULO ===== */

.service-text h3{
  font-size:2.3rem;
  font-weight:700;
  line-height:1.25;
  margin-bottom:26px;
  color:var(--midnight-blue);
  letter-spacing:-.5px;
}

/* ===== DESCRIPCIÓN ===== */

.service-description{
  font-size:1.08rem;
  line-height:1.85;
  color:#4b5563;
  margin-bottom:40px;
}

/* ===== LISTA ===== */

.service-text ul{
  list-style:none;
  padding:0;
}

.service-text ul li{
  position:relative;
  padding-left:26px;
  margin-bottom:15px;
  font-size:1rem;
  color:#374151;
  transition:transform .3s ease;
}

.service-text ul li:hover{
  transform:translateX(6px);
}

/* Línea minimalista */

.service-text ul li::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  width:12px;
  height:2px;
  background:var(--brand-blue);
  transition:width .3s ease;
}

.service-text ul li:hover::before{
  width:18px;
}

/* ===== META DATA ===== */

.service-meta{
  display:flex;
  gap:70px;
  margin-top:45px;
  padding-top:28px;
  border-top:1px solid rgba(0,0,0,.05);
}

.meta-number{
  font-size:1.6rem;
  font-weight:700;
  color:var(--midnight-blue);
  display:block;
}

.meta-label{
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:2px;
  color:#6b7280;
}

/* ===============================
   SEPARADOR
   =============================== */

.services-separator{
  width:85%;
  height:1px;
  background:rgba(1,83,123,.25);
  margin:0 auto 10px;
}
/* ================= FOOTER COMPLETO CON LOGO ================= */
footer{
  background: var(--midnight-blue);
  color: #fff;
  padding: 50px 20px 20px 20px;
  font-size: 0.95rem;
}
.footer-contact {
  color: #fff;
}

.footer-contact h4 {
  margin-bottom: 18px;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.footer-contact .contact-item img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: 0.85;
}

.footer-contact .contact-item span {
  line-height: 1.4;
}
footer a{
  color: #e0f0ff;
  text-decoration: none;
}

footer a:hover{
  color: var(--brand-blue-light);
}

.footer-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 40px;
  max-width: var(--max-width);
  margin: auto;
}

.footer-grid h4{
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.footer-grid ul{
  list-style: none;
  padding: 0;
}

.footer-grid ul li{
  margin-bottom: 8px;
}

.footer-bottom{
  text-align:center;
  padding-top:20px;
  font-size:0.85rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top:30px;
}

/* ================= LOGO + CONTACTO ================= */
footer .footer-top {
  display: flex;
  justify-content: space-between; /* separa logo y resto */
  align-items: flex-start;
  gap: 40px; /* espacio entre el logo y el resto del contenido */
  padding-bottom: 20px;
}

.footer-logo {
  margin-left: 0; /* logo pegado a la izquierda */
}

.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
}


.cta-blue {
  background: #fff; /* azul Von Hesse */
  color: #01537b; /* texto por defecto blanco */
}

.cta-blue .section-subtitle {
  color: #01537b; /* un azul clarito para subtitulo */
}

.hamburger-btn {
  font-size: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2000;
  display: none; /* 🔹 oculto por defecto en pantallas grandes */
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Iconos dentro del botón */
.hamburger-btn .hamburger-icon {
  display: block;
  color: #1962ea;
}

.hamburger-btn .close-icon {
  display: none;
  color: #000;
}

/* Cuando el menú está abierto */
.hamburger-btn.open .hamburger-icon {
  display: none;
}
.hamburger-btn.open .close-icon {
  display: block;
}

/* ================= MENÚ HAMBURGUESA ================= */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  padding: 190px 20px 20px 20px;
  background: rgba(25, 98, 234, 0.9);
  width: 280px;
  height: 100%;
  position: fixed;
  top: 0;
  right: -280px; 
  z-index: 1000;
  transition: right 0.3s ease;
}

.hamburger-menu.open {
  right: 0;
}

/* Animación de links */
.hamburger-menu a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  margin: 18px 0;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
}

.hamburger-menu.open a:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateX(0); }
.hamburger-menu.open a:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
.hamburger-menu.open a:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateX(0); }
.hamburger-menu.open a:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateX(0); }
.hamburger-menu.open a:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateX(0); }

.hamburger-menu a:hover {
  transform: translateX(5px);
}


/* Desktop: solo hero */
.hero-p-desktop {
  display: block;
  color: #fff; /* blanco para hero */
  margin-top: 16px;
  line-height: 1.6;
  font-size: 1rem;
}

.hero-p-mobile {
  display: none; /* oculto en desktop */
}
/* Desktop: menú normal */
.hamburger-btn {
  display: none; /* oculto en desktop */
}
.hamburger-menu {
  display: none; /* oculto en desktop */
}
 .services-intro-mobile {
    display: none;
  }

  .service-btn{

display:inline-block;
margin-top:22px;

padding:12px 24px;

background:#01537b;
color:white;

font-size:14px;
font-weight:600;

text-decoration:none;

border-radius:6px;

transition:all .25s ease;

}

.service-btn:hover{

background:#01537b;

transform:translateY(-2px);

}
html{
scroll-behavior:smooth;
}
/* SOLO MÓVILES */
@media (max-width: 768px) {
  .hamburger-btn.open-btn {
    display: flex;           /* siempre visible */
    position: absolute;      /* relativo a header */
    top: 20px;               /* desde arriba del header */
    right: 20px;             /* desde la derecha del header */
    z-index: 50;             /* suficiente solo para el header */
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .hamburger-btn.open-btn img {
    width: 100%;
    height: auto;
  }
}
.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 9999;

  font-size: 38px; /* tamaño grande de la flecha */
  background: none; /* quitamos el fondo azul */
  border: none;

  cursor: pointer;
  display: none; /* oculto por defecto */
  transition: transform 0.2s ease;
}

.scroll-top-btn:hover {
  transform: scale(1.2); /* pequeño efecto al tocar */
}

/* solo móviles */
@media (max-width:768px){
  .scroll-top-btn{
    display:block;
  }
}
/* =================================================
   RESPONSIVE MOBILE (≤900px)
   ================================================= */
@media (max-width: 900px) {
/* 🔒 BLOQUEAR SCROLL CUANDO EL MENÚ ESTÁ ABIERTO */
html:has(.hamburger-menu.open),
body:has(.hamburger-menu.open) {
  overflow: hidden;
  height: 100vh;
}

  /* ================= HEADER / NAV ================= */
 .header-content {
    display: flex;
    justify-content: space-between; /* logo a la izquierda, hamburguesa a la derecha */
    align-items: center;
    padding: 10px 20px;
  }
  nav ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    display: none; /* oculto por defecto */
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 10px;
    z-index: 10;
  }

  nav ul.show {
    display: flex;
  }

 
  /* HERO WRAPPER */
/* HERO WRAPPER */
.hero-wrapper {
  position: relative;
  min-height: auto;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-image: url("../img/Milton\ Reunion\ 4.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden; /* importante para overlay */
}

/* LÁMINA SEMITRANSPARENTE */
.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* lámina negra semitransparente */
  z-index: 1; /* debajo del texto, encima de la imagen */
}


  .hero,
.hero-wrapper {
  position: relative;
  z-index: 1;
}

  /* HERO GRID */
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    transform: none !important;  /* ⚡ quitar transform que movía todo fuera */
  }

/* TEXTO HERO */
.hero-text {
  text-align: center;   /* 🔥 mejor centrado en móvil */
  padding: 0 15px;
  margin: 0 auto;
}

/* H1 MOBILE FIX */
.hero-text h1 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 15px;

  white-space: normal;     /* 🔥 CLAVE */
  overflow: visible;       /* 🔥 CLAVE */
  text-overflow: unset;    /* 🔥 CLAVE */
}

/* TEXTO */
.hero-text p {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  margin-bottom: 20px !important;
}

/* BOTONES */
.hero-text .btn {
  display: block;        /* 🔥 uno debajo del otro */
  width: 100%;
  max-width: 260px;
  margin: 10px auto;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.95rem;
  border-radius: 30px;
}
/* Ocultar todos los <p> dentro del hero-short */
.hero-short .hero-text p {
  display: none !important;
}

.hero-text p {
  font-size: 1.03rem;
  margin-bottom: 25px;
}

.hero-text h1,
.hero-text p {
  color: #fff;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}
.hamburger-menu.open ~ .hero .hero-text {
  opacity: 0;
  pointer-events: none;
}
/* cuando el menú está abierto */
body.menu-open .hero {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

 
 /* HERO */
  .hero-grid {
    flex-direction: column;
  }

  /* Servicios: apilar imagen y texto */
  .service-item {
    flex-direction: column; /* Imagen arriba, texto abajo */
    flex: 1 1 100%;
  }

  .service-item img,
  .service-text {
    width: 100%;            /* Ocupa todo el ancho */
  }

  .service-item img {
    margin-bottom: 15px;    /* Espacio entre imagen y texto */
  }

  /* Contacto: apilar formulario e imagen */
  .contact-container {
    flex-direction: column;
  }

  .contact-form-pro,
  .contact-image {
    width: 100%;
  }

  .contact-image {
    margin-top: 20px;
  }

  /* Hero-p: se puede ajustar tamaño para móviles */
  .hero-p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
 


  /* HERO IMAGE */
  .hero-image img {
    max-width: 100%;
    height: auto;
    margin: 15px auto 0 auto;
    border-radius: 12px;
    display: block;
    z-index: 2;
  }

  /* HERO STAMPS */
  .hero-stamps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
  }

  .hero-stamps img {
    max-width: 70px;
    height: auto;
    display: block;
  }
  /* BOTÓN HAMBURGUESA - visible en mobile */
   /* Logo */
  .header-content .logo {
    max-width: 150px; /* ajusta según tu gusto */
    height: auto;
  }
  /* ================= HEADER / MENÚ HAMBURGUESA ================= */

/* Desktop: menú normal */
.hamburger-btn {
  display: none; /* oculto en desktop */
}
.hamburger-menu {
  display: none; /* oculto en desktop */
}

/* Mobile (≤900px) */

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* Botón hamburguesa */
.hamburger-btn {
  display: flex;
  position:relative;
  top: 20px;
  right: 20px;
  z-index: 10001;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Iconos dentro del botón */
.hamburger-btn .hamburger-icon { display: inline; color: #1962ea; }
.hamburger-btn .close-icon { display: none; color: #fff; }
.hamburger-btn.open .hamburger-icon { display: none; }
.hamburger-btn.open .close-icon { display: inline; }

/* Menú hamburguesa */
.hamburger-menu {
  width: 100vw;
  height: auto;             /* 🔹 dejar altura automática para que no corte el footer */
  min-height: 100vh;        /* para que siga ocupando toda la pantalla si hay pocos links */
  right: -100vw;            /* oculto al inicio */
  top: 0;
  padding: 60px 20px 20px 20px;
  background: #01537b;
  display: flex;
  flex-direction: column;
  align-items: center;      /* centra horizontalmente */
  justify-content: flex-start;
  gap: 20px;                /* espacio entre links */
  position: fixed;
  z-index: 10000;
  transition: right 0.3s ease;
  overflow-y: auto;         /* permite scroll si el contenido es muy grande */
}
/* Abrir menú */
.hamburger-menu.open {
  right: 0;
}

/* Links del menú siempre visibles */
.hamburger-menu a {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-align: center;
  font-size: 1.2rem;
  width: 100%;
  max-width: 250px;
  margin: 10px auto;       /* agrega espacio vertical entre links */
  padding: 10px 0;         /* aumenta el “clic area” y separación */
  color: #fff;
  text-decoration: none;
}

/* Botón de cerrar (“X”) siempre en esquina superior derecha */
.close-btn {
  display: flex;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10001;
  background: transparent;
  border: none;
  cursor: pointer;
}
.close-btn img {
  width: 48px;
  height: auto;
}

/* Overlay para bloquear scroll y oscurecer fondo */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s ease;
}
.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Bloquear scroll cuando el menú está abierto */
body.menu-open {
  overflow: hidden;
  height: 100vh;
}
/* Redes sociales dentro del menú */
.menu-socials {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.menu-socials a i {
  color: #fff;
  font-size: 1.4rem;
}

.menu-footer {
  margin-top: -90px;
  text-align: center;
  color: #fff;
  font-size: 1.1rem;
}


 
  footer .footer-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* todo a la izquierda */
    gap: 30px;
  }

  /* LOGO PRIMERO */
  
  .footer-logo {
    width: 100%;
    display: flex;
    justify-content: center;   /* 🔥 centra horizontal */
    margin: 0;
    padding: 0;
  }

  .footer-logo img {
    display: block;
    margin: 0 auto;            /* 🔥 mata espacio lateral */
    max-width: 570px;
  }
  /* CONTACTO */
  .footer-contact {
    order: 2;
    width: 100%;
  }

  .footer-contact h4 {
    margin-bottom: 12px;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .contact-item img {
    width: 18px;
    height: 18px;
  }

  /* REDES */
  .footer-social {
    order: 3;
    width: 100%;
  }

  .footer-social ul {
    padding-left: 0;
    list-style: none;
  }

  .footer-social li {
    margin-bottom: 8px;
  }
  
  .services-row .service-image,
  .services-row .service-image img,
  .services-row img.service-img {
    display: none !important;
  }

  /* ✅ ICONOS */
  .services-row .service-icon,
  .services-row i,
  .services-row svg {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Layout limpio */
  .services-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .services-row .service-card {
    padding: 18px 16px;
  }

.services-intro-mobile {
    display: block;          /* asegurarnos que se muestre solo en móviles */
    font-size: 1rem;         /* tamaño cómodo para leer en móvil */
    line-height: 1.5;        /* buen espaciado entre líneas */
    text-align: center;      /* centrado para que quede bonito */
    margin: 15px 10px;       /* margen superior e inferior y algo a los lados */
    color: #333;             /* color legible sobre fondo claro */
  }

  .hero-p {
    display: none; /* ocultar hero-p original en móviles */
  }
  /* Apilar cada servicio: imagen arriba, texto abajo */
  .services-row {
    display: flex;
    flex-direction: column;
    gap: 20px; /* espacio entre cada servicio */
  }
 .service-item {
    display: flex !important;
    flex-direction: column !important; /* apilar vertical */
  }
.service-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* línea fina y suave */
  padding-bottom: 20px; /* espacio debajo del contenido */
  margin-bottom: 20px;  /* espacio entre servicios */
}

/* Opcional: quitar línea del último servicio */
.services-row .service-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
  /* Imagen primero */
  .service-item img {
    order: -1 !important;  /* fuerza que la imagen quede arriba */
    width: 100%;
    height: auto;
    margin-bottom: 15px;   /* espacio con el texto */
  }

  .service-text {
    order: 0 !important;   /* texto debajo de la imagen */
    width: 100%;
  }
  .service-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .service-text ul {
    padding-left: 0;
    list-style: none;
  }

  .service-text ul li {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.4;
  }
  .services-intro-mobile {
  font-size: 1rem;
  line-height: 1.7;         /* 🔥 aire entre líneas */
  color: #374151;
  
  text-align: left;         /* 🔥 profesional */
  
  max-width: 92%;
  margin: 0 auto 20px auto; /* centrado pero texto alineado a la izquierda */
  
  word-break: normal;
  overflow-wrap: break-word;

  letter-spacing: 0.2px;
}
}
/* Evitar espacio en blanco horizontal */
html, body {
  overflow-x: hidden;
}
/* 🔒 BLOQUEAR SCROLL CUANDO MENÚ ESTÁ ABIERTO */


