/* Áurea Creativa — sistema visual de las páginas de servicio
   Usado por: erp-alicante, erp-a-medida, crm-a-medida,
   software-de-gestion-empresarial, programa-de-gestion-para-empresas */

:root { --cs-accent:#f8c005; --cs-ink:#111110; --cs-muted:#5c5b57; --cs-line:#e7e4da; --cs-soft:#f7f5ef; --cs-gold:#8a6800; --cs-paper:#fbfaf6; }
.cs { font-family: var(--font-primary, "Inter"), "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--cs-ink); line-height: 1.65; background: var(--cs-paper); margin: 0; -webkit-font-smoothing: antialiased; }
.cs * { box-sizing: border-box; }
.cs a { color: inherit; }
.cs h1, .cs h2, .cs h3 { letter-spacing: -.025em; }
.cs-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.cs-skip { position: absolute; left: -9999px; }
.cs-skip:focus { position: static; display: inline-block; margin: 8px 32px; font-weight: 700; }

/* Cabecera */
.cs-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--cs-line); }
.cs-header .cs-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.cs-header img { height: 26px; width: auto; }
.cs-nav { display: flex; align-items: center; gap: 26px; }
.cs-nav a.lnk { font-size: 14px; font-weight: 500; color: var(--cs-muted); text-decoration: none; }
.cs-nav a.lnk:hover { color: var(--cs-ink); }
.cs-navcta { display: flex; align-items: center; gap: 14px; padding-left: 22px; border-left: 1px solid var(--cs-line); }
.cs-navtel { font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cs a.btn-dark, .cs a.btn-ghost, .cs a.btn-gold { white-space: nowrap; }
.cs a.btn-dark { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 999px; background: var(--cs-ink); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .25s, color .25s; }
.cs a.btn-dark:hover { background: var(--cs-accent); color: var(--cs-ink); }
.cs a.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--cs-ink); font-size: 13px; font-weight: 700; text-decoration: none; transition: background .25s, color .25s; }
.cs a.btn-ghost:hover { background: var(--cs-ink); color: #fff; }
.cs a.btn-gold { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 999px; background: var(--cs-accent); color: var(--cs-ink); font-size: 13px; font-weight: 800; text-decoration: none; transition: filter .25s; }
.cs a.btn-gold:hover { filter: brightness(.94); }
.cs .btn-lg { padding: 16px 30px; font-size: 15px; }

/* Hero */
.cs-hero { background: #fff; border-bottom: 1px solid var(--cs-line); }
.cs-hero .cs-wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; padding-top: 34px; padding-bottom: 52px; align-items: start; }
.cs-crumbs { grid-column: 1 / -1; font-size: 13px; color: var(--cs-muted); margin-bottom: -6px; }
.cs-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.cs-crumbs li + li::before { content: "/"; margin-right: 8px; color: #b8b4a8; }
.cs-crumbs a { text-decoration: none; font-weight: 600; }
.cs-crumbs a:hover { color: var(--cs-ink); }
.cs-crumbs [aria-current] { color: var(--cs-ink); font-weight: 600; }
.cs-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.cs-eyebrow span.bar { width: 28px; height: 3px; background: var(--cs-accent); display: block; }
.cs-eyebrow span.txt { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cs-gold); }
.cs-hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.03; font-weight: 800; margin: 0 0 22px; text-wrap: balance; }
.cs-hero .lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--cs-muted); max-width: 54ch; margin: 0 0 30px; }
.cs-hero .button-area { display: flex; flex-wrap: wrap; gap: 12px; }
.cs-ficha { border: 1px solid var(--cs-line); border-radius: 18px; overflow: hidden; background: var(--cs-paper); }
.cs-ficha .head { padding: 18px 24px; background: var(--cs-accent); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cs-ficha .head span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cs-ficha .rows { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.cs-ficha dl { margin: 0; display: flex; flex-direction: column; gap: 3px; }
.cs-ficha dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cs-gold); }
.cs-ficha dd { margin: 0; font-size: 16px; font-weight: 600; }
.cs-ficha hr { border: 0; border-top: 1px solid var(--cs-line); margin: 0; }

