/* Landing: titular, vistazo de la guía, lo que te llevas y quién es Camila. */

.l { max-width: 1080px; margin: 0 auto; padding: 0 16px 48px; }

.l-top {
  position: sticky; top: calc(10px + env(safe-area-inset-top, 0px)); z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding: 9px 10px 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -22px rgba(20, 20, 20, 0.4);
}
.l-top-btn { padding: 9px 16px; font-size: 14px; }

.l-hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 38px; }
@media (min-width: 720px) { .l-hero { padding-top: 60px; } }

.l-ceja { animation: up .6s cubic-bezier(.16,1,.3,1) both; }
.l-hero h1 {
  margin-top: 18px; max-width: 19ch;
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04;
  font-size: clamp(32px, 8vw, 58px); text-wrap: balance;
  animation: up .6s .05s cubic-bezier(.16,1,.3,1) both;
}
.l-hero h1 span { display: block; font-style: italic; color: var(--gold); font-size: .82em; margin-top: 4px; }
.l-sub {
  margin-top: 16px; max-width: 46ch; color: var(--ink); font-weight: 500; font-size: 18px; text-wrap: pretty;
  animation: up .6s .12s cubic-bezier(.16,1,.3,1) both;
}
@media (min-width: 720px) { .l-sub { font-size: 20px; } }

/* vistazo: tres páginas reales de la guía, de lado y un poco inclinadas */
.peek { position: relative; width: 100%; max-width: 760px; margin-top: 30px; animation: up .7s .18s cubic-bezier(.16,1,.3,1) both; }
.peek::before {
  content: ""; position: absolute; inset: 6% 4% 18%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(71, 25, 44, 0.32), rgba(168, 132, 74, 0.14) 60%, transparent);
  filter: blur(28px);
}
.peek-cards {
  position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: center; padding-top: 14px;
  padding-bottom: 34px;
}
.pc {
  width: 52%; height: auto; border-radius: 10px; background: #fff;
  box-shadow: 0 40px 70px -24px rgba(42, 14, 26, 0.55), 0 12px 24px -10px rgba(20, 20, 20, 0.22), 0 0 0 1px rgba(20,20,20,.05);
}
.pc-a { transform: rotate(-6deg) translateY(30px); margin-right: -26%; z-index: 1; }
.pc-c { transform: rotate(6deg) translateY(30px); margin-left: -26%; order: 3; z-index: 1; }
.pc-b { transform: translateY(-4px) scale(1.06); order: 2; z-index: 3; }

.l-btn-xl { margin-top: 26px; padding: 17px 32px; font-size: 16px; }
@media (min-width: 720px) { .l-btn-xl { padding: 19px 40px; font-size: 17px; } }

