:root {
  --ink: #101728;
  --body: #575d67;
  --blue: #0750e2;
  --blue-dark: #0444c4;
  --navy: #103461;
  --light: #f7f7f5;
  --line: #e7e7e7;
  --white: #fff;
  --max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: white; font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid #4785fa; outline-offset: 4px; }
::selection { background: #d5e2ff; color: #071a45; }
.container { width: min(calc(100% - 112px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: -100px; left: 16px; padding: 12px 18px; color: white; background: var(--blue); border-radius: 0 0 6px 6px; }
.skip-link:focus { top: 0; }
.point { color: var(--blue); }

/* Header */
.site-header { height: 84px; z-index: 50; position: sticky; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(29,39,60,.075); backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; color: #252b3a; line-height: 1; }
.brand-name { font-size: 20px; letter-spacing: .068em; font-weight: 400; white-space: nowrap; }
.brand-subtitle { margin-top: 9px; font-size: 9px; font-weight: 700; letter-spacing: .49em; }
.primary-nav { display: flex; align-items: center; gap: clamp(19px, 2.4vw, 42px); }
.nav-link { color: #252a36; display: inline-flex; align-items: center; min-height: 46px; position: relative; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-link:hover, .nav-link.current { color: var(--blue); }
.nav-link.current::after, .nav-link:hover::after { transform: scaleX(1); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; padding: 14px 26px; border-radius: 4px; font-weight: 700; font-size: 14px; line-height: 1.3; text-align: center; white-space: nowrap; border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(5,51,124,.13); }
.button-blue { background: var(--blue); color: white; }
.button-blue:hover { background: var(--blue-dark); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--blue); }
.button-outline:hover { background: #eff5ff; }
.button-light { background: #fff; color: #152135; }
.button-light:hover { background: #eaf1ff; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.header-cta { min-height: 44px; padding: 10px 23px; font-size: 13px; }
.header-cta .icon { width: 18px; height: 18px; }
.menu-toggle { display: none; }

/* Cover */
.hero { position: relative; overflow: hidden; background: linear-gradient(98deg, #fff 0%, #fefefd 47%, #e5e6e8 73%, #b9babc 100%); }
.hero-media { pointer-events: none; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 49%; display: flex; align-items: flex-start; justify-content: flex-end; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 53%); mask-image: linear-gradient(to right, transparent 0%, black 53%); }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(247,247,245,.11), transparent 22%); }
.hero-media img { height: 100%; width: 100%; object-fit: cover; object-position: 48% 0%; }
.hero-content { position: relative; z-index: 1; min-height: 515px; display: flex; align-items: center; }
.hero-copy { max-width: 780px; padding: 58px 0 64px; }
.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; color: #424755; font-size: 10px; letter-spacing: .27em; font-weight: 700; line-height: 1.6; }
.eyebrow-bar { display: inline-block; width: 43px; height: 2px; flex: 0 0 43px; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; }
h1 { margin-bottom: 24px; font-size: clamp(47px, 4.6vw, 72px); line-height: 1.055; font-weight: 800; }
.hero-lead { max-width: 680px; color: #5b5e65; font-size: clamp(16px, 1.48vw, 21px); line-height: 1.55; font-weight: 500; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.focus-strip { height: 64px; background: #fdfdfc; border-bottom: 1px solid #f0f0ee; }
.focus-strip-inner { height: 100%; display: flex; gap: 35px; align-items: center; }
.focus-strip .decor-line { height: 1px; background: #b8bbbf; flex: 1 1 150px; }
.focus-strip p { flex: 0 1 auto; margin: 0; letter-spacing: .22em; font-size: 10px; font-weight: 700; text-align: center; color: #4b5160; white-space: nowrap; }
.focus-strip p span { color: #637089; margin: 0 22px; }

/* Services */
.section-pad { padding-block: 75px; }
.services { background: var(--light); }
.section-intro { display: grid; grid-template-columns: 1.65fr .75fr; gap: 70px; align-items: end; margin-bottom: 34px; }
.section-intro h2 { font-size: clamp(36px, 3.42vw, 52px); font-weight: 800; line-height: 1.06; margin: 0; }
.section-intro > p { color: var(--body); line-height: 1.67; font-size: 15px; margin: 0 0 2px; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.service-card { display: flex; flex-direction: column; min-height: 280px; border: 1px solid #e9e9e8; border-radius: 6px; background: rgba(255,255,255,.56); padding: 24px 26px 22px; transition: transform .23s, box-shadow .23s, background .23s, border-color .23s; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-5px); background: white; border-color: #d3dffc; box-shadow: 0 15px 35px rgba(12,35,83,.08); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-number { color: var(--blue); font-size: 22px; line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.icon-card-arrow { width: 23px; height: 23px; }
.service-card h3 { font-size: 20px; font-weight: 800; line-height: 1.3; margin-bottom: 11px; }
.service-card p { color: var(--body); font-size: 14px; line-height: 1.65; margin-bottom: 22px; }
.service-icon { width: 39px; height: 39px; color: var(--blue); margin-top: auto; }

/* Approach */
.approach { padding-block: 52px; }
.approach-grid { display: grid; grid-template-columns: 1.01fr 1fr; gap: clamp(55px,7vw,110px); align-items: center; }
.approach h2 { font-size: clamp(31px, 3vw, 45px); line-height: 1.12; font-weight: 800; margin-bottom: 18px; }
.approach-content p:not(.eyebrow) { color: var(--body); font-size: 14.5px; line-height: 1.7; margin-bottom: 14px; }
.approach-content .button { margin-top: 12px; min-height: 46px; padding: 12px 22px; font-size: 13px; }
.approach-image-wrap { overflow: hidden; border-radius: 1px; }
.approach-image { width: 100%; min-height: 360px; aspect-ratio: 1.6; object-fit: cover; }

/* About */
.about { padding-block: 67px; background: #f7f8fa; border-top: 1px solid #f0f0f0; }
.about-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(50px, 8vw, 135px); align-items: start; }
.about h2 { max-width: 540px; font-size: clamp(32px, 3.1vw, 46px); font-weight: 800; line-height: 1.12; margin: 0; }
.about-copy { padding-top: 4px; }
.about-copy p { color: var(--body); font-size: 15px; line-height: 1.75; margin-bottom: 15px; }
.about-copy strong { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 9px; color: var(--blue); font-weight: 800; font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.text-link .icon { width: 17px; }

/* Contact */
.contact { color: white; background: linear-gradient(117deg, #173f70 0%, #12325b 55%, #0d294f 100%); position: relative; overflow: hidden; padding-block: 43px; }
.contact::after { content: ''; position: absolute; pointer-events: none; top: -290px; right: -180px; width: 680px; height: 670px; transform: rotate(44deg); background: linear-gradient(90deg,transparent,rgba(255,255,255,.025),transparent); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 85px; align-items: center; }
.eyebrow-light { color: #f4f7ff; margin-bottom: 17px; }
.eyebrow-light .eyebrow-bar { background: white; }
.contact h2 { font-size: clamp(32px, 3.2vw, 45px); line-height: 1.16; font-weight: 700; margin: 0; letter-spacing: -.042em; }
.contact-right p { font-size: 14px; line-height: 1.7; margin: 0 0 18px; max-width: 475px; }
.contact .button { font-size: 13px; min-height: 44px; padding: 10px 23px; }

/* Contacto + formulario seguro */
.contact { padding-block: 76px; }
.contact-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(45px,7vw,115px); align-items: start; position: relative; z-index: 1; }
.contact-intro { padding-top: 22px; }
.contact-intro h2 { max-width: 520px; margin-bottom: 24px; }
.contact-intro > p:not(.eyebrow) { color: #e2eaf6; max-width: 490px; font-size: 15px; line-height: 1.75; }
.contact-methods { display: grid; gap: 13px; margin-top: 32px; max-width: 470px; }
.contact-method { display: flex; align-items: center; gap: 15px; border: 1px solid rgba(255,255,255,.26); padding: 17px 18px; border-radius: 7px; background: rgba(255,255,255,.055); transition: background .2s, border-color .2s; }
.contact-method:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.contact-method svg { width: 24px; height: 24px; flex-shrink: 0; }
.contact-method span:not(.contact-method-arrow) { display: grid; gap: 5px; min-width: 0; }
.contact-method small { opacity: .72; font-size: 11px; }
.contact-method strong { font-size: 13px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact-method-arrow { margin-left: auto; font-size: 19px; opacity: .8; }
.contact-form-panel { padding: clamp(24px,3.5vw,42px); background: #fff; color: var(--ink); border-radius: 9px; box-shadow: 0 18px 60px rgba(0,0,0,.15); }
.contact-form-panel h3 { font-size: 26px; font-weight: 800; letter-spacing: -.05em; margin: 0 0 7px; }
.contact-form-panel > p { font-size: 13px; line-height: 1.6; color: var(--body); margin-bottom: 25px; }
.contact-form { display: grid; gap: 19px; }
.form-duo { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.form-field label { color: #293549; font-size: 12px; font-weight: 800; }
.form-field label span { color: #0750e2; }
.form-field input, .form-field textarea { width: 100%; min-width: 0; font: inherit; font-size: 14px; background: #fafbfc; color: var(--ink); border: 1px solid #d8dfeb; border-radius: 5px; padding: 12px 13px; transition: border .2s, box-shadow .2s; }
.form-field input { min-height: 47px; }
.form-field textarea { resize: vertical; min-height: 128px; line-height: 1.55; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: #0750e2; box-shadow: 0 0 0 3px rgba(7,80,226,.12); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #868e9a; }
.form-submit { width: 100%; min-height: 51px; cursor: pointer; }
.form-submit:disabled { cursor: not-allowed; background: #8495ad; box-shadow: none; transform: none; opacity: .8; }
.form-disclaimer { color: #646d7b; font-size: 11px; line-height: 1.55; margin: -3px 0 0; }
.form-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; left: -10000px; }
.form-notice { margin-bottom: 20px; padding: 13px 15px; font-size: 13px; line-height: 1.6; border-radius: 5px; }
.form-notice-ok { color: #0b5d3c; background: #edf9f2; border: 1px solid #b3dcc7; }
.form-notice-error { color: #8a2d20; background: #fff3ef; border: 1px solid #f4c6bc; }
.form-human { overflow: hidden; max-width: 100%; }
.footer-contacts { display: flex; gap: 6px; align-items: center; }
/* Footer */
.site-footer { background: #fff; }
.footer-top { min-height: 93px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand-footer .brand-name { font-size: 18px; }
.brand-footer .brand-subtitle { font-size: 8px; margin-top: 8px; }
.footer-nav { display: flex; gap: clamp(17px,2.1vw,32px); align-items: center; }
.footer-nav a { color: #353846; font-size: 11px; font-weight: 600; }
.footer-nav a:hover { color: var(--blue); }
.social-link { display: flex; justify-content: center; align-items: center; padding: 9px; width: 39px; height: 39px; border-radius: 4px; }
.social-link:hover { color: var(--blue); background: #eef4ff; }
.social-link svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid #ececec; display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 25px; }
.footer-bottom small { color: #7b7e84; font-size: 10px; }

@media (max-width: 1199px) {
  .container { width: min(calc(100% - 96px), var(--max)); }
  .brand-name { font-size: 18px; }
  .brand-subtitle { font-size: 8px; }
  .header-inner { gap: 16px; }
  .primary-nav { gap: 20px; }
  .header-cta { padding-inline: 18px; }
  .hero-content { min-height: 445px; }
  .hero-copy { max-width: 650px; padding: 50px 0; }
  h1 { font-size: clamp(47px, 5vw, 61px); }
  .hero-lead { max-width: 600px; }
  .focus-strip-inner { gap: 26px; }
  .focus-strip p span { margin: 0 18px; }
  .section-pad { padding-block: 64px; }
  .service-card { min-height: 274px; padding: 22px; }
  .service-card h3 { font-size: 19px; }
  .approach { padding-block: 55px; }
  .approach-grid { gap: 45px; }
  .approach-image { min-height: 326px; }
}
@media (max-width: 900px) {
  .container { width: min(calc(100% - 56px),var(--max)); }
  .site-header { height: 73px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { width: 44px; height: 44px; border: 1px solid #dde4f0; background: white; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 5px; cursor: pointer; order: 3; z-index: 60; }
  .menu-toggle span { display: block; height: 2px; width: 20px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: absolute; z-index: 55; left: 0; right: 0; top: 73px; height: calc(100dvh - 73px); padding: 25px 28px 45px; overflow-y: auto; display: flex; align-items: stretch; flex-direction: column; gap: 0; background: white; box-shadow: 0 15px 25px rgba(10, 26, 55, .09); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; }
  .primary-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-link { width: 100%; min-height: 65px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-link::after { bottom: -1px; width: 38px; }
  .hero-content { min-height: 470px; }
  .hero-media { width: 51%; opacity: .86; }
  .hero-copy { max-width: 610px; }
  h1 { font-size: clamp(43px, 5.5vw, 58px); }
  .hero-lead { max-width: 560px; }
  .focus-strip p { font-size: 9px; letter-spacing: .13em; }
  .focus-strip p span { margin: 0 10px; }
  .section-intro { gap: 35px; }
  .section-intro h2 { font-size: 35px; }
  .service-grid { gap: 12px; }
  .service-card { padding: 19px; min-height: 308px; }
  .service-card h3 { font-size: 18px; }
  .service-card p { font-size: 13px; }
  .approach-grid { gap: 30px; }
  .approach h2 { font-size: 33px; }
  .approach-image { min-height: 350px; }
  .contact-grid { gap: 35px; }
  .contact-layout { gap: 30px; }
  .footer-nav { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 77px; }
  .container { width: calc(100% - 40px); }
  .site-header { height: 68px; }
  .brand-name { font-size: 15px; }
  .brand-subtitle { margin-top: 7px; letter-spacing: .32em; font-size: 7px; }
  .header-cta { display: none; }
  .primary-nav { top: 68px; height: calc(100dvh - 68px); }
  .hero { background: #fff; }
  .hero-content { min-height: 0; align-items: start; display: block; padding-top: 0; }
  .hero-copy { padding: 38px 0 24px; max-width: none; }
  .hero .eyebrow { margin-bottom: 17px; }
  .eyebrow { font-size: 9px; gap: 11px; margin-bottom: 19px; letter-spacing: .2em; }
  .eyebrow-bar { width: 30px; flex-basis: 30px; }
  h1 { max-width: 570px; font-size: clamp(39px, 9.2vw, 55px); line-height: 1.08; margin-bottom: 16px; }
  .hero-lead { max-width: 500px; font-size: 16px; line-height: 1.58; margin-bottom: 20px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { min-height: 48px; padding: 11px 15px; font-size: 12px; gap: 9px; }
  .hero-actions .icon { width: 17px; }
  .hero-media { opacity: 1; position: relative; width: 100%; height: min(83vw, 400px); overflow: hidden; -webkit-mask-image: none; mask-image: none; background: #333b47; }
  .hero-media img { object-fit: cover; object-position: center 25%; }
  .hero-media::after { content: ''; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.06),transparent 35%); }
  .focus-strip { min-height: 56px; height: auto; }
  .focus-strip-inner { padding: 16px 0; justify-content: center; }
  .focus-strip p { white-space: normal; font-size: 9px; line-height: 1.7; }
  .focus-strip .decor-line { display: none; }
  .focus-strip p span { margin: 0 7px; }
  .section-pad { padding-block: 48px; }
  .section-intro { display: block; margin-bottom: 26px; }
  .section-intro h2 { font-size: clamp(32px, 7.5vw, 42px); margin-bottom: 16px; }
  .section-intro > p { font-size: 14px; max-width: 520px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 0; padding: 23px; }
  .card-top { margin-bottom: 15px; }
  .service-card h3 { font-size: 20px; }
  .service-card p { font-size: 14px; max-width: 540px; margin-bottom: 17px; }
  .service-icon { width: 34px; height: 34px; }
  .approach-grid, .about-inner, .contact-grid, .contact-layout { grid-template-columns: 1fr; }
  .approach-grid { gap: 32px; }
  .approach h2 { font-size: clamp(31px, 7.1vw, 42px); }
  .approach-content p:not(.eyebrow) { font-size: 14px; }
  .approach-image { min-height: 0; aspect-ratio: 1.58; }
  .about { padding-block: 47px; }
  .about-inner { gap: 22px; }
  .about h2 { font-size: 36px; }
  .about-copy p { font-size: 14px; }
  .contact { padding-block: 47px 51px; }
  .contact-grid { gap: 19px; }
  .contact h2 { font-size: clamp(30px, 7.2vw, 42px); }
  .contact-right p { font-size: 14px; }
  .contact { padding-block: 48px; }
  .contact-intro { padding-top: 0; }
  .contact-intro h2 { max-width: 570px; }
  .contact-form-panel { padding: 25px 20px; }
  .contact-methods { margin-top: 24px; }
  .contact-layout { gap: 30px; }
  .footer-top { padding-block: 28px; flex-wrap: wrap; gap: 23px; }
  .footer-nav { order: 3; flex: 1 1 100%; gap: 18px; }
  .footer-nav a { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 6px; padding: 16px 0 24px; }
}
@media (max-width: 365px) {
  .container { width: calc(100% - 32px); }
  .brand-name { font-size: 13px; }
  h1 { font-size: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .form-duo { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Retrato portada V2: encuadre reducido, muestra el traje completo en escritorio.
   Se mantiene comportamiento original por debajo de 641px. */
@media (min-width: 641px) {
  .hero-media { background: linear-gradient(90deg, rgba(233,234,236,0) 0%, #58585a 54%, #181819 100%); }
  .hero-media img {
    position: absolute;
    right: 7%; bottom: 0; top: auto;
    height: 82%; width: auto; max-width: none;
    object-fit: contain; object-position: right bottom;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 21%), linear-gradient(to bottom, transparent 0%, #000 16%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 21%), linear-gradient(to bottom, transparent 0%, #000 16%);
    mask-composite: intersect;
  }
}