/* Tira de confianza */
.cs-trust { background: var(--cs-ink); }
.cs-trust ul { max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-trust li { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-right: 1px solid #2a2925; font-size: 14px; font-weight: 500; color: #e8e5dc; }
.cs-trust li:first-child { padding-left: 32px; }
.cs-trust li:last-child { border-right: 0; padding-right: 32px; }
.cs-trust svg { flex-shrink: 0; }

/* Estructura con columna lateral */
.cs-shell { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
.cs-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.cs-toc { border-top: 3px solid var(--cs-ink); padding-top: 16px; }
.cs-toc .cap { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cs-gold); }
.cs-toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; }
.cs-toc li a { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 8px; text-decoration: none; transition: background .2s; }
.cs-toc li a:hover { background: #fff; }
.cs-toc .num { font-size: 11px; font-weight: 700; color: #a9a59a; width: 16px; flex-shrink: 0; }
.cs-toc .txt { font-size: 14px; font-weight: 500; color: #35342f; }
.cs-toc li:first-child a { background: #fff; border-left: 3px solid var(--cs-accent); }
.cs-toc li:first-child .num { color: var(--cs-gold); }
.cs-toc li:first-child .txt { font-weight: 700; }
.cs-sidecard { border: 1px solid var(--cs-line); border-radius: 16px; padding: 22px; background: #fff; }
.cs-sidecard p.t { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0 0 8px; }
.cs-sidecard p.d { font-size: 13.5px; line-height: 1.55; color: var(--cs-muted); margin: 0 0 16px; }
.cs-sidecard .btn-gold { width: 100%; }
.cs-sidetel { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 13px; font-size: 13px; font-weight: 600; color: var(--cs-muted); text-decoration: none; }
.cs-sidetel:hover { color: var(--cs-ink); }
.cs-sidelinks { padding: 20px 22px; border-radius: 16px; background: #f2efe4; }
.cs-sidelinks .cap { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cs-gold); }
.cs-sidelinks ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cs-sidelinks a { font-size: 14px; font-weight: 600; text-decoration: none; }
.cs-sidelinks a:hover { color: var(--cs-gold); }

/* Contenido */
.cs-main { display: flex; flex-direction: column; gap: 60px; }
.cs-main section { scroll-margin-top: 96px; }
.cs-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--cs-ink); margin-bottom: 26px; }
.cs-sechead h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin: 0; }
.cs-sechead .aside { font-size: 13px; font-weight: 600; color: var(--cs-gold); white-space: nowrap; }
.cs-main h2.solo { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 0 0 18px; line-height: 1.12; }
.cs-main h3 { font-size: 19px; font-weight: 700; margin: 30px 0 10px; }
.cs-main p { font-size: 17px; line-height: 1.65; color: #35342f; margin: 0 0 16px; }
.cs-main p:last-child { margin-bottom: 0; }
.cs-main a.inlink, .cs-main p a { color: var(--cs-gold); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

.cs-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.cs-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.6; color: #35342f; }
.cs-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8c005' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 17px 17px; }

.cs-towns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.cs-towns li { padding: 15px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--cs-line); }
.cs-towns li.is-home { background: var(--cs-accent); border-color: var(--cs-accent); }
.cs-towns strong { display: block; font-size: 15px; font-weight: 700; }
.cs-towns small { display: block; font-size: 12px; color: var(--cs-muted); margin-top: 2px; }
.cs-towns li.is-home small { color: #4a3c00; }

.cs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cs-card { padding: 24px; border-radius: 14px; background: #fff; border: 1px solid var(--cs-line); }
.cs-card .tick { display: block; width: 24px; height: 3px; background: var(--cs-accent); margin-bottom: 14px; }
.cs-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.cs-card p { font-size: 14.5px; line-height: 1.55; color: var(--cs-muted); margin: 0; }

.cs-tablewrap { overflow-x: auto; border: 1px solid var(--cs-line); border-radius: 14px; background: #fff; }
.cs-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.cs-table th, .cs-table td { text-align: left; padding: 15px 20px; vertical-align: top; border-bottom: 1px solid var(--cs-line); }
.cs-table thead th { background: #f2efe4; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--cs-muted); }
.cs-table thead th:last-child { color: var(--cs-ink); }
.cs-table tbody th { font-weight: 700; width: 24%; }
.cs-table td { color: var(--cs-muted); }
.cs-table td.yes { color: #1c7a3e; font-weight: 600; background: var(--cs-paper); }
.cs-table tbody tr:last-child th, .cs-table tbody tr:last-child td { border-bottom: 0; }

.cs-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 24px; }
.cs-steps li { padding-top: 16px; border-top: 2px solid var(--cs-line); }
.cs-steps li:first-child { border-top-color: var(--cs-accent); }
.cs-steps .num { display: block; font-size: 12px; font-weight: 800; color: #a9a59a; margin-bottom: 8px; }
.cs-steps li:first-child .num { color: var(--cs-gold); }
.cs-steps strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.cs-steps span.d { font-size: 14px; line-height: 1.55; color: var(--cs-muted); }

.cs-feature { border-radius: 18px; background: var(--cs-ink); padding: 40px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.cs-feature .cap { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cs-accent); }
.cs-feature h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.14; font-weight: 800; color: #fff; margin: 16px 0 14px; }
.cs-feature p { font-size: 16px; line-height: 1.6; color: #a8a49a; margin: 0 0 20px; }
.cs-feature a.more { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--cs-accent); text-decoration: none; }
.cs-feature a.more:hover { color: #fff; }
.cs-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.cs-stats div { padding: 20px; border-radius: 14px; background: #1c1b19; }
.cs-stats dt { font-size: 30px; font-weight: 800; color: var(--cs-accent); line-height: 1.1; }
.cs-stats dd { margin: 4px 0 0; font-size: 13px; color: #a8a49a; }

.cs-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.cs-case { display: block; padding: 24px; border-radius: 14px; background: #fff; border: 1px solid var(--cs-line); text-decoration: none; transition: border-color .25s, background .25s; }
.cs-case:hover { border-color: var(--cs-accent); background: var(--cs-soft); }
.cs-case .place { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cs-gold); }
.cs-case h3 { font-size: 18px; font-weight: 700; margin: 10px 0 8px; }
.cs-case p { font-size: 14px; line-height: 1.55; color: var(--cs-muted); margin: 0; }

.cs-related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cs-related a { display: inline-flex; align-items: center; padding: 10px 18px; border: 1px solid var(--cs-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .25s, background .25s; }
.cs-related a:hover { border-color: var(--cs-accent); background: var(--cs-soft); }

.cs-nap { border: 1px solid var(--cs-line); border-left: 4px solid var(--cs-accent); border-radius: 14px; padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.cs-nap .name { font-size: 17px; font-weight: 800; }
.cs-nap .row { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.cs-nap .row svg { flex-shrink: 0; margin-top: 3px; }
.cs-nap a { font-weight: 600; text-decoration: none; }
.cs-nap a:hover { color: var(--cs-gold); }

.cs-faq { border-top: 1px solid var(--cs-line); }
.cs-faq details { border-bottom: 1px solid var(--cs-line); padding: 16px 0; }
.cs-faq summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; padding-right: 30px; position: relative; }
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--cs-gold); font-weight: 700; font-size: 20px; }
.cs-faq details[open] summary::after { content: "\2013"; }
.cs-faq p { margin: 12px 0 0; font-size: 16px; line-height: 1.65; color: #35342f; }

/* Cierre */
.cs-final { background: var(--cs-accent); }
.cs-final .cs-wrap { padding-top: 60px; padding-bottom: 60px; display: flex; align-items: center; justify-content: space-between; gap: 44px; flex-wrap: wrap; }
.cs-final h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; font-weight: 800; margin: 0 0 12px; max-width: 20ch; text-wrap: balance; }
.cs-final p { font-size: 17px; line-height: 1.6; margin: 0; max-width: 52ch; }
.cs-final .button-area { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

.cs-footer { background: var(--cs-ink); color: #cfccc4; }
.cs-footer .cs-wrap { padding-top: 44px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.cs-footer a { color: #cfccc4; text-decoration: none; }
.cs-footer a:hover { color: #fff; }
.cs-footer .grup { color: var(--cs-accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.cs-foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.cs-foot-nap { font-size: 13px; line-height: 1.7; }
.cs-foot-copy { width: 100%; border-top: 1px solid #2a2925; padding-top: 20px; font-size: 12.5px; color: #8f8c84; }

/* Adaptativo */
@media (max-width: 1080px) {
  .cs-shell { grid-template-columns: 1fr; gap: 36px; }
  .cs-side { position: static; }
  .cs-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
  .cs-sidecard, .cs-sidelinks { display: none; }
  .cs-towns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-cards, .cs-cases, .cs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cs-hero .cs-wrap { grid-template-columns: 1fr; gap: 32px; }
  .cs-trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-trust li { border-bottom: 1px solid #2a2925; }
  .cs-trust li:nth-child(2n) { border-right: 0; }
  .cs-trust li:nth-child(2n+1) { padding-left: 32px; }
  .cs-trust li:nth-last-child(-n+2) { border-bottom: 0; }
  .cs-feature { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 720px) {
  .cs-wrap { padding: 0 20px; }
  .cs-nav a.lnk { display: none; }
  .cs-navcta { padding-left: 0; border-left: 0; }
  .cs-toc ol { grid-template-columns: 1fr; }
  .cs-towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-cards, .cs-cases, .cs-steps { grid-template-columns: 1fr; }
  .cs-sechead { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cs-sechead .aside { white-space: normal; }
  .cs-trust li:first-child, .cs-trust li:nth-child(2n+1) { padding-left: 20px; }
  .cs-trust li:last-child { padding-right: 20px; }
  .cs-final .button-area { width: 100%; }
  .cs-final .cs-wrap { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 560px) {
  .cs-navtel { display: none; }
  .cs-stats { grid-template-columns: 1fr; }
  .cs-header .cs-wrap { height: 68px; }
  .cs-header img { height: 22px; }
  .cs-header .btn-dark { padding: 11px 16px; font-size: 12px; }
  .cs-hero .cs-wrap { padding-top: 26px; padding-bottom: 40px; }
}
