/* =========================================
   MAGNET LANDING — style.css
   Design tokens from Figma: sEe1EVBATHcTCrkDGdxa1E (node 1:2)
   ========================================= */

:root {
  --bg:            #07090f;
  --nav-bg-top:    #0c1220;
  --text:          #f1efe8;
  --text-secondary:#b7bdcb;
  --text-muted:    #6e7689;
  --accent:        #14a8dc;
  --accent-dark:   #0083ba;
  --border:        rgba(241,239,232,0.08);
  --border-16:     rgba(241,239,232,0.16);
  --font-heading:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'Geist Mono', monospace;
  --font-serif:    'Instrument Serif', serif;
  --max-w:         1320px;
}

/* ─── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; }

/* ─── Buttons ────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-16);
  white-space: nowrap;
  cursor: pointer;
}

/* ─── Section label (eyebrow) ──────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label-line {
  width: 24px;
  height: 1px;
  background: var(--accent-dark);
  flex-shrink: 0;
}
.section-label-text {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.76px;
  color: var(--text-muted);
}

/* ─── NAV ────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: linear-gradient(to bottom, var(--bg), var(--nav-bg-top));
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 250px;
  flex-shrink: 0;
  color: inherit;
}
.nav-logo-icon {
  width: 32px;
  height: 30px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.22px;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 250px;
  justify-content: flex-end;
  flex-shrink: 0;
}
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-toggle span {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.66px;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-active {
  background: var(--text);
  color: var(--bg);
}
.lang-inactive { color: var(--text-muted); }

/* ─── HERO ───────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--nav-bg-top), var(--bg));
  padding: 100px 32px;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--accent-dark);
}
.eyebrow span,
.eyebrow-right {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.76px;
  color: var(--text-muted);
}
.hero-text-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-headline {
  display: flex;
  flex-direction: column;
}
.headline-block {
  display: flex;
  flex-direction: column;
}
.headline-row-1 {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-decoration {
  width: 105px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}
.headline-line {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(48px, 8.33vw, 120px);
  line-height: 0.96;
  letter-spacing: -3px;
  color: var(--text);
}
.headline-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(48px, 8.33vw, 120px);
  line-height: 1.08;
  letter-spacing: -0.6px;
  color: var(--text);
}
.hero-description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 720px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-stats {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.stat {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat-number {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--font-heading);
  font-weight: 500;
}
.stat-plus {
  font-size: 32px;
  line-height: normal;
  color: var(--accent);
}
.stat-number span:last-child {
  font-size: 64px;
  line-height: 1;
  letter-spacing: -1.92px;
  color: var(--text);
}
.stat-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.52px;
  color: var(--text-muted);
}

/* ─── MARQUEE ────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-set {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}
.marquee-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.56px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.marquee-dot {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--accent-dark);
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* ─── SECTION COMMON ─────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-head {
  display: flex;
  align-items: flex-end;
  gap: 64px;
  margin-bottom: 80px;
}
.section-head-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 540px;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(32px, 4.17vw, 60px);
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--text);
}
.section-description {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ─── SERVICES ───────────────────────────── */
.section-services {
  border-top: 1px solid var(--border);
  padding: 140px 32px;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.service-card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 360px;
}
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-number {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 2.24px;
  color: var(--accent);
}
.service-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  overflow: hidden;
}
.service-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--text);
}
.service-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ─── CASES ──────────────────────────────── */
.section-cases {
  border-top: 1px solid var(--border);
  padding: 140px 32px;
  background: var(--bg);
}
.cases-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}
.cases-row {
  display: flex;
  gap: 20px;
  width: 100%;
}
.case-card {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-img {
  background: #ffffff;
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-img img {
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
}
.case-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-client {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  color: var(--text-muted);
}
.case-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.42px;
  color: var(--text);
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-tag {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 9px;
}
.cases-cta {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ─── RECOGNITIONS ───────────────────────── */
.section-recognitions {
  border-top: 1px solid var(--border);
  padding: 140px 32px;
  background: var(--bg);
}
.recognitions-grid {
  display: flex;
  gap: 28px;
}
.recognition-card {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.recognition-icon {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.recognition-icon-bg {
  position: absolute;
  inset: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.recognition-icon-fg {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.recognition-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.42px;
  color: var(--text);
}
.recognition-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.recognition-spacer {
  height: 8px;
}
.recognition-meta {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0;
}

/* ─── CTA SECTION ────────────────────────── */
.section-cta {
  border-top: 1px solid var(--border);
  padding: 160px 32px;
  background: var(--bg);
}
.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.cta-headline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-line-1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(40px, 7.64vw, 110px);
  line-height: 0.96;
  letter-spacing: -3.3px;
  color: var(--text);
}
.cta-line-2 {
  display: flex;
  align-items: center;
  gap: 40px;
}
.cta-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(40px, 7.64vw, 110px);
  line-height: normal;
  letter-spacing: -2.2px;
  color: var(--text);
  white-space: nowrap;
}
.cta-decoration-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cta-decoration {
  width: 122px;
  height: 116px;
  object-fit: contain;
  flex-shrink: 0;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.cta-contact {
  display: flex;
  gap: 56px;
  margin-top: 56px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.76px;
  color: var(--text-muted);
}
.contact-value {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.33px;
  color: var(--text);
}

/* ─── FOOTER ─────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 32px 40px;
  background: var(--bg);
}
.footer-wordmark {
  text-align: center;
  overflow: hidden;
  margin-bottom: 32px;
}
.footer-wordmark-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(60px, 25vw, 360px);
  letter-spacing: -3.6px;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-columns {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.footer-tagline {
  width: 480px;
  flex-shrink: 0;
}
.footer-tagline p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 320px;
}
.footer-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.76px;
  color: var(--text-secondary);
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 80px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.88px;
  color: var(--text-muted);
}
.footer-bottom-right {
  display: flex;
  gap: 28px;
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1280px) {
  .hero-inner { max-width: 100%; }
  .section-inner,
  .section-head { max-width: 100%; }
  .services-grid { max-width: 100%; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-brand { width: auto; }
  .nav-right { width: auto; }
  .hero { padding: 80px 24px; }
  .hero-stats { flex-wrap: wrap; gap: 32px; }
  .hero-stats .stat { flex: 1 0 40%; }
  .headline-italic { line-height: 1; }
  .section-head { flex-direction: column; gap: 24px; }
  .section-head-left { width: 100%; }
  .section-services,
  .section-cases,
  .section-recognitions,
  .section-cta { padding: 80px 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { height: auto; min-height: 280px; }
  .cases-row { flex-direction: column; }
  .section-cta { padding: 100px 24px; }
  .cta-line-2 { flex-wrap: wrap; gap: 16px; }
  .cta-contact { flex-wrap: wrap; gap: 32px; }
  .footer-columns { flex-wrap: wrap; gap: 40px; }
  .footer-tagline { width: 100%; }
  .recognitions-grid { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .lang-toggle { display: none; }
  .hero { padding: 60px 20px; }
  .hero-inner { gap: 60px; }
  .eyebrow-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-decoration { width: 60px; height: 57px; }
  .hero-description { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats .stat { flex: 1 0 100%; }
  .stat-number span:last-child { font-size: 48px; }
  .stat-plus { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .section-services,
  .section-cases,
  .section-recognitions { padding: 60px 20px; }
  .section-cta { padding: 80px 20px; }
  .cta-decoration { width: 60px; height: 56px; }
  .cta-actions { flex-direction: column; align-items: flex-start; }
  .footer { padding: 60px 20px 32px; }
  .footer-columns { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 16px; }
  .section-services,
  .section-cases,
  .section-recognitions,
  .section-cta { padding: 48px 16px; }
  .footer { padding: 48px 16px 24px; }
  .service-card { padding: 28px; }
  .recognition-card { padding: 36px 28px; }
  .cases-row { flex-direction: column; }
  .cta-contact { flex-direction: column; gap: 24px; }
}

/* ─── NAV INNER PAGES ────────────────────── */
.nav-inner {
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ─── PAGE HERO (inner pages) ───────────── */
.page-hero {
  border-bottom: 1px solid var(--border);
  padding: 200px 32px 100px;
  background: var(--bg);
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.page-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(40px, 7.22vw, 104px);
  line-height: 0.96;
  letter-spacing: -3.12px;
  color: var(--text);
}
.page-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 720px;
}

/* ─── SERVICES DETAIL LIST ───────────────── */
.svc-list {
  padding: 0 32px;
  background: var(--bg);
}
.svc-list-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.svc-detail {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.svc-detail + .svc-detail { border-top: none; }
.svc-num {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(48px, 6.67vw, 96px);
  line-height: 1;
  letter-spacing: -3.84px;
  color: var(--accent);
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 120px;
}
.svc-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 3.06vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.88px;
  color: var(--text);
  width: 360px;
  flex-shrink: 0;
}
.svc-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.svc-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bullet-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.bullet-line {
  width: 12px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 9px;
}
.bullet-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--text);
  flex: 1;
}

/* ─── CASE STUDY LIST ────────────────────── */
.case-list {
  padding: 0 32px;
  background: var(--bg);
}
.case-list-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.case-study {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.case-study + .case-study { border-top: none; }
.case-num {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1.3px;
  color: var(--text-muted);
  width: 80px;
  flex-shrink: 0;
}
.case-header {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-client-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.72px;
  color: var(--text);
}
.case-industry {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.32px;
  color: var(--text-muted);
}
.case-body { flex: 1; }
.case-body-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.22px;
  color: var(--text);
}
.case-body-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: 16px;
}
.case-body-meta {
  display: flex;
  gap: 28px;
  margin-top: 24px;
}
.case-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-meta-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.88px;
  color: var(--text-muted);
}
.case-meta-value {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.18px;
  color: var(--text);
}

/* ─── CONTACT PAGE ───────────────────────── */
.contact-section {
  border-top: 1px solid var(--border);
  padding: 80px 32px 140px;
  background: var(--bg);
}
.contact-grid-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 96px;
  align-items: flex-start;
}
.contact-info { flex: 1; }
.contact-info-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.64px;
  color: var(--text);
  margin-bottom: 32px;
}
.contact-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.contact-channel-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.76px;
  color: var(--text-muted);
}
.contact-channel-value {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.2px;
  color: var(--text);
  transition: color 0.2s;
}
.contact-channel-value:hover { color: var(--accent); }
.contact-iso { margin-top: 40px; }
.contact-iso-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.18px;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-iso-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.contact-form {
  flex: 1;
  background: #131a2b;
  border-radius: 14px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.form-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.56px;
  color: var(--text);
}
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: flex;
  gap: 16px;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--text-muted);
}
.form-input,
.form-select,
.form-textarea {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: rgba(241,239,232,0.24); }
.form-select { cursor: pointer; color: var(--text-muted); }
.form-select option { background: #131a2b; color: var(--text); }
.form-textarea { height: 110px; resize: none; }
.form-submit {
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
}
.form-submit:hover { background: #e0ded8; }

/* ─── FOOTER COMPACT (contacto) ──────────── */
.footer-compact {
  border-top: 1px solid var(--border);
  padding: 80px 32px 40px;
  background: var(--bg);
}
.footer-compact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-compact-columns {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.footer-compact-left {
  width: 480px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-compact-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-compact-brand img {
  width: 32px;
  height: 30px;
  object-fit: contain;
}
.footer-compact-brand span {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.22px;
  color: var(--text);
}
.footer-compact-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 320px;
}

/* ─── NOSOTROS PAGE ──────────────────────── */
.nosotros-intro {
  border-top: 1px solid var(--border);
  padding: 120px 32px;
  background: var(--bg);
}
.nosotros-intro-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 96px;
  align-items: flex-start;
}
.nosotros-intro-stats {
  display: flex;
  flex-direction: column;
  gap: 56px;
  flex-shrink: 0;
  width: 260px;
}
.nosotros-intro-text {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.nosotros-cultura {
  border-top: 1px solid var(--border);
  padding: 120px 32px;
  background: var(--bg);
}
.nosotros-cultura-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.nosotros-cultura-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── ISO / POLICY PAGE ─────────────────── */
.policy-body { padding: 0 32px 120px; }
.policy-body-inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.policy-para { font-size: 17px; line-height: 1.75; color: var(--text-secondary); }
.policy-cert {
  border-left: 3px solid var(--accent);
  background: rgba(20,168,220,0.05);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.policy-cert p { font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: var(--text); }
.policy-cert p strong { color: var(--accent); }
.policy-rule { border: none; border-top: 1px solid var(--border); margin: 0; }
.policy-h2 { font-family: var(--font-heading); font-size: clamp(22px, 3vw, 32px); font-weight: 500; color: var(--text); line-height: 1.2; padding-top: 8px; }
.policy-h3 { font-family: var(--font-heading); font-size: 13px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.policy-defs { display: flex; flex-direction: column; }
.policy-def { border-top: 1px solid var(--border); padding: 28px 0; display: flex; gap: 40px; align-items: flex-start; }
.policy-def-term { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--text); min-width: 180px; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 3px; flex-shrink: 0; }
.policy-def-desc { font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
.policy-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.policy-list li { display: flex; gap: 16px; font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
.policy-list li strong { color: var(--text); }
.policy-list.bullets li::before { content: '—'; color: var(--accent); font-family: var(--font-mono); flex-shrink: 0; }
.policy-list.numbered { counter-reset: pol; }
.policy-list.numbered li { counter-increment: pol; }
.policy-list.numbered li::before { content: counter(pol) '.'; color: var(--accent); font-family: var(--font-mono); font-size: 13px; min-width: 22px; padding-top: 2px; flex-shrink: 0; }
.policy-impl-block { display: flex; flex-direction: column; gap: 16px; }
.policy-impl-title { font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--text); }

/* ─── RESPONSIVE — inner pages ───────────── */
@media (max-width: 1024px) {
  .page-hero { padding: 160px 24px 80px; }
  .svc-detail { flex-direction: column; gap: 32px; padding: 64px 0; }
  .svc-name { width: 100%; }
  .case-study { flex-wrap: wrap; gap: 32px; padding: 48px 0; }
  .case-header { width: 100%; }
  .contact-grid-inner { flex-direction: column; gap: 48px; }
  .footer-compact-columns { flex-wrap: wrap; gap: 40px; }
  .footer-compact-left { width: 100%; }
  .svc-list, .case-list { padding: 0 24px; }
  .contact-section { padding: 60px 24px 100px; }
  .footer-compact { padding: 60px 24px 32px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 120px 20px 60px; }
  .svc-detail { gap: 24px; padding: 48px 0; }
  .svc-num { font-size: 64px; min-width: auto; }
  .case-study { gap: 20px; padding: 40px 0; }
  .case-num { width: auto; }
  .form-row { flex-direction: column; }
  .svc-list, .case-list { padding: 0 20px; }
  .contact-section { padding: 48px 20px 80px; }
  .footer-compact { padding: 48px 20px 24px; }
}
