:root {
  --coral: #d9584f;
  --coral-dark: #b8443c;
  --yellow: #efcb3f;
  --green: #5c9a6b;
  --green-dark: #457253;
  --cream: #fdf8f1;
  --ink: #2c2a26;
  --ink-soft: #5a5650;
  --whatsapp: #25d366;
  --radius: 14px;
  --max-w: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 241, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(44, 42, 38, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo-img {
  height: 92px;
  width: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.header-cta svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,42,38,0.15) 0%, rgba(44,42,38,0.05) 35%, rgba(30,25,20,0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 60px 24px 56px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 16px;
  font-weight: 700;
  max-width: 720px;
}

.hero h1 span { color: var(--yellow); }

.hero p.lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 560px;
  color: rgba(255,255,255,0.92);
  margin: 0 0 28px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5); }

.btn-primary svg { width: 20px; height: 20px; fill: #fff; }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ---------- Banda de leyendas ---------- */
.strip {
  background: var(--coral);
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
}

.strip-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll 22s linear infinite;
  width: max-content;
}

.strip-track span {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.strip-track span::after {
  content: "•";
  margin-left: 48px;
  color: var(--yellow);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; overflow-x: auto; }
}

/* ---------- Secciones generales ---------- */
section {
  padding: 76px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-head .kicker {
  color: var(--coral);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 0 0 14px;
  color: var(--ink);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Beneficios ---------- */
.benefits {
  background: #fff;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(44,42,38,0.06);
}

.benefit-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-card .icon svg { width: 24px; height: 24px; fill: #fff; }

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--ink);
}

.benefit-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Contacto / CTA ---------- */
.contact {
  background: var(--green);
  color: #fff;
  text-align: center;
}

.contact .section-head { margin: 0 auto 30px; text-align: center; }
.contact .section-head .kicker { color: var(--yellow); }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: rgba(255,255,255,0.9); }

.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.contact .btn-ghost {
  border-color: rgba(255,255,255,0.7);
}

/* ---------- Ubicación ---------- */
.location {
  background: var(--cream);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.location-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 14px;
}

.location-info p {
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(44,42,38,0.1);
  box-shadow: 0 12px 30px rgba(44,42,38,0.12);
}

.map-frame iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid var(--coral);
  color: var(--coral);
  transition: all 0.15s ease;
}

.link-pill:hover {
  background: var(--coral);
  color: #fff;
}

.link-pill svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 40px 0 26px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer .logo-img {
  height: 34px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--yellow); }

.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* ---------- Botón flotante WhatsApp ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
  z-index: 60;
  animation: pulse 2.4s ease-in-out infinite;
}

.float-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.85), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}

@media (max-width: 520px) {
  .header-cta span.txt { display: none; }
  .hero-content { padding: 40px 20px 40px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
