/* ==========================================================================
   NETTI · Landing 2026
   Paleta y tipografía según insumos_web.md (sección 3).
   ========================================================================== */

/* Fuentes autoalojadas (Sora + Atkinson Hyperlegible Next, licencia OFL) */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/sora-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); }

:root {
  --dark: #0e3b47;
  --dark-2: #0e4a5a;
  --brand: #005a70;
  --accent: #0a7f99;
  --cyan: #4fc3d9;
  --soft: #a3cbd4;
  --soft-2: #cfe3e8;
  --bg: #ffffff;
  --bg-tint: #f4f7f7;
  --line: #d3dddf;
  --text: #1c2b30;
  --text-2: #4a5d63;

  --f-head: "Sora", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;

  --radius: 16px;
  --container: 1160px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(14, 59, 71, .06), 0 8px 24px rgba(14, 59, 71, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.dark { background-color: var(--dark); color: #fff; }
.accent { color: var(--cyan); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--text); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--f-head); font-weight: 600; font-size: 15px;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: var(--dark); }
.btn-primary:hover { background: #7fd6e6; }
.section .btn-primary, .section-tint .btn-primary { background: var(--brand); color: #fff; }
.section .btn-primary:hover { background: var(--accent); }
.dark .btn-primary { background: var(--cyan); color: var(--dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--soft-2); }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid { background: rgba(14, 59, 71, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; color: #fff; }
.brand-logo { height: 26px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--soft-2); transition: color .2s; }
.nav a:not(.btn):hover { color: #fff; }
.nav-case, .link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.nav-case { font-size: 15px; color: var(--soft-2); transition: color .2s; }
.nav-case:hover { color: #fff; }

.btn-one { min-height: 40px; padding: 0 16px; background: #fff; color: var(--dark); font-size: 14px; }
.btn-one b { color: var(--accent); font-weight: 700; }
.btn-one svg { width: 12px; height: 12px; }
.btn-one img { width: 22px; height: 22px; border-radius: 6px; margin-left: -6px; }
.btn-one:hover { background: var(--soft-2); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.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); }

/* ---------- Portada ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 48px) 0 40px;
  background-image:
    radial-gradient(ellipse at 70% 40%, rgba(10, 127, 153, .38), transparent 60%),
    radial-gradient(ellipse at 10% 100%, rgba(0, 90, 112, .45), transparent 55%);
}
.hero > .container { position: relative; }
.hero-inner { max-width: var(--container); }
.eyebrow { font-size: 14px; letter-spacing: .14em; line-height: 1.7; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 80px); font-weight: 700; max-width: 12ch; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--soft-2); max-width: 36ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.stats {
  list-style: none; padding: 0; margin: 64px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.stats li { padding: 22px 16px 0 0; display: flex; flex-direction: column; gap: 2px; }
.stats strong { font-family: var(--f-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: #fff; }
.stats span { font-size: 14px; color: var(--soft); }

/* ---------- Clientes (marquesina) ---------- */
.clients { padding: 40px 0 36px; border-bottom: 1px solid var(--line); background: var(--bg); }
.clients-title { text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { display: flex; align-items: center; min-height: 56px; font-family: var(--f-head); font-weight: 600; font-size: 18px; color: #6f8389; white-space: nowrap; }
.marquee li.has-logo img { height: 48px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee li.has-logo:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 112px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.kicker { font-family: var(--f-head); font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: var(--dark); }
.section-head p:not(.kicker) { margin-top: 16px; font-size: 19px; color: var(--text-2); }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; }
.service .link { margin-top: auto; padding-top: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.service { position: relative; padding: 30px 24px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.service:hover { border-color: var(--cyan); box-shadow: var(--shadow); transform: translateY(-3px); }
.service h3 { font-size: 20px; font-weight: 600; color: var(--dark); margin: 20px 0 10px; }
.service p { color: var(--text-2); font-size: 16px; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; color: var(--accent); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.service-featured { background: var(--dark); border-color: var(--dark); color: #fff; }
.service-featured h3 { color: #fff; }
.service-featured p { color: var(--soft-2); }
.service-featured .icon { background: rgba(79, 195, 217, .14); color: var(--cyan); }
.service-featured:hover { border-color: var(--cyan); }
.tag { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--cyan); color: var(--dark); padding: 4px 10px; border-radius: 999px; }
.link { display: inline-block; margin-top: 18px; font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--cyan); text-decoration: none; }
.link:hover { text-decoration: underline; }
.service:not(.service-featured) .link { color: var(--brand); }
button.link { background: none; border: 0; padding-left: 0; padding-right: 0; cursor: pointer; text-align: left; font-family: var(--f-head); font-weight: 600; font-size: 15px; }

/* ---------- IaaS ---------- */
.iaas { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.iaas-copy > p:not(.kicker) { margin-top: 16px; font-size: 19px; color: var(--text-2); }
.checks { list-style: none; padding: 0; margin: 32px 0 36px; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 36px; display: flex; flex-direction: column; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks b { font-family: var(--f-head); font-weight: 600; color: var(--dark); }
.checks span { color: var(--text-2); font-size: 16px; }

.iaas-visual { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.iaas-visual svg { width: 100%; height: auto; font-family: var(--f-body); }
.iaas-visual text { text-anchor: middle; }
.iaas-visual .site rect { fill: var(--bg-tint); stroke: var(--line); }
.iaas-visual .site text { font-size: 13px; fill: var(--text); font-weight: 500; }
.iaas-visual .vpn { font-size: 12px; font-weight: 700; fill: var(--accent); letter-spacing: .1em; }
.iaas-visual .dc-title { font-family: var(--f-head); font-size: 15px; font-weight: 600; fill: #fff; }
.iaas-visual .dc-sub { font-size: 12px; fill: var(--soft); }
.iaas-visual .rack rect { fill: rgba(255, 255, 255, .07); stroke: rgba(79, 195, 217, .35); }
.iaas-visual .rack circle { fill: var(--cyan); animation: blink 2.4s ease-in-out infinite; }
.iaas-visual .rack circle:nth-of-type(2) { animation-delay: .8s; }
.iaas-visual .rack circle:nth-of-type(3) { animation-delay: 1.6s; }
.iaas-visual .rack-l { font-size: 12px; fill: var(--soft-2); text-anchor: start; }
.iaas-visual .bk { fill: var(--bg-tint); stroke: var(--accent); }
.iaas-visual .bk-t { font-size: 12px; fill: var(--brand); font-weight: 700; }
.iaas-visual .flow path { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.iaas-visual figcaption { display: grid; gap: 6px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.iaas-visual figcaption b { color: var(--dark); }

/* ---------- Alquiler de equipos ---------- */
.rent-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 64px; align-items: end; margin-bottom: 48px; }
.rent-head .section-head { margin-bottom: 0; }
.rent-includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rent-includes li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: start; padding: 14px 18px; border-radius: 14px; background: var(--bg-tint); }
.rent-includes li::before {
  content: ""; grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/15px no-repeat;
}
.rent-includes b { font-family: var(--f-head); font-weight: 600; color: var(--dark); }
.rent-includes span { color: var(--text-2); font-size: 15px; }
.equips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.equip { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s; }
.equip:hover { border-color: var(--cyan); box-shadow: var(--shadow); transform: translateY(-3px); }
.equip h3 { font-size: 18px; font-weight: 600; color: var(--dark); margin: 16px 0 6px; }
.equip p { font-size: 15px; color: var(--text-2); }
.equip-cta { display: flex; flex-direction: column; align-items: flex-start; background: var(--dark); border-color: var(--dark); background-image: radial-gradient(ellipse at 100% 0%, rgba(10, 127, 153, .5), transparent 70%); }
.equip-cta h3 { color: #fff; margin-top: 0; }
.equip-cta p { color: var(--soft-2); margin-bottom: 18px; }
.section .equip-cta .btn-primary { margin-top: auto; background: var(--cyan); color: var(--dark); }
.section .equip-cta .btn-primary:hover { background: #7fd6e6; }

/* ---------- Banda NETTI ONE ---------- */
.one-band {
  padding: 56px 0;
  background-image: radial-gradient(ellipse at 15% 50%, rgba(10, 127, 153, .4), transparent 60%);
}
.one-row { display: flex; align-items: center; gap: 28px; }
.one-badge { flex: none; width: 68px; height: 68px; border-radius: 16px; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.one-logo { height: 30px; width: auto; margin: 4px 0 2px; }
.one-copy { flex: 1; }
.one-band h2 { color: #fff; font-size: 28px; }
.one-copy p { color: var(--soft-2); margin-top: 6px; }

/* ---------- Casos de éxito ---------- */
.case-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 32px; }
.chip { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 14px var(--f-body); color: var(--text-2); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.cases-loading { color: var(--text-2); }
.case { display: flex; flex-direction: column; padding: 28px; }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-sector { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.case-year { font-size: 13px; color: var(--text-2); }
.case-logo { height: 36px; width: auto; max-width: 140px; object-fit: contain; margin-top: 18px; }
.case h3 { font-size: 20px; font-weight: 600; color: var(--dark); margin-top: 14px; }
.case-client { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.case-summary { margin-top: 14px; color: var(--text); font-size: 16px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding: 0; list-style: none; }
.case-tags li { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--brand); }
.case-more { margin-top: auto; padding-top: 22px; }
.case-more button { background: none; border: 0; padding: 0; font: 600 15px var(--f-head); color: var(--brand); cursor: pointer; }
.case-more button:hover { text-decoration: underline; }
.case-detail { margin-top: 16px; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.case-detail[hidden] { display: none; }
.case-detail h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.case-detail ul { margin: 0; padding-left: 18px; }
.case-detail p, .case-detail li { font-size: 15px; }
.case-quote { margin: 0; padding-left: 14px; border-left: 3px solid var(--cyan); font-style: italic; color: var(--text-2); font-size: 15px; }

.case-next { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 24px; border-style: dashed; background: transparent; }
.case-next h3 { margin-top: 0; font-size: 19px; }
.case-next p { flex: 1 1 280px; color: var(--text-2); font-size: 16px; }
.case-next .link { margin-top: 0; color: var(--brand); }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-n { font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--accent); }
.steps h3 { font-size: 20px; color: var(--dark); margin: 14px 0 8px; }
.steps p { color: var(--text-2); font-size: 16px; }

/* ---------- Contacto ---------- */
.contact {
  position: relative; overflow: hidden; padding: 128px 0;
  text-align: center;
  background-image: radial-gradient(ellipse at 50% 50%, rgba(10, 127, 153, .35), transparent 65%);
}
.contact-inner { position: relative; }
.contact h2 { font-size: clamp(30px, 4.4vw, 50px); color: #fff; }
.contact-inner > p { color: var(--soft-2); font-size: 19px; margin-top: 14px; }
.contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.contact-meta { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--soft); font-size: 15px; }
.contact-meta a { color: var(--soft-2); }
.support-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  max-width: 720px; margin: 48px auto 0; padding: 22px 26px; text-align: left;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  background: rgba(14, 59, 71, .65); backdrop-filter: blur(6px);
}
.support-box > div { flex: 1 1 300px; }
.support-box h3 { font-size: 18px; color: #fff; }
.support-box p { color: var(--soft); font-size: 15px; margin-top: 4px; }

/* ---------- Pie ---------- */
.site-footer { background: #0b2f39; color: var(--soft); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid p { margin-top: 14px; max-width: 34ch; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid h4 { font-size: 14px; color: #fff; margin-bottom: 6px; }
.footer-grid nav a, .footer-grid .link-btn { text-decoration: none; color: var(--soft); font-size: 15px; }
.footer-grid nav a:hover, .footer-grid .link-btn:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Formulario Zammad (form.js con noCSS: true) ---------- */
.zammad-trigger { display: none; }
html.zf-open, html.zf-open body { overflow: hidden; }
.zammad-form-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.zammad-form-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 30, 37, .72); backdrop-filter: blur(4px); animation: zf-fade .2s ease both; }
.zammad-form-modal-body {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
  background: #fff; color: var(--text); border-radius: 20px; padding: 36px 32px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35); animation: one-enter .35s cubic-bezier(.2, .7, .2, 1) both;
}
.zammad-form-modal-body::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, var(--brand), var(--cyan)); }
.zf-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-tint); color: var(--text-2); font-size: 24px; line-height: 1; cursor: pointer; }
.zf-close:hover { background: var(--line); color: var(--text); }
.zammad-form h2 { font-size: 24px; color: var(--dark); padding-right: 40px; }
.zf-hint { margin: 8px 0 22px; color: var(--text-2); font-size: 15px; }
.zammad-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.zammad-form-group label { font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--dark); }
.zammad-form-control {
  width: 100%; min-height: 46px; padding: 11px 14px; font: 16px/1.4 var(--f-body); color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
textarea.zammad-form-control { resize: vertical; min-height: 130px; }
.zammad-form-control::placeholder { color: #8a9a9f; }
.zammad-form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(79, 195, 217, .22); }
.zammad-form-control[type="file"] { padding: 10px; font-size: 14px; cursor: pointer; background: var(--bg-tint); border-style: dashed; }
.zammad-form-control[type="file"]::file-selector-button { margin-right: 12px; padding: 7px 14px; border: 0; border-radius: 999px; background: var(--dark); color: #fff; font: 600 13px var(--f-head); cursor: pointer; }
.zammad-form-group--has-error .zammad-form-control { border-color: #c2412d; }
.zammad-form-group--has-error label { color: #c2412d; }
.zammad-form .btn { width: 100%; margin-top: 8px; background: var(--brand); color: #fff; }
.zammad-form .btn:hover { background: var(--accent); }
.zammad-form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.zammad-form-thankyou, .js-noConfig { padding: 28px 4px 8px; font-size: 18px; text-align: center; color: var(--dark); }
.zammad-form-thankyou::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/28px no-repeat; }
.zammad-form-captcha { margin-bottom: 16px; }
@keyframes zf-fade { from { opacity: 0; } }
@media (max-width: 640px) { .zammad-form-modal-body { padding: 32px 20px 24px; border-radius: 16px; } .support-box { padding: 20px; } .support-box .btn { width: 100%; } }

/* ---------- Animaciones de marca (insumos sección 6) ---------- */
.one-enter { animation: one-enter .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes one-enter { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .34s; }
.one-orbit { transform-origin: 24px 24px; animation: one-orbit 9s linear infinite; }
@keyframes one-orbit { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .services, .cases, .equips { grid-template-columns: repeat(2, 1fr); }
  .rent-head { grid-template-columns: 1fr; align-items: start; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: var(--dark);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn), .nav .nav-case { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
  .nav .btn-one { margin-top: 18px; min-height: 48px; }
  .site-header.menu-open { background: var(--dark); }

  .iaas { grid-template-columns: 1fr; gap: 48px; }
  .one-row { flex-wrap: wrap; }
  .one-copy { flex-basis: calc(100% - 100px); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .stats li { padding-top: 18px; }
  .services, .cases, .steps { grid-template-columns: 1fr; }
  .equips { gap: 12px; }
  .equip { padding: 18px 16px; }
  .equip h3 { font-size: 16px; margin-top: 12px; }
  .equip p { font-size: 14px; }
  .equip-cta .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .marquee li.has-logo img { height: 40px; }
  .iaas-visual { padding: 16px; }
  .one-row .btn { width: 100%; }
  .contact { padding: 96px 0; }
  .contact-cta .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .one-enter, .one-orbit, .marquee ul, .iaas-visual .flow path, .iaas-visual .rack circle { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; width: auto; gap: 16px 32px; padding: 0 16px; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}
.page-404 { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
