:root {
  --blue-950: #041f37;
  --blue-900: #062d50;
  --blue-800: #003f70;
  --blue-600: #0f6cbd;
  --orange: #f47b20;
  --green: #2e7d64;
  --ink: #263238;
  --muted: #63717b;
  --paper: #f6f7f9;
  --white: #fff;
  --line: rgba(6, 45, 80, .16);
  --display: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
  --body: "Inter", "Aptos", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2.5rem; padding: 1.2rem clamp(1.25rem, 4vw, 4.5rem); color: var(--white); transition: background .3s, padding .3s, box-shadow .3s; }
.site-header.is-scrolled { padding-block: .75rem; background: rgba(4, 31, 55, .96); box-shadow: 0 10px 28px rgba(0,0,0,.13); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; width: max-content; text-decoration: none; }
.brand-logo { width: clamp(178px, 16vw, 228px); height: auto; }
.brand-mark { position: relative; display: flex; align-items: end; gap: 3px; width: 27px; height: 29px; transform: skewX(-13deg); }
.brand-mark i { display: block; width: 7px; background: var(--orange); }
.brand-mark i:nth-child(1) { height: 15px; }
.brand-mark i:nth-child(2) { height: 23px; background: var(--blue-600); }
.brand-mark i:nth-child(3) { height: 29px; background: var(--white); }
.brand-name { display: flex; flex-direction: column; font-family: var(--display); font-size: 1.05rem; font-weight: 800; line-height: .95; letter-spacing: .09em; }
.brand-name small { margin-top: .32rem; font-size: .56rem; font-weight: 600; letter-spacing: .29em; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.main-nav a { position: relative; font-size: .83rem; font-weight: 700; text-decoration: none; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -.45rem; left: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.4); }
.language-switcher { display: flex; gap: .15rem; }
.language-switcher button { border: 0; padding: .3rem; color: rgba(255,255,255,.55); background: none; cursor: pointer; font-size: .7rem; font-weight: 800; }
.language-switcher button.is-active { color: var(--white); }
.menu-toggle { display: none; }

