/* =====================================================================
   HR OUTSOURCING & CONSULTING SpA  -  Hoja de estilos principal
   ---------------------------------------------------------------------
   Paleta corporativa:
     Azul principal   #1e4d8c
     Azul oscuro      #163a6b
     Verde acento     #5cb85c
     Verde oscuro     #3B6D11
     Texto oscuro     #2c2c2a
     Gris texto       #55555a
     Gris borde/fondo #E5E7EB
     Blanco           #FFFFFF
   Tipografía: Verdana con fallback a sans-serif.

   ÍNDICE
     00. Variables y base
     01. Utilidades y layout
     02. Efectos (reveal al scroll, hover, pulso WhatsApp)
     03. Header (menú fijo / sticky)
     04. Hero
     05. Por qué elegirnos
     06. Portafolio modular (10 módulos)
     07. Problemas comunes
     08. Quiénes somos
     09. Cómo trabajamos + Preguntas frecuentes
     10. CTA
     11. Contacto (panel + formulario + mapa)
     12. Footer
     13. Botón flotante WhatsApp
     14. Responsive (tablet y móvil)
   ===================================================================== */


/* ============================ 00. Variables y base ============================ */
:root{
  --hro-azul:      #1e4d8c;
  --hro-azul-osc:  #163a6b;
  --hro-verde:     #5cb85c;
  --hro-verde-osc: #3B6D11;
  --hro-texto:     #2c2c2a;
  --hro-gris:      #55555a;
  --hro-gris-2:    #7a7a80;
  --hro-borde:     #E5E7EB;
  --hro-blanco:    #FFFFFF;
  --hro-dur:       .3s;
  --hro-ease:      ease;
  --hro-rev:       .5s;
}

*{ box-sizing: border-box; }

/* Fondo claro desde el primer instante: evita el "flash" negro mientras carga la página */
html{ background: #ffffff; }

body{
  margin: 0;
  font-family: Verdana, "Verdana Pro", Geneva, sans-serif;
  color: var(--hro-texto);
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3fa 45%, #f4f7fb 100%);
  -webkit-font-smoothing: antialiased;
}

a{ color: var(--hro-azul); text-decoration: none; }
a:hover{ color: var(--hro-verde-osc); }

img{ max-width: 100%; }


/* ============================ 01. Utilidades y layout ============================ */
.hro-wrap{ max-width: 1200px; margin: 0 auto; }
.hro-wrap--narrow{ max-width: 1060px; margin: 0 auto; }

.hro-section{ padding: 88px 24px; }

/* Eyebrow (texto pequeño verde sobre los títulos) */
.hro-eyebrow{
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hro-verde); font-weight: bold; margin-bottom: 16px;
}

.hro-h2{
  font-size: 34px; line-height: 1.2; margin: 0 0 16px; font-weight: bold;
  letter-spacing: -.01em; text-wrap: pretty; color: var(--hro-texto);
}
.hro-lead{ font-size: 14px; line-height: 1.75; color: var(--hro-gris); margin: 0; }
.hro-lead--mb{ margin-bottom: 28px; }
.hro-lead--mb-lg{ margin-bottom: 36px; }
.hro-h2--mb{ margin-bottom: 36px; }


/* ============================ 02. Efectos ============================ */
/* Aparición suave al hacer scroll (solo si hay JS; si no, todo visible) */
.js .hro-reveal{ opacity: 0; transform: translateY(18px);
  transition: opacity var(--hro-rev) var(--hro-ease), transform var(--hro-rev) var(--hro-ease); }
.js .hro-reveal.is-in{ opacity: 1; transform: none; }

/* Subrayado animado bajo los H2 */
.hro-h2--underline::after{
  content: ""; display: block; width: 56px; height: 3px; margin-top: 16px;
  border-radius: 3px; background: var(--hro-verde);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--hro-rev) var(--hro-ease) .12s;
}
.js .hro-h2--underline.is-in::after,
html:not(.js) .hro-h2--underline::after{ transform: scaleX(1); }
.hro-cta .hro-h2--underline::after{ margin-left: auto; margin-right: auto; transform-origin: center; }

