/* ============================================================
   TAGRO — Rediseño 2026 · Sistema de diseño (Industrial Premium)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0A1216;   /* casi negro, base */
  --steel-900:  #0E1A20;
  --steel-800:  #12242C;
  --steel-700:  #17303A;
  --navy:       #0F2740;   /* azul de los tanques GFS */
  --teal:       #16A6AB;   /* teal de marca (flyer) */
  --teal-2:     #0FBFC4;
  --teal-soft:  rgba(22,166,171,.12);
  --amber:      #E9A23B;   /* acento cálido (atardecer) */

  --line:       rgba(255,255,255,.10);
  --line-2:     rgba(255,255,255,.06);

  --text:       #EAF1F4;
  --muted:      #9BB0BC;
  --muted-2:    #7D93A0;

  --paper:      #F5F7F8;   /* secciones claras */
  --paper-ink:  #0C171D;
  --paper-muted:#4C5F6A;

  --radius:     16px;
  --radius-lg:  24px;
  --maxw:       1200px;

  --ff-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --ff-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow:     0 24px 60px -24px rgba(0,0,0,.6);
  --ease:       cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal-2);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--teal);
  display: inline-block;
}
.eyebrow.center-line { justify-content: center; }

h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
h2.title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 18px 0; }
.lead { color: var(--muted); font-size: clamp(1.02rem,1.4vw,1.18rem); max-width: 60ch; }
.center .lead { margin-inline: auto; }

.grad-text {
  background: linear-gradient(100deg, #fff 0%, #cfe9ea 40%, var(--teal-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--ff-display); font-weight: 600; font-size: .96rem;
  letter-spacing: .01em; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: #06231f; box-shadow: 0 14px 30px -12px rgba(22,166,171,.7);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px rgba(22,166,171,.85); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--teal); transform: translateY(-3px); }
.btn-dark { background: var(--paper-ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,18,22,.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 10px 16px; border-radius: 10px;
  font-size: .95rem; color: var(--muted); font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--teal); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-weight: 600; font-size: .95rem;
  color: var(--text);
}
.nav-phone svg { width: 17px; height: 17px; color: var(--teal-2); }
.nav-phone span { }
.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* Mobile nav panel */
.mobile-panel {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8,14,18,.97); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 40px; transform: translateY(-100%); transition: transform .45s var(--ease);
}
.mobile-panel.open { transform: translateY(0); }
.mobile-panel a {
  font-family: var(--ff-display); font-size: 1.8rem; font-weight: 600;
  padding: 12px 0; border-bottom: 1px solid var(--line-2); color: var(--text);
}
.mobile-panel a:hover { color: var(--teal-2); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-bottom: 64px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,18,22,.72) 0%, rgba(10,18,22,.28) 32%, rgba(10,18,22,.55) 68%, rgba(10,18,22,.97) 100%),
    linear-gradient(95deg, rgba(10,18,22,.7) 0%, rgba(10,18,22,.05) 60%);
}
.hero-inner { position: relative; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: .98; max-width: 16ch;
  margin: 22px 0 20px; letter-spacing: -.02em;
}
.hero .lead { max-width: 52ch; font-size: clamp(1.05rem,1.5vw,1.3rem); color: #cdd9df; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Stat chips floating over hero */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: 56px;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--line);
  backdrop-filter: blur(6px);
}
.hero-stats .stat { background: rgba(12,22,28,.66); padding: 22px 24px; }
.stat .n { font-family: var(--ff-display); font-size: clamp(1.6rem,3vw,2.3rem); font-weight: 700; color: #fff; }
.stat .n b { color: var(--teal-2); font-weight: 700; }
.stat .l { font-size: .82rem; color: var(--muted); margin-top: 4px; letter-spacing: .01em; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  color: var(--muted-2); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint .line { width: 1px; height: 34px; background: linear-gradient(var(--teal), transparent); animation: drop 2s infinite; }
@keyframes drop { 0%{opacity:0;transform:scaleY(.2)} 40%{opacity:1} 100%{opacity:0;transform:translateY(14px) scaleY(1)} }

/* ============================================================
   PAGE HERO (secundarias)
   ============================================================ */
.page-hero {
  position: relative; padding: 150px 0 70px; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(22,166,171,.16), transparent 60%),
    radial-gradient(700px 500px at 0% 120%, rgba(15,39,64,.6), transparent 60%),
    var(--steel-900);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 16px 0 14px; }
.crumbs { font-size: .85rem; color: var(--muted-2); }
.crumbs a:hover { color: var(--teal-2); }
.crumbs .sep { margin: 0 8px; opacity: .5; }

/* ============================================================
   SECTIONS — dark & paper
   ============================================================ */
.dark  { background: var(--ink); }
.steel { background: linear-gradient(180deg, var(--steel-900), var(--ink)); }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .lead { color: var(--paper-muted); }
.paper .eyebrow { color: #0d8b8f; }
.paper .eyebrow::before { background: #0d8b8f; }
.paper h2.title { color: var(--paper-ink); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* ---------- Materials cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.mat-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--steel-800);
  transition: transform .4s var(--ease), border-color .4s;
  min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
}
.mat-card:hover { transform: translateY(-6px); border-color: rgba(22,166,171,.6); }
.mat-card .ph { position: absolute; inset: 0; z-index: 0; }
.mat-card .ph img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .6s var(--ease), opacity .4s; }
.mat-card:hover .ph img { transform: scale(1.06); opacity: .7; }
.mat-card .ph::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 20%, rgba(10,18,22,.55) 55%, rgba(10,18,22,.96) 100%); }
.mat-card .body { position: relative; z-index: 1; padding: 26px; }
.mat-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.mat-card p { color: var(--muted); font-size: .93rem; }
.mat-card .idx { position: absolute; top: 22px; right: 24px; z-index: 1; font-family: var(--ff-display); font-size: .85rem; color: var(--teal-2); letter-spacing: .1em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }

