/* ===== Loki3D · estilos compartidos de las landing pages ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #EEEAE2;
  --card:   #FAF8F0;
  --text:   #232323;
  --muted:  #73705F;
  --border: #E4DFCC;
  --radius: 18px;
  --yellow: #EAD836;
  --blue:   #2F5484;
  --dark:   #232323;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(238,234,226,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--dark);
  padding: 0 clamp(1.25rem,5vw,3rem);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--text); }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  font-family: 'Baloo 2', cursive; font-weight: 700;
  background: var(--blue) !important; color: #FBFAF2 !important;
  padding: .5rem 1.2rem; border-radius: 100px;
  border: 2.5px solid var(--dark); box-shadow: 3px 3px 0 var(--dark);
  transition: transform .18s, box-shadow .18s;
}
.nav-cta:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--dark); }
@media (max-width: 680px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
  font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 1rem;
  padding: .7rem 1.7rem; border-radius: 100px; border: 2.5px solid var(--dark);
  transition: transform .18s, box-shadow .18s;
}
.btn-primary { background: var(--yellow); color: var(--dark); box-shadow: 4px 4px 0 var(--dark); }
.btn-ghost   { background: var(--card);  color: var(--dark); box-shadow: 4px 4px 0 var(--dark); }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--dark); }

/* ── LAYOUT ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.25rem,5vw,3rem); }
.section { padding: clamp(3rem,7vw,5.5rem) clamp(1.25rem,5vw,3rem); }
.section-inner { max-width: 1120px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; background: var(--yellow); border-radius: 3px; }
.s-title {
  font-family: 'Baloo 2', cursive; font-weight: 800;
  font-size: clamp(1.8rem,3.5vw,2.7rem); line-height: 1.15; letter-spacing: -.01em;
  margin-bottom: 1rem; color: var(--dark);
}
.s-sub { font-size: 1.05rem; color: var(--muted); max-width: 620px; line-height: 1.7; }
.lead { font-size: 1.08rem; color: var(--muted); line-height: 1.75; max-width: 680px; }
.lead + .lead { margin-top: 1rem; }

/* ── HERO ── */
.lp-hero { padding: clamp(2.5rem,6vw,4.5rem) clamp(1.25rem,5vw,3rem) clamp(2rem,5vw,3.5rem); }
.lp-hero .eyebrow { margin-bottom: 1.25rem; }
.lp-hero h1 {
  font-family: 'Baloo 2', cursive; font-weight: 800;
  font-size: clamp(2.1rem,5vw,3.4rem); line-height: 1.08; letter-spacing: -.01em;
  color: var(--dark); margin-bottom: 1.1rem; max-width: 760px;
}
.lp-hero h1 em { font-style: normal; color: var(--blue); }
.lp-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ── FEATURE CARDS ── */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2.5rem; }
.card {
  background: var(--card); border: 2.5px solid var(--dark); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--dark); padding: 1.6rem 1.5rem;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--dark); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; border: 2.5px solid var(--dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 1rem; background: var(--yellow);
}
.card:nth-child(2) .ico { background: var(--blue); }
.card:nth-child(3) .ico { background: #F5C6D8; }
.card h3 { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.2rem; margin-bottom: .4rem; }
.card p { font-size: .95rem; color: var(--muted); line-height: 1.6; }

/* ── GALLERY ── */
.gal { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.5rem; }
.gal a {
  display: block; border: 2.5px solid var(--dark); border-radius: var(--radius);
  overflow: hidden; box-shadow: 4px 4px 0 var(--dark); aspect-ratio: 1;
  transition: transform .25s, box-shadow .25s;
}
.gal a:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--dark); }
.gal img { width: 100%; height: 100%; object-fit: cover; }

/* ── FAQ ── */
.faq-list { max-width: 780px; margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  border: 2.5px solid var(--dark); border-radius: var(--radius);
  background: var(--card); box-shadow: 4px 4px 0 var(--dark); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.4rem;
  font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 1.05rem; color: var(--dark);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.6rem; color: var(--blue); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 1.4rem 1.2rem; color: var(--muted); line-height: 1.7; font-size: .97rem; }
.faq-item .faq-a a { color: var(--blue); font-weight: 600; }

/* ── CTA (blue) ── */
.cta { background: var(--blue); text-align: center; }
.cta .eyebrow { color: var(--yellow); justify-content: center; }
.cta .eyebrow::before { background: var(--yellow); }
.cta h2 { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: clamp(1.8rem,3.5vw,2.6rem); color: #FBFAF2; margin-bottom: 1rem; }
.cta p { color: rgba(251,250,242,.8); max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }
.wa-btn {
  display: inline-flex; align-items: center; gap: .75rem; background: #25D366; color: #fff;
  text-decoration: none; font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 1.05rem;
  padding: 1rem 2.4rem; border-radius: 100px; border: 2.5px solid var(--dark); box-shadow: 4px 4px 0 var(--dark);
  transition: transform .2s, box-shadow .2s;
}
.wa-btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--dark); }
.wa-btn svg { width: 22px; height: 22px; fill: #fff; }
.cta .note { margin-top: 1.5rem; font-size: .85rem; color: rgba(251,250,242,.6); }
.cta .note a { color: #FBFAF2; text-decoration: none; }

/* ── FOOTER ── */
.lp-footer { background: var(--dark); padding: 2.5rem clamp(1.25rem,5vw,3rem); border-top: 4px solid var(--yellow); }
.lp-footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.lp-footer img { height: 30px; width: auto; }
.lp-footer .nap { font-style: normal; font-size: .8125rem; color: rgba(251,250,242,.45); line-height: 1.6; margin-top: .75rem; }
.lp-footer .nap strong { color: rgba(251,250,242,.7); }
.lp-footer .nap a { color: rgba(251,250,242,.7); text-decoration: none; }
.lp-footer .cols { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.lp-footer .cols h4 { font-family: 'Baloo 2', cursive; font-size: .9rem; color: rgba(251,250,242,.9); margin-bottom: .6rem; }
.lp-footer .cols a { display: block; font-size: .8125rem; color: rgba(251,250,242,.5); text-decoration: none; margin-bottom: .35rem; }
.lp-footer .cols a:hover { color: var(--yellow); }
.lp-footer .copy { max-width: 1120px; margin: 1.5rem auto 0; padding-top: 1.1rem; border-top: 1px solid rgba(251,250,242,.08); font-size: .75rem; color: rgba(251,250,242,.3); text-align: center; }

/* ── FLOATING WHATSAPP ── */
.fab-wa {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1000;
  width: 54px; height: 54px; border-radius: 50%; background: #25D366;
  border: 2.5px solid var(--dark); box-shadow: 4px 4px 0 var(--dark);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  transition: transform .2s;
}
.fab-wa:hover { transform: translate(-2px,-2px); }
.fab-wa svg { width: 24px; height: 24px; fill: #fff; }

/* ── REVEAL (sin librerías; solo oculta si hay JS para revelarlo) ── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .gal { grid-template-columns: 1fr 1fr; }
}
