/* =========================
   APP AI DELIVERY - styles.css
   Colores: --primary: #48B9E1, --secondary: #81E95E
   ========================= */

:root{
  --primary: #48B9E1;    /* celeste */
  --secondary: #81E95E;  /* verde */
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f7f9fc;
  --card: #ffffff;
  --radius: 12px;
  --max-width: 1200px;
  --gap: 20px;
  --container-pad: 20px;
}

/* --- Reset & base --- */
* { box-sizing: border-box; }
html,body { height: 100%; margin: 0; padding: 0; font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; background: var(--bg); color: var(--text); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--container-pad); }

/* Screen-reader only */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* --- Header / Nav --- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 120;
  box-shadow: 0 1px 8px rgba(15,25,40,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.logo img { height: 44px; display:block; }

/* Main nav (desktop) */
.main-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}
.main-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  transition: background .18s ease, color .18s ease, transform .12s ease;
  color: var(--text);
}
.main-nav a:hover { transform: translateY(-2px); }
.main-nav a.contact {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(72,185,225,0.12);
  border: none;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
  border-radius: 2px;
}

/* --- Hero --- */
.hero {
  padding: 56px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 32px;
  align-items: center;
}
.hero-content h1 {
  font-size: 2.2rem;
  margin: 0 0 12px;
  line-height: 1.05;
}
.hero-content p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-visual img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15,25,45,0.06);
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: var(--primary);
  color: white;
}
.btn.ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* --- About (rediseñado) --- */
.about {
  background: #f9fdfc; /* suave */
  padding: 56px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 36px;
  align-items: center;
}
.about-text h2 {
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 18px;
}
.about-text .highlight {
  color: var(--secondary);
  font-weight: 700;
}
.about-text .btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(72,185,225,0.12);
}
.about-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(10,20,40,0.06);
}

/* --- Areas / Stats --- */
.areas {
  padding: 56px 0;
}
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
.map-card img {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(10,20,40,0.04);
}
.stats-card { }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}
.stat {
  background: var(--card);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(10,20,40,0.04);
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}
.stat-label {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.95rem;
}

/* --- CTA Section (¿Hambriento?) --- */
.cta-section {
  padding: 48px 0;
  background: linear-gradient(90deg, rgba(129,233,94,1) 0%, rgba(129,233,94,0.95) 100%);
  color: #fff;
  margin-top: 22px;
  border-radius: 8px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cta-section h2 {
  color: #ffffff; /* palabra Hambriento en blanco */
  font-size: 1.8rem;
  margin: 0;
}
.cta-section p { margin: 0; color: rgba(255,255,255,0.95); }
.cta-section .cta-row { margin-top: 12px; display:flex; gap:12px; }
.cta-section .btn {
  border-radius: 8px;
  padding: 12px 18px;
  font-weight:800;
}
.cta-section .btn.primary {
  background: #fff;
  color: var(--secondary); /* verde texto */
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.cta-section .btn.ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.9);
}

/* --- Jobs --- */
.jobs {
  padding: 56px 0;
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10,20,40,0.04);
}
.card-body { padding: 14px; }
.card-body h3 { margin: 6px 0 8px; }
.card .link { color: var(--primary); font-weight: 700; }

/* --- Footer --- */
.site-footer {
  background: #fff;
  padding: 40px 0 28px;
  border-top: 1px solid #eef2f7;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
  margin-bottom: 18px;
}
.footer-logo { height: 36px; margin-bottom: 8px; }
.links { list-style: none; padding: 0; margin: 0; }
.links li { margin-bottom: 8px; }
.links a:hover { color: var(--primary); }
.download img { height: 40px; margin-right: 10px; }
.socials img { height: 24px; margin-left: 10px; vertical-align: middle; }
small { color: var(--muted); }

/* --- WhatsApp flotante --- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: inline-block;
}
.whatsapp-float img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(11,95,56,0.18);
  transition: transform .18s ease;
}
.whatsapp-float img:hover { transform: scale(1.06); }

/* --- Utilities --- */
.muted { color: var(--muted); }
.centered { display:flex; align-items:center; justify-content:center; }
.small { font-size: .95rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; text-align: left; }
  .areas-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
}

@media (max-width: 820px) {
  /* Mobile nav: hide default, show hamburger */
  .main-nav { display: none; position: fixed; right: 20px; top: 64px; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 10px 30px rgba(10,20,40,0.08); flex-direction: column; width: calc(100% - 48px); max-width: 320px; }
  .main-nav.open { display: flex; }
  .hamburger { display: block; }

  .cta-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-content { margin-bottom: 18px; }
  .about-image, .about-text { justify-self: center; }
}

@media (max-width: 560px) {
  .hero-content h1 { font-size: 1.6rem; }
  .about-text h2 { font-size: 1.5rem; }
  .whatsapp-float { left: 12px; bottom: 16px; }
  .whatsapp-float img { width: 56px; height: 56px; }
  .cta-section { padding: 30px 12px; }
}

/* small polish for focus states */
a:focus, button:focus, .btn:focus { outline: 3px solid rgba(72,185,225,0.18); outline-offset: 2px; }

/* --- Optional helper for centered sections if you want to reuse --- */
.section-centered { display:flex; align-items:center; justify-content:center; text-align:center; padding:40px 0; }

