:root{
  --bg: #f4f6fb;
  --text: #0f172a;
  --muted: #64748b;

  --blue: #2563eb;         /* azul mockup */
  --blue-soft: rgba(37,99,235,0.16);

  --pill-bg: rgba(255,255,255,0.92);
  --border: rgba(15,23,42,0.06);
  --shadow: 0 10px 24px rgba(15, 23, 42, 0.06);

  --radius-pill: 999px;
}

*{ box-sizing:border-box; }

.app-body{
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* contenedor similar al mockup */
.app-container{
  max-width: 1100px;
}

/* ✅ sin “cuadro”: solo padding vertical */
.app-main{
  padding: 28px 0 60px;
}

/* NAVBAR */
.nav-wrap{
  padding-top: 18px;
}

.nav-pill{
  background: var(--pill-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  padding: 12px 16px;
}

.nav-row{
  display: flex;
  align-items: center;
  gap: 16px;
}

/* brand a la izquierda */
.nav-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 180px; /* ayuda a que el menu quede centrado */
}

.brand-icon{
  width: 18px;
  height: 18px;
  border: 4px solid var(--blue);
  border-right-color: transparent; /* forma tipo “C” */
  border-radius: 50%;
  display: inline-block;
}

.brand-name{
  font-weight: 700;
  color: var(--text);
}

/* menu centrado */
.nav-menu{
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 26px;

  /* Empuja el menú hacia la derecha */
  margin-left: auto;
  margin-right: 16px; /* mismo “aire” antes del botón teléfono */
}


.nav-link-item{
  text-decoration: none;
  font-weight: 500;
  color: rgba(37,99,235,0.70);
  padding: 8px 8px;
  border-radius: 12px;
}

.nav-link-item.is-active{
  color: var(--text);
}

.nav-link-item:hover{
  color: rgba(37,99,235,0.95);
}

/* botón teléfono */
.nav-phone{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--blue-soft);
  color: var(--blue);
  text-decoration: none;

  min-width: 40px;
}

.nav-phone:hover{
  background: rgba(37,99,235,0.22);
}

/* =========================
   HOME (Mockup replica)
========================= */

.home-hero{
  padding-top: 54px;
}

.hero-title{
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 16px 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #0f172a;
}

.hero-title2 {
  text-align: center;
  font-weight: 800;
}
.hero-line{
  display: block;
}

.hero-subtitle{
  margin: 0;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #64748b;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn-hero{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  border: 1px solid transparent;
}

.btn-hero:active{
  transform: translateY(1px);
}

.btn-hero-primary{
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}

.btn-hero-primary:hover{
  background: rgba(37, 99, 235, 0.92);
  color: #fff;
}

.btn-hero-secondary{
  background: #eef2f7;
  border-color: rgba(15, 23, 42, 0.08);
  color: #111827;
}

.btn-hero-secondary:hover{
  background: #e7ecf3;
  color: #111827;
}

.hero-image-wrap{
  border-radius: 26px;
  overflow: hidden;
  background: #e9eef5;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
  min-height: 320px;
}

.hero-image{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* HOW */
.home-how{
  padding-top: 60px;
}

.how-title{
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 18px 0;
  font-size: 2rem;
}

.how-card{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
  height: 100%;
  text-align: center;
}

.how-icon{
  width: 62px;
  height: 62px;
  border-radius: 999px;
  margin: 0 auto 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.10);
  color: var(--blue);
  font-size: 24px;
}

.how-icon-img{
  width: 170px;
  height: 170px;
  object-fit: contain;
  display: block;
}


.how-card-title{
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 8px 0;
  color: #111827;
}

.how-card-text{
  margin: 0;
  color: #64748b;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* =========================
   HOME - POR QUÉ ELEGIRNOS
========================= */
.home-section-title {
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0;
  font-size: 2rem;
}

.home-why {
  padding-top: 70px;
}

.why-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  text-align: center;
  height: 100%;
}

.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.10);
  color: var(--blue);
  font-size: 18px;
}

.why-title {
  margin: 0 0 6px 0;
  font-weight: 800;
  font-size: 1rem;
  color: #111827;
}

.why-text {
  margin: 0;
  color: rgba(37, 99, 235, 0.65);
  /* tono azulado como mockup */
  line-height: 1.45;
  font-size: 0.92rem;
}


/* =========================
   HOME - PASAJEROS FELICES
========================= */
.home-passengers {
  padding-top: 70px;
}

.photo-card {
  border-radius: 26px;
  overflow: hidden;
  background: #e9eef5;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);

  height: 280px;
  /* puedes subir a 300 si quieres más alto */
}

.photo-img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  /* clave: recorta bien sin deformar */
  object-position: center;
  /* centra el perro */
}

.photo-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 23, 42, 0.25);
  font-size: 34px;
}

