/* MSI Services — Vaca Muerta Industrial Glass */

:root {
  /* Obsidian surfaces */
  --obsidian: #070b18;
  --obsidian-deep: #050811;
  --surface: #0b1229;
  --surface-dim: #0a1128;
  --surface-container-low: #0f1830;
  --surface-container: #141a32;
  --surface-container-high: #1a2140;
  --surface-container-highest: #222941;

  /* Text */
  --on-surface: #eef2ff;
  --on-surface-variant: #aab4d4;
  --text: #eef2ff;
  --text-light: #97a3c4;
  --steel-light: #97a3c4;

  /* Accents */
  --cyan: #00d2ff;
  --cyan-dark: #00a8cc;
  --cyan-light: #7fe9ff;
  --cyan-glow: rgba(0, 210, 255, .35);
  --blue: #0077ff;
  --gold: #f59e0b;
  --gold-dark: #c97f09;
  --gold-light: #ffd18a;
  --gold-glow: rgba(245, 158, 11, .3);
  --emerald: #10b981;
  --emerald-dark: #0c9468;

  /* Back-compat aliases used across markup */
  --navy: var(--surface);
  --navy-dark: var(--surface-dim);
  --navy-deep: var(--obsidian-deep);
  --steel: #33406b;
  --accent: var(--cyan);
  --accent-dark: var(--cyan-dark);
  --accent-light: var(--cyan-light);
  --border: rgba(255, 255, 255, .1);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-lg: 0 20px 50px -8px rgba(0, 0, 0, .65), 0 0 30px rgba(0, 210, 255, .1);
  --max-width: 1200px;

  /* glass tokens (all tiers live on the obsidian canvas now) */
  --glass-blur: blur(18px) saturate(160%);
  --glass-bg: rgba(14, 24, 48, .58);
  --glass-bg-strong: rgba(13, 22, 44, .68);
  --glass-border: rgba(255, 255, 255, .1);
  --glass-border-hover: rgba(0, 210, 255, .45);
  --glass-dark-bg: rgba(10, 17, 34, .78);
  --glass-dark-border: rgba(255, 255, 255, .14);

  /* legacy aliases still referenced in a few inline places */
  --glass-light-bg: var(--glass-bg);
  --glass-light-bg-strong: var(--glass-bg-strong);
  --glass-light-border: var(--glass-border);
  --glass-dark-bg-strong: var(--glass-dark-bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background-color: var(--obsidian);
  background-image:
    radial-gradient(760px circle at 8% 8%, rgba(0, 210, 255, .10), transparent 55%),
    radial-gradient(820px circle at 92% 18%, rgba(0, 119, 255, .12), transparent 55%),
    radial-gradient(760px circle at 12% 78%, rgba(245, 158, 11, .07), transparent 50%),
    radial-gradient(820px circle at 90% 92%, rgba(0, 210, 255, .08), transparent 55%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 56px 56px, 56px 56px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Outfit", "Inter", Arial, sans-serif;
  color: var(--on-surface);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

p {
  margin: 0 0 1em;
  color: var(--text-light);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 210, 255, .08);
  border: 1px solid rgba(0, 210, 255, .28);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 1em;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-header {
  max-width: 680px;
  margin: 0 0 48px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* Section wrappers: both tiers sit on the obsidian canvas now, mesh-light
   is just a subtly lighter surface band for rhythm between sections. */
.mesh-light, .mesh-dark {
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

.mesh-dark {
  background: linear-gradient(180deg, rgba(0, 210, 255, .04) 0%, transparent 30%);
}

.mesh-light {
  background: var(--surface-container-low);
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.mesh-light::before, .mesh-light::after,
.mesh-dark::before, .mesh-dark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(4px);
}

.mesh-dark::before, .mesh-light::before {
  width: 560px;
  height: 560px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(0, 210, 255, .14), transparent 70%);
}

.mesh-dark::after, .mesh-light::after {
  width: 600px;
  height: 600px;
  bottom: -240px;
  left: -180px;
  background: radial-gradient(circle, rgba(245, 158, 11, .1), transparent 70%);
}

.mesh-light > .container, .mesh-dark > .container {
  position: relative;
  z-index: 1;
}

.mesh-light h1, .mesh-light h2, .mesh-light h3, .mesh-light h4,
.mesh-dark h1, .mesh-dark h2, .mesh-dark h3, .mesh-dark h4 {
  color: var(--on-surface);
}

/* Glass panel utilities (three tiers, all dark) */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  color: var(--text-light);
}

.glass-strong h1, .glass-strong h2, .glass-strong h3, .glass-strong h4 {
  color: var(--on-surface);
}

.glass-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-dark-border);
  box-shadow: var(--shadow-lg);
  color: #d7deef;
}

.glass-dark h1, .glass-dark h2, .glass-dark h3, .glass-dark h4 {
  color: var(--white, #fff);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn .material-symbols-outlined {
  font-size: 18px;
}

.btn-primary {
  background: linear-gradient(90deg, #22d3ee, var(--cyan), var(--blue));
  color: #04121c;
  box-shadow: 0 0 28px rgba(0, 210, 255, .4);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 40px rgba(0, 210, 255, .6);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .2);
  color: var(--on-surface);
}

.btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(0, 210, 255, .08);
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-color: rgba(255, 255, 255, .18);
  color: var(--on-surface);
}

.btn-glass:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--glass-dark-bg);
  border-color: rgba(255, 255, 255, .18);
  color: var(--on-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-navy:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Header — floating glass navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  margin: 0;
  border-radius: 0 0 20px 20px;
  background: var(--glass-dark-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-dark-border);
  border-top: none;
  box-shadow: var(--shadow-lg);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled {
  background: rgba(4, 7, 15, .92);
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, .7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  max-width: calc(var(--max-width) + 32px);
  margin: 0 auto;
  gap: 16px;
  transition: padding .25s ease;
}

.site-header.scrolled .header-inner {
  padding: 6px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--on-surface);
  font-size: 1.05rem;
  flex: none;
}

