@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Quicksand', sans-serif;
  background: #fde8ec;
  color: #3d1f10;
}

/* ── NAVBAR ── */
.navbar {
  background: #fde8ec;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(61,31,16,0.06);
}

.navbar-cloud {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s;
}

.navbar-cloud:hover { transform: scale(1.05); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 230px 1fr 1fr;
  min-height: 420px;
}

.hero-cookies-col {
  background-image: url('galleback.png');
  background-size: cover;
  background-position: left center;
  overflow: hidden;
}

.hero-text-col {
  background: #fdfbf8;
  padding: 3.5rem 3rem 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(232, 80, 58, 0.25);
  border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%;
  bottom: -110px;
  right: -90px;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob-img {
  position: absolute;
  top: 30%;
  left: 38%;
  transform: translate(-50%, -50%);
  height: 60%;
  width: auto;
  object-fit: contain;
}

.hero-text-col h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #3d1f10;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.hero-text-col p {
  font-size: 0.92rem;
  color: #7a4a30;
  margin-bottom: 2rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.btn-hero {
  display: inline-block;
  background: transparent;
  color: #e8503a;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid #e8503a;
  transition: all 0.2s;
  align-self: flex-start;
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.4;
}

.btn-hero:hover { background: #e8503a; color: #fff; }

/* Hero — columna derecha (café) */
.hero-cafe-col {
  background: linear-gradient(145deg, #f5e6da 0%, #eddace 55%, #e3c9b8 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cafe-decor-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cafe-blob-1 {
  width: 220px;
  height: 220px;
  background: rgba(201,168,114,0.28);
  top: -70px;
  right: -50px;
}

.cafe-blob-2 {
  width: 160px;
  height: 160px;
  background: rgba(232,80,58,0.07);
  bottom: -50px;
  left: -20px;
}

.hero-cafe-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cafe-mostrador-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cafe-display-box {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.2rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 8px 28px rgba(61,31,16,0.14);
  margin-bottom: 1rem;
  min-width: 160px;
}

.cafe-box-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #3d1f10;
  letter-spacing: 1px;
}

.cafe-box-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  mix-blend-mode: multiply;
}

.cafe-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  color: #3d1f10;
  line-height: 1.5;
}

/* Franja roja divisor desktop */
.aliados-franja-desktop {
  background: #e8503a;
  height: 16px;
  width: 100%;
}

/* Toldo navbar-hero desktop */
.aliados-toldo-top {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: transparent;
}

.aliados-toldo-top img {
  width: 100%;
  height: auto;
  display: block;
}

/* Toldo navbar-hero móvil */
.aliados-toldo-mobile {
  display: none;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: transparent;
}

.aliados-toldo-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

/* Toldo divisor móvil */
.aliados-toldo-divider {
  display: none;
  background: #e8503a;
  height: 16px;
  width: 100%;
}

/* ══════════════════════════════
   BLOQUE INFERIOR
══════════════════════════════ */
.bottom-split {
  display: flex;
  min-height: 520px;
}

/* ─ IZQUIERDA: BENEFICIOS ─ */
.beneficios-seccion {
  flex: 1;
  background: #ffffff;
  padding: 3rem 2.5rem 2.5rem;
}

.section-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #3d1f10;
  margin-bottom: 2rem;
  text-align: center;
}

.grid-beneficios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.card-beneficio {
  text-align: center;
  padding: 0.8rem 0.4rem;
  background: transparent;
}

.card-beneficio .icono {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
}

.card-beneficio h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: #3d1f10;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.card-beneficio p { font-size: 0.7rem; color: #999; line-height: 1.5; }

.formatos-img {
  width: calc(100% + 2.5rem);
  margin-left: -2.5rem;
  border-radius: 16px;
  display: block;
}

/* Precios row */
.precios-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.precios-foto { flex: 1; }

.precios-img {
  width: 100%;
  max-width: 240px;
  border-radius: 16px;
  mix-blend-mode: multiply;
  display: block;
}

.precios-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(61,31,16,0.10);
  border: 1px solid #f0e0e5;
}

.precios-card-header {
  background: #e8503a;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  padding: 0.65rem 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.precio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
}

.precio-nombre {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #3d1f10;
}

.precio-unidades { font-size: 0.7rem; color: #a07060; }

.precio-valor {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #e8503a;
}

.precio-divider { height: 1px; background: #fde8ec; margin: 0 1.2rem; }

/* ─ DERECHA: FORMULARIO ─ */
.form-seccion {
  flex: 1;
  background: url('galle mejor.png') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}


.form-sparkle {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: #c9a872;
  opacity: 0.7;
  pointer-events: none;
}

/* Tablet/dispositivo mockup */
.form-device {
  background: #fff;
  border-radius: 22px;
  padding: 1.6rem 1.8rem 1.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 64px rgba(61,31,16,0.18);
  position: relative;
  z-index: 1;
  border-top: 8px solid #f0e0e5;
}

.device-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0c8cc;
  margin: -0.6rem auto 1rem;
}

.form-header { text-align: center; margin-bottom: 1.4rem; }

.form-logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #3d1f10;
  margin-bottom: 0.2rem;
}

.logo-v { font-style: italic; color: #e8503a; }

.form-header h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8503a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
}

.aliados-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.aliados-form input {
  width: 100%;
  padding: 0.72rem 1.1rem;
  border: 1.5px solid #f0e0e5;
  border-radius: 999px;
  background: #fdf5f7;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.86rem;
  color: #3d1f10;
  transition: border-color 0.2s;
}

.aliados-form input:focus {
  outline: none;
  border-color: #e8503a;
}

.form-row-inline {
  display: flex;
  gap: 0.55rem;
}

.form-row-inline input { flex: 1; }

.btn-solicitar {
  background: #e8503a;
  color: #fff;
  border: none;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  width: 100%;
  transition: filter 0.2s;
}

.btn-solicitar:hover { filter: brightness(1.1); }

.form-nota {
  font-size: 0.68rem;
  color: #a07060;
  text-align: center;
  line-height: 1.4;
}

/* ── FOOTER ── */
.footer {
  background: #e8503a;
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-links-top {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 0.4rem;
}
.footer-links-top a {
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-links-top a:hover { opacity: 0.75; }

.footer-left p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-right { display: flex; flex-direction: column; gap: 0.3rem; text-align: right; }

.footer-right a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-right a:hover { color: #e8503a; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-cookies-col { display: none; }
  .hero-cafe-col { min-height: 200px; }
  .hero-text-col { padding: 2.5rem 1.5rem 4rem; }
  .hero-text-col p, .btn-hero { position: relative; z-index: 2; }
  .hero-blob { z-index: 0; }
  .hero-text-col h1 { font-size: 1.4rem; }
  .aliados-franja-desktop { display: none; }
  .aliados-toldo-top { display: none; }
  .aliados-toldo-mobile { display: block; }
  .aliados-toldo-divider { display: block; }
  .hero-blob { background: rgba(232, 80, 58, 0.25); }
  .grid-beneficios { grid-template-columns: repeat(2, 1fr); }
  .formatos-img { width: calc(100% + 3rem); margin-left: -1.5rem; }
  .bottom-split { flex-direction: column; }
  .precios-row { flex-direction: column; gap: 1.5rem; }
  .form-row-inline { flex-direction: column; }
  .footer { flex-direction: row; gap: 0; text-align: left; }
  .footer-right { text-align: center; }
}