/* Elevación de tarjetas al pasar el mouse */
.hro-card{ transition: transform var(--hro-dur) var(--hro-ease),
  box-shadow var(--hro-dur) var(--hro-ease), border-color var(--hro-dur) var(--hro-ease); }
.hro-card:hover{ transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(30,77,140,.3); border-color: #cfd6e2; }

/* Botones con leve elevación */
.hro-btn{ transition: transform var(--hro-dur) var(--hro-ease),
  box-shadow var(--hro-dur) var(--hro-ease), background var(--hro-dur) var(--hro-ease),
  border-color var(--hro-dur) var(--hro-ease); }
.hro-btn:hover{ transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce){
  .js .hro-reveal, .js .hro-reveal.is-in{ opacity: 1 !important; transform: none !important; transition: none !important; }
  .hro-card:hover, .hro-btn:hover{ transform: none !important; }
  .hro-h2--underline::after{ transform: scaleX(1) !important; transition: none !important; }
  .hro-wa::after{ animation: none !important; }
}


/* ============================ 03. Header (menú fijo) ============================ */
.hro-header{
  position: sticky; top: 0; z-index: 50; background: var(--hro-blanco);
  border-bottom: none;
  box-shadow: none;
  margin: 0; padding: 0;
}
.hro-main{ margin-top: 0; padding-top: 0; }
.hro-hero{ margin-top: 0; }
.hro-header__row{
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.hro-logo{ display: flex; align-items: center; flex-shrink: 0; }
.hro-logo img{ height: 58px; width: auto; display: block; }

.hro-nav{ display: flex; align-items: center; gap: 30px; margin-left: auto;
  font-size: 15px; letter-spacing: .01em; }
.hro-nav a{ color: var(--hro-texto); font-weight: bold; position: relative; display: inline-block; padding-bottom: 4px; }
.hro-nav a::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  border-radius: 2px; background: var(--hro-verde);
  transform: scaleX(0); transform-origin: left center; transition: transform var(--hro-dur) var(--hro-ease);
}
.hro-nav a:hover{ color: var(--hro-azul); }
.hro-nav a:hover::after{ transform: scaleX(1); }

.hro-btn-cotizar{
  background: var(--hro-azul); color: var(--hro-blanco); font-size: 13px; font-weight: bold;
  padding: 13px 26px; border-radius: 8px; box-shadow: 0 2px 10px rgba(30,77,140,.22);
  transition: background .2s, transform .2s;
}
.hro-btn-cotizar:hover{ background: var(--hro-azul-osc); color: var(--hro-blanco); transform: translateY(-1px); }


/* ============================ 04. Hero ============================ */
.hro-hero{ background: linear-gradient(180deg, #e9f0f9 0%, #f7f9fc 100%); }
.hro-hero__grid{
  max-width: 1200px; margin: 0 auto; padding: 44px 24px 52px;
  display: grid; grid-template-columns: 55fr 45fr; gap: 56px; align-items: stretch;
}

.hro-badge{
  display: inline-flex; align-items: center; gap: 9px; background: var(--hro-blanco);
  border: 1px solid var(--hro-borde); border-radius: 999px; padding: 7px 15px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hro-verde-osc); margin-bottom: 18px;
}
.hro-badge__dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--hro-verde); display: block; }

.hro-h1{
  font-size: 40px; line-height: 1.15; margin: 0 0 10px; font-weight: bold;
  letter-spacing: -.02em; color: var(--hro-texto); text-wrap: pretty;
}
.hro-h1 .hro-h1__accent{ color: var(--hro-azul); }

.hro-chips{ display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 26px; }
.hro-chip{
  display: inline-flex; align-items: center; gap: 7px; background: #eef6ec;
  border: 1px solid var(--hro-verde); color: var(--hro-azul); font-size: 12.5px; font-weight: bold;
  padding: 7px 14px; border-radius: 999px;
}

.hro-hero__text{ font-size: 15px; line-height: 1.75; margin: 0 0 26px; color: var(--hro-gris); max-width: 540px; text-wrap: pretty; }