.l-h2 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.06;
  font-size: clamp(30px, 6.4vw, 44px); text-wrap: balance;
}
.l-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* lo que te llevas: bloques grandes, el primero en el vino del logo */
.l-que { margin: 84px auto 0; max-width: 980px; }
.l-que .l-h2 { text-align: center; margin-bottom: 26px; }
.l-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .l-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
.l-card {
  display: grid; align-content: start; gap: 10px; min-height: 210px;
  padding: 28px 26px; border-radius: 22px; background: var(--cream); color: var(--ink);
  border: 1px solid rgba(42, 14, 26, 0.08);
  box-shadow: 0 24px 50px -36px rgba(42, 14, 26, 0.5);
}
.l-card b { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.12; letter-spacing: -0.015em; }
.l-card p { font-size: 16.5px; line-height: 1.5; color: var(--ink); max-width: 38ch; }
.l-n { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--gold); letter-spacing: .04em; }
.l-card-vino { background: linear-gradient(150deg, var(--wine-2), var(--wine) 70%); color: #fff; border-color: transparent; }
.l-card-vino p { color: #fff; }
.l-card-vino .l-n { color: #d9bf8c; }

/* quién te habla: foto mediana con su sombra, texto y cifras */
.l-yo {
  margin: 84px auto 0; max-width: 980px; display: grid; gap: 30px; align-items: center;
}
@media (min-width: 760px) { .l-yo { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; } }
.l-yo-foto { position: relative; width: 100%; max-width: 380px; justify-self: center; }
.l-yo-foto::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: 26px;
  background: linear-gradient(150deg, var(--wine-2), var(--wine));
}
.l-yo-foto img {
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px;
  box-shadow: 0 40px 70px -30px rgba(42, 14, 26, 0.6);
}
.l-yo-txt { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.l-yo-txt p { font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 44ch; }
.l-yo-txt .l-btn-xl { margin-top: 10px; }
.l-yo-dato { padding: 16px 18px; border-radius: 16px; background: var(--cream); border-left: 3px solid var(--gold); }
.l-yo-dato b { font-family: var(--serif); font-weight: 500; font-size: 1.12em; color: var(--wine); }

.l-foot { margin-top: 84px; padding-top: 26px; border-top: 1px solid var(--line); text-align: center; display: grid; justify-items: center; gap: 6px; }
.l-foot-logo { width: 96px; height: auto; margin-bottom: 8px; }
.l-foot span { font-size: 13px; font-weight: 600; }
.l-foot p { margin: 8px auto 0; max-width: 64ch; font-size: 11px; line-height: 1.5; color: var(--ink-3); }

.brand, .l-top-btn { white-space: nowrap; }
@media (max-width: 479px) {
  .l-top { padding: 7px 7px 7px 10px; gap: 8px; }
  .l-top .brand { gap: 7px; font-size: 14px; }
  .l-top .brand-foto { width: 30px; height: 30px; }
  .l-top .brand-logo { width: 32px; }
  .l-top-btn { padding: 9px 13px; font-size: 13px; }
}
@media (max-width: 359px) { .l-top .brand-logo { display: none; } }

html, body { overflow-x: clip; }

/* fondo del hero: las velas rojas bajan por la izquierda y, detrás de la guía,
   la curva sube en verde, rosa y dorado con destellos */
.l-hero > :not(.l-fondo) { position: relative; z-index: 1; }
.l-fondo {
  position: absolute; z-index: 0; top: -70px; bottom: -40px; left: 50%; width: 100vw; height: calc(100% + 110px);
  transform: translateX(-50%); pointer-events: none;
}
.l-fondo .velas { opacity: .3; }
.l-fondo .velas line { stroke-width: 2; }
.subida { stroke-dasharray: 1300; stroke-dashoffset: 1300; animation: trazo 2.4s .4s cubic-bezier(.16,1,.3,1) forwards; }
.subida-glow { animation: respira 4s ease-in-out infinite; }
.chispa { transform-box: fill-box; transform-origin: center; animation: chispa 3s ease-in-out infinite; opacity: 0; }
@keyframes trazo { to { stroke-dashoffset: 0; } }
@keyframes respira { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }
@keyframes chispa { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 45% { opacity: .95; transform: scale(1) rotate(25deg); } }
@media (prefers-reduced-motion: reduce) { .subida { stroke-dashoffset: 0; } .chispa { opacity: .8; } }

/* la tercera página del vistazo va difuminada: se intuye mucho contenido, no se lee */
.pc-c { filter: blur(2.6px) saturate(1.05); }

/* móvil: todo de arriba abajo. Fondo vertical, la guía en columna, bloques
   más compactos y los botones centrados. */
@media (max-width: 719px) {
  /* el dibujo entero, en pequeño, justo detrás de la guía */
  .l-fondo { top: 120px; bottom: auto; height: auto; aspect-ratio: 1440 / 900; width: 128vw; }
  .l-fondo .velas { opacity: .5; }
  .l-fondo .subida { stroke-width: 6; }
  .l-fondo .subida-glow { stroke-width: 16; }

  /* abanico como en escritorio, pero con las laterales más a la vista */
  .peek { max-width: 460px; margin-top: 18px; }
  .peek-cards { padding: 18px 0 30px; }
  .pc { width: 42%; }
  .pc-b { width: 54%; transform: translateY(-6px); }
  .pc-a { margin-right: -13%; transform: rotate(-7deg) translateY(22px); }
  .pc-c { margin-left: -13%; transform: rotate(7deg) translateY(22px); }

  .l-que { margin-top: 64px; }
  .l-grid { gap: 10px; }
  .l-card { min-height: 0; padding: 20px 20px 22px; gap: 6px; border-radius: 18px; }
  .l-card b { font-size: 21px; }
  .l-card p { font-size: 15.5px; }

  .l-yo { margin-top: 64px; gap: 26px; }
  .l-yo-foto { max-width: 300px; }
  .l-yo-txt { justify-items: center; text-align: center; }
  .l-yo-dato { border-left: 0; border-top: 3px solid var(--gold); }
}
@media (min-width: 720px) { .l-card { min-height: 170px; padding: 24px 24px 26px; } .l-card b { font-size: 24px; } }
.l-btn-xl { justify-self: center; align-self: center; }
