:root {
  color-scheme: dark;
  --bg: #071419;
  --ink: #eef8f7;
  --muted: #afc6cb;
  --green: #52f1b2;
  --cyan: #68cde4;
  --line: #284249;
  --panel: #0c2027;
  --mono: "IBM Plex Mono", monospace;
  font-family: Geist, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.wrap { width: min(1200px, 100% - 104px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 12px; z-index: 9; padding: 8px 16px; color: var(--bg); background: var(--green); transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 4; background: #071419f2; backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.head, nav { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.head { min-height: 73px; }
nav { font-size: .9rem; color: var(--muted); }
nav a:hover, .footer a:hover { color: var(--green); }
.menu { display: none; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 48px; padding: 10px 18px; border: 1px solid transparent; border-radius: 7px; font-weight: 650; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--green); color: #071916; }
.btn.primary:hover { background: #a1fbd7; }
.btn.outline { border-color: #547179; color: var(--ink); background: #07141977; }
.btn.outline:hover { border-color: var(--green); background: #112c31; }
.hero { position: relative; isolation: isolate; background: #0a1b24; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: url("../ima/puerto.webp") 62% 50% / cover no-repeat; animation: approach 2s ease-out both; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#061318 2%,#061318ef 28%,#0613188a 62%,#06131819), linear-gradient(0deg,#061318a8,transparent 45%); }
@keyframes approach { from { transform: scale(1.045); } to { transform: scale(1); } }
.hero-grid { min-height: clamp(540px, 72vh, 730px); display: grid; align-items: center; padding-block: 70px; }
.hero-copy { max-width: 760px; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--green); font: 500 .76rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
.kicker i { width: 7px; height: 7px; background: var(--green); border-radius: 100%; flex: none; box-shadow: 0 0 16px var(--green); }
h1,h2,h3 { line-height: 1.07; letter-spacing: -.047em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 7.15vw, 7.2rem); font-weight: 760; }
h1 em { font-style: normal; display: block; color: var(--green); }
.lead { color: #c9dcdf; font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 510px; margin: 24px 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rail { background: #0b1d23; border-block: 1px solid var(--line); }
.rail-inner { display: grid; grid-template-columns: repeat(3,1fr); }
.rail a { display: flex; gap: 14px; align-items: center; min-height: 72px; font-weight: 600; padding: 12px 18px; border-left: 1px solid var(--line); }
.rail a:last-child { border-right: 1px solid var(--line); }
.rail a:hover { background: #143139; }
.rail span { font: .74rem var(--mono); color: var(--green); }
.section { padding-block: clamp(65px, 8vw, 112px); }
.section-head, .faq { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; }
.section-head { margin-bottom: 32px; align-items: end; }
.section-head p:not(.kicker) { margin: 0; max-width: 450px; }
h2 { font-size: clamp(2.3rem, 4.5vw, 4.25rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
.section-head p:not(.kicker), .card p, .feature p, .faq details p, .contact p:not(.kicker), footer p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.card,.feature { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); transition: border-color .2s, transform .24s; }
.card:hover,.feature:hover { border-color: #56a797; transform: translateY(-4px); }
.glyph { display: grid; place-items: center; min-width: 43px; height: 43px; margin-bottom: 23px; border: 1px solid #2f655b; border-radius: 8px; background: #102e31; color: var(--green); font-size: 1.35rem; }
.card p,.feature p { margin: 13px 0 23px; }
.card a,.feature a,.email { color: var(--green); font-weight: 650; }
.card a,.feature a { margin-top: auto; min-height: 36px; display: inline-flex; align-items: center; gap: 9px; }
.card a:hover,.feature a:hover,.email:hover { text-decoration: underline; }
.ecosystem { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 85% 0%, #153749 0, #0a1a22 55%); }
.duo { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.feature { background: linear-gradient(135deg,#102731,#0c2027); }
.feature .glyph { color: var(--cyan); border-color: #315966; }
.faq { grid-template-columns: .8fr 1.2fr; padding-bottom: 32px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 17px 32px 17px 0; list-style: none; cursor: pointer; position: relative; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; color: var(--green); }
details[open] summary::after { content: "−"; }
details p { margin: 0 16px 18px 0; }
.contact { display: grid; grid-template-columns: 1fr .9fr; gap: 40px; padding: clamp(24px, 5vw, 64px); border: 1px solid #34635d; border-radius: 16px; background: linear-gradient(125deg,#10322f,#0c222b 70%); }
.sales-contact { display: grid; justify-items: start; gap: 4px; font-style: normal; }
.sales-contact span { color: var(--muted); margin-bottom: 4px; }
.email { overflow-wrap: anywhere; }
form { display: grid; gap: 9px; align-content: start; }
form label { font-size: .9rem; font-weight: 650; }
form select,form textarea { background: #071419; color: var(--ink); border: 1px solid #527077; border-radius: 6px; padding: 10px 12px; width: 100%; }
form textarea { resize: vertical; }
form button { justify-self: start; margin-top: 6px; }
footer { background: #061015; border-top: 1px solid var(--line); }
.footer { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-block: 28px; }
.footer p { font-size: .87rem; margin: 8px 0 0; }
.footer p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.flyer { width: min(510px,100% - 32px); max-height: calc(100% - 32px); border: 1px solid #397568; border-radius: 18px; padding: clamp(24px,8vw,72px) 24px; text-align: center; color: var(--ink); background: radial-gradient(ellipse at 50% 0%,#18474b,#0a1b23 72%); overflow: auto; }
.flyer[open]:not(.leaving) { animation: intro .45s cubic-bezier(.2,.7,.3,1) both; }
.flyer::backdrop { background: #040e14cc; backdrop-filter: blur(7px); transition: opacity .42s ease; }
.flyer.leaving::backdrop { opacity: 0; }
.flyer img { width: min(100%, 330px); height: auto; margin: 0 auto 20px; }
.flyer p { margin: 0 0 22px; font-size: clamp(1.4rem,5vw,2.2rem); font-weight: 700; letter-spacing: -.04em; }
.close { position: absolute; inset: 8px 8px auto auto; background: #0c2027; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; font-size: 1.45rem; }
@keyframes intro { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.reveal.arrived { animation: intro .55s ease-out both; }
@media (max-width: 850px) {
 .wrap { width: min(100% - 48px,1200px); }
 .head,nav { gap: 16px; }
 .cards { grid-template-columns: repeat(2,1fr); }
 .section-head,.faq,.contact { gap: 24px; }
}
@media (max-width: 680px) {
 .wrap { width: calc(100% - 32px); }
 .head { min-height: 62px; }
 .menu { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; background: var(--panel); }
 nav { display: none; position: absolute; inset: 100% 0 auto; background: #071419; border-bottom: 1px solid var(--line); padding: 16px; }
 nav.open { display: grid; justify-content: stretch; gap: 3px; }
 nav a { padding: 9px 6px; }
 .hero-grid { min-height: 560px; padding-block: 90px 42px; align-items: end; }
 .hero::before { background-position: 68% 50%; }
 .hero::after { background: linear-gradient(0deg,#061318 0%,#061318e8 44%,#06131849 100%); }
 h1 { font-size: clamp(2.6rem,11vw,4.4rem); }
 .hero .kicker { font-size: .68rem; }
 .rail-inner { grid-template-columns: 1fr; }
 .rail a,.rail a:last-child { border: 0; border-bottom: 1px solid var(--line); min-height: 49px; padding-left: 0; }
 .rail a:last-child { border-bottom: 0; }
 .section-head,.faq,.cards,.duo,.contact { grid-template-columns: 1fr; }
 .card,.feature { padding: 20px; }
 .footer { align-items: start; flex-direction: column; }
}
@media (max-width: 380px) { .actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
 *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.btn svg,.card a svg,.feature a svg,.menu svg { display: block; flex: none; }
.glyph svg { width: 23px; height: 23px; }
