@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap");

:root {
  --cream: #fffef9;
  --lavender: #ede9fe;
  --lavender-deep: #c4b5fd;
  --indigo: #3730a3;
  --indigo-dark: #312e81;
  --magenta: #be185d;
  --magenta-soft: #f9a8d4;
  --ink: #18181b;
  --muted: #71717a;
  --line: #e4e4e7;
  --paper: #fafafa;
  --font-display: "Playfair Display", Georgia, serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --radius: 4px;
  --shadow: 0 18px 48px rgba(24,24,27,.08);
  --max: 1140px;
  /* aliases for legacy pages */
  --teal: var(--indigo);
  --slate: var(--indigo-dark);
  --coral: var(--magenta);
  --coral-light: var(--magenta-soft);
  --mist: var(--cream);
  --forest: var(--indigo);
  --ochre: var(--magenta);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--magenta); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--ink); }
.container { width: min(var(--max), 92vw); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; z-index: 9999;
  background: var(--indigo); color: #fff; padding: 8px 16px; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { left: 12px; top: 12px; }

/* Top bar — minimal */
.cc-masthead {
  background: var(--ink);
  color: #d4d4d8;
  padding: 8px 0;
  font-size: .72rem;
  letter-spacing: .02em;
  border-bottom: 2px solid var(--magenta);
}
.cc-masthead-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  width: min(var(--max), 92vw); margin-inline: auto;
}
.cc-masthead a { color: var(--lavender-deep); }
.cc-masthead a:hover { color: #fff; }
.cc-masthead-links { display: flex; gap: 18px; flex-wrap: wrap; }
.cc-masthead-tag { color: var(--magenta-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; }

/* Header — blanco editorial */
.cc-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 300;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.cc-header-inner {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 4vw; max-width: var(--max); margin-inline: auto;
}
.cc-logo img { height: 40px; width: auto; }
.cc-nav { display: flex; gap: 2px; margin-left: auto; }
.cc-nav a {
  font-size: .82rem; font-weight: 600; color: var(--muted);
  padding: 8px 16px; border-radius: var(--radius);
  text-transform: uppercase; letter-spacing: .06em;
}
.cc-nav a:hover, .cc-nav a.active { color: var(--indigo); background: var(--lavender); }
.cc-nav-toggle {
  display: none; margin-left: auto;
  background: var(--indigo); color: #fff; border: none;
  padding: 8px 12px; border-radius: var(--radius); cursor: pointer; font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; font-family: var(--font-ui); font-size: .82rem; font-weight: 700;
  border: none; border-radius: var(--radius); cursor: pointer;
  text-transform: uppercase; letter-spacing: .06em;
  transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-forest { background: var(--indigo); color: #fff; }
.btn-primary:hover, .btn-forest:hover { background: var(--indigo-dark); color: #fff; }
.btn-accent, .btn-ochre { background: var(--magenta); color: #fff; }
.btn-accent:hover, .btn-ochre:hover { background: #9d174d; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-light:hover { background: #fff; color: var(--indigo); }
.btn-sm { padding: 7px 14px; font-size: .74rem; }
.btn-block { width: 100%; }

/* Hero editorial asimétrico */
.cc-hero-editorial {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(48px, 8vw, 88px) 4vw clamp(56px, 8vw, 72px);
  max-width: var(--max);
  margin-inline: auto;
  position: relative;
}
.cc-hero-editorial::before {
  content: "";
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 4px;
  background: linear-gradient(180deg, var(--magenta), var(--indigo));
}
.cc-hero-editorial-copy { padding-left: 28px; }
.cc-hero-kicker {
  display: inline-block;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--magenta); margin-bottom: 20px;
}
.cc-hero-editorial h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin-bottom: 20px;
  text-wrap: balance;
  font-style: normal;
}
.cc-hero-editorial h1 em { font-style: italic; color: var(--indigo); }
.cc-hero-lead { font-size: 1.05rem; color: var(--muted); margin-bottom: 28px; max-width: 32em; }
.cc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.cc-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.cc-hero-chips li {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 10px 14px; background: var(--lavender); color: var(--indigo-dark);
  border-left: 3px solid var(--magenta);
}
.cc-hero-visual { position: relative; }
.cc-hero-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  max-height: 520px;
}
.cc-hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.cc-hero-float {
  position: absolute;
  right: -12px; bottom: 24px;
  background: var(--indigo); color: #fff;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  max-width: 200px;
  line-height: 1.3;
  box-shadow: var(--shadow);
}
.cc-hero-float strong { display: block; font-size: 1.8rem; color: var(--magenta-soft); }

/* Bento servicios */
.cc-section { padding: clamp(56px, 8vw, 80px) 0; }
.cc-section-alt { background: #fff; border-block: 1px solid var(--line); }
.cc-head { margin-bottom: 40px; }
.cc-head.center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 40px; }
.cc-head .label {
  display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--magenta); margin-bottom: 10px;
}
.cc-head p { color: var(--muted); margin-top: 12px; font-size: .96rem; }

.cc-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 12px;
}
.cc-bento-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.cc-bento-card:hover { border-color: var(--indigo); box-shadow: var(--shadow); }
.cc-bento-card.featured { grid-column: span 6; grid-row: span 2; }
.cc-bento-card:not(.featured) { grid-column: span 3; }
.cc-bento-img { height: 120px; overflow: hidden; }
.cc-bento-card.featured .cc-bento-img { height: 200px; }
.cc-bento-img img { width: 100%; height: 100%; object-fit: cover; }
.cc-bento-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.cc-bento-body .sku { font-size: .65rem; font-weight: 700; color: var(--magenta); letter-spacing: .1em; }
.cc-bento-body h3 { font-size: .95rem; margin: 8px 0 6px; font-family: var(--font-ui); font-weight: 700; }
.cc-bento-card.featured .cc-bento-body h3 { font-family: var(--font-display); font-size: 1.25rem; }
.cc-bento-body p { font-size: .82rem; color: var(--muted); flex: 1; }
.cc-bento-link {
  margin-top: 12px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}

/* Lista de precios */
.cc-price-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cc-price-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.cc-price-row:last-child { border-bottom: none; }
.cc-price-row:hover { background: var(--lavender); }
.cc-price-row .sku {
  font-size: .72rem; font-weight: 700; color: var(--indigo);
  font-family: var(--font-ui); letter-spacing: .06em;
}
.cc-price-row h3 { font-size: .92rem; font-family: var(--font-ui); font-weight: 600; margin-bottom: 2px; }
.cc-price-row .mod { font-size: .76rem; color: var(--muted); }
.cc-price-amt { text-align: right; }
.cc-price-amt strong { display: block; font-size: 1.05rem; color: var(--magenta); font-family: var(--font-display); }
.cc-price-amt small { font-size: .68rem; color: var(--muted); }

/* Timeline horizontal */
.cc-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.cc-timeline-step {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  position: relative;
}
.cc-timeline-step:last-child { border-right: none; }
.cc-timeline-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--lavender-deep);
  line-height: 1;
  margin-bottom: 12px;
}
.cc-timeline-step h3 { font-size: .9rem; font-family: var(--font-ui); font-weight: 700; margin-bottom: 6px; }
.cc-timeline-step p { font-size: .8rem; color: var(--muted); }

