@import url('./fonts.css');

:root {
  --night: #122c35;
  --mint: #66fcca;
  --blue: #49afff;
  --paper: #f5f9fc;
  --ink: #18333d;
  --muted: #536974;
  --line: #d8e5e9;
  --title: 'Manrope', Arial, sans-serif;
  --body: 'Source Sans 3', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; font: 19px/1.55 var(--body); color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--title); font-weight: 800; line-height: 1.13; letter-spacing: -.045em; }
h1 { font-size: clamp(42px, 5.1vw, 74px); }
h2 { font-size: clamp(32px, 3.6vw, 51px); }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid #07676a; outline-offset: 5px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--mint); }
::selection { background: var(--mint); color: var(--night); }
.container { width: min(1280px, calc(100% - 88px)); margin-inline: auto; }
.section { padding: 90px 0; }
.dark { background: var(--night); color: var(--paper); }
.soft { background: #edf5f9; }
.eyebrow { display: block; font: 700 12px/1.7 var(--title); letter-spacing: .17em; text-transform: uppercase; margin-bottom: 23px; }
.dark .eyebrow { color: #c8dfe7; }
.lead { font-size: 23px; line-height: 1.48; max-width: 700px; }
.muted { color: var(--muted); }
.note, figcaption, .help { font-size: 15px; line-height: 1.5; color: var(--muted); }
.dark figcaption, .dark .muted { color: #c2d6dd; }
figcaption { margin-top: 12px; text-align: right; }
.arrow { font: 400 24px/1 Arial, sans-serif; flex-shrink: 0; transition: transform .18s ease; }
a:hover .arrow { transform: translateX(4px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 15px 22px; border: 1px solid transparent; border-radius: 7px; font: 700 14px/1.4 var(--title); text-align: center; transition: transform .18s, background .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-mint { background: var(--mint); color: var(--night); }
.btn-mint:hover { background: #93ffdc; }
.btn-dark { background: var(--night); color: var(--paper); }
.btn-outline { background: transparent; border-color: #8ba7b2; color: var(--paper); }
.btn-outline:hover { background: #254750; }
.text-link { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; font-weight: 600; border-bottom: 1px solid currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 34px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 200; background: var(--mint); color: var(--night); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--paper); border-bottom: 1px solid #ffffff14; }
.test-strip { padding: 5px 20px; background: #1b3b45; color: #d5e9ef; text-align: center; font-size: 12px; line-height: 1.4; }
.header-inner { display: flex; align-items: center; min-height: 86px; gap: 28px; }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { width: 180px; height: auto; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 15px; }
.desktop-nav > a, .solution-menu > summary { position: relative; padding: 12px 0; white-space: nowrap; }
.desktop-nav > a:hover, .solution-menu > summary:hover { color: var(--mint); }
.desktop-nav .active::after, .solution-menu.active > summary::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--mint); }
.solution-menu { position: relative; }
.solution-menu > summary { list-style: none; padding-right: 15px; }
.solution-menu > summary::-webkit-details-marker { display: none; }
.solution-menu > summary::before { content: '+'; position: absolute; right: 0; }
.solution-menu[open] > summary::before { content: '−'; }
.solution-dropdown { position: absolute; top: 47px; left: -18px; width: 350px; padding: 12px; border-radius: 8px; border: 1px solid #49707e; background: #173641; box-shadow: 0 18px 38px #0003; }
.solution-dropdown a { display: block; padding: 11px 12px; border-radius: 4px; font: 600 14px/1.4 var(--title); }
.solution-dropdown a:hover { background: #244954; color: var(--mint); }
.solution-dropdown small { display: block; color: #bad2dd; font: 400 13px/1.4 var(--body); margin-top: 4px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { font-size: 12px; padding: 11px 14px; min-height: 43px; }
.menu-toggle { display: none; background: transparent; color: inherit; border: 1px solid #6d909e; border-radius: 5px; width: 48px; height: 48px; margin-left: auto; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--paper); }
.mobile-nav { display: none; padding: 12px 26px 24px; border-top: 1px solid #3c626e; overflow-y: auto; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); }
.mobile-nav a { display: block; padding: 11px 0; border-bottom: 1px solid #ffffff16; }
.mobile-nav .sub { padding-left: 16px; font-size: 16px; color: #d0e3eb; }
.hero { padding: 64px 0 65px; }
.hero-grid { display: grid; grid-template-columns: 1.14fr 1fr; align-items: center; gap: 35px; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero .lead { margin-top: 28px; color: #d5e4e9; font-size: 22px; }
.hero-art { min-width: 0; }
.hero-art img { width: 100%; mix-blend-mode: lighten; }
.hero-art figcaption { font-size: 13px; }
.problem-intro { margin: 26px 0 36px; max-width: 790px; color: var(--muted); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.problem { display: flex; align-items: flex-start; gap: 18px; padding-right: 26px; border-right: 1px solid var(--line); }
.problem:last-child { border-right: 0; padding-right: 0; }
.problem h3 { font-size: 19px; margin: 6px 0 10px; }
.problem p { font-size: 17px; color: var(--muted); }
.icon-wrap { display: grid; place-items: center; width: 55px; height: 55px; flex-shrink: 0; border-radius: 50%; background: #d9fff0; }
.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.split { display: grid; grid-template-columns: .85fr 1.4fr; gap: 70px; align-items: start; }
.split-title p { margin-top: 25px; max-width: 420px; color: var(--muted); }
.split-title .text-link { margin-top: 18px; }
.solution-row { display: grid; grid-template-columns: 48px 1fr 25px; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.solution-row:first-child { padding-top: 0; }
.solution-row:last-child { border-bottom: 0; }
.solution-row .number { font: 500 28px/1.25 var(--title); color: #587a89; }
.solution-row h3 { margin: 0 0 7px; font-size: 20px; }
.solution-row .descriptor { font-size: 17px; font-weight: 600; color: #355666; margin-bottom: 8px; }
.solution-row p { font-size: 17px; color: var(--muted); line-height: 1.45; }
.solution-row:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.solution-row .arrow { margin-top: 3px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 40px; }
.section-head h2 { max-width: 770px; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.method-item { border-top: 1px solid #55727d; padding-top: 23px; }
.method-item .icon-wrap { background: #20444f; color: var(--mint); margin-bottom: 20px; }
.method-item h3 { font-size: 20px; margin-bottom: 14px; }
.method-item p { font-size: 18px; color: #c4d9e2; }
.about-strip .split { align-items: center; }
.about-strip .body-copy .text-link { margin-top: 12px; }
.cta-band { padding: 58px 0; background: #8fffdc; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 55px; }
.cta-inner h2 { max-width: 900px; font-size: clamp(31px, 3.2vw, 45px); }
.cta-inner p { max-width: 760px; margin-top: 21px; color: #244d56; }
.cta-inner .btn { flex-shrink: 0; min-width: 220px; }
.site-footer { padding: 55px 0 25px; background: var(--night); color: var(--paper); }
.footer-top { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 68px; padding-bottom: 38px; }
.site-footer .brand { margin-bottom: 20px; }
.site-footer p { color: #c2d6de; font-size: 17px; max-width: 420px; }
.footer-title { font: 700 12px/1.5 var(--title); text-transform: uppercase; letter-spacing: .13em; margin: 5px 0 18px; }
.footer-links a { display: block; margin: 0 0 9px; font-size: 17px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #45616c; padding-top: 24px; font-size: 13px; color: #bdd3de; }
.breadcrumb { padding-top: 28px; font-size: 14px; color: #bad2dd; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero { padding: 45px 0 67px; }
.page-hero h1 { font-size: clamp(36px, 4.2vw, 62px); max-width: 890px; }
.page-hero .hero-grid { grid-template-columns: 1.35fr .85fr; gap: 60px; }
.page-hero .lead { color: #d0e1e8; margin-top: 25px; }
.page-hero .eyebrow { max-width: 660px; }
.solution-emblem { border: 1px solid #426b7c; border-radius: 12px; padding: 36px; min-height: 285px; background: linear-gradient(135deg, #254e59, #153741); }
.solution-emblem .icon-wrap { background: #2c5d67; color: var(--mint); width: 64px; height: 64px; margin-bottom: 27px; }
.solution-emblem .emblem-number { display: block; color: var(--blue); font: 500 57px/1 var(--title); margin-bottom: 20px; }
.solution-emblem strong { display: block; max-width: 310px; font: 700 22px/1.4 var(--title); }
.content-split { display: grid; grid-template-columns: .85fr 1.4fr; gap: 76px; }
.content-split h2 { max-width: 500px; }
.body-copy { max-width: 790px; min-width: 0; }
.body-copy h3 { margin: 25px 0 14px; }
.body-copy p { margin-bottom: 23px; }
.body-copy a:not(.btn):not(.text-link) { text-decoration: underline; text-underline-offset: 4px; }
.body-copy .actions { margin-top: 25px; }
.highlight-item { border-bottom: 1px solid var(--line); padding: 0 0 23px; margin-bottom: 23px; }
.highlight-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.highlight-item h3 { font-size: 21px; margin: 0 0 12px; }
.faq { border-top: 1px solid var(--line); }
.faq details { padding: 23px 0; border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding-right: 32px; font: 600 19px/1.45 var(--title); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; font: 400 24px/1 Arial, sans-serif; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 20px; color: var(--muted); }
.method-long { display: grid; grid-template-columns: 65px 1fr; gap: 30px; padding: 43px 0; border-bottom: 1px solid var(--line); max-width: 1120px; }
.method-long:first-child { padding-top: 0; }
.method-long:last-child { border-bottom: 0; padding-bottom: 0; }
.method-long .step-number { font: 500 32px/1.2 var(--title); color: #577b8a; }
.method-long h2 { font-size: clamp(28px, 2.8vw, 39px); margin-bottom: 24px; }
.method-long .body-copy { max-width: 870px; }
.catalog .content-split h2 { font-size: clamp(30px, 3.1vw, 44px); overflow-wrap: break-word; }
.catalog .eyebrow { color: #466978; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; padding: 68px 0 90px; align-items: start; }
.contact-copy h1 { font-size: clamp(39px, 4.4vw, 61px); }
.contact-copy .lead { font-size: 22px; margin: 28px 0; }
.contact-copy .email-link { display: inline-block; text-decoration: underline; font-size: 23px; margin: 12px 0 22px; overflow-wrap: anywhere; }
.client-link { margin-top: 40px; padding-top: 27px; border-top: 1px solid var(--line); }
.client-link h3 { margin-bottom: 14px; }
.client-link .text-link { margin-top: 18px; }
.contact-card { border: 1px solid var(--line); border-radius: 10px; padding: 34px; background: #fff; }
.contact-card h2 { font-size: 28px; margin-bottom: 20px; }
.contact-card .note { margin-bottom: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-size: 17px; font-weight: 600; margin-bottom: 9px; }
.form-field label small { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 5px; }
input, textarea, select { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #9cb4bf; border-radius: 5px; background: #fff; color: var(--ink); font-size: 17px; }
input, select { min-height: 48px; }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: #0b6b6d; outline: 2px solid #0b6b6d; outline-offset: 2px; }
[aria-invalid='true'] { border-color: #aa2b39; }
.help { margin-top: 8px; margin-bottom: 0; }
.error { color: #a51e32; margin-top: 7px; margin-bottom: 0; font-size: 15px; }
.error:empty { display: none; }
.form-status { margin-top: 24px; padding: 17px; border: 1px solid #8abaae; border-radius: 5px; background: #e8fff6; font-size: 17px; }
.form-status a { text-decoration: underline; font-weight: 600; }
button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.contact-card .privacy { font-size: 15px; color: var(--muted); margin-bottom: 25px; }
.contact-card .privacy a { text-decoration: underline; }
.contact-breadcrumb { color: var(--muted); }
@media (min-width: 1500px) {
  .hero h1 { font-size: 74px; }
}
@media (max-width: 1100px) {
  .desktop-nav, .header-actions { display: none; }
  .js .menu-toggle { display: block; }
  .mobile-nav { display: block; }
  .container { width: calc(100% - 64px); }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(39px, 5.5vw, 61px); }
  .split, .content-split { gap: 44px; }
  .page-hero .hero-grid { gap: 35px; }
  .contact-layout { gap: 45px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 105px; }
  body { font-size: 18px; }
  .container { width: calc(100% - 44px); }
  .section { padding: 58px 0; }
  .test-strip { font-size: 11px; }
  .header-inner { min-height: 74px; }
  .brand img { width: 154px; }
  .hero { padding: 42px 0 36px; }
  .hero-grid, .page-hero .hero-grid, .split, .content-split, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(37px, 9.4vw, 59px); }
  .hero .lead, .lead { font-size: 20px; }
  .hero .lead { margin-top: 25px; }
  .eyebrow { font-size: 11px; letter-spacing: .13em; margin-bottom: 20px; }
  .hero .eyebrow { max-width: 340px; }
  .actions { gap: 20px; margin-top: 27px; }
  .hero .actions, .page-hero .actions { align-items: stretch; flex-direction: column; }
  .hero .actions .text-link { align-self: flex-start; }
  .hero-art { max-width: 550px; margin-inline: auto; }
  .hero-art figcaption { font-size: 12px; }
  h2 { font-size: clamp(31px, 7.7vw, 44px); }
  .problem-intro { margin-bottom: 28px; }
  .problem-grid { grid-template-columns: 1fr; gap: 23px; }
  .problem { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .problem:last-child { padding-bottom: 0; border-bottom: 0; }
  .problem h3 { font-size: 20px; }
  .problem p { font-size: 18px; }
  .split-title p { margin-top: 21px; }
  .solution-row { grid-template-columns: 30px 1fr 22px; gap: 12px; padding: 24px 0; }
  .solution-row h3 { font-size: 18px; line-height: 1.35; }
  .solution-row .number { font-size: 24px; }
  .solution-row .descriptor, .solution-row p { font-size: 17px; }
  .solution-row .arrow { font-size: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 25px; }
  .method-grid { grid-template-columns: 1fr 1fr; gap: 29px 20px; }
  .method-item h3 { font-size: 17px; }
  .method-item p { font-size: 17px; }
  .method-item .icon-wrap { width: 47px; height: 47px; }
  .cta-band { padding: 44px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cta-inner .btn { width: 100%; min-width: 0; }
  .cta-inner h2 { font-size: 33px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .breadcrumb { font-size: 13px; padding-top: 22px; }
  .page-hero { padding: 34px 0 48px; }
  .page-hero h1 { font-size: clamp(35px, 8.5vw, 48px); }
  .page-hero .lead { font-size: 20px; }
  .solution-emblem { padding: 28px; min-height: 210px; }
  .solution-emblem .emblem-number { font-size: 42px; }
  .solution-emblem .icon-wrap { float: right; margin: 0; }
  .solution-emblem strong { max-width: 330px; font-size: 20px; }
  .content-split { gap: 28px; }
  .highlight-item h3 { font-size: 20px; }
  .method-long { grid-template-columns: 35px 1fr; gap: 16px; padding: 31px 0; }
  .method-long .step-number { font-size: 25px; }
  .method-long h2 { font-size: 27px; }
  .faq summary { font-size: 17px; }
  .contact-layout { padding: 45px 0 58px; }
  .contact-copy h1 { font-size: 42px; }
  .contact-card { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-card .btn { width: 100%; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 36px); }
  .hero h1 { font-size: 34px; }
  .contact-copy h1 { font-size: 37px; }
  .solution-row { grid-template-columns: 27px 1fr 18px; gap: 9px; }
  .solution-row h3 { font-size: 17px; }
  .method-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Páginas legales (Aviso de Privacidad, Términos y Condiciones) */
.legal-content { max-width: 860px; }
.legal-content .privacy-block, .legal-content .terms-block { margin-bottom: 36px; }
.legal-content h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 14px; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.7; }
.legal-content p + p { margin-top: 12px; }
.legal-content ul, .legal-content ol { margin: 12px 0 0; padding-left: 22px; }
.legal-content li + li { margin-top: 6px; }
.legal-content strong { color: var(--ink); }
