/* Constructor X (Figma C7WFBPV8ayJOaDIxaTSddW, home). Gama del logo: negro #111111, azul #05394E, verde #0B6E64. */
:root {
  --cx: #0B6E64;
  --ink: #111111;
  --muted: #4A5C62;
  --line: #D7E3DF;
  --paper: #F3F7F6;
  --font: "Manrope", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.cx-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.85rem 4vw;
  background: #fff; border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; font-size: 1.2rem; line-height: 1.15; }
.logo img { width: 72px; height: 72px; }
.cx-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.4rem 1.35rem; }
.cx-nav a { text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 1px solid transparent;
  background: var(--cx); color: #fff; font-weight: 700;
  padding: 0.85rem 1.15rem; cursor: pointer;
}
.btn-line { background: transparent; color: #fff; border-color: #fff; }
.btn-line-dark { background: #fff; color: var(--ink); border-color: #d9d9d9; }
.cx-nav .btn { padding: 0.7rem 1rem; }

.marquee { background: #111; color: #fff; overflow: hidden; border-bottom: 3px solid var(--cx); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: cx-marquee 48s linear infinite; }
.marquee a { color: #fff; text-decoration: none; font-weight: 700; padding: 0.7rem 1.35rem; white-space: nowrap; }
.marquee a:hover { color: var(--cx); }
@keyframes cx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

.cx-hero { position: relative; min-height: 78vh; color: #fff; display: flex; align-items: flex-end; background: #1c1c1c; }
.cx-hero .reel { position: absolute; inset: 0; }
.cx-hero video, .cx-hero .reel picture, .cx-hero .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cx-hero .reel picture { opacity: 0; animation: reel 36s infinite; }
.cx-hero .reel picture:nth-child(1) { animation-delay: 0s; }
.cx-hero .reel picture:nth-child(2) { animation-delay: 6s; }
.cx-hero .reel picture:nth-child(3) { animation-delay: 12s; }
.cx-hero .reel picture:nth-child(4) { animation-delay: 18s; }
.cx-hero .reel picture:nth-child(5) { animation-delay: 24s; }
.cx-hero .reel picture:nth-child(6) { animation-delay: 30s; }
@keyframes reel {
  0% { opacity: 0; }
  3% { opacity: 1; }
  14% { opacity: 1; }
  17% { opacity: 0; }
  100% { opacity: 0; }
}
.cx-hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.18) 70%); }
.cx-hero .copy { position: relative; z-index: 1; width: min(760px, 92vw); padding: 8vh 4vw 7rem; }
.cx-hero h1 { margin: 0 0 1rem; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.cx-hero p { margin: 0 0 1.5rem; max-width: 46ch; color: #f3f3f3; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.strip { display: grid; grid-template-columns: 1fr 1fr 1.15fr; margin-top: -3.2rem; position: relative; z-index: 2; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.strip a { display: flex; gap: 0.9rem; align-items: center; text-decoration: none; padding: 1.35rem 1.5rem; border-right: 1px solid var(--line); }
.strip a:last-child { background: var(--cx); color: #fff; border-right: 0; }
.ico { width: 42px; height: 42px; display: grid; place-items: center; background: var(--cx); color: #fff; flex: none; font-weight: 800; }
.strip a:last-child .ico { background: #fff; color: var(--cx); }
.strip strong { display: block; }
.strip span { color: var(--muted); font-size: 0.92rem; }
.strip a:last-child span { color: #fff; }

.band { padding: 5.5rem 4vw; }
.wrap { max-width: 1120px; margin: 0 auto; }
.kicker { margin: 0 0 0.4rem; color: var(--cx); font-weight: 800; font-size: 0.92rem; }
h2 { margin: 0 0 0.8rem; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.lead { margin: 0 0 1.5rem; max-width: 52ch; color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.about-photo { position: relative; }
.about-photo::before { content: ""; position: absolute; left: -18px; top: 28px; bottom: 28px; width: 18px; background: var(--cx); }
.about-photo img { width: 100%; height: 420px; object-fit: cover; }
.career { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.career a { display: block; padding: 1rem; border: 1px solid var(--line); border-bottom: 3px solid var(--cx); text-decoration: none; background: #fff; }
.page-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.page-grid a { display: block; padding: 0.75rem 0.85rem; border: 1px solid var(--line); border-bottom: 3px solid var(--cx); text-decoration: none; background: #fff; }
.page-grid span { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.career strong { display: block; margin-bottom: 0.35rem; }
.career span { color: var(--muted); font-size: 0.88rem; }

.center { text-align: center; }
.estudio { max-width: 72ch; }
.estudio h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.estudio h3 { margin: 1.8rem 0 0.45rem; font-size: 1.2rem; letter-spacing: -0.02em; }
.estudio p { margin: 0 0 1rem; max-width: none; color: #222; }
.estudio a { color: var(--cx); font-weight: 700; }
.center .lead { margin-left: auto; margin-right: auto; }
.grid-2, .grid-4 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.types { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: 1fr 1fr; }
.svc, .project { text-decoration: none; background: #fff; border: 1px solid var(--line); }
.svc { border-bottom: 3px solid var(--cx); }
.svc img, .project img { width: 100%; height: 220px; object-fit: cover; }
.svc div, .project div { padding: 1.1rem 1.15rem 1.25rem; }
.svc h3, .project h3 { margin: 0.35rem 0; font-size: 1.2rem; }
.svc p, .project p { margin: 0; color: var(--muted); }
.more { display: inline-block; margin-top: 0.7rem; color: var(--cx); font-weight: 800; }

.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: start; }
.contact-card { position: relative; background: #fff; border: 1px solid var(--line); padding: 1.5rem; }
.contact-card::before { content: ""; position: absolute; right: -16px; top: -16px; width: 72px; height: 18px; background: var(--cx); }
.contact-card::after { content: ""; position: absolute; right: -16px; top: -16px; width: 18px; height: 120px; background: var(--cx); }
.rows { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.rows li { display: flex; gap: 0.8rem; align-items: center; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
label { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.92rem; }
label.full { grid-column: 1 / -1; }
input, select, textarea { border: 1px solid #d7d7d7; padding: 0.75rem 0.8rem; background: #fff; color: var(--ink); }
.note { color: var(--muted); font-size: 0.88rem; margin-top: 0.8rem; }

.cx-footer { background: #111; color: #cfcfcf; padding: 3rem 4vw 2rem; }
.cx-footer .wrap { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cx-footer a { color: #fff; text-decoration: none; }
.cx-footer strong { color: #fff; }

@media (max-width: 860px) {
  .strip, .about, .grid-2, .types, .contact, .fields, .career, .page-grid { grid-template-columns: 1fr; }
  .strip a { border-right: 0; border-bottom: 1px solid var(--line); }
  .about-photo img { height: 260px; }
  .cx-hero { min-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-hero video { display: none; }
  .cx-hero .reel picture { animation: none; opacity: 0; }
  .cx-hero .reel picture:first-child { opacity: 1; }
  .cx-hero { background: #1c1c1c url("../media/visualizaciones/terminal-ezeiza-cubierta-acero-1024.webp") center/cover no-repeat; }
}
.cx-hero .out-resolve { margin: 0 0 1.25rem; max-width: 40rem; }
.cx-hero .out-answer { margin: 0 0 0.85rem; max-width: none; color: #fff; }
.cx-hero .out-table { width: 100%; border-collapse: collapse; margin: 0 0 0.85rem; font-size: 0.92rem; color: #fff; }
.cx-hero .out-table th, .cx-hero .out-table td { border: 1px solid rgba(255,255,255,.45); padding: 0.55rem 0.65rem; vertical-align: top; text-align: left; }
.cx-hero .out-table th { background: #05394E; }
.cx-hero .out-table td { background: rgba(0,0,0,.45); }
.cx-hero .out-bridge { margin: 0 0 0.85rem; }
.cx-hero .out-bridge a { color: #fff; font-weight: 800; }
.cx-hero .out-resolve .btn { margin-top: 0.15rem; }
