:root {
  --ink: #171528;
  --muted: #625f72;
  --paper: #ffffff;
  --soft: #f5f3fa;
  --violet: #3d237c;
  --violet-dark: #291555;
  --green: #16a171;
  --cta: #a11c1c;
  --cta-hover: #861515;
  --whatsapp: #25d366;
  --line: #e5e0ef;
  --shadow: 0 18px 55px rgba(32, 20, 66, .12);
  --radius: 18px;
  font-family: Lato, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; line-height: 1.6; background: var(--paper); }
a { color: var(--violet); }
img { max-width: 100%; height: auto; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: white; padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 220px; }
.brand img { display: block; }
.menu-toggle { display: none; min-height: 42px; padding: 0 16px; border: 2px solid var(--violet-dark); border-radius: 999px; background: white; color: var(--violet-dark); font: inherit; font-weight: 800; cursor: pointer; }
.menu-toggle:focus-visible, .nav-toggle:focus-visible, .nav-submenu a:focus-visible { outline: 3px solid rgba(61, 35, 124, .35); outline-offset: 2px; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; }
.nav-group { position: relative; }
.nav-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; border: 0; background: transparent; color: var(--violet); font: inherit; font-weight: 700; cursor: pointer; }
.nav-toggle[aria-expanded="true"], .nav-group-current .nav-toggle { color: var(--violet-dark); }
.nav-submenu { position: absolute; top: calc(100% - 4px); left: 0; z-index: 25; min-width: 240px; margin: 0; padding: 10px 0; list-style: none; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.nav-submenu[hidden] { display: none !important; }
.nav-submenu a { display: block; padding: 10px 16px; color: var(--ink); text-decoration: none; font-weight: 700; }
.nav-submenu a:hover, .nav-submenu a[aria-current="page"] { background: var(--soft); color: var(--violet); }
.utility-nav { color: white; background: var(--violet-dark); font-size: .88rem; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner nav { display: flex; gap: 20px; }
.utility-nav a { color: white; text-decoration: none; font-weight: 700; }
.utility-nav a:hover, .utility-nav a[aria-current="page"] { color: #d7c9ff; }
body.nav-lock { overflow: hidden; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 2px solid var(--cta); border-radius: 999px; background: var(--cta); color: white; text-decoration: none; font-weight: 800; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--cta-hover); border-color: var(--cta-hover); }
.button:focus-visible { outline: 3px solid rgba(161, 28, 28, .45); outline-offset: 3px; }
.button-small { min-height: 42px; white-space: nowrap; }
.button-ghost { background: transparent; border-color: rgba(255,255,255,.72); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.72); }
.button-ghost:focus-visible { outline-color: rgba(255,255,255,.7); }
.button-full { width: 100%; }

.page-home .hero,
.page-precios .hero { --hero-image: url("../images/fotos/img-intro1.webp"); }
.page-disco .hero { --hero-image: url("../images/fotos/recuperar-disco.webp"); }
.page-laptop .hero { --hero-image: url("../images/fotos/recuperar-laptop.webp"); }
.page-raid .hero { --hero-image: url("../images/fotos/recuperar-raid.webp"); }
.page-usb .hero { --hero-image: url("../images/fotos/recuperar-usb.webp"); }
.page-cinta .hero { --hero-image: url("../images/fotos/recuperar-cinta.webp"); }
.page-borrado .hero,
.page-equipos .hero { --hero-image: url("../images/fotos/t-1.5.webp"); }

.hero { position: relative; min-height: 560px; display: grid; align-items: center; color: white; background: linear-gradient(100deg, rgba(26,15,57,.96) 12%, rgba(46,24,95,.83) 57%, rgba(46,24,95,.28)), var(--hero-image); background-size: cover; background-position: center; }
.hero-content { padding-block: 90px; }
.hero h1 { max-width: 780px; margin: 8px 0 12px; font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
.hero-subtitle { max-width: 720px; margin: 0; font-size: clamp(1.15rem, 2vw, 1.55rem); color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: .82rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.section { padding: 82px 0; }
.section-alt { background: var(--soft); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 64px; align-items: start; }
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 34px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.12; }
.lead { margin-top: 0; font-size: 1.35rem; line-height: 1.5; color: #3f3b4e; }
.narrow { max-width: 980px; margin-inline: auto; }
.feature-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 17px 18px 17px 50px; background: var(--soft); border-radius: 12px; }
.feature-list li::before { content: "✓"; position: absolute; left: 18px; color: var(--green); font-weight: 900; }
.contact-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.contact-card h2 { margin-top: 0; font-size: 1.8rem; }
.service-strip { padding: 26px 0; background: var(--violet-dark); }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.service-grid a { padding: 18px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: white; text-align: center; text-decoration: none; font-weight: 800; }
.service-grid a:hover { background: rgba(255,255,255,.1); }

.page-hero { padding: 92px 0; color: white; background: linear-gradient(120deg, var(--violet-dark), var(--violet)); }
.page-hero h1 { max-width: 850px; margin: 8px 0; font-size: clamp(2.35rem, 5vw, 4.6rem); line-height: 1; }
.page-hero p { max-width: 720px; font-size: 1.2rem; }
.hub-services { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.hub-service { margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.hub-service h3 { margin: 0 0 10px; font-size: 1.25rem; color: var(--violet-dark); }
.hub-service p { margin: 0 0 14px; }
.hub-service .button { margin-top: 4px; }
@media (min-width: 800px) {
  .hub-services { grid-template-columns: 1fr 1fr; }
}
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.info-card h2 { margin-top: 0; font-size: 1.3rem; }
.location-list { display: grid; gap: 24px; }
.location-intro { margin-bottom: 28px; }
.location-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.location-card h2 { margin: 4px 0 20px; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.18; }
.location-card address { font-style: normal; }
.location-card address p { margin: 0 0 4px; }
.process-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { position: relative; padding: 22px 22px 22px 78px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.process-list li::before { counter-increment: process; content: counter(process); position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cta); color: white; font-weight: 800; }
.process-list h3 { margin: 0 0 8px; font-size: 1.2rem; }
.process-list p { margin: 0; }
.faq-list { display: grid; gap: 12px; margin-top: 28px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: white; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-weight: 800; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--cta); font-weight: 900; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 3px solid rgba(161, 28, 28, .35); outline-offset: -3px; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: #3f3b4e; }
.faq-index { display: grid; gap: 10px; margin: 16px 0 36px; padding: 0; list-style: none; }
.faq-index li { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.faq-index a { font-weight: 750; text-decoration: none; }
.faq-index a:hover { text-decoration: underline; }
.faq-flag { color: #7a3b12; font-size: .88rem; }
.notice-snapshot, .notice-pending { padding: 14px 16px; border-radius: 12px; }
.notice-snapshot { background: #f4f0ea; color: #3f3b4e; }
.notice-pending { background: #faf3f3; border: 1px solid #e4c7c7; color: #4a3b3b; }
.source-line { margin-top: 28px; color: var(--muted); font-size: .9rem; }
.hero-back { color: rgba(255,255,255,.86); }
.imported-content ul, .imported-content ol { margin: 0 0 1.1em; padding-left: 1.25em; }
.imported-content li { margin: 0 0 .4em; }
.imported-content p { margin: 0 0 1em; }
.contact-card .button-full + p { margin: 14px 0 0; }
.price-ranges-wrap { overflow-x: auto; margin: 0 0 28px; -webkit-overflow-scrolling: touch; }
.price-ranges { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-ranges caption { caption-side: top; text-align: left; margin: 0 0 12px; font-weight: 800; color: var(--violet-dark); }
.price-ranges th, .price-ranges td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-ranges thead th { border-bottom: 2px solid var(--violet); color: var(--violet-dark); font-weight: 800; }
.price-ranges tbody th { font-weight: 700; color: var(--ink); }
.price-ranges td { white-space: nowrap; color: var(--muted); font-weight: 650; }
.price-ranges-note { margin: 14px 0 0; color: var(--muted); font-size: .95rem; }
.price-ranges-note-scope { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) {
  .price-ranges td { white-space: normal; }
  .price-ranges-note, .price-ranges-note-scope { display: block; }
}

.form-shell { max-width: 1100px; }
.form-intro { max-width: 780px; margin-bottom: 34px; }
.request-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-columns { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 44px; }
.form-section { min-width: 0; margin: 0 0 26px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line); }
.form-section legend { width: 100%; margin-bottom: 16px; color: var(--violet-dark); font-size: 1.35rem; font-weight: 900; }
.form-section label, .field-label { display: block; margin: 14px 0 7px; font-weight: 750; }
.form-section label span { color: var(--muted); font-size: .88em; font-weight: 500; }
.form-section input:not([type="radio"]), .form-section select, .form-section textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfc8dc; border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.form-section textarea { resize: vertical; }
.form-section input:focus, .form-section select:focus, .form-section textarea:focus { outline: 3px solid rgba(22,161,113,.2); border-color: var(--green); }
.choice-group { display: flex; flex-wrap: wrap; gap: 26px; }
.choice-group label { display: inline-flex; align-items: center; gap: 8px; margin-top: 7px; font-weight: 500; }
.choice-group input { inline-size: 18px; block-size: 18px; accent-color: var(--green); }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px; border-radius: 12px; background: #faf3f3; }
.form-submit p { margin: 0; color: #4a3b3b; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
#registro-asociados { scroll-margin-top: 96px; }
.form-feedback { margin: 0 0 18px; padding: 14px 16px; border-radius: 8px; }
.form-feedback-error { border: 1px solid #c45c5c; background: #fdf2f2; color: #6b2a2a; }
.partner-signup-form .form-section { border-bottom: 0; padding-bottom: 0; }

.site-footer { padding: 56px 0 20px; color: rgba(255,255,255,.78); background: #151022; }
.footer-logo { display: block; width: 180px; height: auto; filter: brightness(0) invert(1); opacity: .94; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer strong { color: white; margin-bottom: 6px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: white; }
.footer-legal { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 10; padding: 12px 18px; border-radius: 999px; background: var(--whatsapp); color: #092a16; box-shadow: var(--shadow); text-decoration: none; font-weight: 900; }
.whatsapp:focus-visible { outline: 3px solid rgba(9, 42, 22, .35); outline-offset: 3px; }

@media (max-width: 980px) {
  .header-inner { min-height: 70px; flex-wrap: wrap; gap: 12px 16px; }
  .brand { flex-basis: 175px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-inner .button { margin-left: 0; }
  .primary-nav { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 0 18px; }
  .nav-open .primary-nav { display: flex; }
  .nav-toggle { justify-content: space-between; width: 100%; min-height: 48px; padding: 0 4px; }
  .nav-submenu { position: static; min-width: 0; margin: 0 0 8px; box-shadow: none; }
  .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .form-columns { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 26px, 1160px); }
  .brand { flex-basis: 142px; }
  .header-inner .button { min-height: 38px; padding-inline: 13px; font-size: .78rem; }
  .utility-inner > span { display: none; }
  .utility-inner { justify-content: center; }
  .hero { min-height: 510px; }
  .hero-content { padding-block: 68px; }
  .section { padding: 58px 0; }
  .card-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .request-form { padding: 22px 16px; }
  .location-card { padding: 24px 20px; }
  .form-submit { display: block; }
  .form-submit .button { width: 100%; margin-top: 18px; }
}