/* ---------- Feature / value cards ---------- */
.feature {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  transition: transform .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(22,166,171,.5); }
.f-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-2); margin-bottom: 18px;
  border: 1px solid rgba(22,166,171,.3);
}
.f-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .94rem; }
.paper .feature { background: #fff; border-color: rgba(12,23,29,.09); box-shadow: 0 12px 30px -20px rgba(0,0,0,.25); }
.paper .feature p { color: var(--paper-muted); }
.paper .f-ico { background: rgba(13,139,143,.1); color: #0d8b8f; border-color: rgba(13,139,143,.25); }

/* ---------- Process steps ---------- */
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num {
  font-family: var(--ff-display); font-size: clamp(2.4rem,4vw,3.6rem); font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.4px var(--teal); line-height: 1;
}
.step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 62ch; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; }
.split.rev .media { order: 2; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/5; border: 1px solid var(--line); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media.tall { aspect-ratio: 3/4; }
.badge-float {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(10,18,22,.72); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
}
.badge-float .n { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 700; color: var(--teal-2); }
.badge-float .t { font-size: .85rem; color: var(--muted); }

.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); }
.check-list li b { color: var(--text); font-weight: 600; }
.check-list .ck {
  flex: none; width: 24px; height: 24px; border-radius: 7px; margin-top: 2px;
  background: var(--teal-soft); color: var(--teal-2); display: grid; place-items: center;
  border: 1px solid rgba(22,166,171,.3);
}
.check-list .ck svg { width: 14px; height: 14px; }
.paper .check-list li { color: var(--paper-muted); }
.paper .check-list li b { color: var(--paper-ink); }
.paper .check-list .ck { background: rgba(13,139,143,.1); color:#0d8b8f; border-color: rgba(13,139,143,.25); }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.stats-band .stat-b { text-align: center; }
.stats-band .n { font-family: var(--ff-display); font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 700; }
.stats-band .n b { color: var(--teal-2); }
.stats-band .l { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* ---------- Certifications ---------- */
.certs { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cert {
  font-family: var(--ff-display); font-weight: 600; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 22px;
  color: var(--text); font-size: .96rem; background: rgba(255,255,255,.02);
  transition: border-color .3s, color .3s;
}
.cert:hover { border-color: var(--teal); color: var(--teal-2); }
.cert small { display: block; font-family: var(--ff-body); font-weight: 400; font-size: .68rem; color: var(--muted-2); letter-spacing: 0; }

/* ---------- Projects gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; grid-auto-rows: 220px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 45%, rgba(8,14,18,.9)); opacity: .8; }
.tile .cap { position: absolute; left: 18px; bottom: 16px; z-index: 1; }
.tile .cap .k { font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; }
.tile .cap .s { font-size: .8rem; color: var(--muted); }
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w4 { grid-column: span 4; }
.tile.h2 { grid-row: span 2; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px); text-align: center; }
.cta-band::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(22,166,171,.35), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--steel-800));
}
.cta-band h2 { font-size: clamp(1.9rem,4vw,3rem); margin-bottom: 14px; }
.cta-band p { color: #cdd9df; max-width: 54ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px,5vw,64px); }
.info-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-item .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-2); display: grid; place-items: center; border: 1px solid rgba(22,166,171,.3); }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item .k { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.info-item .v { font-size: 1.06rem; color: var(--text); margin-top: 3px; }
.info-item .v a:hover { color: var(--teal-2); }

.form { background: var(--steel-800); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,3vw,38px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 8px; letter-spacing: .03em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(0,0,0,.25); border: 1px solid var(--line); color: var(--text);
  font: inherit; transition: border-color .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: rgba(0,0,0,.35); }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .8rem; color: var(--muted-2); margin-top: 14px; text-align: center; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 340px; filter: grayscale(.3) contrast(1.05); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--steel-900); border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand img { height: 38px; margin-bottom: 18px; }
.footer p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.footer h4 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; font-family: var(--ff-body); font-weight: 600; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--muted); font-size: .94rem; transition: color .2s; }
.footer-links a:hover { color: var(--teal-2); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .25s; }
.socials a:hover { color: var(--teal-2); border-color: var(--teal); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: .84rem; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: flex; }
  .grid.cols-4 { grid-template-columns: repeat(2,1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; }
  .split.rev .media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(4,1fr); }
  .tile.w4 { grid-column: span 4; } .tile.w3 { grid-column: span 4; } .tile.w2 { grid-column: span 2; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  h2.title { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
  .nav-cta .btn-primary { display: none; }
  .nav { height: 68px; }
  .hero { align-items: flex-start; padding-top: 96px; min-height: auto; padding-bottom: 56px; }
  .hero h1 { margin-top: 14px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .stats-band { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 170px; }
  .tile.w4, .tile.w3, .tile.w2 { grid-column: span 2; }
  .hero { padding-bottom: 40px; }
}

/* ============================================================
   EXPO (bloque en Inicio) + video de sección
   ============================================================ */
.expo { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.expo-video { position: relative; aspect-ratio: 16/9; background: #000; }
.expo-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.expo-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch; }
.expo-body { padding: clamp(28px,4vw,52px); background: linear-gradient(135deg, var(--navy), var(--steel-800)); display: flex; flex-direction: column; justify-content: center; }
.expo-body .eyebrow { color: var(--amber); }
.expo-body .eyebrow::before { background: var(--amber); }
.expo-body h2 { font-size: clamp(1.7rem,3.4vw,2.6rem); margin: 14px 0 12px; }
.expo-body p { color: #cdd9df; }
.expo-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.expo-tags .tag { border-color: rgba(255,255,255,.2); }
@media (max-width: 860px){ .expo-grid { grid-template-columns: 1fr; } }

/* App card (servicios preview): reutiliza .mat-card, altura mayor */
.app-card { min-height: 420px; }

/* Galería dentro de sección de servicio */
.sgal { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.sgal .g { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; }
.sgal .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sgal .g:hover img { transform: scale(1.07); }
.sgal .g.wide { grid-column: span 2; aspect-ratio: 2/1; }
@media (max-width: 720px){ .sgal { grid-template-columns: repeat(2,1fr); } .sgal .g.wide { grid-column: span 2; } }

/* Pill de anclas dentro de una página */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.subnav a { font-family: var(--ff-display); font-size: .9rem; font-weight: 600; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: .25s; }
.subnav a:hover { color: var(--teal-2); border-color: var(--teal); }

/* Video dentro de tile de galería de proyectos */
.tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .vbadge { position: absolute; top: 14px; right: 16px; z-index: 2; background: rgba(22,166,171,.92); color: #04231f; font-family: var(--ff-display); font-weight: 700; font-size: .72rem; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; }
