/* LPDO Inicio Premium Base
   Rev 1.14
   Solo laboratorio.
   Capa visual final sin borrar estructura anterior.
*/

:root {
  --lpdo-ink: #171827;
  --lpdo-muted: #6f6258;
  --lpdo-cream: #fff7ec;
  --lpdo-cream-2: #fffaf3;
  --lpdo-card: rgba(255, 250, 243, .92);
  --lpdo-line: rgba(74, 43, 24, .14);
  --lpdo-accent: #c5642f;
  --lpdo-accent-dark: #9f4822;
  --lpdo-shadow: 0 24px 70px rgba(42, 25, 15, .12);
  --lpdo-radius-xl: 34px;
  --lpdo-radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(197,100,47,.10), transparent 34rem),
    linear-gradient(180deg, #fffaf3 0%, #fff7ec 46%, #fffaf3 100%);
  color: var(--lpdo-ink);
}

/* Header más limpio */
.site-header {
  min-height: 86px;
  padding: 0 clamp(18px, 5vw, 76px);
  background: rgba(255,250,243,.94) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lpdo-line);
  box-shadow: 0 12px 34px rgba(42,25,15,.07);
}

.site-header .brand {
  gap: 14px;
}

.site-header .brand img {
  width: 82px;
  height: 58px;
  object-fit: contain;
}

.site-header .brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.03em;
}

.site-header .brand-copy span {
  color: var(--lpdo-accent);
}

.main-nav {
  gap: clamp(16px, 2.2vw, 30px);
}

.main-nav a {
  font-weight: 950;
  text-decoration: none;
  color: var(--lpdo-ink);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: var(--lpdo-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.btn.primary {
  background: linear-gradient(135deg, var(--lpdo-accent), var(--lpdo-accent-dark)) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 36px rgba(197,100,47,.22);
}

.btn.secondary {
  border-radius: 999px !important;
  background: rgba(255,250,243,.86) !important;
  color: var(--lpdo-ink) !important;
  border: 1px solid rgba(255,255,255,.62) !important;
  box-shadow: 0 14px 32px rgba(42,25,15,.12);
}

/* Hero más comercial */
.hero {
  min-height: clamp(620px, 82vh, 860px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(255,247,236,.92));
  pointer-events: none;
  z-index: 2;
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 34%, rgba(197,100,47,.16), transparent 24rem),
    linear-gradient(90deg, rgba(24,14,8,.72), rgba(24,14,8,.34) 48%, rgba(24,14,8,.18)) !important;
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 80px;
  position: relative;
  z-index: 4;
  text-align: left;
}

.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,250,243,.16);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff7ec;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 820px;
  margin: 24px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 9vw, 8.6rem);
  line-height: .86;
  letter-spacing: -.065em;
  text-shadow: 0 22px 60px rgba(0,0,0,.34);
}

.hero-subtitle-premium {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255,247,236,.92);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  font-weight: 650;
}

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

/* Secciones con más aire */
.orders-section,
.products-section,
.story-wrap {
  padding-top: clamp(74px, 9vw, 124px) !important;
  padding-bottom: clamp(74px, 9vw, 124px) !important;
}

.section-heading,
.orders-section .section-heading,
.products-section .section-heading {
  margin-bottom: clamp(30px, 5vw, 58px);
}

.section-heading .eyebrow,
.story-copy .eyebrow {
  color: var(--lpdo-accent);
  font-weight: 950;
  letter-spacing: .11em;
}

.section-heading h2,
.story-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}

/* Pide como prefieras */
.orders-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.order-card {
  min-height: 176px;
  border-radius: 28px !important;
  background: rgba(255,250,243,.88) !important;
  border: 1px solid rgba(74,43,24,.12) !important;
  box-shadow: 0 18px 45px rgba(42,25,15,.08);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.order-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 64px rgba(42,25,15,.13);
  border-color: rgba(197,100,47,.28) !important;
}

.order-card:first-child {
  background:
    linear-gradient(180deg, rgba(197,100,47,.13), rgba(255,250,243,.92)) !important;
  border-color: rgba(197,100,47,.32) !important;
}

/* Carta destacada */
.products-grid {
  gap: clamp(18px, 2vw, 28px);
}

.product-card {
  border-radius: var(--lpdo-radius-xl) !important;
  overflow: hidden;
  background: rgba(255,250,243,.92) !important;
  border: 1px solid rgba(74,43,24,.12) !important;
  box-shadow: 0 18px 54px rgba(42,25,15,.10);
}

.product-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.01);
}

/* Historia / info */
.story-wrap {
  background:
    radial-gradient(circle at 20% 10%, rgba(197,100,47,.10), transparent 30rem),
    linear-gradient(180deg, rgba(255,250,243,.86), rgba(255,247,236,.96));
}

.story-card,
.info-card {
  border-radius: var(--lpdo-radius-xl) !important;
  box-shadow: var(--lpdo-shadow);
  border: 1px solid rgba(74,43,24,.12) !important;
}

/* Footer claro premium */
.site-footer {
  background: #fff7ec !important;
  color: var(--lpdo-ink) !important;
  border-top: 1px solid rgba(74,43,24,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.site-footer a {
  color: var(--lpdo-ink) !important;
}

.copyright {
  color: var(--lpdo-muted) !important;
}

/* WhatsApp flotante más limpio */
.float-whatsapp {
  box-shadow: 0 18px 50px rgba(31,151,84,.22);
}

/* Mobile */
@media (max-width: 920px) {
  .site-header {
    min-height: 74px;
    padding: 0 14px;
  }

  .site-header .brand img {
    width: 58px;
    height: 44px;
  }

  .main-nav {
    display: none !important;
  }

  .header-cta {
    padding: .78rem .95rem !important;
    font-size: .82rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: min(100% - 30px, 680px);
    padding-top: 68px;
    text-align: left;
  }

  .hero-content h1 {
    font-size: clamp(4.1rem, 18vw, 6.2rem);
    line-height: .88;
  }

  .hero-subtitle-premium {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .orders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-card {
    min-height: 152px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .orders-grid {
    gap: 12px;
  }

  .order-card {
    min-height: 142px;
    padding: 16px !important;
  }
}