.hero { position: relative; display: flex; min-height: min(890px, 100svh); align-items: flex-end; overflow: hidden; color: var(--white); background: var(--blue-950); }
.hero-image, .hero-shade, .hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 55%; animation: hero-in 1.6s cubic-bezier(.22,.61,.36,1) both; }
.hero-shade { background: linear-gradient(90deg, rgba(2,23,41,.95) 0%, rgba(2,27,48,.8) 42%, rgba(2,27,48,.2) 76%), linear-gradient(0deg, rgba(2,22,38,.75), transparent 55%); }
.hero-grid { opacity: .18; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 8.333vw 8.333vw; mask-image: linear-gradient(to right, black, transparent 75%); }
.hero-content { position: relative; z-index: 2; width: min(1020px, 87vw); margin: 0 0 clamp(4rem, 9vh, 7.5rem) clamp(1.25rem, 8vw, 9rem); }
.eyebrow { margin: 0 0 1.35rem; color: var(--blue-600); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #b7d9f7; }
h1, h2, h3 { margin-top: 0; font-family: var(--display); line-height: 1.05; letter-spacing: -.035em; }
h1 { max-width: 940px; margin-bottom: 1.5rem; font-size: clamp(2.6rem, 5.25vw, 5.75rem); font-weight: 560; }
.hero-lead { max-width: 670px; margin: 0 0 2rem; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid transparent; padding: .78rem 1.35rem; cursor: pointer; font-size: .78rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--orange); }
.button-primary:hover { background: #db6611; }
.button-ghost { border-color: rgba(255,255,255,.45); color: var(--white); background: rgba(255,255,255,.03); backdrop-filter: blur(4px); }
.button-ghost:hover { background: rgba(255,255,255,.12); }
.hero-index { position: absolute; right: 3.25rem; bottom: 4rem; z-index: 2; display: flex; align-items: center; gap: .8rem; font-size: .65rem; font-weight: 700; letter-spacing: .1em; }
.hero-index i { width: 70px; height: 1px; background: rgba(255,255,255,.4); }

.metrics { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); width: min(1040px, calc(100% - 2.5rem)); margin: -2.6rem auto 0; background: var(--white); box-shadow: 0 22px 60px rgba(6,45,80,.12); }
.metrics article { display: flex; min-height: 120px; align-items: center; gap: 1rem; padding: 1.5rem clamp(1rem, 3vw, 2.5rem); border-right: 1px solid var(--line); }
.metrics article:last-child { border-right: 0; }
.metrics strong { color: var(--blue-600); font-family: var(--display); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
.metrics span { max-width: 130px; color: var(--muted); font-size: .78rem; font-weight: 700; line-height: 1.25; text-transform: uppercase; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 9rem); }
.section-label { display: inline-flex; width: fit-content; align-items: center; gap: .9rem; color: var(--blue-600); }
.section-label span { font-family: var(--display); font-size: .7rem; font-weight: 800; }
.section-label p { margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-label::after { content: ""; display: block; width: 10ch; height: 2px; background: currentColor; }
.section-label.light { color: #b7d9f7; }
h2 { margin-bottom: 1.4rem; color: var(--blue-900); font-size: clamp(2.25rem, 4.1vw, 4.2rem); font-weight: 580; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.55; }

.intro { display: grid; grid-template-columns: .7fr 2fr 1.4fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; background: var(--white); }
.intro-copy h2 { max-width: 760px; }
.intro-copy .lead { max-width: 740px; color: var(--muted); }
.value-list article { display: grid; grid-template-columns: 1fr; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.value-list article:first-child { padding-top: 0; }
.value-list h3 { margin: 0 0 .25rem; color: var(--blue-900); font-size: 1.05rem; letter-spacing: -.01em; }
.value-list p { margin: 0; color: var(--muted); font-size: .9rem; }

.solutions { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: .7fr 2fr 1.4fr; gap: clamp(2rem, 5vw, 6rem); align-items: end; margin-bottom: 4rem; }
.section-heading h2, .section-heading > p { margin-bottom: 0; }
.section-heading > p { color: var(--muted); }
.solution-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.solution-tabs button { display: flex; align-items: center; gap: 1.2rem; border: 0; border-right: 1px solid var(--line); padding: 1.25rem; color: var(--muted); background: transparent; cursor: pointer; text-align: left; }
.solution-tabs button:last-child { border-right: 0; }
.solution-tabs button[aria-selected="true"] { color: var(--blue-900); background: var(--white); box-shadow: inset 0 3px var(--orange); }
.solution-tabs span { font-size: .68rem; }
.solution-tabs b { font-family: var(--display); font-size: 1rem; }
.solution-panel { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 540px; background: var(--white); }
.solution-visual { position: relative; min-height: 430px; overflow: hidden; }
.solution-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,31,55,.55), transparent 60%); }
.solution-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
#panel-innovacion .solution-visual img { object-position: right center; }
.solution-panel:hover .solution-visual img { transform: scale(1.025); }
.solution-visual span { position: absolute; bottom: 1.5rem; left: 1.7rem; z-index: 2; padding: .7rem 1rem; border-radius: 4px; color: var(--white); background: var(--orange); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.solution-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.solution-copy .lead { margin-top: 0; color: var(--blue-900); }
.solution-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1.5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.solution-copy li { position: relative; padding: .55rem 0 .55rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.solution-copy li::before { content: ""; position: absolute; top: 1.05rem; left: 0; width: 5px; height: 5px; background: var(--orange); }

.method { display: grid; grid-template-columns: 1fr 1fr; min-height: 750px; padding: 0; background: var(--blue-950); }
.method-media { overflow: hidden; }
.method-media img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.method-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem); color: rgba(255,255,255,.78); }
.method-copy h2 { margin-top: 2rem; color: var(--white); }
.method-points { margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.18); }
.method-points p { margin: 0; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: .83rem; font-weight: 700; }