/* =========================
   FOOTER 
========================= */
.site-footer {
  padding: 44px 0 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-grid .footer-col:nth-child(2) {
  justify-self: center;
  text-align: center;
}

/* Y centrar los iconos dentro de esa columna */
.footer-grid .footer-col:nth-child(2) .footer-social {
  justify-content: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-brand-name {
  font-weight: 800;
  color: #0f172a;
}

.footer-desc {
  margin: 0;
  max-width: 280px;
  color: rgba(37, 99, 235, 0.65);
  line-height: 1.45;
  font-size: 0.95rem;
}

.footer-title {
  margin: 0 0 10px 0;
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
}

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(37, 99, 235, 0.85);
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 1);
  color: rgba(37, 99, 235, 1);
}

.tiktok-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-legal {
  justify-self: end;
  text-align: right;
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer-link-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(37, 99, 235, 0.65);
  font-weight: 500;
}

.footer-link-btn:hover {
  color: rgba(37, 99, 235, 0.95);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  text-align: center;
  color: rgba(37, 99, 235, 0.55);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-legal {
    justify-self: start;
    text-align: left;
  }

  .footer-legal-links {
    align-items: flex-start;
  }
}

/* =========================
   HOME - CTA FINAL (azul)
========================= */
.home-cta {
  padding-top: 70px;
  padding-bottom: 34px;
  /* espacio antes del footer */
}

.cta-box {
  background: #1d63f2;
  /* azul fuerte mockup */
  border-radius: 26px;
  padding: 44px 22px;
  text-align: center;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.10);
}

.cta-title {
  margin: 0 0 18px 0;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 14px;
  background: #f2b21b;
  /* amarillo mockup */
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  transition: transform .08s ease, filter .15s ease;
}

.cta-btn:hover {
  filter: brightness(0.98);
  color: #111827;
}

.cta-btn:active {
  transform: translateY(1px);
}

/* =========================
   LOGO
========================= */

.brand-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

/* =========================
   RESPONSIVE (Mobile)
========================= */

/* Tablets y abajo */
@media (max-width: 991px) {
  .nav-brand {
    min-width: auto;
  }

  .nav-menu {
    margin-right: 10px;
    gap: 18px;
  }

  .home-hero {
    padding-top: 34px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }

  .hero-image-wrap {
    min-height: 260px;
  }

  .home-how,
  .home-why,
  .home-passengers {
    padding-top: 50px;
  }

  .photo-card {
    height: 240px;
  }
}

/* Celulares */
@media (max-width: 576px) {

  /* Navbar: que no se “desborde” */
  .nav-pill {
    padding: 10px 12px;
  }

  .nav-row {
    gap: 10px;
  }

  /* Menú: en móvil suele quedar muy apretado, lo escondemos y dejamos solo botón teléfono
     (si quieres menú hamburguesa después, lo hacemos) */
  .nav-menu {
    display: none;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  /* Hero */
  .home-hero {
    padding-top: 22px;
  }

  .hero-title {
    line-height: 0.98;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-hero {
    width: 100%;
  }

  /* botones uno debajo del otro */

  /* Cards */
  .how-card {
    padding: 22px 18px;
  }

  .why-card {
    padding: 16px 14px;
  }

  /* Fotos */
  .photo-card {
    height: 210px;
  }

  /* CTA azul */
  .cta-box {
    padding: 34px 18px;
  }

  .cta-btn {
    width: 70%;
  }

  .nav-brand {
    min-width: 0;
  }

  .brand-name {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* Asegura centrado y padding simétrico en móvil */
.app-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* El navbar nunca debe superar el ancho */
.nav-pill {
  max-width: 100%;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-hamburger {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(37, 99, 235, 0.14);
  color: rgba(37, 99, 235, 1);
  align-items: center;
  justify-content: center;
}

.nav-hamburger i {
  font-size: 22px;
}

.mobile-link {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: #0f172a;
}

.mobile-link:hover {
  background: rgba(15, 23, 42, 0.06);
}

/* Desktop: mover menú a la derecha y mantener separación con el teléfono */
@media (min-width: 992px) {
  .nav-menu {
    margin-left: auto;
    /* empuja el menú hacia la derecha */
    margin-right: 16px;
    /* espacio fijo antes del icono teléfono */
  }

  .nav-actions {
    margin-left: 0;
    /* evita que el bloque acciones empuje raro en desktop */
  }
}

/* =========================
   Página "Próximamente"
========================= */
.coming-wrap{
  padding: 64px 0;
}

.coming-card{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;

  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  padding: 34px 22px;

  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.coming-title{
  margin: 0 0 10px 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-size: clamp(3rem, 4vw, 2.5rem);
}

.coming-text{
  margin: 0 auto;
  max-width: 560px;
  color: blue;
  line-height: 1.55;
  font-size: 1.5rem;
}

.coming-actions{
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
