:root {
  --navy: #092847;
  --navy-deep: #071d35;
  --blue: #0572ce;
  --amber: #ffb20c;
  --ink: #152a3b;
  --muted: #667784;
  --line: #e7edf1;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Manrope", "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button, a, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1382c8; outline-offset: 3px; }
.wrap { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 40; left: 14px; top: 10px; transform: translateY(-160%); padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; box-shadow: 0 4px 18px #06182c33; }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { height: 82px; background: #fff; position: relative; z-index: 10; border-bottom: 1px solid rgba(10, 37, 62, .06); }
.header-inner, .primary-nav, .brand { display: flex; align-items: center; }
.header-inner { height: 100%; justify-content: space-between; }
.brand { gap: 12px; }
.brand-mark { width: 70px; height: 52px; flex: none; }
.brand-copy { display: flex; flex-direction: column; font-family: var(--font-display); font-size: 9px; line-height: 1.32; letter-spacing: .02em; color: #111e2b; }
.brand-copy strong { font-weight: 800; }
.brand-copy span { font-weight: 500; }
.primary-nav { gap: 34px; font-size: 13px; font-weight: 600; color: #344654; }
.primary-nav > a { transition: color .2s; }
.primary-nav > a:hover { color: var(--blue); }
.menu-toggle { display: none; }
.button { border: 0; border-radius: 999px; padding: 15px 22px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 16px; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 22px #071d3522; }
.button-primary { background: var(--amber); color: #162536; }
.button-small { padding: 12px 18px; font-size: 12px; }
.button-dark { background: var(--navy); color: #fff; }
.button-white { background: #fff; color: var(--navy); }

/* Hero */
.hero { position: relative; min-height: 575px; overflow: hidden; background: var(--navy-deep); display: flex; align-items: center; color: #fff; }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { background-image: url("/images/hero-colaboracion.png"); background-size: cover; background-position: center 47%; }
.hero-shade { background: linear-gradient(90deg, rgba(5, 24, 43, .97) 0%, rgba(5, 24, 43, .89) 34%, rgba(5, 24, 43, .3) 67%, rgba(5, 24, 43, .08) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 72px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #627584; font-size: 10px; line-height: 1.2; letter-spacing: .13em; font-weight: 700; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px #ffb20c22; }
.eyebrow-light { color: #d1dde6; }
.hero h1 { font: 800 clamp(40px, 5.1vw, 67px)/1.05 var(--font-display); letter-spacing: -.055em; max-width: 645px; margin: 23px 0 19px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-content > p { max-width: 430px; font-size: 15px; line-height: 1.65; color: #d8e2e9; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 28px; }
.text-link { font-size: 12px; font-weight: 700; color: #304658; display: inline-flex; align-items: center; gap: 8px; }
.text-link span { font-size: 16px; }
.text-link-light { color: #fff; }
.hero-proof { display: flex; align-items: center; gap: 12px; color: #c9d4dc; font-size: 11px; margin-top: 43px; }
.proof-avatars { display: flex; padding-left: 6px; }
.proof-avatars i { width: 25px; height: 25px; border-radius: 50%; border: 2px solid var(--navy-deep); background: #d3e4ef; color: #123958; font-size: 8px; font-style: normal; font-weight: 800; display: grid; place-items: center; margin-left: -6px; }
.proof-avatars i:nth-child(2) { background: #f7d8aa; }
.proof-avatars i:nth-child(3) { background: var(--amber); }
.hero-index { position: absolute; right: 32px; bottom: 34px; display: flex; align-items: center; gap: 9px; color: #d2dce2; font-size: 10px; letter-spacing: .08em; }
.hero-index i { width: 40px; height: 1px; background: #ffffff70; }

/* Benefits */
.benefits { padding-block: 43px; background: #fff; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.benefit-card { display: flex; gap: 17px; align-items: center; padding: 7px 17px 7px 0; }
.benefit-icon { width: 53px; height: 53px; border-radius: 17px; display: grid; place-items: center; flex: none; }
.benefit-icon svg, .category-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-blue { background: #e8f5ff; color: #0875c8; }
.icon-amber { background: #fff4db; color: #ee9b00; }
.icon-red { background: #fff0ef; color: #d9373e; }
.benefit-card h2 { font: 700 14px var(--font-display); margin: 0 0 5px; color: #142c40; }
.benefit-card p { font-size: 11px; color: #6a7b87; line-height: 1.55; margin: 0; max-width: 220px; }

/* Supplier callout */
.opportunity { position: relative; min-height: 290px; border-radius: 22px; overflow: hidden; background: #f4b311; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.opportunity-copy { position: relative; z-index: 2; padding: 41px 10px 38px 52px; }
.opportunity-copy .eyebrow { color: #273a49; }
.opportunity h2 { font: 800 clamp(26px, 3vw, 38px)/1.1 var(--font-display); letter-spacing: -.045em; margin: 17px 0 10px; color: #102c46; }
.opportunity-copy > p { max-width: 405px; font-size: 13px; line-height: 1.6; color: #35495a; margin: 0 0 20px; }
.opportunity-stat { display: flex; align-items: center; gap: 9px; color: #344657; position: absolute; right: 26px; bottom: 34px; }
.opportunity-stat strong { font: 800 25px var(--font-display); color: #102c46; }
.opportunity-stat span { font-size: 9px; line-height: 1.3; }
.opportunity-visual { position: relative; z-index: 1; background-image: linear-gradient(90deg, rgba(244, 179, 17, .15), transparent 40%), url("/images/hero-colaboracion.png"); background-size: cover; background-position: 72% 48%; overflow: hidden; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.opportunity-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f4b31122, transparent 42%); }
.visual-caption { position: absolute; z-index: 1; right: 28px; top: 22px; color: #fff; background: #092847c9; padding: 9px 12px; border-radius: 99px; display: flex; align-items: center; gap: 8px; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.caption-dot { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; }
.caption-line { width: 15px; height: 1px; background: #ffffff80; }
.visual-stamp { position: absolute; z-index: 1; right: 34px; bottom: 25px; padding: 12px 16px; color: #fff; background: #092847d9; border: 1px solid #ffffff50; border-radius: 5px; font: 800 12px/1.15 var(--font-display); letter-spacing: .05em; transform: rotate(-3deg); }
.visual-stamp span { color: var(--amber); font-size: 15px; }
.opportunity-shape { position: absolute; width: 170px; height: 170px; border: 1px solid #102c462e; border-radius: 50%; left: 45%; top: -105px; }

/* Categories and footer call to action */
.categories { padding-block: 78px 88px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 26px; }
.section-heading h2 { font: 800 clamp(25px, 3vw, 34px)/1.15 var(--font-display); letter-spacing: -.04em; margin: 11px 0 0; color: #142c40; }
.section-heading .text-link { margin-bottom: 5px; color: #0a5ea5; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category-card { position: relative; min-height: 154px; padding: 20px 18px 14px; border: 1px solid #edf1f4; border-radius: 15px; background: #fff; display: flex; flex-direction: column; align-items: flex-start; transition: transform .2s, border-color .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-3px); border-color: #b7d6eb; box-shadow: 0 12px 25px #173c5710; }
.category-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.category-icon svg { width: 22px; height: 22px; }
.category-card strong { font: 700 12px/1.38 var(--font-display); color: #1e3345; }
.category-count { font-size: 9px; color: #82909a; margin-top: auto; padding-top: 10px; }
.category-count b { font-size: 13px; color: #1371b8; font-weight: 500; margin-left: 5px; }
.cat-navy { color: #0c5288; background: #edf6fb; }
.cat-coral { color: #e44846; background: #fff0ed; }
.cat-gold { color: #e79a00; background: #fff7e1; }
.cat-green { color: #328347; background: #edf7ee; }
.cat-orange { color: #f17818; background: #fff1e6; }
.cat-purple { color: #873d9c; background: #f5edfa; }
.cat-blue { color: #1467b0; background: #edf4fc; }
.cat-pink { color: #dc3d70; background: #fff0f4; }
.closing-cta { margin-bottom: 75px; border-radius: 20px; padding: 35px 48px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.closing-cta h2 { font: 700 clamp(21px, 3vw, 31px)/1.2 var(--font-display); letter-spacing: -.035em; max-width: 570px; margin: 12px 0 0; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; gap: 25px; }
.brand-footer .brand-mark { width: 53px; height: 40px; }
.brand-footer .brand-copy { font-size: 7px; }
.footer-inner > p, .copyright { font-size: 10px; color: #82909a; }
.copyright { margin-left: auto; }

/* Registration dialog */
.register-dialog { position: fixed; inset: 0; margin: auto; width: min(520px, calc(100% - 28px)); max-height: calc(100% - 28px); overflow: auto; border: 0; border-radius: 20px; padding: 34px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px #06182c44; z-index: 30; }
.register-dialog::backdrop { background: transparent; }
.dialog-backdrop { position: fixed; inset: 0; background: #071d35a8; backdrop-filter: blur(4px); z-index: 20; }
.dialog-close { position: absolute; top: 15px; right: 17px; border: 0; background: #f1f5f7; color: #294358; border-radius: 50%; width: 34px; height: 34px; font-size: 24px; line-height: 1; }
.dialog-heading h2 { font: 800 30px/1.1 var(--font-display); letter-spacing: -.045em; margin: 14px 0 8px; }
.dialog-heading p { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0 0 22px; }
.register-dialog form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.register-dialog label { display: grid; gap: 6px; font-size: 11px; font-weight: 700; color: #394d5d; }
.register-dialog label:nth-child(3), .register-dialog label:nth-child(4), .form-submit, .form-note { grid-column: 1 / -1; }
.register-dialog input, .register-dialog select { width: 100%; height: 44px; border: 1px solid #dce5eb; border-radius: 9px; padding: 0 12px; background: #fff; color: #243a4b; font-size: 12px; outline: none; }
.register-dialog input:focus, .register-dialog select:focus { border-color: #1680c4; box-shadow: 0 0 0 3px #1680c41c; }
.register-dialog input::placeholder { color: #a2adb6; }
.form-submit { width: 100%; margin-top: 3px; }
.form-note { text-align: center; font-size: 9px; color: #87949d; margin: -3px 0 0; }
.form-success { text-align: center; padding: 12px 4px 0; }
.form-success[hidden] { display: none; }
.success-check { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #e9f7ec; color: #2d9054; font-size: 25px; margin: 0 auto 14px; }
.form-success h3 { font: 800 24px var(--font-display); margin: 0 0 7px; }
.form-success p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0 auto 20px; max-width: 320px; }

@media (max-width: 980px) and (min-width: 761px) {
  .wrap { width: calc(100% - 48px); }
  .primary-nav { gap: 19px; }
  .hero { min-height: 510px; }
  .hero h1 { max-width: 550px; font-size: 57px; }
  .benefits-grid { gap: 13px; }
  .benefit-card { gap: 11px; }
  .benefit-card h2 { font-size: 12px; }
  .category-card { padding-inline: 13px; }
  .category-count { font-size: 8px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: min(calc(100% - 38px), 560px); }
  .site-header { height: 69px; }
  .brand { gap: 8px; }
  .brand-mark { width: 55px; height: 42px; }
  .brand-copy { font-size: 7px; }
  .menu-toggle { display: flex; width: 40px; height: 40px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
  .menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: #083466; transition: .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; padding: 18px 20px 22px; box-shadow: 0 15px 24px #09284718; align-items: stretch; gap: 0; flex-direction: column; }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a { padding: 13px 3px; border-bottom: 1px solid var(--line); }
  .primary-nav .button { margin-top: 15px; }
  .hero { min-height: 518px; align-items: flex-end; }
  .hero-photo { background-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5, 24, 43, .98) 0%, rgba(5, 24, 43, .92) 38%, rgba(5, 24, 43, .34) 78%, rgba(5, 24, 43, .05) 100%); }
  .hero-content { padding-block: 188px 32px; }
  .eyebrow { font-size: 8px; letter-spacing: .11em; }
  .hero h1 { font-size: clamp(36px, 10vw, 49px); line-height: 1.02; max-width: 475px; margin: 14px 0 12px; letter-spacing: -.05em; }
  .hero-content > p { font-size: 12px; line-height: 1.55; max-width: 350px; }
  .hero-actions { margin-top: 19px; gap: 15px; flex-wrap: wrap; }
  .button { font-size: 11px; padding: 14px 18px; gap: 12px; }
  .hero-actions .text-link { font-size: 10px; }
  .hero-proof { margin-top: 22px; font-size: 9px; }
  .proof-avatars i { width: 22px; height: 22px; }
  .hero-index { right: 19px; bottom: 20px; font-size: 8px; }
  .benefits { padding-block: 21px; }
  .benefits-grid { gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit-card { padding: 0 8px; gap: 7px; flex-direction: column; text-align: center; align-items: center; }
  .benefit-icon { width: 40px; height: 40px; border-radius: 14px; }
  .benefit-icon svg { width: 22px; height: 22px; }
  .benefit-card h2 { font-size: 9px; line-height: 1.25; min-height: 23px; margin: 0 0 4px; }
  .benefit-card p { font-size: 8px; line-height: 1.35; max-width: 105px; }
  .opportunity { grid-template-columns: 1fr; min-height: 0; border-radius: 16px; }
  .opportunity-copy { padding: 25px 24px 28px; }
  .opportunity-copy .eyebrow { font-size: 7px; }
  .opportunity h2 { font-size: 25px; margin: 12px 0 8px; }
  .opportunity-copy > p { font-size: 11px; line-height: 1.55; max-width: 310px; margin-bottom: 15px; }
  .opportunity-copy .button { font-size: 10px; padding: 12px 16px; }
  .opportunity-stat { right: 17px; bottom: 21px; }
  .opportunity-stat strong { font-size: 18px; }
  .opportunity-stat span { font-size: 7px; }
  .opportunity-visual { display: none; }
  .categories { padding-block: 37px 45px; }
  .section-heading { margin-bottom: 16px; }
  .section-heading .eyebrow { font-size: 7px; }
  .section-heading h2 { font-size: 20px; margin-top: 7px; }
  .section-heading > .text-link { font-size: 9px; gap: 5px; margin-bottom: 3px; white-space: nowrap; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .category-card { min-height: 111px; border-radius: 10px; padding: 10px 7px 8px; align-items: center; text-align: center; }
  .category-icon { width: 30px; height: 30px; border-radius: 9px; margin-bottom: 7px; }
  .category-icon svg { width: 18px; height: 18px; }
  .category-card strong { font-size: 8px; line-height: 1.28; }
  .category-count { display: none; }
  .closing-cta { margin-bottom: 35px; border-radius: 15px; padding: 22px; display: block; }
  .closing-cta .eyebrow { font-size: 7px; }
  .closing-cta h2 { font-size: 20px; max-width: 300px; margin: 10px 0 15px; }
  .closing-cta .button { font-size: 10px; padding: 12px 16px; }
  .footer-inner { flex-wrap: wrap; gap: 10px 14px; }
  .brand-footer .brand-mark { width: 45px; height: 34px; }
  .brand-footer .brand-copy { font-size: 6px; }
  .footer-inner > p, .copyright { font-size: 8px; }
  .footer-inner > p { margin: 0; }
  .register-dialog { padding: 27px 22px; border-radius: 17px; }
  .dialog-heading h2 { font-size: 25px; max-width: 350px; }
  .dialog-heading p { font-size: 11px; }
  .register-dialog form { grid-template-columns: 1fr; gap: 11px; }
  .register-dialog label:nth-child(3), .register-dialog label:nth-child(4), .form-submit, .form-note { grid-column: auto; }
  .register-dialog label { font-size: 10px; }
  .register-dialog input, .register-dialog select { height: 42px; font-size: 11px; }
  .form-note { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