.projects { background: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.project-card { position: relative; grid-column: span 4; min-height: 430px; overflow: hidden; color: var(--white); background: var(--blue-950); }
.project-card:nth-child(1), .project-card:nth-child(6) { grid-column: span 8; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .66; transition: transform .7s, opacity .7s; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,23,39,.95), transparent 72%); }
.project-card:hover img { transform: scale(1.045); opacity: .78; }
.project-content { position: absolute; inset: auto 0 0; z-index: 2; padding: 1.7rem; }
.project-content span { display: block; margin-bottom: .65rem; color: #b7d9f7; font-size: .65rem; font-weight: 800; letter-spacing: .14em; }
.project-content h3 { max-width: 580px; margin: 0 0 .6rem; font-size: clamp(1.25rem, 2vw, 1.85rem); font-weight: 560; }
.project-content p { max-width: 650px; max-height: 0; margin: 0; overflow: hidden; color: rgba(255,255,255,.78); font-size: .84rem; opacity: 0; transition: max-height .45s, opacity .45s; }
.project-card:hover .project-content p, .project-card:focus-within .project-content p { max-height: 140px; opacity: 1; }

.audiences { display: grid; grid-template-columns: .7fr 1.3fr 1fr; gap: clamp(2rem, 5vw, 6rem); background: var(--paper); }
.audience-title p { color: var(--muted); }
.audience-list { display: flex; flex-direction: column; }
.audience-list span { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--blue-900); font-family: var(--display); font-weight: 700; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 10rem); color: var(--white); background: var(--blue-900); }
.contact h2 { margin-top: 2rem; color: var(--white); }
.contact-copy > p { max-width: 540px; color: rgba(255,255,255,.68); }
.contact-form { display: grid; align-content: center; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label:not(.check) { display: grid; gap: .35rem; color: rgba(255,255,255,.62); font-size: .73rem; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.34); border-radius: 0; padding: .7rem .1rem; color: var(--white); background: transparent; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--orange); }
.contact-form textarea { resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; color: rgba(255,255,255,.6); font-size: .72rem; }
.check input { width: auto; margin-top: .28rem; accent-color: var(--orange); }
.contact-form .button { width: max-content; }
.form-status { min-height: 1.5rem; margin: 0; color: #b7d9f7; font-size: .8rem; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 3rem clamp(1.25rem, 8vw, 9rem); color: rgba(255,255,255,.6); background: var(--blue-950); font-size: .72rem; }
.footer-brand { color: var(--white); }
.footer-brand .brand-logo { width: 250px; }
.legal-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; }
.legal-links a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s; }
.legal-links a:hover, .legal-links a:focus-visible { color: var(--cyan); }
.footer-contact { grid-column: 1 / -1; color: rgba(255,255,255,.58); font-style: normal; line-height: 1.7; }
.footer-contact a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-contact a:hover, .footer-contact a:focus-visible { color: var(--cyan); }
.footer-note { grid-column: 1 / -1; display: flex; justify-content: space-between; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }

@keyframes hero-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 1rem; }
  .menu-toggle { display: grid; gap: 6px; order: 3; width: 42px; height: 42px; place-content: center; border: 1px solid rgba(255,255,255,.25); color: white; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 7rem 10vw; background: var(--blue-950); opacity: 0; pointer-events: none; transform: translateY(-20px); transition: opacity .25s, transform .25s; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { font-family: var(--display); font-size: clamp(1.7rem, 6vw, 3.25rem); }
  .language-switcher { margin-left: auto; }
  .intro, .section-heading, .audiences { grid-template-columns: 1fr 2fr; }
  .intro .value-list, .section-heading > p, .audience-list { grid-column: 2; }
  .solution-panel { grid-template-columns: 1fr; }
  .method { min-height: auto; }
  .project-card, .project-card:nth-child(1), .project-card:nth-child(6) { grid-column: span 6; }
}