.brand img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 210, 255, .35));
  transition: height .25s ease;
}

.site-header.scrolled .brand img {
  height: 50px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav > a,
.nav-item > .nav-link-parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--on-surface-variant);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.main-nav > a:hover,
.nav-item > .nav-link-parent:hover {
  background: rgba(255, 255, 255, .06);
  color: var(--on-surface);
}

.main-nav > a.active,
.nav-item.open > .nav-link-parent {
  background: rgba(0, 210, 255, .12);
  border-color: rgba(0, 210, 255, .35);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 210, 255, .18);
}

.nav-item {
  position: relative;
}

.nav-item .caret {
  font-size: 16px;
  transition: transform .2s ease;
  opacity: .8;
}

.nav-item.open .caret {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  padding: 10px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 50;
  background: rgba(5, 9, 19, .97);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 48px -8px rgba(0, 0, 0, .8), 0 0 1px 1px rgba(255, 255, 255, .08);
}

.nav-item:hover .dropdown-panel,
.nav-item.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-panel a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: #d7deef;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}

.dropdown-panel a:hover {
  background: rgba(0, 210, 255, .1);
  color: var(--cyan);
  padding-left: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.status-pill {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 210, 255, .08);
  border: 1px solid rgba(0, 210, 255, .28);
  color: var(--cyan);
  font-family: "Inter", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .status-pill {
    display: inline-flex;
  }
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  flex: none;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-dark));
  color: #fff;
  padding: 10px 18px;
  border: 1px solid rgba(16, 185, 129, .4);
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 8px 22px rgba(16, 185, 129, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}

.whatsapp-btn .material-symbols-outlined {
  font-size: 18px;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, .45);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--on-surface);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-surface);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7,11,24,.94) 10%, rgba(7,11,24,.6) 48%, rgba(7,11,24,.3) 80%),
    linear-gradient(0deg, rgba(7,11,24,.9) 0%, transparent 35%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 24px 80px;
  width: 100%;
}

.hero-content {
  max-width: 660px;
}

