/* cyrillic */
/* latin-ext */
/* latin */
/* cyrillic */
/* latin-ext */
/* latin */
/* cyrillic */
/* latin-ext */
/* latin */
/* cyrillic */
/* latin-ext */
/* latin */
/* cyrillic */
/* latin-ext */
/* latin */
/* cyrillic */
/* latin-ext */
/* latin */
/* cyrillic */
/* latin-ext */
/* latin */
/* latin-ext */
/* latin */
/* latin-ext */
/* latin */
/* Cysoft — Institutional landing */
:root {
  --green-deep: #3a4a32;
  --green-deep-2: #2c3826;
  --green-bright: #2dbb3a;
  --green-soft: #e8f0e3;
  --bg: #f7f6f2;
  --bg-2: #efede6;
  --bg-dark: #1a1f17;
  --ink: #1a1f17;
  --ink-2: #3d4636;
  --muted: #71776a;
  --line: #d9d6cc;
  --line-2: #e6e3d8;
  --accent: var(--green-bright);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Geist', 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv11";
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--green-bright); color: white; }

.mono {
  font-family: 'Geist Mono', ui-monospace, 'SF Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: padding 0.2s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-left { display: flex; align-items: center; gap: 56px; }
.nav-logo {
  display: flex; align-items: center; gap: 1px;
  font-weight: 700; font-size: 26px; letter-spacing: -0.03em;
  color: var(--green-deep);
}
.nav-logo .y { color: var(--green-bright); }
.nav-logo { flex-shrink: 0; }
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-logo {
  height: 56px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  position: relative; padding: 4px 0;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--green-deep); }
.nav-links a.active { color: var(--green-deep); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--green-bright);
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 18px; font-size: 14px; font-weight: 500;
  border-radius: 999px; border: 1px solid transparent;
  transition: all 0.15s; cursor: pointer; white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--green-deep); color: white; border-color: var(--green-deep);
}
.btn-primary:hover { background: var(--green-deep-2); }
.btn-accent {
  background: var(--green-bright); color: var(--green-deep-2);
  border-color: var(--green-bright); font-weight: 600;
}
.btn-accent:hover { background: #25a532; border-color: #25a532; }
.btn-ghost {
  background: transparent; color: var(--ink-2); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--green-deep); color: var(--green-deep); }
.btn-link {
  background: transparent; color: var(--green-deep); border: none;
  padding: 10px 0; font-weight: 500;
}
.btn-link:hover { color: var(--green-bright); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-arrow { font-size: 14px; transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============ HERO ============ */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  background: white; border: 1px solid var(--line);
  border-radius: 999px; margin-bottom: 32px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(45, 187, 58, 0.18);
}
.hero h1 {
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 32px;
  color: var(--ink);
  max-width: 14ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-bright);
  font-weight: 600;
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.16em;
  background: var(--green-bright);
  opacity: 0.18;
  z-index: -1;
}
.hero-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 0 40px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.hero-visual {
  position: relative;
  min-height: 560px;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--green-deep);
}
.hero-visual image-slot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.hero-stat { padding-right: 24px; }
.hero-stat-num {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.hero-stat-num sup {
  font-size: 0.5em; vertical-align: super;
  color: var(--green-bright); font-weight: 500;
}
.hero-stat-label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 26ch;
}
.hero-stats-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}

/* ============ HERO MISSION ============ */
.hero-mission {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.hero-mission-eyebrow {
  color: var(--green-bright);
  padding-top: 8px;
}
.hero-mission-title {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}
.hero-mission-title em {
  font-style: italic;
  color: var(--green-deep);
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
}
.hero-mission-body {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  max-width: 58ch;
  text-wrap: pretty;
}

/* ============ MISSION & VISION blocks ============ */
.mission-block {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.mission-block-eyebrow {
  color: var(--green-bright);
  padding-top: 4px;
}
.mission-block-body {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  max-width: 30ch;
  font-weight: 500;
  text-wrap: balance;
}
.mission-block-body em {
  font-style: italic;
  color: var(--green-deep);
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
}

.vision-block {
  margin: -24px 0 48px;
  padding-left: 32px;
  border-left: 2px solid var(--green-bright);
  max-width: 64ch;
}
.vision-block-eyebrow {
  display: block;
  color: var(--green-bright);
  margin-bottom: 8px;
}
.vision-block-body {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
.vision-block-body em {
  font-style: italic;
  color: var(--green-deep);
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
}

/* ============ SECTIONS ============ */
section { scroll-margin-top: 80px; }
.section-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: start;
}
.section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); padding-top: 8px;
}
.section-eyebrow-num {
  font-family: 'Geist Mono', monospace; font-size: 12px;
  color: var(--green-bright); font-weight: 600;
}
.section-eyebrow-line {
  height: 1px; flex: 1; background: var(--line);
}
.section-title {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  color: var(--green-deep);
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
}
.section-lede {
  font-size: 19px; color: var(--ink-2); line-height: 1.5;
  max-width: 56ch; margin-top: 24px;
}