@media (max-width: 680px) {
  .site-header { padding: .85rem 1rem; }
  .brand-name { font-size: .88rem; }
  .brand-mark { transform: scale(.85) skewX(-13deg); transform-origin: left center; }
  .language-switcher button { padding-inline: .2rem; }
  .hero { min-height: 780px; }
  .hero-content { width: auto; margin: 0 1.25rem 5rem; }
  .hero-shade { background: linear-gradient(90deg, rgba(2,23,41,.91), rgba(2,27,48,.56)), linear-gradient(0deg, rgba(2,22,38,.85), transparent 60%); }
  .hero-index { display: none; }
  .metrics { grid-template-columns: 1fr; margin-top: -2rem; }
  .metrics article { min-height: 90px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 5rem 1.25rem; }
  .intro, .section-heading, .audiences, .contact { grid-template-columns: 1fr; }
  .intro .value-list, .section-heading > p, .audience-list { grid-column: auto; }
  .section-heading { gap: 1.5rem; margin-bottom: 2.5rem; }
  .solution-tabs button { justify-content: center; padding: 1rem .5rem; }
  .solution-tabs button span { display: none; }
  .solution-tabs b { font-size: .76rem; }
  .solution-copy ul { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; }
  .method-media { height: 360px; }
  .method-copy { padding: 4.5rem 1.25rem; }
  .project-card, .project-card:nth-child(1), .project-card:nth-child(6) { grid-column: 1 / -1; min-height: 390px; }
  .project-content p { max-height: 150px; opacity: 1; }
  .form-row { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-note { flex-direction: column; gap: .5rem; }
}

/* Modern direction inspired by Solukia: technical, dark and kinetic */
:root {
  --night: #020b17;
  --night-2: #061526;
  --panel: #0a1c30;
  --cyan: #38c9f3;
  --mint: #74e0b8;
  --orange: #ff7a1a;
  --paper: #eef2f5;
}

body { background: var(--night); }
.site-header { padding-top: 1.5rem; }
.site-header.is-scrolled { background: rgba(2, 11, 23, .82); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: none; }
.brand-mark i:nth-child(2) { background: var(--cyan); }
.nav-cta { border-radius: 999px; padding-inline: 1.15rem; background: rgba(255,255,255,.05); }
.language-switcher { padding: .2rem; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(3,14,28,.5); }
.language-switcher button { border-radius: 999px; padding: .25rem .45rem; }
.language-switcher button.is-active { color: var(--night); background: #38c9f3; }
.language-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  margin-right: .1rem;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.language-icon img { width: 19px; height: 19px; object-fit: contain; }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; min-height: 100svh; padding: 9.5rem clamp(1.25rem, 4vw, 4.5rem) 5rem; background: var(--night); }
.hero-glow { position: absolute; z-index: 0; width: 70vw; height: 70vw; top: -35vw; right: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(15,108,189,.3), transparent 66%); filter: blur(20px); pointer-events: none; }
.hero-grid { opacity: .16; background-size: 80px 80px; mask-image: linear-gradient(90deg, #000, transparent 92%); }
.hero-content { width: auto; margin: 0; padding-left: clamp(0rem, 3vw, 3rem); }
.hero h1 { max-width: 870px; margin-bottom: 1.8rem; font-size: clamp(3.3rem, 5.2vw, 6.4rem); font-weight: 790; line-height: .91; letter-spacing: -.07em; }
.hero h1::first-line { color: var(--white); }
.hero-lead { max-width: 720px; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.65; }
.eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.eyebrow.light { color: var(--cyan); }
.button { min-height: 52px; border-radius: 999px; padding-inline: 1.5rem; }
.button-primary { color: #07111e; background: linear-gradient(120deg, var(--orange), #ffb43f); box-shadow: 0 10px 35px rgba(255,122,26,.18); }
.button-primary:hover { color: #07111e; background: linear-gradient(120deg, #ff8f3c, #ffc35b); box-shadow: 0 14px 42px rgba(255,122,26,.3); }
.button-ghost { border-color: transparent; background: transparent; }
.hero-visual { position: relative; z-index: 2; min-height: min(660px, 70vh); border: 1px solid rgba(255,255,255,.12); border-radius: 34px; padding: .7rem; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.02)); box-shadow: 0 40px 100px rgba(0,0,0,.4); transform: rotate(1.5deg); }
.hero-visual::after { content: ""; position: absolute; inset: .7rem; border-radius: 25px; background: linear-gradient(0deg, rgba(2,11,23,.65), transparent 60%); pointer-events: none; }
.hero-image { position: absolute; inset: .7rem; width: calc(100% - 1.4rem); height: calc(100% - 1.4rem); border-radius: 25px; object-fit: cover; }
.hero-orbit { position: absolute; z-index: 3; top: 50%; left: 50%; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transform: translate(-50%,-50%); animation: orbit 14s linear infinite; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 17%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.hero-orbit::after { inset: 34%; background: rgba(6,21,38,.38); backdrop-filter: blur(3px); }
.hero-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.hero-orbit i:nth-child(1) { top: 10%; left: 18%; }.hero-orbit i:nth-child(2) { right: -4px; top: 50%; }.hero-orbit i:nth-child(3) { bottom: 14%; left: 15%; background: var(--orange); box-shadow: 0 0 18px var(--orange); }
.hero-chip { position: absolute; z-index: 5; padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: rgba(255,255,255,.8); background: rgba(2,11,23,.72); backdrop-filter: blur(12px); font-size: .62rem; font-weight: 800; letter-spacing: .11em; }
.chip-top { top: 12%; left: -2rem; }.chip-bottom { right: -1.25rem; bottom: 11%; }

.metrics { width: min(1180px, calc(100% - 2.5rem)); margin: -1.6rem auto 0; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; color: white; background: rgba(8,26,45,.95); box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.metrics article { border-color: rgba(255,255,255,.09); }
.metrics strong { color: var(--cyan); }
.metrics span { color: rgba(255,255,255,.56); }

.section { padding-block: clamp(6rem, 11vw, 11rem); }
.section-label { color: var(--blue-600); }
.section-label.light { color: var(--cyan); }
.intro { background: var(--paper); }
.intro h2, .solutions h2, .projects h2, .audiences h2, .gallery h2 { font-weight: 760; letter-spacing: -.055em; }
.value-list { display: grid; gap: .75rem; }
.value-list article { border: 2px solid var(--orange); border-radius: 16px; padding: 1.4rem; background: rgba(255,255,255,.7); transition: transform .25s, box-shadow .25s; }
.value-list article:first-child { padding-top: 1.4rem; }
.value-list article:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(6,45,80,.08); }
.value-scope {
  max-width: 1040px;
  margin: .5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

.solutions { color: rgba(255,255,255,.72); background: var(--night); }
.solutions h2 { color: var(--white); }
.solutions .section-heading > p { color: rgba(255,255,255,.55); }
.solution-tabs { gap: .7rem; border: 0; }
.solution-tabs button { border: 1px solid rgba(255,255,255,.1) !important; border-radius: 999px; color: rgba(255,255,255,.52); background: rgba(255,255,255,.025); }
.solution-tabs button[aria-selected="true"] { color: var(--white); background: rgba(56,201,243,.09); box-shadow: inset 0 0 0 1px var(--cyan), 0 8px 30px rgba(56,201,243,.08); }
.solution-tabs span { color: var(--cyan); font-size: 1rem; }
.solution-labels div { display: flex; align-items: center; justify-content: center; gap: .8rem; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 1rem; color: rgba(255,255,255,.72); background: rgba(255,255,255,.025); }
.solution-labels b { font-family: var(--display); font-size: .9rem; }
.solution-panel { gap: 1rem; min-height: 570px; margin-top: 1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: .7rem; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018)); overflow: hidden; }
.solution-panel + .solution-panel { margin-top: 1.25rem; }
#panel-sostenibilidad .solution-visual { order: 2; }
#panel-sostenibilidad .solution-copy { order: 1; }
.solution-visual { border-radius: 21px; }
.solution-copy { color: rgba(255,255,255,.6); }
.solution-copy .lead { color: var(--white); }
.solution-copy li { border-color: rgba(255,255,255,.09); color: rgba(255,255,255,.6); }
.solution-copy li::before { border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(56,201,243,.45); }

.sticky-story { position: relative; min-height: 230vh; color: white; background: var(--night); }
.sticky-media { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sticky-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.sticky-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,11,23,.93) 0%, rgba(2,11,23,.58) 48%, rgba(2,11,23,.12)), linear-gradient(0deg, rgba(2,11,23,.72), transparent 60%); }
.sticky-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16vh; padding: 18vh clamp(1.25rem, 8vw, 9rem); pointer-events: none; }
.story-card { width: min(620px, 90vw); margin: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; padding: clamp(1.7rem, 4vw, 3.5rem); background: rgba(3,14,27,.67); box-shadow: 0 30px 80px rgba(0,0,0,.32); backdrop-filter: blur(14px); pointer-events: auto; }
.story-card h2 { color: var(--white); font-size: clamp(2.1rem, 4vw, 4.6rem); font-weight: 760; }
.story-card > p:last-child { color: rgba(255,255,255,.68); font-size: 1.05rem; }

