:root {
  --ink: #2f2028;
  --muted: #75666e;
  --cream: #fbf7f3;
  --paper: #fffdfb;
  --rose: #b46f79;
  --rose-dark: #7d3f51;
  --blush: #f1ddd8;
  --plum: #3b2230;
  --gold: #bc9250;
  --lavender: #7d6bc8;
  --line: rgba(59, 34, 48, .12);
  --shadow: 0 20px 60px rgba(59, 34, 48, .12);
  --radius-lg: 30px;
  --radius-md: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(59,34,48,.045) .7px, transparent .7px);
  background-size: 14px 14px;
  opacity: .55;
  z-index: -2;
}

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.035em; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.page-glow {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .28;
  pointer-events: none;
  z-index: -3;
}
.glow-one { top: -240px; right: -190px; background: #e9b6b8; }
.glow-two { top: 700px; left: -320px; background: #d4c9f3; }

.topbar {
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 12px;
  background: rgba(255, 253, 251, .82);
  border: 1px solid rgba(59,34,48,.1);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  position: sticky;
  top: 14px;
  z-index: 20;
  box-shadow: 0 10px 35px rgba(59,34,48,.07);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 750; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: var(--plum); color: #fff7f1;
  font-family: Georgia, serif; letter-spacing: -.04em;
}
.brand-name { font-size: .96rem; }
.mini-cta {
  text-decoration: none; color: #fff; background: var(--plum);
  padding: 10px 17px; border-radius: 999px; font-weight: 700; font-size: .86rem;
  transition: transform .2s ease, background .2s ease;
}
.mini-cta:hover { transform: translateY(-2px); background: var(--rose-dark); }

.hero {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
  padding: 82px 0 92px;
}
.eyebrow {
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .18em;
  color: var(--rose-dark);
  margin-bottom: 17px;
}
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(3.25rem, 6.2vw, 6.2rem); max-width: 720px; margin-bottom: 24px; }
.hero-text { color: var(--muted); font-size: 1.1rem; max-width: 660px; margin-bottom: 30px; }
.hero-text strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  text-decoration: none; font-weight: 780; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--plum), var(--rose-dark)); box-shadow: 0 14px 30px rgba(83,39,57,.22); }
.button.secondary { background: rgba(255,255,255,.68); border: 1px solid var(--line); }
.social-row { display: flex; flex-wrap: wrap; gap: 22px; }
.social-row a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 700; }
.social-row a:hover { color: var(--rose-dark); }
.social-row svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-row svg .dot { fill: currentColor; stroke: none; }

.hero-visual { position: relative; }
.photo-frame {
  position: relative;
  max-width: 480px;
  margin-left: auto;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(237,215,210,.65));
  border: 1px solid rgba(59,34,48,.12);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: -20px 25px 25px -28px;
  border: 1px solid rgba(180,111,121,.3);
  border-radius: 46px;
  z-index: -1;
}
.photo-frame img { width: 100%; aspect-ratio: 4 / 5.25; object-fit: cover; object-position: center top; border-radius: 32px; }
.photo-badge {
  position: absolute;
  left: -42px;
  bottom: 34px;
  width: 215px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(59,34,48,.93);
  color: white;
  box-shadow: 0 16px 38px rgba(59,34,48,.26);
  backdrop-filter: blur(10px);
}
.photo-badge span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .68; margin-bottom: 3px; }
.photo-badge strong { font-family: Georgia, serif; font-size: 1.08rem; }

.trust-strip { background: var(--plum); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid div { display: flex; align-items: center; gap: 15px; padding: 24px 30px; border-right: 1px solid rgba(255,255,255,.1); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { color: #e5c7bd; font-family: Georgia, serif; font-size: 1.45rem; }
.trust-grid span { font-size: .92rem; opacity: .9; }

.section { padding: 116px 0 120px; }
.section-heading { max-width: 790px; margin: 0 auto 72px; text-align: center; }
.section-heading h2, .about-copy h2, .final-cta h2 { font-family: Georgia, serif; font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.7rem); margin-bottom: 20px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }

.category-block { margin-top: 46px; }
.category-block.second { margin-top: 88px; }
.category-title { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--plum); color: white; font-size: 1.2rem; box-shadow: 0 12px 25px rgba(59,34,48,.16); }
.category-title p { margin: 0 0 3px; font-size: .71rem; font-weight: 850; letter-spacing: .14em; color: var(--rose-dark); }
.category-title h3 { margin: 0; font-family: Georgia, serif; font-weight: 500; font-size: 1.55rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.two-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; }
.product-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(59,34,48,.11);
  box-shadow: 0 15px 42px rgba(59,34,48,.07);
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px; border-radius: 50%;
  right: -90px; bottom: -100px;
  background: radial-gradient(circle, rgba(180,111,121,.14), transparent 68%);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(59,34,48,.12); }