/* ============ NOSOTROS ============ */
.nosotros { padding: 120px 0; border-top: 1px solid var(--line-2); }
.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--green-deep);
  transform: translateY(-2px);
}
.feature-card-num {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}
.feature-card-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
  flex: 1;
}
.feature-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ============ SOLUCIONES ============ */
.soluciones {
  padding: 120px 0;
  background: var(--bg-dark);
  color: white;
  border-top: 1px solid var(--line-2);
}
.soluciones .section-title { color: white; }
.soluciones .section-title em { color: var(--green-bright); }
.soluciones .section-lede { color: rgba(255,255,255,0.7); }
.soluciones .section-eyebrow { color: rgba(255,255,255,0.5); }
.soluciones .section-eyebrow-line { background: rgba(255,255,255,0.15); }

.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  align-items: center;
}
.solution-block:first-of-type { border-top: none; padding-top: 0; }
.solution-block.reverse { direction: rtl; }
.solution-block.reverse > * { direction: ltr; }

.solution-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(45, 187, 58, 0.12);
  border: 1px solid rgba(45, 187, 58, 0.3);
  color: var(--green-bright);
  border-radius: 999px;
  margin-bottom: 24px;
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.solution-title {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: white;
  margin: 0 0 20px;
  text-wrap: balance;
}
.solution-kicker {
  font-size: 17px;
  color: var(--green-bright);
  margin: 0 0 24px;
  font-weight: 500;
}
.solution-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0 0 32px;
}
.solution-list { list-style: none; padding: 0; margin: 0 0 32px; }
.solution-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.solution-list li::before {
  content: "→";
  color: var(--green-bright);
  font-weight: 600;
  flex-shrink: 0;
}

/* visual right side */
.solution-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #2c3826, #1a1f17);
}
.solution-visual.wide { aspect-ratio: 4/3; }
.solution-visual image-slot { width: 100%; height: 100%; }

/* mock product card overlay */
.product-mock {
  position: absolute;
  inset: 24px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
  color: var(--ink);
  font-size: 13px;
}
.product-mock-bar {
  display: flex; gap: 6px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.product-mock-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.product-mock-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}
.product-mock-row .pill {
  margin-left: auto;
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-deep);
  font-family: 'Geist', sans-serif;
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
}
.product-mock-row .pill.warn { background: #fef3c7; color: #92400e; }
.product-mock-row .pill.ok { background: var(--green-soft); color: var(--green-deep); }
.product-mock-row .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-bright);
}
.product-mock-row .dot.warn { background: #f59e0b; }

/* ============ OFICIOS 360 (flagship section) ============ */
.oficios {
  padding: 140px 0 120px;
  background: var(--bg-dark);
  color: white;
  border-top: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.oficios::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 187, 58, 0.15), transparent 65%);
  pointer-events: none;
}
.oficios > .container { position: relative; z-index: 1; }

.oficios-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px 64px;
  margin-bottom: 80px;
  align-items: start;
}
.oficios-head .section-eyebrow { color: rgba(255,255,255,0.5); }
.oficios-head .section-eyebrow-line { background: rgba(255,255,255,0.15); }

