/* =============================================
   HORIZONTE SEGURO – Estilos principales
   Paleta: #1C436E | #E59B2E | #8AA9BD
   ============================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #1C436E;
  --primary-dark: #152f50;
  --accent:    #E59B2E;
  --accent-dark: #c9851a;
  --secondary: #8AA9BD;
  --light:     #f8fafc;
  --gray:      #64748b;
  --gray-light:#e2e8f0;
  --white:     #ffffff;
  --text:      #1e293b;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(28,67,110,.10);
  --shadow-lg: 0 8px 40px rgba(28,67,110,.16);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 4px 16px rgba(229,155,46,.4); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn--white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn--white:hover { background: var(--light); box-shadow: 0 4px 16px rgba(0,0,0,.12); }

.btn--lg { padding: .9rem 2.25rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---------- SECTION UTILS ---------- */
.section { padding: 5rem 0; }
.section--alt { background: var(--light); }
.section--dark { background: var(--primary); }

.section__header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section__tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.section__tag--light { background: rgba(229,155,46,.85); }
.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section--dark .section__title { color: var(--white); }
.section__subtitle { color: var(--gray); font-size: 1.05rem; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 70px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}
.logo__img { height: 2rem; width: auto; display: block; }
.logo__text strong { font-weight: 800; }

.navbar__menu { margin-left: auto; }
.nav__list {
  display: flex;
  gap: .25rem;
}
.nav__link {
  padding: .5rem .85rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover,
.nav__link.active { color: var(--primary); background: rgba(28,67,110,.07); }

.navbar__cta {
  margin-left: .5rem;
  padding: .85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 3px 14px rgba(229,155,46,.45);
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(28,67,110,.88) 0%, rgba(36,80,128,.82) 60%, rgba(46,96,144,.78) 100%),
    url('../assets/img/recepcion.jpeg') center/cover no-repeat;
  padding-top: 70px;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(229,155,46,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(138,169,189,.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem 6rem;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(229,155,46,.2);
  border: 1px solid rgba(229,155,46,.4);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__subtitle strong { color: var(--white); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.stat { text-align: left; }
.stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat span { font-size: .82rem; color: rgba(255,255,255,.65); }
.stat__divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

.hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
}
.hero__wave svg { display: block; width: 100%; }

/* ===========================
   TRUST STRIP
   =========================== */
.trust-strip {
  background: var(--white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-strip__label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
}
.trust-strip__logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
}
.trust-logo__icon { font-size: 1.1rem; color: var(--accent); }

/* ===========================
   SERVICES
   =========================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.service-card--featured {
  background: linear-gradient(145deg, var(--primary) 0%, #245080 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-card--featured h3 { color: var(--white); }
.service-card--featured p { color: rgba(255,255,255,.8); }
.service-card--featured .service-card__list li { color: rgba(255,255,255,.75); }
.service-card--featured .service-card__list li::before { color: var(--accent); }

.service-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--accent);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 999px;
}

.service-card__icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .6rem;
}
.service-card p { color: var(--gray); font-size: .95rem; margin-bottom: 1.25rem; }

.service-card__list { margin-bottom: 1.5rem; }
.service-card__list li {
  font-size: .9rem;
  color: var(--gray);
  padding: .3rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.service-card__list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===========================
   PROCESO (STEPS)
   =========================== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.step {
  flex: 1;
  min-width: 160px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 1rem;
}
.step__content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
}
.step__content p { font-size: .88rem; color: var(--gray); }

.step__arrow {
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 1.5rem;
  line-height: 1;
}

/* ===========================
   CALENDLY / AGENDAR
   =========================== */
.calendly-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.calendly-placeholder {
  background: var(--white);
  border: 2px dashed var(--secondary);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
}
.calendly-placeholder__inner {
  max-width: 400px;
  margin: 0 auto;
}
.calendly-placeholder svg { margin: 0 auto 1.5rem; }
.calendly-placeholder h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: .75rem; }
.calendly-placeholder p { color: var(--gray); margin-bottom: 1.75rem; }
.calendly-placeholder__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.calendly-placeholder__actions .btn--outline { color: var(--primary); border-color: var(--primary); }
.calendly-placeholder__actions .btn--outline:hover { background: var(--primary); color: var(--white); }

/* ===========================
   NOSOTROS
   =========================== */
.nosotros__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.nosotros__text p { color: var(--gray); font-size: 1rem; }
.nosotros__features {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text);
}
.feature-item__icon {
  width: 24px; height: 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.nosotros__image-card {
  background: var(--primary);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.nosotros__image-placeholder {
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary) 0%, #245080 100%);
  color: rgba(255,255,255,.5);
  gap: 1rem;
  font-size: .9rem;
}
.nosotros__image-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.nosotros__image-stat {
  background: var(--accent);
  padding: 1.25rem 2rem;
  text-align: center;
}
.nosotros__image-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.nosotros__image-stat span { font-size: .85rem; color: rgba(255,255,255,.85); }

/* ===========================
   COMO LLEGAR
   =========================== */
.como-llegar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.como-llegar__image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.como-llegar__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 360px;
}

.como-llegar__content { display: flex; flex-direction: column; gap: 2rem; }

.llegar-block__title {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .9rem;
}
.llegar-block__title span {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.llegar-block__map-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: var(--white);
  padding: .7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: background var(--transition), transform var(--transition);
  margin-top: .5rem;
}
.llegar-block__map-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.llegar-block__map-btn svg { flex-shrink: 0; }

.transport-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.transport-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
}
.transport-item__badge {
  background: var(--primary);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  padding: .25rem .6rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: .1rem;
}
.transport-item__badge--green { background: #25a244; }
.transport-item p { font-size: .93rem; color: var(--text); margin: 0; line-height: 1.4; }
.transport-item p small { color: var(--gray); font-size: .82rem; }

@media (max-width: 768px) {
  .como-llegar__grid { grid-template-columns: 1fr; gap: 2rem; }
  .como-llegar__image img { min-height: 240px; }
}

/* ===========================
   FAQ
   =========================== */
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq__item:hover { box-shadow: var(--shadow); }
.faq__item.open { border-color: var(--secondary); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--accent); }