.product-card.featured { color: white; background: linear-gradient(150deg, #38212e, #603247 78%, #8f5361); border-color: transparent; }
.product-card.warm { background: linear-gradient(160deg, rgba(255,250,247,.94), rgba(244,224,218,.68)); }
.product-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.pill { font-size: .65rem; letter-spacing: .12em; font-weight: 850; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.17); }
.pill.soft { color: var(--rose-dark); background: var(--blush); border-color: transparent; }
.pill.warm-pill { color: #7e4e3e; background: #f1d9ce; border-color: transparent; }
.number { font-family: Georgia, serif; opacity: .55; }
.product-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 22px; font-weight: 900; letter-spacing: -.03em; }
.icon-ai { background: linear-gradient(135deg,#9b7df5,#6a52d4); color: white; box-shadow: 0 12px 26px rgba(125,107,200,.28); }
.icon-retro { background: #eadcf7; color: #684795; }
.icon-plan { background: #f2e3c5; color: #8a622d; }
.icon-alma { background: #ecd4d4; color: #934e5f; }
.icon-money { background: #dce8de; color: #4c7255; }

.product-card.has-media { min-height: 560px; }
.product-card.has-media .product-icon { display: none; }
.product-media {
  margin: -4px 0 20px;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(59,34,48,.10);
  box-shadow: 0 14px 30px rgba(59,34,48,.10);
  position: relative;
  z-index: 1;
}
.product-card.featured .product-media {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}
.product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.product-media.contain img { object-fit: contain; background: #0f0f12; }
.product-media.cover img { object-fit: cover; }
.product-card.featured h4, .product-card.featured .card-link, .product-card.featured .product-top { position: relative; z-index: 1; }

.product-card h4 { font-family: Georgia, serif; font-size: 1.72rem; font-weight: 500; margin-bottom: 14px; }
.product-card p { color: var(--muted); font-size: .96rem; }
.product-card.featured p { color: rgba(255,255,255,.72); }
.card-link { margin-top: auto; padding-top: 22px; text-decoration: none; font-weight: 800; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.product-card.featured .card-link { border-top-color: rgba(255,255,255,.17); }
.card-link span { font-size: 1.15rem; transition: transform .2s ease; }
.card-link:hover span { transform: translate(3px,-3px); }

.about-wrap { background: #efe3df; padding: 112px 0; position: relative; overflow: hidden; }
.about-wrap::after { content: "LH"; position: absolute; right: -25px; bottom: -95px; font-family: Georgia,serif; font-size: 20rem; color: rgba(255,255,255,.34); line-height: 1; pointer-events: none; }
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 85px; align-items: center; position: relative; z-index: 1; }
.about-quote { padding: 45px 40px; background: var(--plum); color: white; border-radius: var(--radius-lg); box-shadow: 0 22px 55px rgba(59,34,48,.22); transform: rotate(-1.2deg); }
.quote-mark { display: block; font-family: Georgia,serif; font-size: 5.5rem; line-height: .7; color: #dfb3aa; }
.about-quote blockquote { margin: 20px 0 0; font-family: Georgia, serif; font-size: clamp(1.7rem,3.2vw,2.75rem); line-height: 1.18; }
.about-copy p:not(.eyebrow) { color: #66545c; font-size: 1.02rem; }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 10px; color: var(--rose-dark); font-weight: 800; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.final-cta {
  margin-top: 100px;
  margin-bottom: 100px;
  padding: 52px 56px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff, #f6e8e4);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.final-cta h2 { font-size: clamp(2.1rem,4vw,3.8rem); margin-bottom: 12px; }
.final-cta p { color: var(--muted); max-width: 720px; margin-bottom: 0; }
.final-cta .button { flex: 0 0 auto; }

footer { background: #261820; color: rgba(255,255,255,.82); padding: 54px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-inner strong { color: white; font-family: Georgia,serif; font-size: 1.3rem; }
.footer-inner p { margin: 5px 0 0; font-size: .88rem; opacity: .65; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { text-decoration: none; font-weight: 700; font-size: .9rem; }
.footer-links a:hover { color: #e7bdb5; }
.legal { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; color: rgba(255,255,255,.48); font-size: .72rem; }
.legal p { margin: 0; max-width: 600px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-one { transition-delay: .12s; }
.delay-two { transition-delay: .24s; }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 50px; padding: 72px 0 85px; }
  .hero-copy { text-align: center; }
  .hero h1, .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions, .social-row { justify-content: center; }
  .hero-visual { order: -1; }
  .photo-frame { max-width: 410px; margin: 0 auto; }
  .photo-badge { left: -24px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .product-card.featured { grid-column: 1 / -1; }
  .about { grid-template-columns: 1fr; gap: 55px; }
  .about-quote { max-width: 620px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .topbar { width: calc(100% - 20px); top: 8px; margin-top: 8px; }
  .brand-name { display: none; }
  .mini-cta { font-size: .76rem; padding-inline: 13px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  .hero-text { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .photo-frame { width: min(88vw, 390px); }
  .photo-badge { left: -8px; bottom: 20px; width: 195px; padding: 13px 15px; }
  .trust-grid { grid-template-columns: 1fr; padding-block: 10px; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 16px 8px; }
  .trust-grid div:last-child { border-bottom: 0; }
  .section { padding: 84px 0 88px; }
  .section-heading { margin-bottom: 48px; }
  .category-title { align-items: flex-start; }
  .card-grid, .two-cards { grid-template-columns: 1fr; max-width: none; }
  .product-card.featured { grid-column: auto; }
  .product-card { min-height: 360px; }
  .product-card.has-media { min-height: 0; }
  .about-wrap { padding: 78px 0; }
  .about-quote { padding: 34px 28px; }
  .about-wrap::after { font-size: 11rem; }
  .final-cta { margin-top: 70px; margin-bottom: 70px; padding: 35px 26px; }
  .footer-inner, .legal { flex-direction: column; }
  .footer-links { gap: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Franquicia IA: recorrido hacia la mini app */
.miniapp-link{margin-top:16px;padding:12px 14px;border-radius:12px;background:linear-gradient(135deg,#6f3df4,#8d5cff);color:#fff!important;display:flex!important;justify-content:space-between;align-items:center;font-weight:800;text-decoration:none;box-shadow:0 10px 24px rgba(111,61,244,.20)}
.miniapp-link:hover{transform:translateY(-1px);filter:brightness(1.05)}
.secondary-card-link{margin-top:8px!important;opacity:.78;font-size:.92rem}