.method { background: var(--night-2); }
.method-media { margin: 1rem; border-radius: 26px; }
.method-copy h2 { font-weight: 760; letter-spacing: -.055em; }
.method-points p::before { content: "✓"; display: inline-grid; width: 24px; height: 24px; margin-right: .8rem; place-items: center; border-radius: 50%; color: var(--night); background: var(--mint); }

.projects { background: var(--paper); }
.project-grid { gap: 1rem; }
.project-card { border-radius: 22px; }
.project-card::before { content: "✦"; position: absolute; top: 1rem; right: 1rem; z-index: 4; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--cyan); background: rgba(2,11,23,.25); backdrop-filter: blur(8px); }
.project-content h3 { font-weight: 700; letter-spacing: -.035em; }

.gallery { position: relative; overflow: hidden; color: rgba(255,255,255,.64); background: var(--night); }
.gallery::before { content: ""; position: absolute; width: 500px; height: 500px; right: -200px; top: -180px; border-radius: 50%; background: rgba(15,108,189,.2); filter: blur(90px); }
.gallery-heading { display: grid; grid-template-columns: .7fr 2fr 1.4fr; gap: clamp(2rem,5vw,6rem); align-items: end; }
.gallery h2 { margin: 0; color: var(--white); }
.gallery-heading > p { margin: 0; }
.gallery-toolbar { display: flex; justify-content: flex-end; gap: .5rem; margin: 2.5rem 0 1rem; }
.gallery-toolbar button, .lightbox-nav, .lightbox-close { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: white; background: rgba(255,255,255,.04); cursor: pointer; transition: background .2s, transform .2s; }
.gallery-toolbar button:hover, .lightbox-nav:hover, .lightbox-close:hover { background: rgba(255,255,255,.13); transform: scale(1.05); }
.gallery-track { display: flex; gap: 1rem; width: calc(100% + clamp(1.25rem, 8vw, 9rem)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item { flex: 0 0 clamp(250px, 28vw, 410px); aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: .45rem; overflow: hidden; scroll-snap-align: start; background: rgba(255,255,255,.04); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; border-radius: 15px; object-fit: cover; filter: saturate(.82); transition: transform .55s, filter .55s; }
.gallery-item:hover img { transform: scale(1.045); filter: saturate(1.1); }
.lightbox { width: min(1120px, 94vw); height: min(780px, 90vh); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 1rem; overflow: visible; color: white; background: rgba(2,11,23,.94); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.lightbox::backdrop { background: rgba(0,5,12,.82); backdrop-filter: blur(9px); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; animation: lightbox-in .25s ease both; }
.lightbox img { width: 100%; height: 100%; max-height: calc(90vh - 2rem); border-radius: 16px; object-fit: contain; }
.lightbox img:focus { outline: none; }
.lightbox-close { position: absolute; z-index: 2; top: -1rem; right: -1rem; background: var(--night); font-size: 1.5rem; }

.audiences { color: var(--ink); background: var(--paper); }
.audience-list { gap: .65rem; }
.audience-list span { border: 2px solid var(--orange); border-radius: 14px; padding: 1rem 1.2rem; background: rgba(255,255,255,.7); }
.contact { background: radial-gradient(circle at 0 0, rgba(15,108,189,.32), transparent 44%), var(--night); }
.contact-form input, .contact-form textarea { border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: .85rem 1rem; background: rgba(255,255,255,.035); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan); }
footer { background: #010711; }

.reveal { opacity: 0; transform: translateY(42px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .14s; }
@keyframes orbit { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; padding-top: 9rem; }
  .hero-content { padding-left: 0; }
  .hero-visual { width: min(760px, 100%); min-height: 520px; margin-inline: auto; }
  .gallery-heading { grid-template-columns: 1fr 2fr; }
  .gallery-heading > p { grid-column: 2; }
}

@media (max-width: 680px) {
  .site-header { background: linear-gradient(180deg, rgba(2,11,23,.82), transparent); }
  .hero { display: block; min-height: auto; padding: 8.5rem 1.25rem 4rem; }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 4.7rem); }
  .hero-content { margin: 0; }
  .hero-visual { min-height: 430px; margin-top: 3.5rem; transform: none; }
  .chip-top { left: .2rem; }.chip-bottom { right: .2rem; }
  .hero-orbit { width: 220px; height: 220px; }
  .metrics { margin-top: 0; border-radius: 0; }
  .solution-tabs { gap: .35rem; overflow-x: auto; }
  .solution-tabs button { flex: 0 0 auto; padding-inline: 1rem; }
  .solution-tabs button span { display: inline; }
  .solution-labels div { flex: 0 0 auto; padding-inline: 1rem; }
  #panel-sostenibilidad .solution-visual, #panel-sostenibilidad .solution-copy { order: initial; }
  .solution-panel { border-radius: 20px; }
  .solution-visual { min-height: 300px; }
  .sticky-story { min-height: 235vh; }
  .sticky-overlay { background: linear-gradient(0deg, rgba(2,11,23,.8), rgba(2,11,23,.25)); }
  .sticky-content { padding-inline: 1.25rem; }
  .sticky-content { gap: 18vh; padding-top: 16vh; }
  .story-card { border-radius: 20px; }
  .method-media { margin: 0; border-radius: 0; }
  .gallery-heading { grid-template-columns: 1fr; }
  .gallery-heading > p { grid-column: auto; }
  .gallery-toolbar { display: none; }
  .gallery-track { width: calc(100% + 1.25rem); }
  .gallery-item { flex-basis: 78vw; }
  .lightbox { width: 96vw; height: 80vh; padding: .5rem; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox-nav { position: absolute; z-index: 3; top: 50%; }
  .lightbox-prev { left: .75rem; }.lightbox-next { right: .75rem; }
}

@media (hover: none), (pointer: coarse) {
  .gallery-toolbar { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-orbit { animation: none; }
  .sticky-media { position: absolute; inset: 0; height: 100%; }
}

/* Hero panorámico: la fotografía ocupa toda la apertura y el mensaje se superpone. */
.hero {
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  padding: 9.5rem clamp(1.25rem, 8vw, 9rem) clamp(5rem, 10vh, 8rem);
}
.hero-content {
  z-index: 3;
  width: min(1020px, 100%);
  margin: 0;
  padding: 0;
}
.hero-content h1 { text-shadow: 0 4px 34px rgba(0,0,0,.34); }
.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  min-height: 0;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}
.hero-image {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-position: center 55%;
}
.hero-visual::after {
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(2,11,23,.93) 0%, rgba(2,11,23,.76) 43%, rgba(2,11,23,.24) 78%),
    linear-gradient(0deg, rgba(2,11,23,.76), transparent 58%);
}
.hero-orbit, .hero-chip { display: none; }
.metrics { margin-bottom: clamp(3.5rem, 6vw, 6rem); }

@media (max-width: 680px) {
  .hero {
    display: flex;
    min-height: 100svh;
    padding: 8.5rem 1.25rem 4.5rem;
  }
  .hero-visual { inset: 0; width: 100%; height: 100%; margin: 0; }
  .hero-visual::after {
    background:
      linear-gradient(90deg, rgba(2,11,23,.86), rgba(2,11,23,.52)),
      linear-gradient(0deg, rgba(2,11,23,.9), rgba(2,11,23,.12) 74%);
  }
  .metrics { margin-top: 0; margin-bottom: 3.5rem; }
}

/* Revisión de jerarquía, botones e identidad visual. */
.button {
  font-family: var(--body);
  border-radius: 4px;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.button-primary,
.button-primary:hover {
  color: #07111e;
  background: var(--orange);
}
.button-ghost,
.button-ghost:hover {
  border-color: #38c9f3;
  color: #07111e;
  background: #38c9f3;
}
.button-primary:hover,
.button-ghost:hover { filter: brightness(1.08); }
.hero-actions .button-primary,
.hero-actions .button-primary:hover {
  color: #07111e;
  background-color: #f47b20;
  background-image: none;
  box-shadow: none;
}
.hero-actions .button {
  min-width: 235px;
  min-height: 58px;
  padding: 1rem 2.25rem;
  border-radius: 12px;
  clip-path: none;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* La portada deja respirar la fotografía sin esconder las cifras inferiores. */
@media (min-width: 681px) {
  .hero {
    min-height: calc(100svh - clamp(4.5rem, 9vh, 6.5rem));
    align-items: center;
    padding-top: clamp(7.5rem, 13vh, 9.5rem);
    padding-bottom: clamp(2rem, 4vh, 3.5rem);
  }

  .hero .hero-content {
    transform: translateY(-3rem);
  }
}

@media (max-width: 680px) {
  .hero .hero-content { transform: translateY(-2rem); }
}
.hero-actions .button-ghost,
.hero-actions .button-ghost:hover {
  border-color: #38c9f3;
  color: #07111e;
  background-color: #38c9f3;
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-form .button {
  min-width: 235px;
  min-height: 58px;
  padding: 1rem 2.25rem;
  border-radius: 12px;
  clip-path: none;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading,
.gallery-heading {
  display: block;
  margin-bottom: 4rem;
}
.section-heading .section-label,
.gallery-heading .section-label { margin-bottom: 2rem; }
.section-heading h2,
.gallery-heading h2 { max-width: 900px; margin-bottom: 1.4rem; }
.section-heading > p,
.section-heading > blockquote,
.gallery-heading > p {
  max-width: 760px;
  margin: 0;
}
.solutions .section-heading > blockquote {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--orange);
  color: rgba(255,255,255,.68);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-style: italic;
  line-height: 1.6;
}
.solution-labels div {
  border-radius: 4px;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.intro,
.audiences {
  grid-template-columns: 1fr;
  gap: 2rem;
}
.intro .section-label,
.audiences .section-label { margin-bottom: .25rem; }
.intro-copy,
.audience-title { max-width: 920px; }
.value-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}
.audience-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1rem;
}
.audience-list span {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.audience-list span i {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #07111e;
  background: #38c9f3;
  font-family: var(--body);
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
}
.audience-list span b { font: inherit; }

@media (max-width: 980px) {
  .value-list { grid-template-columns: 1fr; }
  .audience-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .section-heading,
  .gallery-heading { margin-bottom: 2.5rem; }
  .section-heading .section-label,
  .gallery-heading .section-label { margin-bottom: 1.5rem; }
  .audience-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero-actions .button { width: 100%; min-width: 0; }
}