.oficios-brand {
  grid-column: 2;
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.oficios-wordmark {
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: white;
}
.oficios-360 {
  color: var(--green-bright);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.oficios-version {
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}
.oficios-title {
  grid-column: 2;
  color: white !important;
  margin-top: 24px !important;
  max-width: 22ch;
}
.oficios-title em {
  color: var(--green-bright) !important;
  font-family: 'Instrument Serif', serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
}
.oficios-kicker {
  grid-column: 2;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.7);
  margin: 16px 0 0;
  max-width: 60ch;
}

/* Hero block */
.oficios-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.oficios-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 20px;
}
.oficios-desc strong {
  color: var(--green-bright);
  font-weight: 600;
}
.oficios-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 28px;
}
.oficios-mock-wrap {
  position: relative;
}
.oficios-mock-bg {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 20px;
  background: linear-gradient(135deg, #2c3826 0%, #1a1f17 100%);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
}
.oficios-mock-bg .product-mock {
  inset: 32px;
}

/* Beneficios */
.oficios-benefits {
  padding: 80px 0 0;
}
.oficios-benefits-head {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 48px;
}
.oficios-benefits-title {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0;
  color: white;
  max-width: 24ch;
}
.oficios-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.oficios-benefit {
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transition: background 0.15s;
}
.oficios-benefit:hover { background: rgba(45, 187, 58, 0.04); }
.oficios-benefit:last-child { border-right: none; }
.oficios-benefit-num {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--green-bright);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.oficios-benefit-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: white;
  margin: 0;
  line-height: 1.25;
}
.oficios-benefit-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0;
}

/* Adaptable / industries */
.oficios-adaptable {
  padding: 80px 0 0;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.oficios-wordmark-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.oficios-adaptable-head {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 48px;
  max-width: 60ch;
}
.oficios-adaptable-title {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0;
  color: white;
  text-wrap: balance;
}
.oficios-adaptable-title em {
  color: var(--green-bright);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
.oficios-adaptable-lede {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin: 8px 0 0;
  line-height: 1.5;
}
.oficios-industries {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.oficios-industry {
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: background 0.15s;
}
.oficios-industry:hover { background: rgba(45, 187, 58, 0.05); }
.oficios-industry:last-child { border-right: none; }
.oficios-industry.origin {
  background: rgba(45, 187, 58, 0.08);
}
.oficios-industry.origin::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--green-bright);
}
.oficios-industry-num {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.oficios-industry-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: white;
}
.oficios-industry-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}
.oficios-industry.origin .oficios-industry-tag {
  color: var(--green-bright);
  font-weight: 600;
}

@media (max-width: 980px) {
  .oficios-head { grid-template-columns: 1fr; }
  .oficios-brand, .oficios-title, .oficios-kicker { grid-column: 1; }
  .oficios-hero { grid-template-columns: 1fr; }
  .oficios-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .oficios-benefit { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); min-height: auto; }
  .oficios-industries { grid-template-columns: repeat(2, 1fr); }
  .oficios-industry { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ============ INDUSTRIAS strip ============ */
.industrias {
  padding: 64px 0 96px;
  background: var(--bg-dark);
  color: white;
}
.industrias-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 40px; gap: 32px; flex-wrap: wrap;
}
.industrias-head h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: white;
  margin: 0;
  max-width: 32ch;
  text-wrap: balance;
}
.industrias-head p { color: rgba(255,255,255,0.6); margin: 0; max-width: 36ch; }
.industrias-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.industria {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.15s;
}
.industria:hover { background: rgba(45, 187, 58, 0.04); }
.industria:last-child { border-right: none; }
.industria-num {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--green-bright); font-weight: 500;
}
.industria-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: white;
}

/* ============ POR QUÉ ============ */
.por-que {
  padding: 120px 0;
  border-top: 1px solid var(--line-2);
}
.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.porque-card {
  padding: 40px 32px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
}
.porque-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.porque-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 8px 0 0;
}
.porque-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

/* ============ ENFOQUE TRIANGLE ============ */
.enfoque {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line-2);
}
.enfoque-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.venn {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 480px;
  margin: 0 auto;
}
.venn-circle {
  position: absolute;
  width: 62%;
  height: 62%;
  border-radius: 50%;
}
.venn-label {
  position: absolute;
  width: 22%;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: white;
  z-index: 3;
  pointer-events: none;
}
/* Desktop: centered in each circle's exclusive petal (avoids adjacent circles) */
.venn-label-1 { top: 26%; left: 50%; transform: translate(-50%, -50%); }
.venn-label-2 { top: 72%; left: 25%; transform: translate(-50%, -50%); }
.venn-label-3 { top: 72%; left: 75%; transform: translate(-50%, -50%); }

