/* ============================================================
   VRIZA SERVICES — Design System
   Type: Space Grotesk (display) / IBM Plex Sans (body) / IBM Plex Mono (labels)
   Color: deep blue-cyan accent on cool near-white
   ============================================================ */

:root {
  /* Accent (overridable by Tweaks) */
  --accent: oklch(0.52 0.115 230);
  --accent-strong: oklch(0.45 0.12 230);
  --accent-soft: oklch(0.95 0.025 230);
  --accent-line: oklch(0.86 0.04 230);

  /* Neutrals — cool */
  --bg: oklch(0.992 0.003 230);
  --bg-tint: oklch(0.975 0.006 230);
  --bg-deep: oklch(0.21 0.022 245);
  --surface: oklch(1 0 0);
  --ink: oklch(0.24 0.018 245);
  --ink-2: oklch(0.46 0.016 245);
  --ink-3: oklch(0.62 0.014 245);
  --line: oklch(0.92 0.006 245);
  --line-2: oklch(0.88 0.008 245);

  /* Type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Spacing rhythm */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 140px);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px oklch(0.4 0.02 245 / 0.04), 0 1px 1px oklch(0.4 0.02 245 / 0.03);
  --shadow-md: 0 2px 4px oklch(0.4 0.02 245 / 0.04), 0 12px 28px oklch(0.4 0.02 245 / 0.07);
  --shadow-lg: 0 8px 18px oklch(0.4 0.02 245 / 0.06), 0 30px 60px oklch(0.4 0.02 245 / 0.12);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--bg-tint); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-line);
}
.eyebrow.center::before { display: none; }

.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 50px);
  margin-top: 18px;
}
.section-head p {
  color: var(--ink-2);
  font-size: clamp(16px, 1.6vw, 19px);
  margin-top: 18px;
  line-height: 1.65;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--body);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px oklch(0.4 0.1 230 / 0.2), 0 8px 22px oklch(0.5 0.12 230 / 0.22);
}
.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px oklch(0.4 0.1 230 / 0.22), 0 14px 32px oklch(0.5 0.12 230 / 0.3);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface); transform: translateY(-1px); }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.card-hover:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* icon chip */
.icon-chip {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}
.icon-chip svg { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Placeholder visual ---------- */
.ph {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background-color: var(--bg-tint);
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, oklch(0.9 0.01 245 / 0.6) 11px 12px);
  display: grid; place-items: center;
  overflow: hidden;
}
.ph span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--surface);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
}

.tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* ---------------- BRANDS (logo wall) ---------------- */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.brand-chip:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -18px rgba(20,40,55,.4);
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .01em;
  color: var(--ink-2);
  transition: color .25s ease;
}
.brand-chip:hover .brand-name { color: var(--accent); }

.brand-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 30px auto 0;
  max-width: 760px;
  padding: 18px 22px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
}
.brand-note-ico {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  margin-top: 1px;
}
.brand-note p {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.5;
}
.brand-disclaimer {
  text-align: center;
  margin: 18px auto 0;
  max-width: 720px;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .brand-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .brand-wall { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand-chip { padding: 20px 12px; }
  .brand-name { font-size: 17px; }
}

/* "y más / and more" cell */
.brand-more {
  cursor: pointer;
  text-decoration: none;
  gap: 9px;
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}
.brand-more .brand-name { color: var(--accent); }
.brand-more svg { color: var(--accent); transition: transform .25s ease; }
.brand-more:hover {
  border-color: var(--accent);
  background: var(--accent);
}
.brand-more:hover .brand-name,
.brand-more:hover svg { color: #fff; }
.brand-more:hover svg { transform: translateX(3px); }

/* ---------------- SECTORS ---------------- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.sector-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.sector-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -22px rgba(20,40,55,.45);
}
.sector-card h3 {
  font-family: var(--display);
  font-size: 18.5px;
  font-weight: 600;
  margin: 16px 0 8px;
  color: var(--ink);
}
.sector-card p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* ---------------- TESTIMONIALS ---------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.stat-item {
  text-align: center;
  padding: 24px 18px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
}
.stat-value {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  display: block;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.45;
}
.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.tm-card {
  position: relative;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tm-quote-mark {
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  color: var(--accent-line);
  pointer-events: none;
}
.tm-card blockquote {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.tm-author {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.tm-name {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.tm-role {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .sector-grid, .stat-strip, .tm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sector-grid, .stat-strip, .tm-grid { grid-template-columns: 1fr; }
}