.faq__icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform var(--transition);
}
.faq__item.open .faq__icon { transform: rotate(45deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem;
}
.faq__answer p { font-size: .95rem; color: var(--gray); padding-bottom: 1.1rem; }
.faq__item.open .faq__answer { max-height: 300px; }

/* ===========================
   CONTACTO
   =========================== */
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contacto__info { padding-top: .5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.contact-item strong {
  display: block;
  color: var(--white);
  font-size: .9rem;
  margin-bottom: .2rem;
}
.contact-item p { color: rgba(255,255,255,.7); font-size: .95rem; }

.contacto__form-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .35rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(138,169,189,.25);
}
.form-group textarea { resize: vertical; }

.form-note {
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--gray);
  text-align: center;
}
.form-note a { color: var(--accent); font-weight: 600; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.7);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 1.5rem 3rem;
}

.footer__brand .navbar__logo { margin-bottom: 1rem; }
.footer__brand .logo__text { color: var(--white); }
.footer__brand p { font-size: .88rem; line-height: 1.6; max-width: 280px; }

.footer__links strong,
.footer__contact strong {
  display: block;
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer__links ul li { margin-bottom: .5rem; }
.footer__links ul a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__links ul a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 1.5rem;
  display: flex;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__bottom p { font-size: .83rem; color: rgba(255,255,255,.45); }
.footer__bottom em { font-style: italic; opacity: .7; }

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 72px; height: 72px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.55);
  transition: box-shadow var(--transition);
  animation: whatsapp-bounce 2.8s ease-in-out infinite;
}
.whatsapp-float:hover {
  animation: none;
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,.7);
}
@keyframes whatsapp-bounce {
  0%, 55%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-16px); }
  45%           { transform: translateY(-7px); }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .navbar__menu {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 1rem 1.5rem;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
    box-shadow: var(--shadow);
  }
  .navbar__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list { flex-direction: column; gap: .25rem; }
  .nav__link { display: block; padding: .75rem 1rem; }
  .navbar__cta { display: none; }
  .navbar__burger { display: flex; }

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

  .steps { flex-direction: column; }
  .step__arrow { transform: rotate(90deg); align-self: center; margin: 0; }

  .nosotros__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .contacto__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom .container { justify-content: center; text-align: center; }

  .hero__stats { gap: 1rem; }
  .stat__divider { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .trust-strip__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
