/* Software para centros de belleza · rediseño. Cuelga de body.centros y usa los tokens de belleza.css. */

body.centros section { padding: 0; }
body.centros .nav-links a[aria-current="page"]:not(.btn) { color: var(--acento); }
.cg-sec { padding: clamp(56px, 7vw, 96px) 0 !important; }
.cg-sec--alt { background: var(--bg-acento); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.cg-cab { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.cg-cab h2 { margin-top: 12px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.cg-cab p { margin-top: 14px; color: var(--texto-tenue); font-size: 17px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.cg-hero {
  position: relative; overflow: hidden;
  padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(circle at 88% 8%, rgba(190, 117, 132, .20), transparent 30rem),
    radial-gradient(circle at 0% 90%, rgba(125, 53, 69, .07), transparent 26rem),
    linear-gradient(180deg, #fffaf8 0%, var(--bg) 100%);
}
.cg-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cg-hero .eyebrow {
  padding: 7px 12px; border: 1px solid rgba(125, 53, 69, .2); border-radius: 999px; background: rgba(255, 255, 255, .75);
}
.cg-hero h1 { margin-top: 18px; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.04; letter-spacing: -.05em; text-wrap: balance; }
.cg-hero h1 em { font-style: normal; color: var(--acento); }
.cg-lead { margin-top: 20px; max-width: 520px; color: var(--texto-tenue); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.7; }
.cg-hero .acciones { margin-top: 28px; }
.cg-garantias { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; list-style: none; color: var(--texto-tenue); font-size: 14px; }
.cg-garantias li { position: relative; padding-left: 22px; }
.cg-garantias li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--acento-glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.500 7.200l2.200 2.200 4.800-4.800' fill='none' stroke='%237d3545' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.cg-hero-img { position: relative; margin: 0; }
.cg-hero-img img {
  display: block; width: 100%; height: auto; aspect-ratio: 1166 / 884; object-fit: cover; object-position: top left;
  border: 1px solid rgba(125, 53, 69, .14); border-radius: 22px; background: #fff;
  box-shadow: 0 34px 80px rgba(var(--sombra-tinte), .20);
}
.cg-flota {
  position: absolute; left: -14px; bottom: 28px;
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px;
  border: 1px solid var(--borde); border-radius: 14px; background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 40px rgba(var(--sombra-tinte), .16); font-size: 14px; font-weight: 600;
}
.cg-punto { width: 9px; height: 9px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 4px var(--verde-glow); }

/* ── Oficios ──────────────────────────────────────────────────── */
.cg-oficios { border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); background: var(--surface); }
.cg-oficios .wrap { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.cg-oficios p { color: var(--texto-min); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cg-oficios ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.cg-oficios li { padding: 7px 14px; border-radius: 999px; background: var(--bg-acento); color: var(--texto); font-size: 14px; font-weight: 500; }

/* ── Funciones ────────────────────────────────────────────────── */
.cg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cg-card {
  padding: 28px; border: 1px solid var(--borde); border-radius: 20px; background: var(--surface);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
}
.cg-card:hover { transform: translateY(-3px); border-color: var(--borde-activo); box-shadow: 0 22px 50px rgba(var(--sombra-tinte), .12); }
.cg-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--acento-glow); color: var(--acento); }
.cg-card h3 { margin: 18px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.cg-card p { color: var(--texto-tenue); font-size: 15px; line-height: 1.65; }
.cg-card a { color: var(--acento); font-weight: 600; }
.cg-nota { max-width: 720px; margin: 32px auto 0; text-align: center; color: var(--texto-min); font-size: 14px; }
.cg-nota a { color: var(--acento); }

/* ── Pasos ────────────────────────────────────────────────────── */
.cg-pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; counter-reset: p; }
.cg-pasos li { position: relative; padding: 30px 28px; border: 1px solid var(--borde); border-radius: 20px; background: var(--surface); }
.cg-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--acento); color: #fff; font-weight: 700; }
.cg-pasos h3 { margin: 18px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.cg-pasos p { color: var(--texto-tenue); font-size: 15.5px; line-height: 1.65; }

/* ── Tarjetas de oficio ───────────────────────────────────────── */
.cg-oficios-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cg-oficio {
  display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--borde); border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fdf8f6); text-decoration: none; color: inherit;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
}
.cg-oficio:hover { transform: translateY(-3px); border-color: var(--borde-activo); box-shadow: 0 22px 50px rgba(var(--sombra-tinte), .12); }
.cg-oficio h3 { font-size: 21px; letter-spacing: -.025em; }
.cg-oficio p { margin-top: 10px; color: var(--texto-tenue); font-size: 15px; line-height: 1.65; }
.cg-oficio span { margin-top: auto; padding-top: 22px; color: var(--acento); font-weight: 700; font-size: 15px; }

/* ── Banda de migración ───────────────────────────────────────── */
.cg-banda { padding: 0 0 clamp(56px, 7vw, 96px) !important; }
.cg-banda-in {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  overflow: hidden; padding: clamp(28px, 4vw, 52px); border-radius: 28px;
  background: linear-gradient(135deg, #3b1824 0%, #5a2433 60%, #7d3545 100%); color: #fff;
}
.cg-banda .eyebrow { color: #f1b9c3; }
.cg-banda h2 { margin-top: 10px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.035em; color: #fff; }
.cg-banda p { margin-top: 14px; color: rgba(255, 255, 255, .84); font-size: 16.5px; line-height: 1.7; }
.cg-banda .acciones { margin-top: 24px; }
.cg-banda .btn-1 { background: #fff; color: var(--acento-dim); }
.cg-banda .btn-1:hover { background: var(--bg-acento); }
.cg-banda .btn-2 { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.cg-banda .btn-2:hover { border-color: #fff; color: #fff; }
.cg-banda-in > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 78% 50%; border-radius: 18px; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.cg-faq { max-width: 820px; }
.cg-faq details { border-bottom: 1px solid var(--borde); }
.cg-faq details:first-of-type { border-top: 1px solid var(--borde); }
.cg-faq summary { position: relative; padding: 20px 40px 20px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; }
.cg-faq summary::-webkit-details-marker { display: none; }
.cg-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--acento); transition: transform .25s var(--ease-out); }
.cg-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cg-faq details p { margin: 0 0 20px; color: var(--texto-tenue); font-size: 16.5px; line-height: 1.75; }
.cg-faq details a { color: var(--acento); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 980px) {
  .cg-hero-grid, .cg-banda-in { grid-template-columns: 1fr; }
  .cg-grid, .cg-pasos, .cg-oficios-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-flota { left: 12px; }
}
@media (max-width: 640px) {
  .cg-grid, .cg-pasos, .cg-oficios-cards { grid-template-columns: 1fr; }
  .cg-card, .cg-oficio, .cg-pasos li { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cg-card, .cg-oficio { transition: none; }
  .cg-card:hover, .cg-oficio:hover { transform: none; }
}
