/* =============================================
   TAXIMANOLOGC — ESTILOS GLOBALES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --black:      #0a0a0a;
  --yellow:     #f5c518;
  --yellow-dark:#d4a800;
  --yellow-soft:#fff9e0;
  --white:      #ffffff;
  --gray-100:   #f7f7f5;
  --gray-200:   #ebebeb;
  --gray-400:   #9a9a9a;
  --gray-600:   #555555;
  --gray-800:   #222222;

  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 40px rgba(0,0,0,0.13);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- TIPOGRAFÍA ---- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

p { max-width: 65ch; }

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

section { padding: 5rem 0; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-brand img {
  height: 38px;
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--yellow);
  letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 0.68rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-200);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(245,197,24,0.12);
  color: var(--yellow);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--black) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 50px !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--yellow-dark) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(245,197,24,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,197,24,0.15);
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  border: 1px solid rgba(245,197,24,0.3);
  margin-bottom: 1.25rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero h1 span { color: var(--yellow); }

.hero-desc {
  color: var(--gray-400);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-feat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--gray-400);
}
.hero-feat svg { color: var(--yellow); flex-shrink: 0; }

.hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img-wrap img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.hero-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-md);
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,197,24,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1ab755;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow-dark);
  background: var(--yellow-soft);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.section-head {
  margin-bottom: 3rem;
}
.section-head h2 { margin-bottom: 0.6rem; }
.section-head p { color: var(--gray-600); font-size: 1.05rem; }

/* ============================================
   FEATURES / ICONOS
   ============================================ */
.features { background: var(--gray-100); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--yellow-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.feature-card h3 { margin-bottom: 0.4rem; }
.feature-card p { color: var(--gray-600); font-size: 0.92rem; max-width: 100%; }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--yellow);
  padding: 3.5rem 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--black); }
.cta-band p { color: rgba(0,0,0,0.65); margin-top: 0.3rem; }

/* ============================================
   RUTAS
   ============================================ */
.rutas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}
.ruta-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ruta-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 4px 20px rgba(245,197,24,0.15);
}
.ruta-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.ruta-route { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 1.1rem; line-height: 1.5; }
.ruta-meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.ruta-meta span {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--gray-100);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  color: var(--gray-800);
}
.ruta-meta .price {
  background: var(--yellow-soft);
  color: var(--yellow-dark);
}

/* ============================================
   PÁGINA CONÓCENOS
   ============================================ */
.conocenos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.conocenos-img { display: flex; align-items: center; justify-content: center; }
.conocenos-img img {
  width: 100%; max-width: 520px;
  border-radius: var(--radius-lg);
  object-fit: contain;
  aspect-ratio: auto; background: var(--gray-100);
}
.conocenos-content h1 { margin-bottom: 1rem; }
.conocenos-content p { color: var(--gray-600); margin-bottom: 1.5rem; }
.check-list { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.check-list li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--yellow);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.servicio-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.servicio-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 4px 20px rgba(245,197,24,0.12);
}
.servicio-emoji {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}
.servicio-card h3 { margin-bottom: 0.5rem; }
.servicio-card p { color: var(--gray-600); font-size: 0.92rem; max-width: 100%; }

/* ============================================
   CONTACTO / FORMULARIO
   ============================================ */
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contacto-info h1 { margin-bottom: 0.75rem; }
.contacto-info p { color: var(--gray-600); margin-bottom: 2rem; }
.info-blocks { display: flex; flex-direction: column; gap: 1.1rem; }
.info-block {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.info-block-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-block-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.info-block-text span { font-size: 0.88rem; color: var(--gray-600); }

.form-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-card h2 { margin-bottom: 0.3rem; }
.form-card .form-sub { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--yellow);
}
.form-group textarea { resize: vertical; min-height: 90px; }

/* ============================================
   AVISO LEGAL / PRIVACIDAD
   ============================================ */
.legal-page { padding: 5rem 0; }
.legal-page h1 { margin-bottom: 2.5rem; }
.legal-section { margin-bottom: 2.5rem; }
.legal-section h2 {
  font-size: 1.1rem;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}
.legal-section p, .legal-section li { color: var(--gray-600); font-size: 0.94rem; margin-bottom: 0.5rem; }
.legal-section ul { padding-left: 1.2rem; list-style: disc; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black);
  color: var(--gray-400);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-brand .brand-name { color: var(--yellow); font-size: 1.1rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 0.75rem; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================
   POPUP HORARIO NOCTURNO
   ============================================ */
.night-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.night-overlay.active { display: flex; }
.night-box {
  background: var(--black);
  border: 2px solid rgba(245,197,24,0.3);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
}
.night-icon { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.night-box h2 {
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.night-box p { color: var(--gray-400); font-size: 0.95rem; margin-bottom: 1.5rem; max-width: 100%; }
.night-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,197,24,0.1);
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(245,197,24,0.25);
  margin-bottom: 1.75rem;
}
.night-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition);
}
.night-wa:hover { background: #1ab755; }
.night-note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* ============================================
   POPUP COOKIES
   ============================================ */
.cookie-bar {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 740px;
  background: var(--black);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  z-index: 8000;
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-bar.visible { display: flex; }
.cookie-text {
  flex: 1;
  min-width: 240px;
}
.cookie-text p {
  font-size: 0.85rem;
  color: var(--gray-400);
  max-width: 100%;
}
.cookie-text a { color: var(--yellow); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.65rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-accept:hover { background: var(--yellow-dark); }
.cookie-reject {
  background: transparent;
  color: var(--gray-400);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-reject:hover { border-color: rgba(255,255,255,0.3); color: var(--white); }

/* ============================================
   MOBILE NAV
   ============================================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 71px;
  left: 0;
  right: 0;
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 850;
  flex-direction: column;
  gap: 0.3rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--gray-200);
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover { background: rgba(245,197,24,0.1); color: var(--yellow); }
.mobile-nav .btn-whatsapp {
  margin-top: 0.5rem;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 50px;
}

/* ============================================
   PÁGINA INTERNA — HERO SIMPLE
   ============================================ */
.page-hero {
  background: var(--black);
  padding: 4rem 0 3.5rem;
  border-bottom: 3px solid var(--yellow);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { color: var(--gray-400); font-size: 1rem; max-width: 55ch; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--yellow); }
.breadcrumb span { color: var(--gray-600); }

/* ============================================
   ANIMACIONES ENTRADA
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-inner,
  .conocenos-inner,
  .contacto-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero { padding: 4rem 0; }
  .hero-img-wrap { order: -1; }
  .conocenos-img { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  section { padding: 3.5rem 0; }
}