/* Duo imágenes */
.cc-duo {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
  min-height: 320px;
}
.cc-duo figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.cc-duo img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.cc-duo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(24,24,27,.88));
  color: #fff; font-size: .78rem; font-weight: 600;
}

/* FAQ */
.cc-faq { max-width: 720px; margin-inline: auto; }
.cc-faq-item { border-bottom: 1px solid var(--line); }
.cc-faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 0; font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px;
}
.cc-faq-q::after { content: "+"; color: var(--magenta); font-size: 1.2rem; font-weight: 400; }
.cc-faq-item.open .cc-faq-q::after { content: "−"; }
.cc-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; }
.cc-faq-item.open .cc-faq-a { max-height: 180px; }
.cc-faq-a p { padding: 0 0 18px; font-size: .88rem; color: var(--muted); }

/* CTA banda */
.cc-cta-band {
  background: var(--indigo);
  color: #fff;
  padding: clamp(48px, 6vw, 64px) 4vw;
  text-align: center;
}
.cc-cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; }
.cc-cta-band p { color: var(--lavender-deep); margin-bottom: 24px; max-width: 36em; margin-inline: auto; }

/* Contact */
.cc-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; }
.cc-card {
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--magenta);
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px;
}
.cc-card h3 {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--indigo); margin-bottom: 6px; font-family: var(--font-ui); font-weight: 700;
}
.cc-map iframe, .map-wrap iframe {
  width: 100%; height: 340px; border: none; border-radius: var(--radius); border: 1px solid var(--line);
}

