/* Soluciones Digitales — diseño editorial, sin frameworks ni recursos de terceros. */
:root {
  color-scheme: light;
  --ink: #172c3a;
  --muted: #50636d;
  --blue: #68c7f6;
  --blue-dark: #00649b;
  --navy: #112738;
  --paper: #f5f5f1;
  --white: #fff;
  --line: #d8dedf;
  --container: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #188bc9; outline-offset: 5px; }
.container { width: min(var(--container), calc(100% - 76px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: #fff; color: #111; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: relative; z-index: 10; }
.header-inner { min-height: 89px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: block; flex: 0 0 auto; width: 227px; }
.brand img { width: 100%; height: auto; }
.nav-desktop { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-desktop a { font-size: 14px; font-weight: 500; text-decoration: none; color: #d9e6ed; transition: color .2s; }
.nav-desktop a:hover { color: var(--blue); }
.header-contact { text-decoration: none; font-weight: 700; font-size: 13px; white-space: nowrap; border: 1px solid #84aac1; padding: 11px 16px; margin-left: 14px; }
.header-contact span { margin-left: 12px; font-size: 17px; }
.header-contact:hover { color: var(--blue); border-color: var(--blue); }
.mobile-menu { display: none; }

/* Hero */
.hero { background: var(--paper); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(35px, 6vw, 91px); align-items: center; padding-block: 74px 88px; }
.eyebrow, .section-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #405866; margin: 0 0 25px; }
.small-bar { display: inline-block; width: 30px; height: 4px; background: #2ba2dc; flex: 0 0 auto; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; }
h1 { font-size: clamp(44px, 4.4vw, 65px); font-weight: 700; letter-spacing: -.05em; margin-bottom: 28px; max-width: 660px; }
h1 em { font-style: normal; color: #0876ac; }
.hero-description { max-width: 515px; font-size: 19px; font-weight: 400; color: #263e4e; line-height: 1.55; margin-bottom: 12px; }
.hero-description-sub { max-width: 480px; font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 27px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 29px; }
.button { display: inline-flex; gap: 24px; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; text-decoration: none; padding: 15px 20px; min-height: 52px; transition: background .2s, color .2s; }
.button span { font-size: 19px; font-weight: 400; line-height: 1; }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: #23516d; }
.quiet-link { font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.quiet-link span { margin-left: 7px; }
.quiet-link:hover { color: #00659a; }
.hero-location { margin: 31px 0 0; color: #687b83; font-size: 12px; letter-spacing: .01em; }
.hero-location span { margin-inline: 6px; }
.hero-visual { margin: 0; min-width: 0; border-bottom: 1px solid var(--line); }
.hero-visual img { width: 100%; aspect-ratio: 1 / 1.04; height: auto; object-fit: cover; object-position: 55% 45%; background: #dfdcd6; }
.hero-visual figcaption { display: flex; gap: 8px; justify-content: space-between; padding: 12px 0; font-size: 11px; color: #556873; line-height: 1.4; }
.hero-visual figcaption span { color: #859197; white-space: nowrap; }

/* Services */
.services { background: #fff; padding-block: 89px 104px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.section-label { color: #0676af; margin-bottom: 22px; }
h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.04em; font-weight: 700; margin-bottom: 0; }
.section-intro h2 { max-width: 520px; }
.section-intro h2 span { color: #596e78; }
.section-intro > p { margin: 0 5px 4px 0; max-width: 365px; color: var(--muted); font-size: 15px; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 74px; }
.service { padding: 31px 2px 32px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: start; }
.service-number { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #348db5; margin-bottom: 18px; }
.service h3 { font-size: 27px; font-weight: 700; letter-spacing: -.035em; margin-bottom: 13px; }
.service > p:not(.service-number) { max-width: 405px; margin-bottom: 14px; font-size: 15px; color: #475a64; line-height: 1.68; }
.service .service-examples { font-size: 13px !important; color: #738087 !important; margin-bottom: 20px !important; }
.service a { margin-top: auto; display: inline-block; font-size: 14px; font-weight: 700; text-decoration: none; color: #006a9e; border-bottom: 1px solid #87b8cd; padding-bottom: 4px; }
.service a:hover { color: #102e3c; border-color: currentColor; }
.service a span { margin-left: 12px; }

/* Possibilities */
.possibilities { background: #eaf0f2; padding-block: 96px 89px; }
.possibilities-layout { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: clamp(60px, 10vw, 150px); }
.possibilities-left h2 { max-width: 420px; margin-bottom: 22px; }
.possibilities-left > p:last-child { max-width: 420px; font-size: 16px; color: #475d68; line-height: 1.75; }
.possibilities-right { border-top: 1px solid #bbcbd2; }
.possibility { display: grid; grid-template-columns: 34px auto; gap: 17px; padding: 23px 0; border-bottom: 1px solid #bbcbd2; }
.possibility-index { color: #167eae; font-size: 13px; font-weight: 700; padding-top: 5px; }
.possibility h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 7px; }
.possibility p { color: #50626b; font-size: 14px; margin: 0; line-height: 1.5; }
.possibility-note { font-size: 12px; color: #70838d; margin-top: 17px; margin-bottom: 0; }

/* Workflow */
.workflow { background: #fff; padding-block: 83px 91px; }
.workflow-inner { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 90px; }
.workflow-heading h2 { max-width: 380px; }
.workflow-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.workflow-steps li { padding: 19px 0 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 25px; }
.workflow-steps strong { font-size: 14px; }
.workflow-steps span { font-size: 13px; line-height: 1.6; color: #52646d; }

/* Contact and footer */
.contact { background: #112738; color: #fff; padding-block: 76px 79px; }
.contact-layout { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.contact .section-label { color: #7dd2ff; }
.contact h2 { font-size: clamp(33px, 4vw, 48px); margin-bottom: 20px; }
.contact p:not(.section-label) { color: #d4e0e8; font-size: 15px; max-width: 540px; margin-bottom: 0; }
.contact-cta { flex: 0 0 auto; text-align: right; }
.button-blue { background: #79cdf6; color: #0d3046; }
.button-blue:hover { background: #bbebff; }
.contact-cta p { margin-top: 12px; color: #d4e0e8; font-size: 13px !important; }
.site-footer { background: #0c1e2b; color: #c1d0db; padding-block: 20px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-brand { display: block; flex: 0 0 auto; width: 176px; }
.footer-brand img { width: 100%; height: auto; }
.footer-inner p, .back-to-top { margin: 0; font-size: 12px; }
.back-to-top { text-decoration: none; white-space: nowrap; }
.back-to-top:hover { color: #fff; }

@media (max-width: 1010px) {
  .nav-desktop { gap: 22px; }
  .header-contact { margin-left: 0; }
  .hero-layout { gap: 36px; }
  h1 { font-size: clamp(40px, 5vw, 58px); }
  .services-grid { column-gap: 44px; }
  .workflow-inner { gap: 46px; }
  .workflow-steps li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 25px; }
  .container { width: min(100% - 40px, 600px); }
  .header-inner { min-height: 74px; }
  .brand { width: 205px; }
  .nav-desktop, .header-contact { display: none; }
  .mobile-menu { display: block; margin-left: auto; position: relative; }
  .mobile-menu summary { cursor: pointer; list-style: none; padding: 13px 0 13px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { font-size: 16px; margin-left: 5px; font-weight: 400; }
  .mobile-menu[open] summary { color: #81cff5; }
  .mobile-menu nav { position: absolute; right: -20px; top: 100%; width: min(300px, 90vw); padding: 9px 20px 16px; border: 1px solid #315167; background: var(--navy); box-shadow: 0 16px 30px #09162124; }
  .mobile-menu nav a { display: block; text-decoration: none; font-size: 14px; padding: 14px 5px; border-bottom: 1px solid #355066; color: #f3f7fa; }
  .mobile-menu nav a:last-child { color: #82d2fa; border: none; }
  .hero-layout { grid-template-columns: 1fr; padding-block: 50px 56px; gap: 39px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .08em; margin-bottom: 19px; }
  h1 { font-size: clamp(39px, 8.7vw, 56px); max-width: 570px; }
  .hero-description { font-size: 17px; }
  .hero-description-sub { font-size: 14px; }
  .hero-location { margin-top: 28px; }
  .hero-visual { max-width: 600px; }
  .hero-visual img { aspect-ratio: 1.23 / 1; object-position: center 44%; }
  .section-intro { align-items: start; display: block; }
  .section-intro > p { max-width: 520px; margin-top: 18px; }
  .services { padding-block: 67px 71px; }
  .section-label { margin-bottom: 18px; }
  h2 { font-size: clamp(29px, 6vw, 40px); }
  .services-grid { gap: 0 32px; }
  .service h3 { font-size: 24px; }
  .possibilities { padding-block: 66px; }
  .possibilities-layout { grid-template-columns: 1fr; gap: 34px; }
  .workflow { padding-block: 66px; }
  .workflow-inner { grid-template-columns: 1fr; gap: 30px; }
  .workflow-heading h2 { max-width: 550px; }
  .workflow-steps li { grid-template-columns: minmax(0, 205px) 1fr; }
  .contact { padding-block: 68px; }
  .contact-layout { align-items: start; flex-direction: column; gap: 27px; }
  .contact-cta { text-align: left; }
  .contact-cta p { text-align: left; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}
@media (max-width: 530px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; }
  .brand { width: min(187px, 53vw); }
  .mobile-menu nav { right: -18px; }
  .hero-layout { padding-block: 44px 47px; gap: 34px; }
  h1 { font-size: clamp(36px, 10vw, 47px); }
  .hero-actions { align-items: start; flex-direction: column; gap: 22px; }
  .button { max-width: 100%; }
  .hero-visual img { aspect-ratio: 1.08 / 1; }
  .hero-visual figcaption { flex-wrap: wrap; gap: 4px 10px; }
  .section-intro { padding-bottom: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 27px 0 30px; }
  .service-number { margin-bottom: 13px; }
  .service h3 { font-size: 25px; }
  .possibility { grid-template-columns: 22px 1fr; gap: 12px; }
  .possibility h3 { font-size: 19px; }
  .workflow-steps li { grid-template-columns: 1fr; gap: 4px; }
  .contact h2 { font-size: 35px; }
  .contact .button { width: 100%; }
  .footer-inner { gap: 12px; }
  .footer-brand { width: 157px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.error-content { padding-block: 110px 130px; }
