:root {
  --primary: #C4006A; --accent: #17729C; --sec: #5B2180; --soft: #FBF6FD; --dark: #241A2C;
  --tint: #F3E8F8; --line: #E7D6EF; --fondo1: #F3E8F8; --fondo2: #FCE4F0; --fondo3: #E8F6FC;
  --paso1: #FFB3D9; --paso2: #9ADCF5; --paso3: #D7B8EE;
  --stripe1: #C4006A; --stripe2: #5B2180; --stripe3: #29ABE2;
  --ink: #241A2C; --ink2: #4A3D55; --ink3: #5E5068; --on-dark: #DDD5E3;
  --display: 'Baloo 2', system-ui, sans-serif;
  --body: 'Poppins', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; }
.pad { padding-left: 48px; padding-right: 48px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #FFF; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #2B6CB0; outline-offset: 2px; }

/* Motivo de temporada */
.motif svg { display: block; }
.motif-deco { position: absolute; pointer-events: none; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 20; }
.stripe { display: grid; grid-template-columns: repeat(3, 1fr); height: 5px; }
.stripe span:nth-child(1) { background: var(--stripe1); }
.stripe span:nth-child(2) { background: var(--stripe2); }
.stripe span:nth-child(3) { background: var(--stripe3); }
.ribbon { background: var(--dark); color: #FFF; padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
.ribbon[hidden] { display: none; }
.ribbon .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; }
.ribbon a { color: #FFF; font-weight: 600; text-underline-offset: 4px; }
.ribbon .r-extra { opacity: .9; }
.bar { background: rgba(255,255,255,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding-top: 10px; padding-bottom: 10px; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; gap: 32px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: var(--primary); color: #FFF; text-decoration: none; font-weight: 600; font-size: 16px; border: 0; font-family: inherit; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(36,26,44,.22); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--sec); border: 2px solid var(--sec); }
.btn-ghost:hover { background: rgba(36,26,44,.05); box-shadow: none; }

/* Secciones */
section { padding-top: 96px; padding-bottom: 96px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.h2 { font-weight: 800; font-size: 48px; line-height: 1.05; }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink2); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 48px; }

/* Portada */
.hero { background: var(--soft); position: relative; overflow: hidden; padding-top: 72px; padding-bottom: 88px; }
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; position: relative; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #FFF; border: 1px solid var(--line); color: var(--sec); font-size: 14px; font-weight: 600; }
.hero h1 { font-weight: 800; font-size: 68px; line-height: 1.0; letter-spacing: -.5px; }
.hero h1 span { color: var(--primary); }
.hero .sub { font-size: 19px; line-height: 1.6; color: var(--ink2); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 14px; color: var(--ink3); }
.hero-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 220px; gap: 16px; }
.hero-pics img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.hero-pics .tall { grid-row: 1 / span 2; }
.hero-pics .cart { border-radius: 28px; background: var(--fondo3); display: flex; align-items: center; justify-content: center; padding: 12px; }
.hero-pics .cart img { object-fit: contain; border-radius: 0; }

/* Servicios */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #FFF; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(36,26,44,.05); }
.card-img { height: 240px; display: flex; align-items: center; justify-content: center; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img.contain img { object-fit: contain; padding: 16px; }
.card:nth-child(1) .card-img { background: var(--fondo1); }
.card:nth-child(2) .card-img { background: var(--fondo2); }
.card:nth-child(3) .card-img { background: var(--fondo3); }
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card h3 { font-weight: 700; font-size: 26px; line-height: 1.15; }
.card p { font-size: 15px; line-height: 1.6; color: var(--ink2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--sec); font-size: 13px; font-weight: 500; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* Cómo funciona */
.how { background: var(--dark); color: #FFF; position: relative; overflow: hidden; padding-top: 88px; padding-bottom: 88px; }
.how .h2 { margin-bottom: 44px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; position: relative; }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.num { width: 56px; height: 56px; border-radius: 18px; color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 28px; }
.steps li:nth-child(1) .num { background: var(--paso1); }
.steps li:nth-child(2) .num { background: var(--paso2); }
.steps li:nth-child(3) .num { background: var(--paso3); }
.steps h3 { font-weight: 700; font-size: 24px; }
.steps p { font-size: 16px; line-height: 1.6; color: var(--on-dark); }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); grid-auto-rows: 260px; gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }

/* Nosotros */
.about { background: var(--soft); }
.about .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.about img { width: 100%; height: 440px; object-fit: cover; border-radius: 28px; }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy .h2 span { color: var(--primary); }
.about-copy p { font-size: 17px; line-height: 1.7; color: var(--ink2); }
.values { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.values li { padding: 8px 16px; border-radius: 999px; background: #FFF; border: 1px solid var(--line); color: var(--sec); font-size: 14px; font-weight: 600; }

/* Cotiza */
.quote .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px; align-items: start; }
.quote-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; font-size: 16px; }
.contact-list a, .contact-list .row { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.ico { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ico.c1 { background: var(--fondo1); color: var(--primary); }
.ico.c2 { background: var(--fondo3); color: var(--accent); }
.ico.c3 { background: var(--fondo2); color: var(--sec); }
.socials { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.social { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--sec); display: flex; align-items: center; justify-content: center; }
.social:hover { background: var(--tint); }
.socials span { font-size: 14px; color: var(--ink3); }

.form { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: 28px; background: #FFF; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(36,26,44,.10); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .form legend { font-size: 14px; font-weight: 600; }
.field input, .field select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #CDBBD8; border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #FFF; }
.field input:focus, .field select:focus { outline: 3px solid rgba(43,108,176,.4); border-color: #2B6CB0; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1.5px solid #CDBBD8; background: #FFF; color: var(--ink); cursor: pointer; }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #FFF; }
.chip input:focus-visible + span { outline: 3px solid #2B6CB0; outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.msg { padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.msg[hidden] { display: none; }
.msg.err { background: #FDECEC; color: #9B1C1C; }
.msg.ok { background: #E6F6EC; color: #14603A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: 13px; color: var(--ink3); text-align: center; }

/* Pie */
.footer { background: var(--dark); color: var(--on-dark); padding-top: 56px; padding-bottom: 40px; }
.footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; margin-bottom: 32px; }
.footer .col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer .col strong { color: #FFF; }
.footer .logo-box { align-self: flex-start; background: #FFF; border-radius: 22px; padding: 10px 16px; }
.footer .logo-box img { height: 72px; width: auto; }
.footer a { color: var(--on-dark); }
.footer .soc { display: flex; align-items: center; gap: 12px; min-height: 44px; color: #FFF; text-decoration: none; }
.footer .soc .ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); }
.footer .soc:hover .ico { background: rgba(255,255,255,.22); }
.footer .legal { border-top: 1px solid rgba(255,255,255,.16); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* Botón flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #1A8A4A; color: #FFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* Página legal */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 20px 96px; }
.doc h1 { font-size: 44px; line-height: 1.1; margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 36px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--ink2); }
.doc p + p { margin-top: 12px; }

@media (max-width: 760px) {
  .pad { padding-left: 20px; padding-right: 20px; }
  .nav, .r-extra { display: none; }
  .brand img { height: 50px; }
  section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 40px; padding-bottom: 56px; }
  .hero h1 { font-size: 44px; }
  .h2 { font-size: 34px; }
  .hero-pics { grid-template-rows: 170px 170px; }
  .about img { height: 300px; }
  .form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