.hero-tags {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero-tags span {
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  color: #d7deef;
}

.hero-tags span:first-child {
  color: var(--cyan);
  border-color: rgba(0, 210, 255, .4) !important;
  box-shadow: 0 0 14px rgba(0, 210, 255, .18);
}

.hero h1 {
  color: var(--on-surface);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: .35em;
  letter-spacing: -.02em;
}

.hero h1 .accent-text {
  display: block;
  background: linear-gradient(90deg, var(--cyan), #5eead4, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.12rem;
  color: #c3cde6;
  max-width: 52ch;
  margin-bottom: 2em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Feature strip — floating glass telemetry bar */
.feature-strip-wrap {
  position: relative;
  z-index: 2;
  margin-top: -48px;
}

.feature-strip {
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-item .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 210, 255, .12);
  border: 1px solid rgba(0, 210, 255, .3);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex: none;
  box-shadow: 0 0 16px rgba(0, 210, 255, .18);
}

.feature-item:nth-child(2) .ico {
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .32);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(245, 158, 11, .18);
}

.feature-item:nth-child(3) .ico {
  background: rgba(0, 119, 255, .14);
  border-color: rgba(0, 119, 255, .34);
  color: #5b9dff;
  box-shadow: 0 0 16px rgba(0, 119, 255, .18);
}

.feature-item:nth-child(4) .ico {
  background: rgba(16, 185, 129, .14);
  border-color: rgba(16, 185, 129, .34);
  color: var(--emerald);
  box-shadow: 0 0 16px rgba(16, 185, 129, .18);
}

.feature-item strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: .92rem;
  color: var(--on-surface);
}

.feature-item span.sub {
  font-size: .78rem;
  color: var(--text-light);
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  color: var(--on-surface);
  padding: 96px 0 72px;
  overflow: hidden;
}

.page-hero h1 {
  color: var(--on-surface);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  margin-bottom: .3em;
}

.page-hero p {
  color: var(--text-light);
  font-size: 1.08rem;
  max-width: 60ch;
  margin-bottom: 0;
}

.breadcrumb {
  font-size: .82rem;
  font-family: "Inter", sans-serif;
  color: var(--text-light);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.breadcrumb a {
  color: var(--cyan);
}

/* Services overview grid (index) */
.services-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card-v2 {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, border-color .25s ease;
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
}

.service-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--glass-border-hover);
}

.service-card-v2 .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.service-card-v2 .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,11,24,.5) 0%, transparent 45%);
}

.service-card-v2 .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card-v2:hover .thumb img {
  transform: scale(1.08);
}

.service-card-v2 .body {
  margin-top: -28px;
  position: relative;
  z-index: 1;
  border-radius: 18px 18px var(--radius-lg) var(--radius-lg);
  padding: 22px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-v2 .service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 210, 255, .14);
  border: 1px solid rgba(0, 210, 255, .32);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
  box-shadow: 0 0 18px rgba(0, 210, 255, .2);
}

.service-card-v2:nth-child(3n+2) .service-icon {
  background: rgba(245, 158, 11, .14);
  border-color: rgba(245, 158, 11, .32);
  color: var(--gold);
  box-shadow: 0 0 18px rgba(245, 158, 11, .2);
}

.service-card-v2:nth-child(3n+3) .service-icon {
  background: rgba(16, 185, 129, .14);
  border-color: rgba(16, 185, 129, .32);
  color: var(--emerald);
  box-shadow: 0 0 18px rgba(16, 185, 129, .2);
}

.service-card-v2 h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  margin-bottom: .45em;
  transition: color .2s ease;
}

.service-card-v2:hover h3 {
  color: var(--cyan);
}

.service-card-v2 p {
  color: var(--text-light);
  font-size: .88rem;
  margin-bottom: 14px;
  flex: 1;
}

.service-card-v2 .more-link {
  font-family: "Inter", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-v2 .more-link .arrow {
  transition: transform .15s ease;
}

.service-card-v2:hover .more-link .arrow {
  transform: translateX(4px);
}

/* Service detail page */
.service-hero {
  position: relative;
  color: var(--on-surface);
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.service-hero .hero-bg::after {
  background: linear-gradient(0deg, rgba(7,11,24,.96) 5%, rgba(7,11,24,.45) 70%, rgba(7,11,24,.2) 100%);
}

.service-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 56px;
  width: 100%;
}

.service-hero-inner h1 {
  color: var(--on-surface);
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 20ch;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-lead {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  color: var(--on-surface);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.service-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.service-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  font-size: .96rem;
  color: var(--on-surface-variant);
  transition: border-color .15s ease, background .15s ease;
}

.service-list li:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-strong);
}