/* Legend (mobile only) */
.venn-legend { display: none; }
.venn-legend-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: -1px;
  flex-shrink: 0;
}
.venn-legend-dot-1 { background: rgba(58, 74, 50, 0.85); }
.venn-legend-dot-2 { background: rgba(45, 187, 58, 0.85); }
.venn-legend-dot-3 { background: rgba(26, 31, 23, 0.85); }
.venn-legend-dot-center { background: white; border: 1px solid var(--line); }
.venn-1 {
  top: 0; left: 19%;
  background: rgba(58, 74, 50, 0.85);
  color: white;
  mix-blend-mode: multiply;
}
.venn-2 {
  bottom: 0; left: 0;
  background: rgba(45, 187, 58, 0.85);
  color: white;
  mix-blend-mode: multiply;
}
.venn-3 {
  bottom: 0; right: 0;
  background: rgba(26, 31, 23, 0.85);
  color: white;
  mix-blend-mode: multiply;
}
.venn-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28%; height: 28%;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-align: center;
  padding: 8px;
  z-index: 2;
  font-weight: 600;
  line-height: 1.2;
}

/* ============ CONTACTO / CTA ============ */
.contacto {
  padding: 120px 0;
  background: var(--green-deep);
  color: white;
  position: relative;
  overflow: hidden;
}
.contacto::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 187, 58, 0.18), transparent 70%);
}
.contacto-inner { position: relative; z-index: 1; }
.contacto-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.contacto h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 24px;
  color: white;
  text-wrap: balance;
}
.contacto h2 em {
  font-style: italic;
  color: var(--green-bright);
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
}
.contacto p {
  font-size: 19px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin: 0 0 40px;
  max-width: 50ch;
}
.contacto-meta {
  display: flex; flex-direction: column; gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
  margin-top: 40px;
}
.contacto-meta-row {
  display: flex; align-items: center; gap: 16px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.contacto-meta-row .lbl {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 80px;
  flex-shrink: 0;
}

/* contact form */
.contact-form {
  background: white;
  color: var(--ink);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form > * { margin: 0; }
.contact-form-title { margin: 0 !important; }
.form-msg {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}
.form-msg-ok {
  background: rgba(45, 187, 58, 0.1);
  border-left: 3px solid var(--green-bright);
  color: var(--green-deep);
}
.form-msg-error {
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  color: #7c2d12;
}
.contact-form-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.contact-form-sub {
  font-size: 13px; color: var(--muted); margin: 0 0 16px;
}
.contact-form-sub:empty { display: none; }
.contact-form > p:empty, .contact-form > h3:empty { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  color: var(--muted);
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.field input, .field textarea, .field select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(45, 187, 58, 0.1);
}
.field textarea { min-height: 84px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.option-group {
  display: grid; gap: 8px;
}
.option-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.option-pill:hover { border-color: var(--ink-2); }
.option-pill input { accent-color: var(--green-bright); }
.option-pill.active {
  border-color: var(--green-bright);
  background: var(--green-soft);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid-3 {
  grid-template-columns: 2fr 1fr 1fr;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.footer-contact-list a {
  color: rgba(255,255,255,0.85);
  transition: color 0.15s;
}
.footer-contact-list a:hover {
  color: var(--green-bright);
}
.footer-brand .nav-logo { color: white; font-size: 32px; }
.footer-simple {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: center;
}
.footer-simple .footer-brand { display: flex; align-items: center; }
.footer-simple .footer-col h4 {
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin: 0 0 12px;
  font-weight: 500;
}
.footer-simple .footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
}
.footer-simple .footer-col a {
  color: rgba(255,255,255,0.85);
  transition: color 0.15s;
}
.footer-simple .footer-col a:hover { color: var(--green-bright); }
.footer-tag {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 16px 0 0;
  max-width: 30ch;
  line-height: 1.5;
}
.footer-col h4 {
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.8); transition: color 0.15s; }
.footer-col a:hover { color: var(--green-bright); }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 16px;
}

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(26, 31, 23, 0.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  animation: fadeIn 0.18s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg);
  border-radius: 20px;
  width: 90%;
  max-width: 440px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
  position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none; background: transparent;
  font-size: 18px; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--bg-2); color: var(--ink); }
