/* ============ Skulpia · estilos ============ */
:root {
  --blue: #4F6475;
  --blue-deep: #3F5262;
  --blue-soft: #DCE4EA;
  --cream: #F8F4EC;
  --cream-2: #F2EBDD;
  --sand: #EFE6D4;
  --rattan: #D2B27A;
  --ink: #2B3640;
  --muted: #63717D;
  --white: #fff;
  --pink: #EDB7C2;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;

  --shadow-sm: 0 1px 2px rgba(43, 54, 64, .05), 0 4px 14px rgba(43, 54, 64, .06);
  --shadow-md: 0 2px 4px rgba(43, 54, 64, .04), 0 12px 32px rgba(43, 54, 64, .10);
  --shadow-lg: 0 4px 8px rgba(43, 54, 64, .04), 0 28px 60px rgba(43, 54, 64, .16);

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rattan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--blue); color: var(--cream);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 6px 24px rgba(31, 42, 51, .16);
}
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .01em;
  color: rgba(248, 244, 236, .86); position: relative; padding: 6px 0; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--cream); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s, opacity .2s, top .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--font-body); letter-spacing: .01em; text-decoration: none;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(79, 100, 117, .28); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 12px 26px rgba(79, 100, 117, .34); }
.btn-ghost { background: transparent; color: var(--blue); border-color: rgba(79, 100, 117, .35); }
.btn-ghost:hover { background: #fff; border-color: var(--blue); box-shadow: var(--shadow-sm); }
.btn-light { background: var(--cream); color: var(--blue-deep); }
.btn-light:hover { background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Tipografía común ---------- */
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; opacity: .6; }
.eyebrow-light { color: var(--blue-soft); }
.lead { font-size: 18.5px; color: var(--muted); max-width: 54ch; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h1 em, h2 em { font-style: italic; color: var(--blue); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; }

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 18px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); background:
  radial-gradient(900px 480px at 85% 0%, rgba(210, 178, 122, .18), transparent 60%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rattan); }

.hero-visual { position: relative; padding: 0 0 56px 40px; }
.hero-main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--cream-2); aspect-ratio: 1312 / 1199; }
.hero-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute; left: 0; bottom: 0; width: 42%; border-radius: var(--r-md); overflow: hidden;
  border: 6px solid var(--cream); box-shadow: var(--shadow-md);
}
.hero-badge {
  position: absolute; right: -14px; top: 28px; background: #fff; border-radius: 999px; padding: 10px 18px 10px 10px;
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--blue-deep);
  box-shadow: var(--shadow-md);
}
.hero-badge span { background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }

/* ---------- Ventajas ---------- */
.features { padding: 0 0 clamp(24px, 4vw, 48px); background: var(--cream); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--r-md); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- Creaciones ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow-md); isolation: isolate; min-height: 280px; }
.card-lg { grid-column: span 2; grid-row: span 2; min-height: 0; }
.card:not(.card-lg) { aspect-ratio: 1; min-height: 0; }
.card picture, .card img { width: 100%; height: 100%; }
.card img { object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover img { transform: scale(1.045); }
.card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(31, 42, 51, .62), rgba(31, 42, 51, 0) 52%); pointer-events: none; }
.card-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 28px 30px; color: #fff; }
.card-cap h3 { color: #fff; font-size: 1.55rem; margin-bottom: 4px; }
.card-cap p { font-size: 15px; color: rgba(255, 255, 255, .88); }
.center-cta { text-align: center; margin-top: 52px; }

/* ---------- Detalles ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.detail-media { position: relative; padding-bottom: 70px; }
.detail-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); width: 78%; aspect-ratio: 1; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-img-2 { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 470 / 310; border: 6px solid var(--sand); box-shadow: var(--shadow-md); border-radius: var(--r-md); }
.detail-copy h2 { margin-bottom: 20px; }
.checks { margin-top: 30px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; font-weight: 500; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue);
  -webkit-mask: none; mask: none;
}
.checks li::after {
  content: ''; position: absolute; left: 8px; top: 8px; width: 8px; height: 4.5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
.swatches { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.swatches span { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 4px 10px rgba(43, 54, 64, .12); transition: transform .25s; }
.swatches span:hover { transform: translateY(-3px) scale(1.08); }
.swatches small { margin-left: 8px; color: var(--muted); font-size: 14px; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { background: #fff; border-radius: var(--r-md); padding: 36px 30px 34px; box-shadow: var(--shadow-sm); position: relative; transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.num { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 22px; box-shadow: 0 8px 18px rgba(79, 100, 117, .3); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Contacto ---------- */
.contact { background: var(--blue); color: var(--cream); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%); pointer-events: none; }
.contact h2 { color: #fff; margin-bottom: 20px; }
.contact .lead { color: rgba(248, 244, 236, .82); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; position: relative; }
.tips { margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 460px; }
.tips h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 16px; }
.tips li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15.5px; color: rgba(248, 244, 236, .86); }
.tips li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--rattan); }
.contact-list { margin-top: 36px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list .ico { background: rgba(255, 255, 255, .12); color: var(--cream); margin: 0; }
.contact-list a { font-size: 1.15rem; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(248, 244, 236, .4); padding-bottom: 2px; transition: border-color .2s; }
.contact-list a:hover { border-color: #fff; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.field { margin-bottom: 0; position: relative; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: 500 16px/1.4 var(--font-body); color: var(--ink);
  background: var(--cream); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px;
  transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA5AE; font-weight: 400; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(79, 100, 117, .25); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(79, 100, 117, .14); }
.field.invalid input, .field.invalid textarea { border-color: #C65B5B; background: #FDF6F6; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 42px; cursor: pointer; }
.err { display: block; min-height: 26px; padding-top: 5px; font-size: 13px; line-height: 18px; color: #B84545; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; margin: 6px 0 0; line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #B7C1C9; background: #fff; margin: 0; cursor: pointer; position: relative; transition: background .2s, border-color .2s; }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { content: ''; position: absolute; left: 6px; top: 3px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:focus-visible { outline: 3px solid var(--rattan); outline-offset: 2px; }
.form-card .err[data-for="privacidad"] { margin: 0 0 0 34px; }
#submit-btn { margin-top: 20px; position: relative; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
#submit-btn.loading { pointer-events: none; opacity: .9; }
#submit-btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: 14px; font-size: 15px; font-weight: 500; line-height: 1.5; animation: pop .4s ease; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #EAF5EE; color: #2A6B45; border: 1px solid #BFE0CB; }
.form-status.error { background: #FCEEEE; color: #A53B3B; border: 1px solid #F0C6C6; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(248, 244, 236, .78); padding: 56px 0 40px; text-align: center; }
.footer-in { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.site-footer img { width: 190px; height: auto; margin-bottom: 8px; }
.site-footer a { color: var(--cream); text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.site-footer small { margin-top: 18px; font-size: 13px; opacity: .65; }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .detail-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-lg { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3.2; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .burger { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blue); padding: 8px 24px 24px; box-shadow: 0 18px 30px rgba(31, 42, 51, .2);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 16px; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; padding: 15px 20px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .features-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card-lg, .card:not(.card-lg) { aspect-ratio: 1 / 1.02; }
  .row { grid-template-columns: 1fr; }
  .hero-visual { padding: 0 0 44px 22px; }
  .hero-badge { right: 6px; top: 14px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .detail-media { padding-bottom: 56px; }
  .card-cap { padding: 22px; }
}