.service-list li::before {
  content: "check_circle";
  font-family: "Material Symbols Outlined";
  font-variation-settings: "FILL" 1, "wght" 400;
  flex: none;
  font-size: 20px;
  color: var(--cyan);
  margin-top: -1px;
}

.service-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-aside .glass-dark,
.service-aside .glass-strong {
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}

.other-services-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.other-services-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  transition: background .15s ease, color .15s ease;
}

.other-services-list a .material-symbols-outlined {
  font-size: 18px;
  color: var(--cyan);
}

.other-services-list a:hover {
  background: rgba(0, 210, 255, .08);
  color: var(--on-surface);
}

.other-services-list a.current {
  background: rgba(0, 210, 255, .14);
  border: 1px solid rgba(0, 210, 255, .32);
  color: var(--cyan);
}

.other-services-list a.current .material-symbols-outlined {
  color: var(--cyan);
}

/* Nosotros — misión / visión / valores */
.mv-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  margin-bottom: 40px;
}

.mv-card {
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.mv-card.mv-mission {
  color: var(--on-surface);
  border: 1px solid var(--glass-border);
}

.mv-card.mv-mission .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mv-card.mv-mission .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-card.mv-mission .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,11,24,.94) 8%, rgba(7,11,24,.4) 80%);
}

.mv-card.mv-mission > * {
  position: relative;
  z-index: 1;
}

.mv-card.mv-vision {
  color: var(--on-surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.mv-card.mv-vision .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mv-card.mv-vision .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-card.mv-vision .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,11,24,.94) 8%, rgba(7,11,24,.4) 80%);
}

.mv-card.mv-vision > * {
  position: relative;
  z-index: 1;
}

.mv-vision p {
  color: #d7deef;
}

.mv-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.mv-mission .mv-icon {
  background: rgba(0, 210, 255, .14);
  border: 1px solid rgba(0, 210, 255, .34);
  color: var(--cyan);
}

.mv-vision .mv-icon {
  background: rgba(245, 158, 11, .14);
  border: 1px solid rgba(245, 158, 11, .34);
  color: var(--gold);
}

.mv-card h3 {
  font-size: 1.5rem;
  color: var(--on-surface);
}

.mv-card p {
  font-size: 1rem;
  margin-bottom: .3em;
  color: inherit;
}

.mv-mission p {
  color: #d7deef;
}

.mv-card .tagline {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 16px;
}

.mv-mission .tagline {
  color: var(--cyan-light);
}

.mv-vision .tagline {
  color: var(--gold);
}

.values-strip {
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.values-strip .label {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--on-surface);
  flex: none;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.value-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.value-chip .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 210, 255, .12);
  border: 1px solid rgba(0, 210, 255, .3);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: none;
}

.value-chip strong {
  font-family: "Outfit", sans-serif;
  font-size: .92rem;
  color: var(--on-surface);
}

/* Compromisos — 3 clickable cards */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.commit-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: var(--on-surface);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
  text-align: left;
  padding: 0;
  font: inherit;
}

.commit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--glass-border-hover);
}

.commit-card .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.commit-card .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.commit-card:hover .bg img {
  transform: scale(1.06);
}

.commit-card .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,11,24,.95) 15%, rgba(7,11,24,.4) 75%);
}

.commit-card .content {
  position: relative;
  z-index: 1;
  padding: 28px 26px;
  width: 100%;
}

.commit-card .num {
  font-family: "Inter", sans-serif;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 6px;
}

.commit-card h3 {
  color: var(--on-surface);
  font-size: 1.5rem;
  margin-bottom: .3em;
}

.commit-card p {
  color: var(--text-light);
  font-size: .92rem;
  margin-bottom: 0;
}

.commit-card .expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cyan);
}

.commit-detail {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  border-radius: var(--radius-lg);
}