/* Catalog */
.cc-cat-hero {
  background: var(--lavender);
  padding: 56px 0;
  border-bottom: 3px solid var(--magenta);
  text-align: center;
}
.cc-cat-hero-plain { background: var(--indigo); color: #fff; padding: 48px 0; text-align: center; }
.cc-cat-hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cc-cat-hero p { color: var(--muted); margin-top: 10px; }
.cc-cat-hero-bg { display: none; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.cc-chip {
  padding: 8px 14px; font-size: .74rem; font-weight: 600;
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius);
  cursor: pointer; color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
}
.cc-chip.active, .cc-chip:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.cc-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cc-cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.cc-cat-img img { width: 100%; height: 165px; object-fit: cover; }
.cc-cat-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.cc-cat-body .sku { font-size: .68rem; font-weight: 700; color: var(--magenta); }
.cc-cat-body h2 { font-size: .98rem; margin: 6px 0; font-family: var(--font-ui); font-weight: 700; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0; }
.feat-tags li { font-size: .66rem; padding: 3px 8px; background: var(--lavender); border-radius: 2px; color: var(--indigo-dark); }
.modalidad-tag { font-size: .72rem; color: var(--magenta); font-weight: 600; }
.precio-slot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.precio-line strong { color: var(--indigo); }
.precio-line span { display: block; font-size: .74rem; color: var(--muted); }
.precio-note { font-size: .7rem; color: var(--muted); font-style: italic; margin-top: 4px; }

/* Legal */
.legal-page { padding: 48px 0 64px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page .fecha { color: var(--muted); margin-bottom: 24px; font-size: .88rem; }
.legal-page h2 { font-size: 1.05rem; margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--lavender); }
.legal-page p, .legal-page li { font-size: .9rem; margin-bottom: 8px; color: var(--muted); }
.legal-page ul { padding-left: 20px; margin-bottom: 14px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .84rem; }
.legal-page th, .legal-page td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.legal-page th { background: var(--lavender); }
.legal-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.legal-hub-card {
  display: block; padding: 20px; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--indigo); border-radius: var(--radius); color: inherit;
}
.legal-hub-card:hover { box-shadow: var(--shadow); }
.about-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-bottom: 28px; }
.about-visual { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about-visual img { width: 100%; min-height: 240px; object-fit: cover; }
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0; }
.about-gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.contact-banner { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; border: 1px solid var(--line); }
.contact-banner img { width: 100%; height: 160px; object-fit: cover; }
.contact-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(55,48,163,.92), rgba(190,24,93,.75));
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: #fff;
}
.contact-banner-overlay h2 { color: #fff; font-size: 1.2rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.ads-disclaimer {
  background: var(--lavender); border: 1px solid var(--lavender-deep);
  border-left: 4px solid var(--magenta); padding: 16px 20px; margin: 32px auto;
  font-size: .84rem; max-width: var(--max); width: 92vw; border-radius: var(--radius); color: var(--muted);
}
.cc-legal-strip { background: var(--paper); color: var(--muted); text-align: center; padding: 12px; font-size: .8rem; border-top: 1px solid var(--line); }
.cc-legal-strip a { color: var(--indigo); }

.cc-footer { background: var(--ink); color: #a1a1aa; padding: 48px 0 24px; }
.cc-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.cc-footer-brand p { font-size: .84rem; margin-top: 12px; line-height: 1.5; }
.cc-footer-col h4 { font-family: var(--font-display); color: #fff; font-size: .88rem; margin-bottom: 12px; }
.cc-footer-col a { display: block; color: #a1a1aa; font-size: .82rem; margin-bottom: 6px; }
.cc-footer-col a:hover { color: var(--magenta-soft); }
.cc-footer-legal { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding-top: 20px; border-top: 1px solid #3f3f46; }
.cc-footer-legal a { color: #a1a1aa; font-size: .76rem; }
.cc-footer-copy { text-align: center; font-size: .72rem; margin-top: 16px; color: #71717a; }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--ink); color: #fff; padding: 16px;
  transform: translateY(100%); transition: transform .35s;
  border-top: 3px solid var(--magenta);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between;
}
.cookie-inner p { font-size: .84rem; flex: 1; min-width: 220px; color: #d4d4d8; }
.cookie-inner a { color: var(--magenta-soft); }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Legacy hidden */
.cc-hero-canopy, .cc-hero-portada, .cc-stats, .cc-showcase, .cc-svc-cards, .cc-price-grid,
.cc-process-split, .cc-gallery, .cc-cta-visual { display: none !important; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .cc-hero-editorial { grid-template-columns: 1fr; padding-left: 4vw; padding-right: 4vw; }
  .cc-hero-float { right: 12px; bottom: 12px; }
  .cc-bento-card.featured, .cc-bento-card:not(.featured) { grid-column: span 6; grid-row: auto; }
  .cc-timeline { grid-template-columns: 1fr 1fr; }
  .cc-timeline-step:nth-child(2) { border-right: none; }
  .cc-duo { grid-template-columns: 1fr; }
  .cc-contact, .cc-cat-grid, .cc-footer-grid, .legal-hub-grid, .about-split, .contact-grid, .about-gallery { grid-template-columns: 1fr; }
  .cc-nav {
    position: fixed; inset: 0; top: 110px; background: #fff; flex-direction: column;
    padding: 24px; transform: translateX(100%); transition: transform .3s; z-index: 250;
    border-top: 1px solid var(--line);
  }
  .cc-nav.open { transform: translateX(0); }
  .cc-nav-toggle { display: block; }
  .cc-header .btn-primary, .cc-header .btn-forest, .cc-header .header-cta { display: none; }
  .cc-price-row { grid-template-columns: 56px 1fr; }
  .cc-price-amt { grid-column: 2; text-align: left; margin-top: 4px; }
}
@media (max-width: 560px) {
  .cc-bento-card.featured, .cc-bento-card:not(.featured) { grid-column: span 12; }
  .cc-timeline { grid-template-columns: 1fr; }
  .cc-timeline-step { border-right: none; border-bottom: 1px solid var(--line); }
}