.modal h3 {
  font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.modal p {
  color: var(--muted); font-size: 14px; margin: 0 0 24px;
}
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-note {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(45, 187, 58, 0.08);
  border-left: 2px solid var(--green-bright);
  font-size: 13px;
  color: var(--ink-2);
  border-radius: 4px;
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 200;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
  display: flex; align-items: center; gap: 10px;
  animation: toastIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-bright);
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .hero-grid, .section-head, .solution-block, .enfoque-grid, .contacto-grid, .footer-grid, .footer-simple, .hero-mission, .mission-block {
    grid-template-columns: 1fr !important; gap: 40px;
  }
  .nosotros-grid { grid-template-columns: repeat(2, 1fr); }
  .industrias-grid { grid-template-columns: repeat(2, 1fr); }
  .industria { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .porque-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-stats { grid-template-columns: 1fr; gap: 24px; }
  .solution-block.reverse { direction: ltr; }

  /* Width overrides for blocks that hardcode px width inline */
  .hero-mission-body, .mission-block-body, .oficios-adaptable-lede, .section-lede {
    width: 100% !important; max-width: 100%;
  }

  /* Oficios head: was a 2-col grid; stack on tablet */
  .oficios-title { grid-column: 1 !important; }

  /* Oficios product mock overflow protection */
  .product-mock { max-width: 100%; overflow-x: auto; }
  .product-mock-row { flex-wrap: wrap; }

  /* Footer grid */
  .footer-grid-3 { grid-template-columns: 1fr !important; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  /* Cards full-width on phone */
  .nosotros-grid { grid-template-columns: 1fr; }
  .oficios-benefits-grid { grid-template-columns: 1fr !important; }
  .oficios-industries { grid-template-columns: 1fr !important; }
  .industrias-grid { grid-template-columns: 1fr !important; }

  /* Nav: keep logo prominent, compact both buttons */
  .nav-inner { gap: 12px; }
  .nav-right { gap: 8px; }
  .nav-right .btn { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .nav-right .btn-arrow { display: none; }

  /* Hero typography scales down */
  .hero h1 { font-size: clamp(32px, 8vw, 44px); }
  .hero-mission-title { font-size: clamp(24px, 6vw, 32px); }
  .section-title { font-size: clamp(26px, 6.5vw, 36px); }

  /* CTAs stack */
  .hero-ctas, .oficios-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn, .oficios-ctas .btn { width: 100%; justify-content: center; }

  /* Contact form */
  .field-row { grid-template-columns: 1fr; }
  .contacto-meta-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-form { padding: 24px; }

  /* Venn diagram on phone: pure shapes, labels move to a legend below */
  .venn { max-width: 280px; }
  .venn-label { display: none; }
  .venn-center { font-size: 0; color: transparent; }
  .venn-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 28px auto 0;
    max-width: 280px;
    font-size: 14px;
    color: var(--ink-2);
  }
  .venn-legend li { display: flex; align-items: center; }

  /* Oficios wordmark */
  .oficios-wordmark { font-size: clamp(40px, 12vw, 64px) !important; }
  .oficios-wordmark-row { flex-wrap: wrap; }
}

/* ============ LOGIN PAGE ============ */
.login-page {
  padding: 96px 0 120px;
  background: var(--bg);
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}
.login-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.08);
}
.login-title {
  font-size: 28px; font-weight: 600; letter-spacing: -0.02em;
  margin: 0 0 8px; color: var(--ink);
}
.login-sub {
  color: var(--muted); font-size: 14px; margin: 0 0 24px;
}
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-note {
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(45, 187, 58, 0.08);
  border-left: 2px solid var(--green-bright);
  font-size: 13px;
  color: var(--ink-2);
  border-radius: 4px;
}
.login-note a { color: var(--green-deep); font-weight: 500; }

@media (max-width: 640px) {
  .login-page { padding: 48px 0 64px; }
  .login-card { padding: 28px; border-radius: 16px; }
  .login-title { font-size: 22px; }
}