.commit-detail.open {
  max-height: 2400px;
}

.commit-detail-inner {
  padding: 34px 32px;
  border-radius: var(--radius-lg);
}

.commit-detail-inner .commitment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.commit-detail-inner .commitment-item {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 18px;
}

.commit-detail-inner .commitment-item h4 {
  color: var(--on-surface);
  font-size: .98rem;
  margin-bottom: .4em;
}

.commit-detail-inner .commitment-item p {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.commit-detail-inner .commitment-note {
  margin-top: 22px;
  padding: 18px 22px;
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .28);
  border-radius: 12px;
  font-size: .92rem;
  color: var(--gold-light);
}

.commit-close {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--on-surface);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  float: right;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, color .15s ease;
}

.commit-close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.commit-close .material-symbols-outlined {
  font-size: 18px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
}

.contact-info-card {
  border-radius: var(--radius-lg);
  padding: 38px 32px;
}

.contact-info-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-item .ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 210, 255, .14);
  border: 1px solid rgba(0, 210, 255, .32);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 20px;
}

.contact-info-item strong {
  display: block;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item span.value {
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--on-surface);
}

.contact-form {
  border-radius: var(--radius-lg);
  padding: 38px 34px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--on-surface);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  font-family: inherit;
  font-size: .95rem;
  background: rgba(7, 11, 24, .55);
  color: var(--on-surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #64748b;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, .2);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  margin: 14px 0 0;
  font-size: .9rem;
  min-height: 1.2em;
}

.form-feedback.success {
  color: var(--emerald);
}

.form-feedback.error {
  color: #f87171;
}

/* CTA band */
.cta-band {
  color: var(--on-surface);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--on-surface);
  margin-bottom: .3em;
}

.cta-band p {
  color: var(--text-light);
  margin-bottom: 1.6em;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--obsidian-deep);
  color: var(--text-light);
  padding: 56px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 84px;
}

.footer-brand span {
  color: var(--on-surface);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.footer-col h4 {
  color: var(--on-surface);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.footer-col ul li {
  list-style: none;
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--text-light);
  font-size: .9rem;
  transition: color .15s ease;
}

.footer-col ul a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: .8rem;
  color: #6a7695;
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(16, 185, 129, .5);
  z-index: 90;
  color: #fff;
  transition: transform .15s ease;
}

.wa-float .material-symbols-outlined {
  font-size: 28px;
}

.wa-float:hover {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 980px) {
  .services-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-aside {
    position: static;
  }

  .commit-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    z-index: 250;
    top: 76px;
    left: 12px;
    right: 12px;
    background: var(--glass-dark-bg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--glass-dark-border);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
    max-height: 78vh;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav > a,
  .nav-item > .nav-link-parent {
    padding: 12px 16px;
    justify-content: space-between;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
  }

  .dropdown-panel {
    position: static;
    transform: none;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 6px;
    opacity: 1;
    visibility: visible;
    background: rgba(2, 5, 12, .88);
    border-radius: 10px;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: max-height .25s ease, padding .25s ease;
  }

  .nav-item:hover .dropdown-panel,
  .nav-item.open .dropdown-panel {
    transform: none;
  }

  .nav-item.open .dropdown-panel {
    max-height: 600px;
    padding: 6px;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .whatsapp-btn span.txt {
    display: none;
  }

  .hero-inner {
    padding-top: 120px;
  }

  .feature-strip-wrap {
    margin-top: -30px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .services-grid-v2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .values-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .values-list {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .mv-card {
    padding: 28px 22px;
    min-height: 280px;
  }
}

/* Scroll reveal — content blurs into focus as it enters the viewport */
.reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1),
              filter .8s cubic-bezier(.16,1,.3,1),
              transform .8s cubic-bezier(.16,1,.3,1);
  will-change: opacity, filter, transform;
}

.reveal.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

/* Clientes — logo strip */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  margin-top: 20px;
}

.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.client-logo {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 240px;
  height: 240px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.client-logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.client-item .client-name {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-light);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .02em;
}

@media (max-width: 560px) {
  .client-logo {
    width: 160px;
    height: 160px;
    padding: 12px;
  }
}
