/* ===== Ugih Dino — estilos ===== */

:root {
  --verde: #2e9b4e;
  --verde-oscuro: #1f7a3a;
  --teal: #6e98a3;
  --crema: #ece0c4;
  --crema-clara: #fdf7e8;
  --oro: #f6b93b;
  --naranja: #f2975e;
  --terracota: #c65a34;

  --piedra: #9a978d;
  --piedra-oscura: #6b685f;
  --arcilla: #b5622f;

  --texto: #3a2c1e;
  --texto-suave: #6b5d4c;
  --blanco: #ffffff;

  --radio: 24px;
  --radio-sm: 14px;
  --sombra: 0 12px 30px rgba(198, 90, 52, 0.15);

  --font-display: 'Baloo 2', sans-serif;
  --font-logo: 'Luckiest Guy', cursive;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--crema-clara);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 .5em;
  line-height: 1.15;
  color: var(--texto);
}

.hero h1 {
  font-family: var(--font-logo);
  font-weight: 400;
  letter-spacing: .01em;
  color: #f4801e;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 #000;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--texto-suave); }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  color: var(--terracota);
  background: rgba(198, 90, 52, .1);
  padding: .3em .9em;
  border-radius: 999px;
  font-size: .85rem;
  margin-bottom: .75em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .9em 1.8em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--oro);
  color: #4a2e00;
  box-shadow: 0 8px 20px rgba(246, 185, 59, .45);
}
.btn-primary:hover { background: #f5ad1f; }

.btn-ghost {
  background: transparent;
  color: var(--texto);
  border: 2px solid var(--crema);
}
.btn-ghost:hover { background: var(--crema); }

.btn-block { width: 100%; }
.btn-lg { padding: 1.1em 1.8em; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 247, 232, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(198, 90, 52, .12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
}

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

.logo-img-lg {
  height: 72px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2em;
}

.nav a {
  text-decoration: none;
  color: var(--texto);
  font-weight: 700;
}

.nav a.nav-cta {
  background: var(--verde);
  color: var(--blanco);
  padding: .6em 1.4em;
  border-radius: 999px;
}
.nav a.nav-cta:hover { background: var(--verde-oscuro); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--texto);
  border-radius: 2px;
}

/* ---------- Bunting (banderines) ---------- */
.bunting {
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 2px;
  padding-top: 10px;
  pointer-events: none;
}
.bunting::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(58, 44, 30, .25);
}
.bunting span {
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 20px solid var(--verde);
  filter: drop-shadow(0 3px 2px rgba(0,0,0,.12));
}
.bunting span:nth-child(7n+1) { border-top-color: #e4572e; }
.bunting span:nth-child(7n+2) { border-top-color: var(--naranja); }
.bunting span:nth-child(7n+3) { border-top-color: var(--oro); }
.bunting span:nth-child(7n+4) { border-top-color: var(--verde); }
.bunting span:nth-child(7n+5) { border-top-color: var(--teal); }
.bunting span:nth-child(7n+6) { border-top-color: #3f7cac; }
.bunting span:nth-child(7n+7) { border-top-color: #8e5fb0; }

.bunting-light::before { background: rgba(255,255,255,.35); }

/* ---------- Hero ---------- */
.hero {
  padding: 60px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(110,152,163,.18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(246,185,59,.2), transparent 45%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.hero-sub { font-size: 1.1rem; max-width: 46ch; }

.hero-actions {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin-top: 1.5em;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 90%;
  height: 90%;
  background: linear-gradient(145deg, var(--naranja), var(--oro));
  border-radius: 50% 50% 48% 52% / 55% 48% 52% 45%;
  opacity: .25;
  filter: blur(2px);
}

.hero-img {
  position: relative;
  width: min(100%, 420px);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

.deco {
  position: absolute;
  font-size: 2rem;
  color: var(--oro);
  animation: float 4s ease-in-out infinite;
}
.deco-1 { top: 5%; left: 0%; color: var(--verde); }
.deco-2 { bottom: 8%; right: 2%; color: var(--teal); animation-delay: 1s; }
.deco-3 { top: 40%; right: -4%; font-size: 2.5rem; color: var(--terracota); animation-delay: 2s; }
.deco-4 { top: -4%; right: 18%; font-size: 1.5rem; color: var(--oro); animation-delay: .5s; animation-duration: 3.2s; }
.deco-5 { top: 15%; left: -6%; font-size: 1.8rem; color: var(--terracota); animation-delay: 1.6s; animation-duration: 4.6s; }
.deco-6 { bottom: -3%; left: 20%; font-size: 1.4rem; color: var(--verde); animation-delay: 2.4s; animation-duration: 3.8s; }
.deco-7 { bottom: 22%; right: -6%; font-size: 1.6rem; color: var(--oro); animation-delay: .8s; animation-duration: 4.2s; }
.deco-8 { top: 60%; left: -7%; font-size: 1.3rem; color: var(--teal); animation-delay: 1.2s; animation-duration: 3.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-sub { font-size: 1.05rem; }

/* Quien es */
.quien-es { background: var(--blanco); }

.about-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  background: linear-gradient(160deg, var(--crema), #fff);
  border-radius: var(--radio);
  padding: 24px;
  box-shadow: var(--sombra);
}

.about-img {
  border-radius: var(--radio-sm);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5em 0 0;
  display: flex;
  flex-direction: column;
  gap: .6em;
  font-weight: 700;
  color: var(--texto);
}

/* Mensajes / cards */
.mensajes {
  background:
    radial-gradient(circle, rgba(110,152,163,.12) 10px, transparent 11px) 0 0/90px 90px,
    radial-gradient(circle, rgba(110,152,163,.12) 7px, transparent 8px) 45px 45px/90px 90px,
    var(--crema-clara);
}

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

.card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 32px;
  text-align: center;
  box-shadow: var(--sombra);
  border: 1px solid rgba(198,90,52,.08);
  display: flex;
  flex-direction: column;
}

.card-media {
  width: 120px;
  height: 120px;
  margin: 0 auto .8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


.card p { flex-grow: 0; }

.price {
  font-size: 1.1rem;
  color: var(--texto);
  margin-top: auto;
}
.price strong { color: var(--terracota); }

/* La cueva de Ugih (banner) */
.cueva-banner {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  color: var(--blanco);
}
.cueva-inner { max-width: 640px; margin: 0 auto; }
.cueva-banner h2 { color: var(--blanco); }
.cueva-banner p { color: rgba(255,255,255,.88); }
.eyebrow-light {
  background: rgba(255,255,255,.18);
  color: var(--oro);
}

/* Como funciona */
.como-funciona {
  background:
    radial-gradient(circle at 10% 10%, rgba(154,151,141,.25), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(154,151,141,.25), transparent 40%),
    var(--crema);
}

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

.step { text-align: center; }

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--blanco);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* Expresiones */
.expresiones-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.expresiones-img {
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

/* Pedido / formulario */
.pedido { background: var(--blanco); }

.pedido-inner { max-width: 720px; margin: 0 auto; }
.pedido-head { text-align: center; }

.form-card {
  background: var(--crema-clara);
  border: 1px solid rgba(198,90,52,.12);
  border-radius: var(--radio);
  padding: 32px;
  box-shadow: var(--sombra);
}

.form-row { margin-bottom: 1.2em; display: flex; flex-direction: column; gap: .4em; }

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}
.form-row-split > div { display: flex; flex-direction: column; gap: .4em; }

label { font-weight: 700; font-size: .95rem; }

input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .8em 1em;
  border-radius: var(--radio-sm);
  border: 2px solid rgba(198,90,52,.18);
  background: var(--blanco);
  color: var(--texto);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--oro);
}

.form-note {
  text-align: center;
  font-size: .9rem;
  margin-top: 1em;
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background-size: cover;
  background-position: center;
  color: var(--blanco);
  padding: 80px 0 40px;
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8em;
}

.footer-brand {
  display: flex;
  align-items: center;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}

.footer-inner p { color: rgba(255,255,255,.85); max-width: 46ch; }

.footer-copy { font-size: .85rem; margin-top: 2em; color: rgba(255,255,255,.6); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .expresiones-inner {
    grid-template-columns: 1fr;
  }
  .hero-media { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--crema-clara);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 1.2em;
    display: none;
    border-bottom: 1px solid rgba(198,90,52,.12);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .form-row-split { grid-template-columns: 1fr; }
}
