/* Casa Brownie: fidelidad a la maqueta editorial aprobada. */
.hero-photo .hero-photo-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.hero-motion.is-ready { opacity: 1; }
.hero-photo-shade, .hand-note { z-index: 2; }
.hero-photo-shade { position: absolute; pointer-events: none; }
.hero-photo { isolation: isolate; }
@media (prefers-reduced-motion: reduce) {
  .hero-motion { display: none !important; }
}
@media (max-width: 560px) {
  .hero-photo { min-height: 340px; }
  .hero-motion { object-position: center; }
}

/* La fotografía y el video de brownies abren el hero móvil. */
@media (max-width: 790px) {
  .hero { display: flex; flex-direction: column; }
  .hero-photo { order: -1; width: 100%; height: clamp(270px, 59vw, 455px); min-height: 270px; flex: 0 0 auto; }
  .hero-copy { order: 0; background: #f7ebe1; padding: clamp(26px, 5vw, 48px) 6% 30px; }
  .hero-gift { display: none; }
  .hero h1 { white-space: normal; font-size: clamp(45px, 9.8vw, 65px); line-height: 1.04; margin-top: 17px; }
  .hero h1 .love { display: inline-block; font-size: 1.24em; white-space: nowrap; margin-top: 0; line-height: .78; vertical-align: baseline; transform: rotate(-3deg); }
  .hero-copy > p { max-width: 34rem; }
  .hero-qualities { margin-top: 25px; }
}
@media (max-width: 560px) {
  .hero-photo { height: clamp(260px, 73vw, 355px); min-height: 260px; }
  .hero-copy { padding: 30px 7% 24px; }
  .hero h1 { font-size: clamp(42px, 11vw, 60px); letter-spacing: -.045em; }
  .hero h1 .love { font-size: 1.28em; letter-spacing: -.03em; }
  .hero-copy > p { font-size: 14px; line-height: 1.65; margin: 18px 0 20px; }
  .primary-button { gap: 0; min-height: 48px; }
  .hero-qualities { margin-top: 29px; }
  .flavor-hint { text-decoration: none; border-bottom: 1px solid #bd9b83; padding-bottom: 4px; }
}

/* Casa Brownie · orden narrativo editorial: ocasión > sabores > regalo > entrega > decisión.
   Inspirado en claridad de lectura y prueba visual; sin duplicar fotografías de catálogo. */
.flavor-guidance {
  margin: -7px 0 22px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: #8a6554;
}
.flavor { padding-bottom: 12px; }
.flavor-hint { display: none; }
.moments-strip {
  min-height: 356px;
  grid-template-columns: 28% 44% 28%;
  border-top: 1px solid rgba(128,82,56,.1);
  border-bottom: 1px solid rgba(128,82,56,.1);
}
.moment-illustration,
.moment-note {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.moment-illustration {
  background: radial-gradient(ellipse at 45% 16%,#ecd9c7 5%,#d9b89d 74%,#b99175 100%);
}
.moment-illustration::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: repeating-linear-gradient(112deg,transparent 0 21px,rgba(255,255,255,.035) 21px 22px);
}
.cb-gift-box {
  position:relative; isolation:isolate;
  width:min(64%,245px); aspect-ratio:1.19;
  background:linear-gradient(135deg,#b48d6e 0%,#cca98b 49%,#9b7358 100%);
  border:7px solid #9d7258; box-shadow:15px 20px 22px rgba(68,35,19,.21),inset 0 0 0 2px rgba(255,247,235,.33);
  transform:rotate(-9deg);
}
.cb-gift-band {
  position:absolute; left:43%; top:-10%; width:15%; height:120%;
  background:linear-gradient(90deg,#ae786d,#e1aaa1 45%,#be8379);
  box-shadow:0 1px 4px rgba(70,38,25,.23);
}
.cb-gift-band::after {
  content:"";position:absolute;left:-260%;top:41%;width:620%;height:19%;
  background:linear-gradient(0deg,#ae796e,#edb8ae 55%,#b27b72);
  box-shadow:0 1px 3px rgba(70,38,25,.18);
}
.cb-gift-label {
  position:absolute;z-index:2;left:22%;top:22%;
  width:61%;height:63%;background:#f9ede0;border:1px solid rgba(77,47,30,.14);
  box-shadow:0 4px 9px rgba(66,40,25,.16);
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  transform:rotate(7deg);text-align:center;color:#684638;
}
.cb-gift-label small {font-size:7px;letter-spacing:.13em;}
.cb-gift-label strong {font:400 clamp(18px,2.2vw,31px)/.92 'DM Serif Display',Georgia,serif;letter-spacing:-.045em;margin:6px 0;}
.cb-gift-label i {font-style:normal;font-size:23px;line-height:1;}
.moments-copy {padding:38px clamp(22px,3.5vw,62px);background:#f4e8dc;}
.moments-copy h2 {max-width:570px;line-height:1.04;}
.moments-copy h2 em {font-style:normal;font-weight:500;white-space:nowrap;}
.moments-copy p {font-size:13px;line-height:1.72;}
.moment-note {
  background: radial-gradient(ellipse at 60% 30%,#d7b59d,#b68b73 78%);
}
.cb-paper-note {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:73%;min-height:76%;padding:21px 10px;
  background:#f7eadd;border:1px solid rgba(110,68,46,.24);
  box-shadow:12px 14px 22px rgba(66,37,24,.19);transform:rotate(7deg);
  color:#76513e;text-align:center;
}
.cb-paper-note>span {font:500 clamp(32px,3.2vw,54px)/.82 'Caveat',cursive;}
.cb-paper-note>i {font:400 45px/1 'Caveat',cursive;font-style:normal;margin:7px 0 14px;}
.cb-paper-note>small {font-size:8px;font-weight:700;line-height:1.6;letter-spacing:.1em;}
.delivery-section {border-top:0;}
.closing .primary-button {margin-left:auto;}
@media (max-width:790px){
  .moments-strip {grid-template-columns:36% 64%;min-height:280px;}
  .moment-illustration {min-height:285px;height:auto;}
  .moment-note {display:none;}
  .moments-copy {padding:29px 7%;}
  .cb-gift-label strong {font-size:24px;}
}
@media (max-width:560px){
  .flavor-guidance {margin:0 0 18px;font-size:12px;}
  .moments-strip {grid-template-columns:1fr;}
  .moment-illustration {min-height:215px;height:215px;}
  .cb-gift-box {width:165px;}
  .cb-gift-label strong {font-size:22px;}
  .moments-copy {padding:37px 7% 39px;}
  .moments-copy h2 {font-size:clamp(30px,8vw,43px);}
  .moments-copy h2 em {white-space:normal;}
  .moments-copy p {font-size:14px;}
  .closing .primary-button {margin-left:0;}
}


/* VIDEO FIRST — Casa Brownie hero editorial desktop sin panel de regalo. */
@media (min-width: 1200px) {
  .site-header {
    position: sticky; top: 0; left: auto; width: 100%; height: 83px;
    padding: 10px clamp(18px,4vw,66px);
    background: #f9f3ed; border-bottom: 1px solid #ead9c9;
  }
  .hero { grid-template-columns: minmax(360px,39%) minmax(0,61%); min-height: clamp(610px,49vw,790px); }
  .hero-copy { padding: 58px clamp(28px,4vw,78px); }
  .hero h1 { white-space: normal; font-size: clamp(57px,5vw,83px); line-height: .98; margin: 16px 0; }
  .hero h1 .love { font-size: 1.18em; margin-top: 8px; }
  .hero-copy > p { max-width: 34ch; font-size: clamp(14px,1.1vw,16px); line-height: 1.68; }
  .hero-qualities { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(117,75,53,.17); }
  .hero-photo { min-height: 610px; }
}

/* Tablet: video a todo el ancho, texto abajo, secciones amplias, sin cajas de regalo de CSS. */
@media (min-width: 791px) and (max-width: 1199px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-photo {
    order: -1; flex: none; width: 100%; height: clamp(490px,65vw,710px); min-height: 0;
  }
  .hero-photo .hero-photo-poster, .hero-motion { object-position: center 52%; }
  .hand-note { left: 6%; bottom: 32px; font-size: clamp(35px,4.5vw,52px); }
  .hero-copy {
    order: 0; min-height: 0; padding: 52px 7% 45px;
    align-items: center; text-align: center; background: #f7ebe1;
  }
  .hero-copy .eyebrow { text-align: center; }
  .hero h1 {
    white-space: normal; font-size: clamp(60px,7.2vw,84px);
    line-height: 1.02; margin: 18px 0 13px; text-align: center;
  }
  .hero h1 .love { display: block; font-size: 1.2em; transform: none; margin: 7px auto 0; }
  .hero-copy > p {
    max-width: 560px; margin: 18px auto 23px; font-size: 15px; line-height: 1.72; text-align: center;
  }
  .hero-copy .primary-button { margin-inline: auto; }
  .hero-qualities {
    width: min(100%,570px); margin: 38px auto 0; padding-top: 23px;
    border-top: 1px solid rgba(117,75,53,.18);
  }
  .hero-qualities small { font-size: 9px; }
  .flavor-section { padding-top: 59px; padding-bottom: 65px; }
  .flavor-grid { row-gap: 42px; column-gap: clamp(18px,3vw,28px); }
  .moments-strip {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: auto auto; min-height: 0;
  }
  .moments-strip > .moment-illustration { grid-column: 1; grid-row: 1; min-height: 0; }
  .moments-strip > .moment-note { grid-column: 2; grid-row: 1; min-height: 0; }
  .moments-strip > .moments-copy {
    grid-column: 1 / -1; grid-row: 2; min-height: 340px; padding: 52px 9% 58px;
    align-items: center; text-align: center;
  }
  .moments-strip .moments-copy h2 {
    max-width: 760px; font-size: clamp(38px,4.4vw,52px); line-height: 1.13;
  }
  .moments-strip .moments-copy p { max-width: 580px; font-size: 15px; line-height: 1.75; }
  .delivery-section { display: grid; grid-template-columns: minmax(0,1fr); min-height: 0; }
  .delivery-steps { padding: 60px 8% 65px; }
  .delivery-steps h2 { font-size: clamp(37px,4.8vw,53px); }
  .delivery-steps > p { font-size: 15px; }
  .step-row { margin-top: 36px; gap: 18px; }
  .step, .step:first-child {
    padding: 22px 22px 20px; border: 1px solid rgba(103,60,40,.15);
    border-radius: 14px; background: rgba(255,249,242,.48); min-width: 0;
  }
  .step h3 { font-size: clamp(21px,2.2vw,25px); }
  .step p { font-size: 13px; line-height: 1.58; }
  .delivery-miami { align-items: center; text-align: center; min-height: 360px; padding: 50px 8% 55px; }
  .delivery-miami p { max-width: 560px; font-size: 15px; text-align: center; }
  .delivery-miami .light-button { margin: 16px auto 0; }
  .closing { padding: 54px 8%; }
}