.hro-hero__actions{ display: flex; flex-wrap: wrap; gap: 14px; }
/* Los dos botones del hero quedan del mismo ancho y centrados */
.hro-hero__actions .hro-btn{ min-width: 210px; justify-content: center; }

.hro-btn-wa{
  display: inline-flex; align-items: center; gap: 10px; background: var(--hro-verde);
  color: var(--hro-blanco); font-size: 14px; font-weight: bold; padding: 17px 30px; border-radius: 10px;
  box-shadow: 0 8px 22px rgba(92,184,92,.3);
}
.hro-btn-wa:hover{ background: var(--hro-verde-osc); color: var(--hro-blanco); }

.hro-btn-ghost{
  display: inline-flex; align-items: center; gap: 10px; background: var(--hro-blanco);
  color: var(--hro-azul); font-size: 14px; font-weight: bold; padding: 17px 30px; border-radius: 10px;
  border: 1px solid #cfd6e2;
}
.hro-btn-ghost:hover{ border-color: var(--hro-azul); color: var(--hro-azul); }

/* Bloque de beneficios con check */
.hro-benefits{
  display: flex; flex-direction: column; gap: 14px; margin-top: 28px; padding: 22px 24px;
  background: var(--hro-blanco); border: 1px solid var(--hro-borde);
  border-left: 3px solid var(--hro-verde); border-radius: 14px;
  box-shadow: 0 10px 30px -22px rgba(30,77,140,.45); max-width: 540px;
}
.hro-benefit{ display: flex; align-items: center; gap: 12px; }
.hro-benefit__check{
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--hro-verde);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px -2px rgba(92,184,92,.55);
}
.hro-benefit__text{ font-size: 13.5px; line-height: 1.55; color: var(--hro-texto); font-weight: bold; }

/* Foto del hero + tarjeta flotante */
.hro-hero__media{
  position: relative; width: 100%; max-width: 440px; margin: 0 auto; justify-self: center;
  align-self: center; height: 100%; max-height: 480px; min-height: 380px;
}
.hro-hero__photo{
  width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block;
  border-radius: 18px; border: 1px solid var(--hro-borde);
  box-shadow: 0 30px 70px -30px rgba(30,77,140,.35);
}
.hro-floatcard{
  position: absolute; bottom: 22px; left: -28px; background: var(--hro-blanco);
  border: 1px solid var(--hro-borde); border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 18px 40px -16px rgba(30,77,140,.4);
  display: flex; align-items: center; gap: 11px;
}
.hro-floatcard__icon{
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--hro-verde);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -4px rgba(92,184,92,.6);
}
.hro-floatcard__title{ font-size: 13px; font-weight: bold; color: var(--hro-azul); line-height: 1.3; }
.hro-floatcard__sub{ font-size: 11px; color: var(--hro-gris-2); margin-top: 3px; }

/* Movimiento suave de la tarjeta flotante */
.hro-floatcard--anim{ animation: hroFloatCard 3.4s ease-in-out infinite; }
@keyframes hroFloatCard{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce){
  .hro-floatcard--anim{ animation: none; }
}


