:root {
  --navy: #101b2b;
  --navy-2: #17273a;
  --navy-3: #1c3148;
  --gold: #c7a870;
  --gold-light: #e2c899;
  --paper: #f4f2ed;
  --white: #ffffff;
  --ink: #172338;
  --muted: #596579;
  --line: #dcdedb;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #bc9657; outline-offset: 4px; }
.wrap { width: min(var(--max), calc(100% - 52px)); margin-inline: auto; }
.section { padding: 86px 0; }
.skip-link { position: absolute; top: -90px; left: 12px; z-index: 20; background: white; padding: 12px 16px; }
.skip-link:focus { top: 10px; }
.eyebrow { display: inline-flex; gap: 12px; align-items: center; margin: 0 0 16px; color: var(--gold); font: 800 12px/1.5 "Manrope",sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 23px; height: 2px; background: currentColor; flex: none; }
.eyebrow-light { color: #927447; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
h1, h2, h3, h4 { font-family: "Manrope", Arial, sans-serif; }
h2 { font-size: clamp(30px, 3.35vw, 45px); letter-spacing: -.055em; line-height: 1.18; margin: 0; }
.section-intro { margin-bottom: 30px; }
.section-intro > p, .split-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.split-heading, .services-intro, .method-intro { display: grid; grid-template-columns: 1.12fr .88fr; align-items: end; gap: 60px; }

/* Identidad y navegación */
.site-header { background: var(--navy); color: var(--white); border-bottom: 1px solid #ffffff18; }
.nav { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; min-width: 0; flex-shrink: 0; }
.brand img { display: block; width: 278px; height: auto; }
.navlinks { display: flex; gap: clamp(13px, 2vw, 29px); align-items: center; white-space: nowrap; }
.navlinks a { font-size: 13px; font-weight: 700; color: #d1d7e1; transition: color .2s; }
.navlinks a:hover, .footer-links a:hover { color: var(--gold-light); }
.header-cta { display: inline-flex; justify-content: center; align-items: center; gap: 12px; flex-shrink: 0; padding: 13px 16px; color: var(--gold-light); border: 1px solid #c7a8709c; border-radius: 7px; font: 700 13px "DM Sans",sans-serif; white-space: nowrap; transition: background .2s; }
.header-cta:hover { background: #c7a87020; }

/* Portada */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: end; gap: clamp(20px, 4vw, 65px); }
.hero-content { position: relative; z-index: 2; padding: 75px 0 68px; min-width: 0; }
.hero h1 { font-size: clamp(42px, 5.15vw, 69px); line-height: 1.13; letter-spacing: -.063em; margin: 0 0 23px; }
.hero h1 span { color: var(--gold); }
.hero-lead { max-width: 565px; margin: 0; color: #c2cddc; font-size: 16px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border-radius: 8px; border: 1px solid transparent; padding: 16px 21px; font: 800 14px "DM Sans",sans-serif; text-align: center; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #101b2b; }
.button-gold:hover { background: var(--gold-light); }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 700; }
.text-link-light { color: #f0f1f4; border-bottom: 1px solid #6a7687; padding-bottom: 4px; }
.text-link:hover { color: var(--gold-light); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 43px; padding-top: 20px; border-top: 1px solid #4b586b; }
.hero-proof div { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.hero-proof strong { color: var(--gold); font: 800 clamp(22px,2.2vw,27px)/1.1 "Manrope",sans-serif; letter-spacing: -.055em; white-space: nowrap; }
.hero-proof span { color: #bec7d4; font-size: 12px; line-height: 1.5; }
.hero-visual { position: relative; align-self: stretch; min-width: 0; display: flex; align-items: end; justify-content: center; }
.hero-visual img { display: block; position: relative; z-index: 1; width: min(100%, 500px); height: auto; object-fit: contain; object-position: bottom center; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 11%, #000 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 11%, #000 90%, transparent 100%); }
.photo-backdrop { display: none; }
.hero-visual::after { content: ""; position: absolute; z-index: 2; inset: auto -3% 0; height: 10%; background: linear-gradient(transparent,var(--navy)); pointer-events: none; }

/* Desafíos */
.challenges { background: #fff; }
.challenge-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.challenge-card { border-top: 2px solid var(--gold); padding: 21px 14px 10px 0; }
.challenge-index { display: block; font: 800 11px "Manrope",sans-serif; letter-spacing: .13em; color: #957747; }
.challenge-card h3 { font-size: 21px; line-height: 1.32; letter-spacing: -.04em; margin: 14px 0 11px; }
.challenge-card p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.7; }

/* Servicios */
.services { background: var(--paper); }
.services-intro { align-items: end; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.service-card { min-width: 0; display: flex; flex-direction: column; padding: 29px 25px 0; background: #fff; border: 1px solid #dfdcd3; border-radius: 13px; box-shadow: 0 7px 30px #1c2c3b0a; transition: transform .18s, border-color .18s, box-shadow .18s; }
.service-card:hover { transform: translateY(-3px); border-color: #c5ad80; box-shadow: 0 16px 30px #1c2c3b16; }
.service-featured { border-top: 4px solid var(--gold); padding-top: 26px; }
.service-kicker { color: #906f3e; letter-spacing: .12em; font: 800 11px "Manrope",sans-serif; }
.service-card h3 { margin: 16px 0 13px; font-size: 23px; line-height: 1.33; letter-spacing: -.043em; }
.service-card > p { margin: 0 0 23px; color: #4b5b6c; font-size: 16px; line-height: 1.67; }
.service-output { margin-top: auto; border-top: 1px solid #e7e3db; padding: 17px 0 20px; }
.service-output span { font: 800 11px "Manrope", sans-serif; letter-spacing: .13em; color: #927447; }
.service-output p { margin: 7px 0 0; font-size: 16px; line-height: 1.65; color: #344357; }
.service-cta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 -25px; padding: 18px 25px; border-radius: 0 0 12px 12px; color: var(--navy); background: #f1e7d8; font-size: 14px; font-weight: 800; transition: background .2s; }
.service-cta:hover { background: #e5d2b3; }
.specialties { display: grid; grid-template-columns: .86fr 1fr 1fr; margin-top: 23px; background: #fff; border: 1px solid #e0dcd3; border-radius: 13px; padding: 26px 26px; gap: 28px; }
.specialties-heading { border-right: 1px solid #e8e1d7; padding-right: 12px; }
.specialties-heading .eyebrow { font-size: 10px; margin-bottom: 10px; }
.specialties-heading h3 { margin: 0; font-size: 23px; letter-spacing: -.045em; }
.specialty h4 { margin: 1px 0 9px; font-size: 17px; line-height: 1.35; }
.specialty p { margin: 0 0 13px; line-height: 1.65; color: var(--muted); font-size: 16px; }
.specialty a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: #72552d; border-bottom: 1px solid #c7a870; padding-bottom: 4px; }
.specialty a:hover { color: #2a3342; }

/* Experiencia */
.experience { background: var(--navy); color: white; }
.experience-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px,5vw,80px); align-items: center; }
.experience-copy h2 { margin: 0 0 24px; }
.experience-copy > p:not(.eyebrow) { margin: 0 0 18px; font-size: 16px; line-height: 1.77; color: #c5cedb; }
.experience-copy .experience-footnote { font-size: 12px !important; color: #acb8c7 !important; }
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.result { padding: 24px 22px; min-width: 0; border: 1px solid #3e5269; border-radius: 12px; background: #1a2c40; }
.result strong { display: block; color: var(--gold); font: 800 clamp(23px,2.3vw,29px) "Manrope",sans-serif; letter-spacing: -.05em; }
.result p { margin: 9px 0 0; color: #c9d2df; font-size: 16px; line-height: 1.65; }

/* Industrias */
.industries { background: var(--paper); padding: 67px 0 62px; }
.industries-intro { display: grid; grid-template-columns: 1.12fr .88fr; align-items: end; gap: 60px; }
.industries-intro h2 { max-width: 540px; }
.industries-intro > p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.industries-grid { margin-top: 36px; border-top: 1px solid #d5c8b4; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }
.industry-item { display: flex; align-items: start; gap: 12px; min-width: 0; padding: 24px 15px 4px 0; }
.industry-item + .industry-item { padding-left: 16px; border-left: 1px solid #ded8ce; }
.industry-item svg { width: 28px; height: 28px; flex: none; color: #9b7844; }
.industry-item span { font: 700 14px/1.52 "DM Sans",Arial,sans-serif; color: var(--ink); }
@media (max-width: 900px) {
  .industries-intro { gap: 26px; }
  .industries-grid { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 13px; }
  .industry-item:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 700px) {
  .industries { padding: 58px 0; }
  .industries-intro { display: block; }
  .industries-intro > p { margin-top: 18px; }
  .industries-grid { margin-top: 28px; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .industry-item:nth-child(3), .industry-item:nth-child(5) { padding-left: 0; border-left: 0; }
  .industry-item:nth-child(4) { padding-left: 16px; border-left: 1px solid #ded8ce; }
}
@media (max-width: 470px) {
  .industries-grid { grid-template-columns: 1fr; row-gap: 0; }
  .industry-item, .industry-item + .industry-item, .industry-item:nth-child(4) { border-left: 0; padding: 15px 0; }
  .industry-item + .industry-item { border-top: 1px solid #ded8ce; }
}

/* Método */
.method { background: #fff; }
.method-steps { list-style: none; margin: 42px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; counter-reset: none; border-top: 2px solid #cbb38a; }
.method-steps li { position: relative; min-width: 0; padding: 25px 28px 0 0; }
.step-number { display: block; font: 800 34px/1 "Manrope",sans-serif; letter-spacing: -.07em; color: #a38658; }
.method-steps h3 { margin: 12px 0 7px; font-size: 22px; }
.method-steps p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.68; }

/* Captación de consultas */
.contact { background: #152439; color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr); gap: clamp(26px,5.7vw,90px); align-items: start; }
.contact-copy { padding-top: 33px; }
.contact-copy h2 { margin-bottom: 19px; }
.contact-copy > p:not(.eyebrow) { color: #c7d2df; font-size: 16px; line-height: 1.76; }
.contact-points { margin-top: 26px; display: grid; gap: 13px; }
.contact-points div { font-size: 15px; line-height: 1.5; color: #e0e5ec; display: flex; gap: 12px; }
.contact-points span { color: var(--gold); font-weight: 800; }
.direct-contact { margin-top: 40px; border-top: 1px solid #4d5c6e; padding-top: 22px; display: flex; flex-direction: column; align-items: start; gap: 13px; }
.direct-contact > span { font-size: 14px; color: #b9c6d5; }
.direct-contact a { color: #f0d39f; font-size: 15px; font-weight: 700; border-bottom: 1px solid #f0d39f75; }
.direct-contact a:hover { color: white; }
.contact-panel { background: var(--white); color: var(--ink); border-radius: 16px; padding: clamp(25px,3.5vw,39px); box-shadow: 0 24px 60px #0002; }
.form-top { padding-bottom: 15px; }
.form-eyebrow { display: block; color: #8d6a37; letter-spacing: .14em; font: 800 11px "Manrope",sans-serif; }
.form-top h3 { font-size: clamp(22px, 2vw, 27px); letter-spacing: -.05em; margin: 8px 0 9px; }
.form-top p { color: var(--muted); line-height: 1.5; margin: 0; font-size: 13px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.field-optional { font-weight: 400; color: #637185; }
.field input, .field select, .field textarea { display: block; width: 100%; background: #fbfcfd; color: var(--ink); border: 1px solid #bec5cd; border-radius: 8px; padding: 12px 13px; min-height: 47px; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 104px; line-height: 1.58; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #9b7844; box-shadow: 0 0 0 3px #c7a87035; }
.field input::placeholder, .field textarea::placeholder { color: #8190a0; }
.phone-inputs { display: flex; gap: 8px; min-width: 0; }
.field .phone-inputs select { width: 135px; flex: none; padding-inline: 9px; }
.field .phone-inputs input { min-width: 0; flex: 1; }
.contact-preference { border: 0; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; }
.contact-preference legend { font-size: 13px; font-weight: 800; margin-bottom: 11px; }
.contact-preference label { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; font-size: 14px; }
input[type="radio"], input[type="checkbox"] { accent-color: #9b7641; }
.privacy-check { display: flex; align-items: start; gap: 11px; font-size: 12px; color: #596579; line-height: 1.52; cursor: pointer; }
.privacy-check input { margin-top: 3px; flex: none; }
.privacy-check a { color: #725426; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.button-submit { margin-top: 18px; width: 100%; background: var(--navy); color: white; padding-block: 16px; font-size: 15px; }
.button-submit:hover { background: #243d55; }
.business-form-note { margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: #657184; }
.form-note { text-align: center; color: #69768a; margin: 12px 0 0; font-size: 12px; }
.form-feedback { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: #604519; padding: 12px; border: 1px solid #dbc496; background: #f9f4e7; border-radius: 8px; }
.screenreader { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

/* Pie */
.site-footer { background: #0c1725; color: #b5c0ce; }
.footer-main { padding: 38px 0 31px; display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.footer-brand img { display: block; width: 265px; height: auto; }
.footer-brand p { max-width: 400px; font-size: 14px; line-height: 1.7; margin: 8px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 20px; padding-top: 18px; }
.footer-links a { font-size: 13px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid #324356; padding: 19px 0; color: #a9b6c5; font-size: 12px; }

/* Páginas complementarias */
.simple-page { min-height: 65vh; background: var(--paper); padding: 80px 0 90px; }
.simple-page .page-content { max-width: 790px; }
.simple-page h1 { font-size: clamp(34px,4vw,50px); letter-spacing: -.055em; line-height: 1.2; margin: 0 0 22px; }
.simple-page h2 { font-size: 23px; margin: 28px 0 12px; }
.simple-page p, .simple-page li { color: #46566a; font-size: 16px; line-height: 1.8; }
.simple-page .button { margin-top: 20px; }

/* Aviso de privacidad en ventana emergente */
.privacy-dialog { width: min(760px, calc(100% - 32px)); max-width: 760px; max-height: min(85dvh, 820px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #e2dfd7; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: 0 24px 75px #0006; }
.privacy-dialog[open] { display: flex; flex-direction: column; }
.privacy-dialog::backdrop { background: #07121ec9; }
.privacy-dialog-header { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 27px; border-bottom: 1px solid #e6e5e0; }
.privacy-dialog-header h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.privacy-dialog-close { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border: 1px solid #d8dadd; border-radius: 8px; color: var(--ink); background: #f4f2ed; font-size: 29px; line-height: 1; cursor: pointer; }
.privacy-dialog-close:hover { background: #e8e3d9; }
.privacy-dialog-content { min-height: 0; overflow-y: auto; padding: 11px 27px 30px; overscroll-behavior: contain; }
.privacy-dialog-content .page-content { width: 100%; max-width: none; }
.privacy-dialog-content .eyebrow, .privacy-dialog-content h1 { display: none; }
.privacy-dialog-content h2 { margin: 26px 0 9px; font-size: 19px; letter-spacing: -.025em; }
.privacy-dialog-content p, .privacy-dialog-content li { font-size: 15px; line-height: 1.7; color: #46566a; }
.privacy-dialog-content a { color: #705126; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .brand img { width: 235px; }
  .navlinks { gap: 15px; }
  .nav { gap: 15px; }
  .header-cta { padding: 12px 13px; }
}
@media (max-width: 900px) {
  .section { padding: 65px 0; }
  .brand img { width: 220px; }
  .navlinks { display: none; }
  .split-heading, .services-intro, .method-intro { gap: 26px; }
  .service-card { padding: 23px 20px 0; }
  .service-cta { margin: 0 -20px; padding-inline: 20px; }
  .specialties { grid-template-columns: 1fr 1fr; }
  .specialties-heading { grid-column: span 2; border-right: 0; border-bottom: 1px solid #e8e1d7; padding-bottom: 14px; }
  .experience-grid { grid-template-columns: 1fr; gap: 28px; }
  .experience-copy { max-width: 700px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-copy { padding-top: 0; }
  .contact-copy h2 { max-width: 670px; }
  .contact-copy > p:not(.eyebrow) { max-width: 690px; }
  .direct-contact { margin-top: 26px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 34px); }
  .nav { min-height: 70px; gap: 8px; }
  .brand img { width: min(52vw, 226px); }
  .header-cta { font-size: 11px; padding: 10px 12px; gap: 5px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-content { padding: 48px 0 21px; width: 100%; }
  .hero h1 { font-size: clamp(40px, 10vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-proof { margin-top: 35px; }
  .hero-proof strong { font-size: 23px; }
  .hero-visual { width: 100%; max-height: 410px; overflow: hidden; }
  .hero-visual img { width: min(76%,350px); }
  .split-heading, .services-intro, .method-intro { display: block; }
  .section-intro > p, .split-heading > p { margin-top: 16px; }
  .challenge-grid { grid-template-columns: 1fr; gap: 22px; }
  .challenge-card { padding: 16px 0 0; }
  .challenge-card h3 { margin: 9px 0; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { min-height: 0; }
  .specialties { padding: 21px; grid-template-columns: 1fr; gap: 23px; }
  .specialties-heading { grid-column: auto; }
  .results-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .method-steps { grid-template-columns: 1fr; gap: 25px; margin-top: 24px; border-top: 0; }
  .method-steps li { border-top: 2px solid #cbb38a; padding-top: 17px; }
  .footer-main { flex-direction: column; }
  .footer-links { justify-content: start; padding-top: 0; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}
@media (max-width: 470px) {
  .nav { min-height: 68px; }
  .brand img { width: min(51vw,197px); }
  .header-cta { font-size: 10px; padding: 10px 8px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: 9px; }
  .hero-proof strong { font-size: 20px; }
  .hero-proof span { font-size: 11px; }
  .results-grid { gap: 9px; }
  .result { padding: 19px 14px; }
  .result strong { font-size: 20px; }
  .result p { font-size: 13px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-panel { padding: 21px 17px; }
  .footer-links { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

@media (max-width: 600px) {
  .privacy-dialog { width: calc(100% - 20px); max-height: 90dvh; }
  .privacy-dialog-header { padding: 15px 18px; }
  .privacy-dialog-header h2 { font-size: 20px; }
  .privacy-dialog-content { padding: 5px 18px 23px; }
}