/* ============================ 05. Por qué elegirnos ============================ */
.hro-why__head{ max-width: 640px; margin-bottom: 40px; }
.hro-why__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hro-feature{
  background: var(--hro-blanco); border: 1px solid var(--hro-borde); border-radius: 14px;
  padding: 26px; box-shadow: 0 2px 6px -4px rgba(44,44,42,.18);
}
.hro-feature__icon{
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.hro-feature__icon--blue{ background: var(--hro-azul); box-shadow: 0 6px 14px -6px rgba(30,77,140,.5); }
.hro-feature__icon--green{ background: var(--hro-verde); box-shadow: 0 6px 14px -6px rgba(92,184,92,.5); }
.hro-feature h3{ font-size: 16px; margin: 0 0 10px; font-weight: bold; color: var(--hro-texto); }
.hro-feature p{ font-size: 13px; line-height: 1.7; color: var(--hro-gris); margin: 0; }


/* ============================ 06. Portafolio modular ============================ */
.hro-modules__head{
  display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end;
  justify-content: space-between; margin-bottom: 40px;
}
.hro-modules__intro{ max-width: 620px; }
.hro-btn-quote{
  display: inline-flex; align-items: center; gap: 8px; background: var(--hro-verde);
  color: var(--hro-blanco); font-size: 13px; font-weight: bold; padding: 14px 26px; border-radius: 9px;
  box-shadow: 0 8px 22px -8px rgba(92,184,92,.5);
}
.hro-btn-quote:hover{ background: var(--hro-verde-osc); color: var(--hro-blanco); }

.hro-modules__grid{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.hro-module{
  position: relative; overflow: hidden; background: var(--hro-blanco);
  border: 1px solid var(--hro-borde); border-radius: 14px; padding: 24px 22px; min-height: 176px;
  display: flex; flex-direction: column; gap: 11px; box-shadow: 0 2px 6px -4px rgba(44,44,42,.18);
  transition: box-shadow .28s, transform .28s, border-color .28s;
}
.hro-module:hover{ box-shadow: 0 18px 38px -22px rgba(30,77,140,.3); transform: translateY(-3px); border-color: var(--hro-azul); }
.hro-module__icon{
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hro-module__icon--blue{ background: var(--hro-azul); box-shadow: 0 6px 14px -6px rgba(30,77,140,.5); }
.hro-module__icon--green{ background: var(--hro-verde); box-shadow: 0 6px 14px -6px rgba(92,184,92,.5); }
.hro-module h3{ font-size: 14px; margin: 0; font-weight: bold; line-height: 1.35; color: var(--hro-texto); }
.hro-module p{ font-size: 12px; line-height: 1.55; color: var(--hro-gris-2); margin: 0; }

/* Cara trasera que aparece al pasar el mouse */
.hro-module__back{
  position: absolute; inset: 0; background: var(--hro-blanco); padding: 24px 22px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  transition: opacity .28s, transform .28s; opacity: 0; transform: translateY(6px); pointer-events: none;
}
.hro-module:hover .hro-module__back{ opacity: 1; transform: translateY(0); }
.hro-module__back h3{ font-size: 13px; color: var(--hro-azul); }
.hro-module__back p{ font-size: 12px; line-height: 1.6; color: var(--hro-gris); }


/* ============================ 07. Problemas comunes ============================ */
.hro-problems__grid{
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center;
}
.hro-btn-solid{
  display: inline-flex; align-items: center; gap: 10px; background: var(--hro-azul);
  color: var(--hro-blanco); font-size: 13px; font-weight: bold; padding: 15px 28px; border-radius: 9px;
  transition: background .2s;
}
.hro-btn-solid:hover{ background: var(--hro-azul-osc); color: var(--hro-blanco); }

.hro-problems__list{ display: flex; flex-direction: column; gap: 14px; }
.hro-problem{
  display: flex; gap: 16px; align-items: flex-start; background: var(--hro-blanco);
  border: 1px solid #eef0f3; border-radius: 14px;
  padding: 20px 24px; box-shadow: 0 14px 30px -20px rgba(44,44,42,.35);
}
.hro-problem__icon{
  width: 44px; height: 44px; border-radius: 12px; background: #E0A63A;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 6px 14px -6px rgba(224,166,58,.6);
}
.hro-problem h3{ font-size: 15px; margin: 0 0 7px; font-weight: bold; color: var(--hro-texto); }
.hro-problem p{ font-size: 13px; line-height: 1.7; color: var(--hro-gris); margin: 0; }


/* ============================ 08. Quiénes somos ============================ */
.hro-about__head{ max-width: 780px; margin-bottom: 40px; }
.hro-about__lead{ font-size: 14px; line-height: 1.85; color: var(--hro-gris); margin: 0; text-wrap: pretty; }
.hro-values{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hro-value{
  background: var(--hro-blanco); border: 1px solid var(--hro-borde); border-radius: 14px;
  padding: 30px; box-shadow: 0 2px 6px -4px rgba(44,44,42,.18);
  display: flex; gap: 20px; align-items: flex-start;
}
.hro-value__icon{ width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hro-value__icon--blue{ background: var(--hro-azul); box-shadow: 0 6px 14px -6px rgba(30,77,140,.5); }
.hro-value__icon--green{ background: var(--hro-verde); box-shadow: 0 6px 14px -6px rgba(92,184,92,.5); }
.hro-value h3{ font-size: 16px; margin: 0 0 9px; font-weight: bold; color: var(--hro-texto); }
.hro-value p{ font-size: 13px; line-height: 1.7; color: var(--hro-gris); margin: 0; text-wrap: pretty; }


/* ============================ 09. Cómo trabajamos + FAQ ============================ */
.hro-work__grid{ display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: start; }
.hro-h2--sm{ font-size: 30px; }
.hro-steps{ position: relative; padding-left: 2px; }
.hro-steps__line{
  content: ""; position: absolute; left: 19px; top: 8px; bottom: 26px; width: 2px;
  background: linear-gradient(180deg, var(--hro-azul) 0%, var(--hro-verde) 100%); opacity: .28; z-index: 0;
}
.hro-step{ display: flex; gap: 20px; padding-bottom: 28px; }
.hro-step:last-child{ padding-bottom: 0; }
.hro-step__num{
  width: 38px; height: 38px; border-radius: 50%; color: var(--hro-blanco);
  font-size: 14px; font-weight: bold; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
  box-shadow: 0 0 0 5px var(--hro-blanco), 0 8px 18px -10px rgba(30,77,140,.6);
}
.hro-step__num--blue{ background: var(--hro-azul); }
.hro-step__num--green{ background: var(--hro-verde); }
.hro-step__body{ padding-top: 6px; }
.hro-step h3{ font-size: 15px; margin: 0 0 7px; font-weight: bold; color: var(--hro-texto); }
.hro-step p{ font-size: 13px; line-height: 1.7; color: var(--hro-gris); margin: 0; text-wrap: pretty; }

/* Acordeón de preguntas frecuentes (nativo, sin JS) */
.hro-faqs{ display: flex; flex-direction: column; gap: 12px; }
.hro-faq{ border: 1px solid var(--hro-borde); border-radius: 12px; background: var(--hro-blanco); overflow: hidden; }
.hro-faq summary{
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; font-size: 14px; font-weight: bold; color: var(--hro-texto);
}
.hro-faq summary::-webkit-details-marker{ display: none; }
.hro-faq summary:hover{ background: #f7f9fc; }
.hro-faq__sign{
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; background: #f1f5fa; color: var(--hro-azul);
  display: flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1;
}
.hro-faq__sign::before{ content: "+"; }
.hro-faq[open] .hro-faq__sign::before{ content: "\2013"; }
.hro-faq__answer{ padding: 0 26px 24px; }
.hro-faq__answer p{ font-size: 13px; line-height: 1.8; color: var(--hro-gris); margin: 0; max-width: 660px; }


/* ============================ 10. CTA ============================ */
.hro-cta-wrap{ padding: 0 24px 88px; }
.hro-cta{
  max-width: 1200px; margin: 0 auto; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #163a6b 0%, #1e4d8c 48%, #2a63ac 100%);
  border-radius: 18px; padding: 52px 40px 46px; text-align: center;
}
/* Brillo sutil que le da profundidad al fondo */
.hro-cta::before{
  content: ""; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(92,184,92,.22) 0%, rgba(92,184,92,0) 70%);
  pointer-events: none;
}
.hro-cta::after{
  content: ""; position: absolute; bottom: -50%; left: -8%; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.hro-cta > *{ position: relative; z-index: 1; }
.hro-cta .hro-h2{ font-size: 26px; line-height: 1.28; margin: 0 auto 12px; color: var(--hro-blanco); max-width: 640px; }
.hro-cta__text{ font-size: 14px; line-height: 1.7; color: #dbe6f5; margin: 0 auto; max-width: 560px; }
.hro-cta__actions{ display: flex; justify-content: center; margin-top: 22px; }
.hro-cta__note{ font-size: 11px; color: #cfdff2; margin-top: 12px; }


/* ============================ 11. Contacto ============================ */
.hro-contact__card{
  display: grid; grid-template-columns: 1fr 1fr; background: var(--hro-blanco);
  border: 1px solid var(--hro-borde); border-radius: 20px; overflow: hidden;
  box-shadow: 0 34px 70px -36px rgba(30,77,140,.42);
}
.hro-contact__panel{ background: var(--hro-azul); color: var(--hro-blanco); padding: 52px 44px; display: flex; flex-direction: column; }
.hro-contact__eyebrow{ font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8fd18f; font-weight: bold; margin-bottom: 16px; }
.hro-contact__panel h2{ font-size: 28px; line-height: 1.25; margin: 0 0 14px; font-weight: bold; letter-spacing: -.01em; color: var(--hro-blanco); text-wrap: pretty; }
.hro-contact__panel > p{ font-size: 13.5px; line-height: 1.75; color: #b9d2ec; margin: 0 0 34px; }
.hro-contact__list{ display: flex; flex-direction: column; gap: 20px; margin-bottom: 34px; }
.hro-contact__item{ display: flex; gap: 16px; align-items: center; color: var(--hro-blanco); }
a.hro-contact__item:hover{ color: #8fd18f; }
.hro-contact__ic{
  width: 42px; height: 42px; border-radius: 11px; background: var(--hro-verde);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 6px 14px -6px rgba(92,184,92,.7);
}
.hro-contact__meta{ display: flex; flex-direction: column; gap: 5px; }
.hro-contact__label{ font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: #9dbfe2; }
.hro-contact__value{ font-size: 15px; font-weight: bold; line-height: 1.5; }
.hro-map{ margin-top: auto; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); height: 200px; }
.hro-map iframe{ width: 100%; height: 100%; border: 0; display: block; }

/* Formulario */
.hro-form{ background: var(--hro-blanco); padding: 52px 44px; }
.hro-form__title{ font-size: 18px; margin: 0 0 6px; font-weight: bold; }
.hro-form__sub{ font-size: 12px; color: var(--hro-gris-2); margin: 0 0 30px; }
.hro-form__fields{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hro-field{ display: flex; flex-direction: column; gap: 8px; }
.hro-field--full{ grid-column: span 2; }
.hro-field span{ font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--hro-gris); font-weight: bold; }
.hro-field input, .hro-field select, .hro-field textarea{
  font-family: inherit; font-size: 13px; padding: 13px 14px; border: 1px solid var(--hro-borde);
  border-radius: 8px; background: #fbfcfd; color: var(--hro-texto); outline: none;
}
.hro-field textarea{ resize: vertical; }
.hro-field input:focus, .hro-field select:focus, .hro-field textarea:focus{ border-color: var(--hro-azul); background: var(--hro-blanco); }
.hro-form__submit{
  width: 100%; margin-top: 26px; background: var(--hro-azul); color: var(--hro-blanco); font-family: inherit;
  font-size: 14px; font-weight: bold; padding: 17px; border: none; border-radius: 10px; cursor: pointer; transition: background .2s;
}
.hro-form__submit:hover{ background: var(--hro-azul-osc); }
.hro-form__note{ font-size: 11px; color: #9aa2b1; margin: 16px 0 0; text-align: center; line-height: 1.6; }
/* Da forma decente al shortcode del formulario cuando reemplaces por Contact Form 7 / WPForms */
.hro-form .wpcf7 .hro-form__fields, .hro-form .wpforms-field-row{ margin: 0; }


/* ============================ 12. Footer ============================ */
.hro-footer{ background: var(--hro-blanco); color: var(--hro-texto); border-top: 1px solid var(--hro-borde); padding: 76px 24px 0; }
.hro-footer__grid{
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 44px; padding-bottom: 56px;
}
.hro-footer__logo{ display: inline-flex; margin-bottom: 22px; }
.hro-footer__logo img{ height: 44px; width: auto; display: block; }
.hro-footer__desc{ font-size: 14px; line-height: 1.8; color: var(--hro-gris); margin: 0; max-width: 300px; }
.hro-footer__title{ font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hro-azul); font-weight: bold; margin-bottom: 20px; }
.hro-footer__links{ display: flex; flex-direction: column; gap: 13px; font-size: 14px; }
.hro-footer__links a{ color: var(--hro-azul); }
.hro-footer__links a:hover{ color: var(--hro-verde); }
.hro-footer__office{ font-size: 14px; line-height: 1.8; color: var(--hro-gris); margin: 0; }

.hro-footer__bar{
  max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--hro-borde);
  padding: 26px 0 34px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
}
.hro-footer__copy{ font-size: 12px; color: var(--hro-gris-2); }
.hro-footer__social{ display: flex; gap: 10px; margin: 0 auto; }
.hro-social{ width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .25s, background .25s, border-color .25s; }
.hro-social:hover{ transform: translateY(-2px); }
.hro-social--in{ background: #0A66C2; border: 1px solid #0A66C2; }
.hro-social--in:hover{ background: #004182; border-color: #004182; }
.hro-social--ig{ background: linear-gradient(45deg, #F58529 0%, #DD2A7B 55%, #8134AF 100%); border: 1px solid transparent; }
.hro-social--ig:hover{ filter: saturate(1.15); }
.hro-footer__legal{ display: flex; align-items: center; gap: 24px; font-size: 13px; flex-shrink: 0; }
.hro-footer__legal a{ color: var(--hro-gris-2); }
.hro-footer__legal a:hover{ color: var(--hro-verde); }


/* ============================ 13. Botón flotante WhatsApp ============================ */
.hro-wa{
  position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 11px;
  background: var(--hro-verde); color: var(--hro-blanco); font-size: 13px; font-weight: bold;
  padding: 15px 22px; border-radius: 999px; box-shadow: 0 12px 34px -8px rgba(59,109,17,.6);
  transition: background .2s, transform .2s;
}
.hro-wa:hover{ background: var(--hro-verde-osc); color: var(--hro-blanco); transform: translateY(-2px); }
.hro-wa__dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--hro-blanco); display: block; }
.hro-wa::after{
  content: ""; position: absolute; inset: -7px; border-radius: 999px;
  border: 2px solid rgba(92,184,92,.5); animation: hroPulse 2.8s var(--hro-ease) infinite; pointer-events: none;
}
@keyframes hroPulse{ 0%{ transform: scale(.95); opacity: .6; } 70%,100%{ transform: scale(1.14); opacity: 0; } }


/* ============================ 13b. Página 404 ============================ */
.hro-404{ min-height: 78vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px;
  background: linear-gradient(180deg, #e9f0f9 0%, #f7f9fc 100%); }
.hro-404__box{ max-width: 560px; text-align: center; }
.hro-404__logo{ display: inline-flex; margin-bottom: 34px; }
.hro-404__logo img{ height: 52px; width: auto; }
.hro-404__code{ font-size: 96px; line-height: 1; font-weight: bold; letter-spacing: -.03em;
  color: var(--hro-azul); margin: 0 0 8px; }
.hro-404__title{ font-size: 26px; line-height: 1.2; font-weight: bold; color: var(--hro-texto); margin: 0 0 14px; }
.hro-404__text{ font-size: 14px; line-height: 1.75; color: var(--hro-gris); margin: 0 0 30px; }
.hro-404__actions{ display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-width: 640px){
  .hro-404__code{ font-size: 72px; }
  .hro-404__actions{ flex-direction: column; }
  .hro-404__actions .hro-btn{ width: 100%; justify-content: center; }
}


/* ============================ 13c. Páginas de contenido (política, términos) ============================ */
.hro-page{ padding: 72px 24px 96px; background: linear-gradient(180deg, #f7f9fc 0%, #eef3fa 100%); }
.hro-page__inner{ background: var(--hro-blanco); border: 1px solid var(--hro-borde); border-radius: 18px;
  padding: 56px 56px 60px; box-shadow: 0 24px 60px -40px rgba(30,77,140,.4); }
.hro-page__title{ font-size: 34px; line-height: 1.2; font-weight: bold; letter-spacing: -.01em;
  color: var(--hro-texto); margin: 0 0 8px; }
.hro-page__inner h2{ font-size: 20px; font-weight: bold; color: var(--hro-azul); margin: 34px 0 12px; }
.hro-page__inner h3{ font-size: 16px; font-weight: bold; color: var(--hro-texto); margin: 24px 0 8px; }
.hro-page__inner p,
.hro-page__inner li{ font-size: 14px; line-height: 1.8; color: var(--hro-gris); }
.hro-page__inner ul{ padding-left: 20px; }
.hro-page__inner li{ margin-bottom: 6px; }
.hro-page__inner a{ color: var(--hro-azul); text-decoration: underline; }
.hro-page__inner a:hover{ color: var(--hro-verde-osc); }
.hro-page__inner strong{ color: var(--hro-texto); }
.hro-page__inner hr{ border: none; border-top: 1px solid var(--hro-borde); margin: 32px 0; }
@media (max-width: 640px){
  .hro-page{ padding: 48px 16px 64px; }
  .hro-page__inner{ padding: 32px 24px 36px; }
  .hro-page__title{ font-size: 26px; }
}


/* ============================ 14. Responsive ============================ */
/* ---- Tablet ---- */
@media (max-width: 980px){
  .hro-hero__grid, .hro-problems__grid{ grid-template-columns: 1fr !important; gap: 44px; }
  .hro-work__grid{ grid-template-columns: 1fr; gap: 52px; }
  .hro-contact__card{ grid-template-columns: 1fr; }
  .hro-modules__grid{ grid-template-columns: repeat(3, 1fr); }
  .hro-why__grid{ grid-template-columns: repeat(2, 1fr); }
  .hro-hero__media{ height: auto; max-width: 340px; }
  .hro-section{ padding: 64px 24px; }
  .hro-cta{ padding: 48px 34px; }
  .hro-h1{ font-size: 34px; }
  .hro-h2{ font-size: 27px; }
  .hro-hero{ }
}
/* ---- Móvil ---- */
@media (max-width: 640px){
  .hro-nav{ display: none; }
  .hro-header__row .hro-btn-cotizar{ margin-left: auto; }
  .hro-header__row{ gap: 12px; padding: 12px 18px; }
  .hro-form__fields{ grid-template-columns: 1fr; }
  .hro-field--full{ grid-column: span 1; }
  .hro-form{ padding: 28px 22px; }
  .hro-contact__panel{ padding: 34px 24px; }
  .hro-modules__grid{ grid-template-columns: repeat(2, 1fr); }
  .hro-why__grid{ grid-template-columns: 1fr; }
  .hro-values{ grid-template-columns: 1fr; }
  .hro-hero, .hro-section{ padding-left: 18px; padding-right: 18px; }
  .hro-cta{ padding: 40px 24px; }
  .hro-footer__bar{ flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .hro-footer__social{ margin: 0; }
  .hro-h1{ font-size: 27px; }
  .hro-h2{ font-size: 22px; }
  .hro-floatcard{ left: 0; }
}

/* Contacto directo (botones en lugar del formulario) */
.hro-form--direct{ display: flex; flex-direction: column; justify-content: center; padding: 52px 40px; }
.hro-form__title--lg{ font-size: 24px; letter-spacing: -.01em; margin: 0 0 16px; }
.hro-form--direct .hro-form__sub{ font-size: 15px; margin: 0 0 30px; line-height: 1.7; }
.hro-direct__perks{ list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.hro-direct__perks li{ display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--hro-texto); }
.hro-direct__check{
  width: 24px; height: 24px; border-radius: 50%; background: var(--hro-verde);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hro-direct__actions{ display: flex; flex-direction: column; gap: 16px; align-items: center; }
.hro-direct__btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: bold; padding: 18px 28px; border-radius: 11px;
  width: 82%; box-sizing: border-box;
}
.hro-direct__btn--mail{
  background: var(--hro-blanco); color: var(--hro-azul);
  border: 2px solid var(--hro-azul);
}
.hro-direct__btn--mail:hover{ background: var(--hro-azul); color: var(--hro-blanco); }
@media (max-width: 680px){
  .hro-form--direct{ padding: 30px 22px; }
  .hro-direct__btn{ width: 100%; }
}

