/* ============================================================
   v3 — Estilo clásico-corporativo (inspirado en Mausaa)
   ============================================================ */

/* TOP BAR */
.topbar {
  background: var(--gp-navy-900);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-family: var(--f-mono);
  letter-spacing: 0.06em;
  padding: 10px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.topbar a:hover { color: var(--accent); }
.topbar-left { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-left .item { display: inline-flex; gap: 8px; align-items: center; }
.topbar-left .item svg { width: 14px; height: 14px; color: var(--accent); }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-right a {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.topbar-right a:hover {
  background: var(--accent);
  color: var(--gp-navy-900);
  border-color: var(--accent);
}
@media (max-width: 1100px) {
  .topbar-left .item:nth-child(3) { display: none; } /* hide email */
}
@media (max-width: 900px) {
  .topbar-left .item:nth-child(2) { display: none; } /* hide hours */
}
@media (max-width: 700px) {
  .topbar { font-size: 11px; padding: 8px 16px; }
  .topbar-left { gap: 12px; }
  .topbar-right { gap: 8px; }
}

/* Push nav down to make room for topbar */
.has-topbar .nav { top: 41px; }
@media (max-width: 700px) { .has-topbar .nav { top: 37px; } }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  background: var(--gp-navy-900);
  color: #fff;
}
.hs-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  z-index: 0;
}
.hs-slide.is-active { opacity: 1; z-index: 1; }
.hs-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform 8s ease-out;
}
.hs-slide.is-active .hs-bg { transform: scale(1.08); }
.hs-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,29,51,0.55) 0%, rgba(6,29,51,0.3) 35%, rgba(6,29,51,0.7) 75%, rgba(6,29,51,0.92) 100%);
}
.hs-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 80px var(--gutter) 80px;
  max-width: var(--col-max);
  margin: 0 auto;
}
.hs-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  transform: translateY(20px); opacity: 0;
  transition: all 0.7s 0.1s var(--ease-out);
}
.hs-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
  transform: translateY(28px); opacity: 0;
  transition: all 0.8s 0.25s var(--ease-out);
}
.hs-title em { font-style: normal; color: var(--accent); }
.hs-sub {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
  transform: translateY(28px); opacity: 0;
  transition: all 0.8s 0.4s var(--ease-out);
}
.hs-cta {
  display: flex; gap: 12px; align-items: center;
  margin-top: 40px; flex-wrap: wrap;
  transform: translateY(28px); opacity: 0;
  transition: all 0.8s 0.55s var(--ease-out);
}
.hs-slide.is-active .hs-eyebrow,
.hs-slide.is-active .hs-title,
.hs-slide.is-active .hs-sub,
.hs-slide.is-active .hs-cta {
  transform: translateY(0); opacity: 1;
}

.hs-controls {
  position: absolute;
  z-index: 6;
  bottom: 40px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
@media (max-width: 700px) {
  .hs-controls { bottom: 20px; }
}
.hs-dots {
  display: flex; gap: 8px;
}
.hs-dot {
  width: 36px; height: 3px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.hs-dot.is-active { background: rgba(255,255,255,0.18); }
.hs-dot.is-active::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  animation: hs-progress 6s linear forwards;
}
@keyframes hs-progress {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
.hs-nav {
  display: flex; gap: 10px;
}
.hs-nav button {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.hs-nav button:hover {
  background: var(--accent); color: var(--gp-navy-900); border-color: var(--accent);
}
.hs-counter {
  position: absolute; z-index: 6;
  top: 50%; right: var(--gutter); transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 700px) { .hs-counter { display: none; } }

/* ============================================================
   TRUST STRIP — Asociaciones / Acreditaciones (genérico)
   ============================================================ */
.trust-strip {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-6) 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; gap: var(--space-4); } }
.trust-cell {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 16px 32px;
  border-right: 1px solid var(--line);
  align-items: center;
}
.trust-cell:last-child { border-right: none; }
@media (max-width: 900px) { .trust-cell { border-right: none; padding: 8px 16px; } }
.trust-cell .ic {
  width: 56px; height: 56px;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.trust-cell h4 {
  font-family: var(--f-display);
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.trust-cell p {
  margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.45;
}

/* ============================================================
   PHOTO SERVICE CARDS (Mausaa style)
   ============================================================ */
.svc-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
@media (max-width: 1000px) { .svc-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .svc-photo-grid { grid-template-columns: 1fr; } }

.svc-photo-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.svc-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(6,29,51,0.18);
}
.svc-photo-card .ph {
  aspect-ratio: 16 / 11;
  position: relative;
  overflow: hidden;
  background: var(--bg-sunken);
}
.svc-photo-card .ph .img-ph {
  width: 100%; height: 100%;
  transition: transform 0.7s var(--ease-out);
  border: none;
}
.svc-photo-card:hover .ph .img-ph { transform: scale(1.06); }
.svc-photo-card .ph .corner {
  position: absolute;
  top: 0; right: 0;
  width: 56px; height: 56px;
  background: var(--accent);
  color: var(--gp-navy-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.svc-photo-card .body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex; flex-direction: column;
  gap: 12px;
}
.svc-photo-card h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}
.svc-photo-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.svc-photo-card .more {
  margin-top: 8px;
  display: inline-flex; gap: 10px; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
}
.svc-photo-card:hover .more { color: var(--accent-deep); }
.svc-photo-card .more svg {
  width: 14px; height: 14px;
  transition: transform 0.25s var(--ease);
}
.svc-photo-card:hover .more svg { transform: translateX(4px); }

/* ============================================================
   STATS BAND (corporate)
   ============================================================ */
.stats-band {
  background: var(--gp-navy-900);
  color: #fff;
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 12px, transparent 12px 24px);
  pointer-events: none;
}
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 900px) { .stats-band-grid { grid-template-columns: repeat(2, 1fr); } }
.stats-band-cell {
  text-align: center;
  padding: var(--space-5);
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.stats-band-cell:last-child { border-right: none; }
@media (max-width: 900px) {
  .stats-band-cell:nth-child(2) { border-right: none; }
}
.stats-band-cell .n {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 128px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #fff;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.stats-band-cell .n .plus { color: var(--accent); font-size: 0.5em; }
.stats-band-cell .lbl {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75);
  margin-top: 12px;
}

/* ============================================================
   PROJECT MAUSAA-STYLE GALLERY
   ============================================================ */
.projects-mausaa {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
@media (max-width: 1100px) { .projects-mausaa { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .projects-mausaa { grid-template-columns: 1fr; } }

.proj-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--gp-navy-900);
  color: #fff;
  cursor: none;
}
.proj-tile .img-ph {
  width: 100%; height: 100%;
  border: none;
  transition: transform 0.7s var(--ease-out);
}
.proj-tile:hover .img-ph { transform: scale(1.06); }
.proj-tile .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,29,51,0.05) 35%, rgba(6,29,51,0.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-5);
  transition: background 0.3s;
}
.proj-tile:hover .overlay {
  background: linear-gradient(180deg, rgba(6,29,51,0.5) 0%, rgba(6,29,51,0.92) 100%);
}
.proj-tile .tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.proj-tile h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 8px 0 6px;
  text-transform: uppercase;
}
.proj-tile .client {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
}
.proj-tile .more {
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0);
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.proj-tile:hover .more {
  color: var(--accent);
  transform: translateY(0);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-section {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) { .testimonial-section { grid-template-columns: 1fr; } }
.testimonial-photo {
  aspect-ratio: 1/1;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}
.testimonial-photo .img-ph { width: 100%; height: 100%; border: none; }
.testimonial-quote {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 32px;
  font-weight: 500;
  text-wrap: balance;
  position: relative;
  padding-left: 40px;
}
.testimonial-quote::before {
  content: "\201C";
  position: absolute;
  left: 0; top: -10px;
  font-family: var(--f-display);
  font-size: 80px;
  color: var(--accent);
  line-height: 1;
}
.testimonial-meta { display: flex; flex-direction: column; gap: 6px; }
.testimonial-meta .name {
  font-family: var(--f-display);
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
}
.testimonial-meta .role {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.testimonial-nav {
  margin-top: 32px;
  display: flex; gap: 8px;
}
.testimonial-nav button {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  color: var(--ink);
}
.testimonial-nav button:hover {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

/* ============================================================
   CLIENTS LOGO GRID
   ============================================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }

.client-logo {
  aspect-ratio: 5/3;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
  transition: color 0.25s, background 0.25s;
  text-align: center;
  line-height: 1.2;
}
.client-logo:hover {
  color: var(--ink);
  background: var(--bg-sunken);
}

/* ============================================================
   BLOG / NEWS CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: flex; flex-direction: column;
  gap: var(--space-4);
}
.blog-card .ph {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.blog-card .ph .img-ph {
  width: 100%; height: 100%; border: none;
  transition: transform 0.7s var(--ease-out);
}
.blog-card:hover .ph .img-ph { transform: scale(1.04); }
.blog-card .date {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-card h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.25;
  margin: 4px 0 0;
}
.blog-card p {
  font-size: 14px; line-height: 1.55; color: var(--ink-2);
  margin: 0;
}
.blog-card .read {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 4px;
}

/* ============================================================
   CTA BAR full-width
   ============================================================ */
.cta-bar {
  background: var(--accent);
  color: var(--gp-navy-900);
  padding: var(--space-7) 0;
}
.cta-bar-inner {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: var(--space-6); align-items: center;
}
@media (max-width: 700px) { .cta-bar-inner { grid-template-columns: 1fr; gap: 24px; } }
.cta-bar h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 0; line-height: 1.05;
}
.cta-bar .btn-primary {
  background: var(--gp-navy-900);
  color: #fff;
  padding: 18px 32px;
  font-size: 14px;
}
.cta-bar .btn-primary:hover {
  background: #000;
}

/* ============================================================
   CONTACT WITH MAP
   ============================================================ */
.contact-mausaa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .contact-mausaa { grid-template-columns: 1fr; } }

.contact-mausaa-form {
  padding: var(--space-8);
  border-right: 1px solid var(--line);
}
@media (max-width: 900px) {
  .contact-mausaa-form { border-right: none; border-bottom: 1px solid var(--line); padding: var(--space-6); }
}
.contact-mausaa-map {
  background: var(--gp-navy-900);
  position: relative;
  min-height: 480px;
}

.cm-row {
  display: grid; grid-template-columns: 24px 1fr;
  gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cm-row:last-child { border-bottom: none; }
.cm-row .ic {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}
.cm-row .lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.cm-row .val {
  font-size: 15px;
  color: var(--ink);
}

/* Hide cursor on mobile and topbar */
@media (max-width: 900px) {
  .topbar { padding-bottom: 6px; }
}

/* ============================================================
   MOTION / EXTRA MOVEMENT
   ============================================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 200;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.05s linear;
}

/* Title reveal — line by line mask */
.reveal-title {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.reveal-title > .rt-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1.1s var(--ease-out), opacity 0.6s ease;
}
.reveal-title.is-in > .rt-inner {
  transform: translateY(0);
  opacity: 1;
}
.reveal-title.delay-1 > .rt-inner { transition-delay: 0.08s; }
.reveal-title.delay-2 > .rt-inner { transition-delay: 0.16s; }
.reveal-title.delay-3 > .rt-inner { transition-delay: 0.24s; }

/* Float animation — gentle vertical bob */
.float-bob { animation: floatBob 4.5s ease-in-out infinite; }
@keyframes floatBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

/* Pulse — for badges */
.pulse-amber {
  position: relative;
}
.pulse-amber::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--accent);
  border-radius: inherit;
  opacity: 0;
  animation: pulseAmber 2.4s ease-out infinite;
}
@keyframes pulseAmber {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* Animated grid backdrop */
.bg-grid-anim {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: bgGridShift 30s linear infinite;
  pointer-events: none;
}
@keyframes bgGridShift {
  from { background-position: 0 0; }
  to   { background-position: 64px 64px; }
}

/* Diagonal stripes scroll */
.bg-stripes-anim {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.04) 0 16px,
    transparent 16px 32px
  );
  background-size: 200% 200%;
  animation: bgStripesShift 18s linear infinite;
  pointer-events: none;
}
@keyframes bgStripesShift {
  from { background-position: 0 0; }
  to   { background-position: -200px -200px; }
}

/* Vertical ticker */
.vticker {
  position: absolute;
  right: -8px; top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  z-index: 5;
  pointer-events: none;
  display: flex; gap: 40px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  height: 60vh;
  overflow: hidden;
}
.vticker-track {
  display: flex;
  flex-direction: column;
  gap: 40px;
  animation: vtickerMove 22s linear infinite;
}
.vticker-track span { white-space: nowrap; }
.vticker-track .dot {
  width: 4px; height: 4px;
  background: var(--accent);
  margin: 0 auto;
}
@keyframes vtickerMove {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@media (max-width: 1100px) { .vticker { display: none; } }

/* Hover lift cards */
.hover-lift {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(6,29,51,0.18);
}

/* Image zoom on hover */
.img-zoom { overflow: hidden; }
.img-zoom > * { transition: transform 0.9s var(--ease-out); }
.img-zoom:hover > * { transform: scale(1.07); }

/* Underline grow */
.link-grow {
  position: relative;
  display: inline-block;
}
.link-grow::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.link-grow:hover::after { transform: scaleX(1); }

/* Stagger reveal — children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.stagger.is-in > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger.is-in > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.stagger.is-in > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.stagger.is-in > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.stagger.is-in > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.stagger.is-in > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.stagger.is-in > *:nth-child(7) { transition-delay: 0.47s; opacity: 1; transform: translateY(0); }
.stagger.is-in > *:nth-child(8) { transition-delay: 0.54s; opacity: 1; transform: translateY(0); }
.stagger.is-in > *:nth-child(n+9) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

/* Slide-in from left */
.slide-in-l {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.slide-in-l.is-in { opacity: 1; transform: translateX(0); }
.slide-in-r {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.slide-in-r.is-in { opacity: 1; transform: translateX(0); }

/* Stats band number pop */
.stats-band-cell .n {
  display: inline-flex;
  animation: numPop 0.8s var(--ease-out) both;
}
.stats-band-cell.is-in .n {
  animation: numPop 0.9s var(--ease-out) both;
}
@keyframes numPop {
  from { transform: scale(0.85); opacity: 0; }
  60%  { transform: scale(1.05); opacity: 1; }
  to   { transform: scale(1); opacity: 1; }
}

/* Service photo card — extra movement */
.svc-photo-card .corner {
  transition: transform 0.4s var(--ease), background 0.3s;
}
.svc-photo-card:hover .corner {
  transform: rotate(-8deg) scale(1.08);
}

/* Project tiles — subtle pan on hover */
.proj-tile .img-ph {
  transform: scale(1) translate(0,0);
  transition: transform 1.2s var(--ease-out);
}
.proj-tile:hover .img-ph {
  transform: scale(1.1) translate(-2%, -2%);
}

/* Section transition flag */
.section-flag {
  position: absolute;
  z-index: 4;
  top: -28px; left: var(--gutter);
  background: var(--accent);
  color: var(--gp-navy-900);
  padding: 8px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transform: rotate(-2deg);
}
.section-flag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gp-navy-900);
  animation: flagBlink 1.4s ease-in-out infinite;
}
@keyframes flagBlink {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.3; }
}

/* Google Maps embed */
.gmap-iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.4s;
}
.gmap-iframe:hover { filter: grayscale(0%) contrast(1); }

.gmap-tabs {
  position: absolute;
  z-index: 5;
  top: 20px; left: 20px; right: 20px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.gmap-tab {
  padding: 8px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.95);
  color: var(--gp-navy-900);
  border: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.gmap-tab:hover { background: var(--accent); }
.gmap-tab.is-active {
  background: var(--gp-navy-900);
  color: #fff;
}

.gmap-info {
  position: absolute;
  z-index: 5;
  bottom: 20px; left: 20px;
  background: var(--gp-navy-900);
  color: #fff;
  padding: 16px 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  max-width: 280px;
}
.gmap-info .nm {
  font-family: var(--f-display);
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--accent);
}

/* Marquee on stats band */
.stats-band {
  position: relative;
  z-index: 1;
}

/* Animated lines under section titles */
.title-line::after {
  content: "";
  display: block;
  width: 60px; height: 3px;
  background: var(--accent);
  margin-top: 20px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s 0.3s var(--ease-out);
}
.title-line.is-in::after { transform: scaleX(1); }

/* Photo card overlays — slight tilt on hover */
.tilt-on-hover {
  transition: transform 0.5s var(--ease);
  transform-style: preserve-3d;
}
/* ============================================================
   METHOD TIMELINE (v5 innovative)
   ============================================================ */
.method-v5 {
  background: var(--gp-navy-900);
  color: #fff;
  position: relative;
  padding: var(--space-10) 0;
  overflow: hidden;
}
.method-v5 .bg-grid-anim { opacity: 0.6; }
.method-v5 .head { text-align: center; margin-bottom: var(--space-9); position: relative; }
.method-v5 .head .kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
}
.method-v5 .head .kicker::before,
.method-v5 .head .kicker::after {
  content: ""; width: 40px; height: 1px; background: rgba(232,178,59,0.5);
}
.method-v5 .head h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 24px 0 16px;
  text-transform: uppercase;
}
.method-v5 .head .sub {
  margin: 0 auto;
  max-width: 60ch;
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  line-height: 1.55;
}

/* Timeline rail */
.timeline-rail {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.timeline-line {
  position: absolute;
  left: 80px;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 1;
}
.timeline-line-fill {
  position: absolute;
  left: 80px;
  top: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(232,178,59,0.2));
  z-index: 2;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.8s var(--ease-out);
  height: 100%;
}
@media (max-width: 800px) {
  .timeline-line, .timeline-line-fill { left: 30px; }
}

/* Step row */
.tl-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-6);
  padding: var(--space-7) 0;
  position: relative;
  z-index: 3;
}
@media (max-width: 800px) { .tl-step { grid-template-columns: 30px 1fr; gap: var(--space-5); } }

.tl-step .marker {
  width: 60px; height: 60px;
  margin-left: 21px;
  border-radius: 999px;
  background: var(--gp-navy-900);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.6);
  transition: all 0.5s var(--ease);
  flex-shrink: 0;
  position: relative;
}
.tl-step.is-in .marker {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--gp-navy-900);
  transform: scale(1.06);
  box-shadow: 0 0 0 8px rgba(232,178,59,0.15), 0 0 0 16px rgba(232,178,59,0.06);
}
@media (max-width: 800px) {
  .tl-step .marker { width: 40px; height: 40px; font-size: 14px; margin-left: 10px; }
}

.tl-step .content {
  padding-bottom: var(--space-5);
  padding-left: var(--space-3);
}
.tl-step .label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.5s 0.1s var(--ease-out);
}
.tl-step.is-in .label { opacity: 1; transform: translateY(0); }
.tl-step .label .pulse-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 999px;
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.tl-step h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 0;
  color: #fff;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s 0.15s var(--ease-out);
}
.tl-step.is-in h3 { opacity: 1; transform: translateY(0); }

.tl-step p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 52ch;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s 0.25s var(--ease-out);
}
.tl-step.is-in p { opacity: 1; transform: translateY(0); }

.tl-step .details {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  margin-top: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  align-self: flex-start;
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s 0.35s var(--ease-out);
}
.tl-step.is-in .details { opacity: 1; transform: translateY(0); }
.tl-step .details .cell {
  padding: 14px 22px;
  border-right: 1px solid rgba(255,255,255,0.1);
  min-width: 110px;
}
.tl-step .details .cell:last-child { border-right: none; }
.tl-step .details .cell .l {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tl-step .details .cell .v {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
@media (max-width: 600px) {
  .tl-step .details { grid-template-columns: 1fr; }
  .tl-step .details .cell {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
  }
  .tl-step .details .cell:last-child { border-bottom: none; }
}

.tl-step .tools {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s 0.45s var(--ease-out);
}
.tl-step.is-in .tools { opacity: 1; transform: translateY(0); }
.tl-step .tools .chip {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}
.tl-step .tools .chip.is-method {
  background: var(--accent);
  color: var(--gp-navy-900);
  border-color: var(--accent);
  font-weight: 600;
}

/* Bottom footer of timeline */
.tl-footer {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  padding: var(--space-7);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 3;
}
@media (max-width: 800px) { .tl-footer { grid-template-columns: 1fr; gap: var(--space-5); padding: var(--space-5); } }
.tl-footer .item {
  display: flex; flex-direction: column; gap: 10px;
}
.tl-footer .item .lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.tl-footer .item h4 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}
.tl-footer .item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   METHODOLOGY V7 — clean numbered steps with real photos
   ============================================================ */
.method-v7 {
  background: var(--bg);
  padding: var(--space-10) 0;
  position: relative;
}
.method-v7 .v7-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: end;
  padding-bottom: var(--space-7);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .method-v7 .v7-head { grid-template-columns: 1fr; gap: var(--space-4); } }
.method-v7 .v7-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.method-v7 .v7-kicker .dot { width: 7px; height: 7px; background: var(--accent); }
.method-v7 .v7-head h2 {
  font-family: var(--f-display);
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.95;
  margin: 0; text-transform: uppercase;
}
.method-v7 .v7-head .sub {
  font-size: 17px; line-height: 1.6; color: var(--ink-2);
  max-width: 52ch; margin: 0;
}

.v7-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
}
@media (max-width: 1000px) { .v7-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .v7-steps { grid-template-columns: 1fr; } }

.v7-step {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  background: var(--bg);
  transition: background 0.3s var(--ease);
}
.v7-step:hover { background: var(--bg-elev); }
.v7-step .ph {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--bg-sunken);
}
.v7-step .ph img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  filter: grayscale(100%) contrast(1.05);
}
.v7-step:hover .ph img { transform: scale(1.06); filter: grayscale(0%); }
.v7-step .ph .step-num {
  position: absolute; left: 0; bottom: 0;
  width: 56px; height: 56px;
  background: var(--accent);
  color: var(--gp-navy-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
}
.v7-step .body {
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.v7-step .body .phase {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.v7-step .body h3 {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 700; letter-spacing: -0.018em; line-height: 1.1;
  margin: 0;
}
.v7-step .body p {
  font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0;
}
.v7-step .body .dur {
  margin-top: auto; padding-top: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.v7-step .body .dur::before {
  content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--accent);
}

/* Methods strip below */
.v7-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: var(--space-8);
}
@media (max-width: 800px) { .v7-methods { grid-template-columns: 1fr; } }
.v7-method {
  padding: var(--space-6);
  background: var(--gp-navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.v7-method .mcode {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.v7-method h4 {
  font-family: var(--f-display);
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.v7-method p {
  font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0;
}
.v7-method .mbig {
  position: absolute; right: -10px; bottom: -30px;
  font-family: var(--f-display);
  font-size: 140px; font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1; pointer-events: none;
}
.method-v6 {
  background: var(--bg-sunken);
  position: relative;
  padding: var(--space-10) 0;
  overflow: hidden;
}
.method-v6 .v6-head { text-align: center; margin-bottom: var(--space-7); }
.method-v6 .v6-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-3);
}
.method-v6 .v6-kicker::before,
.method-v6 .v6-kicker::after {
  content: ""; width: 40px; height: 1px; background: var(--line-strong);
}
.method-v6 .v6-head h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 24px 0 16px;
  text-transform: uppercase;
}
.method-v6 .v6-head .sub {
  margin: 0 auto;
  max-width: 60ch;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
}

/* Phase nav — horizontal stepper */
.v6-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 4px;
  background: var(--bg);
  position: relative;
}
@media (max-width: 800px) { .v6-nav { grid-template-columns: repeat(5, minmax(140px, 1fr)); overflow-x: auto; } }
.v6-nav-item {
  padding: 20px 18px;
  text-align: left;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: none;
  transition: background 0.25s var(--ease), color 0.25s;
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
}
.v6-nav-item:last-child { border-right: none; }
.v6-nav-item:hover { background: var(--bg-sunken); }
.v6-nav-item .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.v6-nav-item .lab {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}
.v6-nav-item.is-active {
  background: var(--gp-navy-900);
}
.v6-nav-item.is-active .num { color: var(--accent); }
.v6-nav-item.is-active .lab { color: #fff; }
.v6-nav-item.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 4px;
  background: var(--accent);
}

/* Dashboard panel */
.v6-panel {
  background: var(--gp-navy-900);
  color: #fff;
  min-height: 560px;
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 0;
  border: 1px solid var(--line);
  border-top: none;
}
@media (max-width: 1100px) { .v6-panel { grid-template-columns: 1fr; min-height: auto; } }

.v6-side {
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-6);
  display: flex; flex-direction: column;
  gap: var(--space-5);
}
@media (max-width: 1100px) {
  .v6-side { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
.v6-side .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.v6-side .badge .dot {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 999px;
  animation: pulseDot 1.6s ease-in-out infinite;
}
.v6-side h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: #fff;
}
.v6-side .body {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.v6-side .kpis {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.v6-side .kpi .l {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.v6-side .kpi .v {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: 2px;
}

/* Dashboard center canvas */
.v6-canvas {
  position: relative;
  padding: var(--space-5);
  background:
    radial-gradient(ellipse at top right, rgba(46,137,199,0.08), transparent 70%),
    var(--gp-navy-900);
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.v6-canvas .toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 4px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.v6-canvas .toolbar .lights {
  display: flex; gap: 6px;
}
.v6-canvas .toolbar .lights span {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,0.15);
}
.v6-canvas .toolbar .lights span:first-child { background: var(--accent); }

.v6-canvas-body { flex: 1; position: relative; }

/* Right column — phase artifacts list */
.v6-aside {
  background: rgba(255,255,255,0.02);
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-5);
  display: flex; flex-direction: column;
}
@media (max-width: 1100px) {
  .v6-aside { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
}
.v6-aside h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px;
  font-weight: 500;
}
.v6-aside ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.v6-aside li {
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.v6-aside li:first-child { border-top: none; }
.v6-aside li .tag {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.v6-aside .progress-block {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.v6-aside .progress-block .l {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.v6-aside .progress-block .pct {
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.v6-aside .progress-block .bar {
  margin-top: 10px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.v6-aside .progress-block .bar-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

/* Phase tags chips */
.v6-aside .meta-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 16px;
}
.v6-aside .meta-row .chip {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}
.v6-aside .meta-row .chip.is-method {
  background: var(--accent);
  color: var(--gp-navy-900);
  border-color: var(--accent);
  font-weight: 600;
}

/* Animation entry for canvas content */
.v6-canvas-body > div {
  animation: v6FadeIn 0.5s var(--ease-out);
}
@keyframes v6FadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer note */
.v6-foot {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gutter);
}
@media (max-width: 800px) { .v6-foot { grid-template-columns: 1fr; } }
.v6-foot .card {
  padding: var(--space-5);
  background: var(--bg);
  border: 1px solid var(--line);
}
.v6-foot .card .lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.v6-foot .card h4 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 12px 0 8px;
}
.v6-foot .card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ============================================================
   PROJECT COUNT BADGE
   ============================================================ */
.project-count {
  position: absolute; top: 14px; right: 14px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  background: rgba(6,29,51,0.82);
  color: #fff;
  padding: 5px 9px;
  backdrop-filter: blur(6px);
}
.project-card { cursor: pointer; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(4,12,22,0.94);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 80px 140px;
  animation: lbFade 0.3s var(--ease-out);
}
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) { .lightbox { padding: 64px 12px 120px; } }
.lb-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  box-shadow: 0 24px 80px -20px rgba(0,0,0,0.7);
  animation: lbZoom 0.35s var(--ease-out);
}
@keyframes lbZoom { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lb-close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}
.lb-close:hover { background: rgba(255,255,255,0.12); }
.lb-counter {
  position: absolute; top: 32px; left: 32px;
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
}
.lb-title {
  position: absolute; top: 32px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  max-width: 60%;
}
@media (max-width: 700px) { .lb-title { display: none; } }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.lb-nav:hover { background: rgba(255,255,255,0.12); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
@media (max-width: 700px) { .lb-nav { width: 44px; height: 44px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }
.lb-thumbs {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
  max-width: 90%; overflow-x: auto;
  padding: 8px;
}
.lb-thumb {
  width: 72px; height: 52px;
  flex-shrink: 0;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
  overflow: hidden;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb.is-active { opacity: 1; border-color: var(--accent); }
.lb-thumb:hover { opacity: 0.85; }

/* ============================================================
   PROJECT MODAL
   ============================================================ */
.pmodal {
  position: fixed; inset: 0;
  z-index: 900;
  background: rgba(4,12,22,0.7);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  animation: lbFade 0.3s var(--ease-out);
}
@media (max-width: 700px) { .pmodal { padding: 0; } }
.pmodal-sheet {
  background: var(--bg);
  width: 100%; max-width: 1000px;
  position: relative;
  box-shadow: var(--shadow-3);
  animation: pmSlide 0.4s var(--ease-out);
  margin: auto;
}
@keyframes pmSlide { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.pmodal-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(6,29,51,0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  transition: background 0.2s;
}
.pmodal-close:hover { background: var(--gp-navy-900); }
.pmodal-hero {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--gp-navy-900);
}
@media (max-width: 700px) { .pmodal-hero { aspect-ratio: 4 / 3; } }
.pmodal-hero img { width: 100%; height: 100%; object-fit: cover; }
.pmodal-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,29,51,0.1) 40%, rgba(6,29,51,0.9) 100%);
}
.pmodal-hero-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-6);
  color: #fff;
}
.pmodal-tag {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.pmodal-hero-text h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.0;
  margin: 12px 0 8px;
  text-transform: uppercase;
  text-wrap: balance;
}
.pmodal-loc {
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.75);
}
.pmodal-body { padding: var(--space-7) var(--space-6) var(--space-6); }
.pmodal-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin-bottom: var(--space-5);
}
@media (max-width: 600px) { .pmodal-meta { grid-template-columns: 1fr 1fr; } }
.pm-cell {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}
.pm-cell:last-child { border-right: none; }
@media (max-width: 600px) {
  .pm-cell:nth-child(2) { border-right: none; }
  .pm-cell:nth-child(1), .pm-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}
.pm-cell .l {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px;
}
.pm-cell .v {
  font-family: var(--f-display); font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
}
.pmodal-desc {
  font-size: 17px; line-height: 1.6; color: var(--ink-2);
  max-width: 62ch; margin: 0 0 var(--space-6);
}
.pmodal-gallery-label {
  margin-bottom: var(--space-4);
  color: var(--ink-3);
}
.pmodal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: var(--space-6);
}
@media (max-width: 600px) { .pmodal-gallery { grid-template-columns: 1fr 1fr; } }
.pmg-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-sunken);
  cursor: pointer;
}
.pmg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.pmg-item:hover img { transform: scale(1.06); }
.pmg-zoom {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6,29,51,0);
  color: rgba(255,255,255,0);
  transition: background 0.3s, color 0.3s;
}
.pmg-item:hover .pmg-zoom { background: rgba(6,29,51,0.4); color: #fff; }
.pmodal-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

/* ============================================================
   CONTACT V2 — clean balanced layout
   ============================================================ */
.contact-v2-band {
  background: var(--gp-navy-900);
  color: #fff;
  padding: var(--space-8) 0 var(--space-9);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-v2-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  margin-top: calc(var(--space-8) * -1);
  position: relative;
  z-index: 3;
}
@media (max-width: 900px) { .contact-v2-grid { grid-template-columns: 1fr; } }

.contact-card-form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  padding: var(--space-7);
}
@media (max-width: 600px) { .contact-card-form { padding: var(--space-5); } }
.contact-card-form h3 {
  font-family: var(--f-display);
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.contact-card-form .hint {
  font-size: 14px; color: var(--ink-3); margin: 0 0 24px;
}

.contact-info-col {
  display: flex; flex-direction: column; gap: 12px;
}
.sede-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: var(--space-5);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.sede-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.sede-card .sede-top {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.sede-card .sede-top .pin {
  width: 34px; height: 34px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sede-card .sede-top .nm {
  font-family: var(--f-display);
  font-size: 19px; font-weight: 700; letter-spacing: -0.01em;
}
.sede-card .sede-top .role {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 2px;
}
.sede-card .sede-line {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--ink-2); line-height: 1.5;
  padding: 6px 0;
}
.sede-card .sede-line svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.sede-card .sede-line a { color: var(--ink); }
.sede-card .sede-line a:hover { color: var(--accent-deep); }

.contact-quick {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.contact-quick a {
  display: flex; align-items: center; gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  font-family: var(--f-display);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.contact-quick a svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-quick a.wa { color: #128c3e; }
.contact-quick a.wa:hover { background: #25d366; color: #fff; border-color: #25d366; transform: translateY(-2px); }
.contact-quick a.mail:hover { background: var(--gp-navy-900); color: #fff; border-color: var(--gp-navy-900); transform: translateY(-2px); }

/* Full-width map */
.contact-map-full {
  margin-top: var(--space-8);
  position: relative;
  height: 460px;
  background: var(--gp-navy-900);
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) { .contact-map-full { height: 380px; } }
.contact-map-full .gmap-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-map-full .gmap-tabs {
  position: absolute; z-index: 5; top: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0;
  box-shadow: var(--shadow-2);
}
.contact-map-full .gmap-tab {
  padding: 12px 28px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  background: #fff; color: var(--gp-navy-900); border: 0;
  transition: background 0.2s, color 0.2s;
}
.contact-map-full .gmap-tab.is-active { background: var(--gp-navy-900); color: #fff; }
.contact-map-full .gmap-info {
  position: absolute; z-index: 5; left: 24px; bottom: 24px;
  background: var(--gp-navy-900); color: #fff;
  padding: 18px 22px; max-width: 300px;
  box-shadow: var(--shadow-2);
}
@media (max-width: 600px) { .contact-map-full .gmap-info { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
.contact-map-full .gmap-info .nm {
  font-family: var(--f-display); font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--accent); margin-bottom: 4px;
}
.contact-map-full .gmap-info .rl { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.75); }
.contact-map-full .gmap-info .ad { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; line-height: 1.45; }
.contact-map-full .gmap-info .dir {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   NOSOTROS / METODOLOGÍA — secciones nuevas (v8)
   ============================================================ */

/* Mission / Vision / Purpose cards */
.mv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card {
  padding: var(--space-7) var(--space-6);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  transition: background 0.3s var(--ease);
}
.mv-card:last-child { border-right: none; }
@media (max-width: 900px) { .mv-card { border-right: none; border-bottom: 1px solid var(--line); } .mv-card:last-child { border-bottom: none; } }
.mv-card:hover { background: var(--bg-elev); }
.mv-card .mv-ic {
  width: 48px; height: 48px;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.mv-card h3 {
  font-family: var(--f-display); font-size: 24px; font-weight: 700;
  letter-spacing: -0.02em; margin: 0;
}
.mv-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* Why us — differentiators */
.whyus-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
@media (max-width: 1000px) { .whyus-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .whyus-grid { grid-template-columns: 1fr; } }
.whyus-cell {
  padding: var(--space-6);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
  position: relative;
  transition: background 0.3s var(--ease);
}
.whyus-cell:hover { background: var(--gp-navy-900); }
.whyus-cell:hover * { color: #fff !important; }
.whyus-cell:hover .whyus-num { color: var(--accent) !important; }
.whyus-cell:hover .whyus-ic { border-color: var(--accent) !important; color: var(--accent) !important; }
.whyus-num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--ink-3);
}
.whyus-ic {
  width: 44px; height: 44px; border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: border-color 0.3s, color 0.3s;
}
.whyus-cell h3 {
  font-family: var(--f-display); font-size: 19px; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.15; margin: 0;
}
.whyus-cell p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin-top: auto; }

/* Real clients strip */
.clients-real {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .clients-real { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .clients-real { grid-template-columns: 1fr; } }
.client-real-cell {
  padding: var(--space-5) var(--space-6);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  transition: background 0.25s;
}
.client-real-cell:hover { background: var(--bg-elev); }
.client-real-cell .cr-name {
  font-family: var(--f-display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
}
.client-real-cell .cr-tag {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
}

/* Big intro statement with photo */
.about-feature {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) { .about-feature { grid-template-columns: 1fr; gap: var(--space-6); } }
.about-feature .af-photo { position: relative; overflow: hidden; }
.about-feature .af-photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/5; }
.about-feature .af-photo .af-badge {
  position: absolute; left: 0; bottom: 0;
  background: var(--accent); color: var(--gp-navy-900);
  padding: 16px 22px;
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.02em;
}
.about-feature .af-badge .n { font-size: 34px; line-height: 1; }
.about-feature .af-badge .l { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-top: 4px; }

/* Method detailed cards */
.method-detail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
}
@media (max-width: 900px) { .method-detail { grid-template-columns: 1fr; } }
.md-card {
  border: 1px solid var(--line);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: 16px;
  background: var(--bg);
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.md-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.md-card .md-code {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.md-card h3 {
  font-family: var(--f-display); font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em; margin: 0;
}
.md-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.md-card .md-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.md-card .md-tags span {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; background: var(--bg-sunken); border: 1px solid var(--line); color: var(--ink-3);
}
.md-card .md-big {
  position: absolute; right: -8px; bottom: -34px;
  font-family: var(--f-display); font-size: 130px; font-weight: 800;
  color: var(--bg-sunken); line-height: 1; pointer-events: none; z-index: 0;
}
.md-card > * { position: relative; z-index: 1; }

/* Guarantees */
.guarantee-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px) { .guarantee-grid { grid-template-columns: 1fr; } }
.guarantee-cell {
  padding: var(--space-6);
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; gap: 12px;
}
.guarantee-cell:last-child { border-right: none; }
@media (max-width: 900px) { .guarantee-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); } .guarantee-cell:last-child { border-bottom: none; } }
.guarantee-cell .g-ic { width: 40px; height: 40px; border: 1.5px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.guarantee-cell h4 { font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 0; color: #fff; }
.guarantee-cell p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.7); }

/* ============================================================
   LIBRO DE RECLAMACIONES
   ============================================================ */
.footer-legal-row {
  display: flex; justify-content: flex-end;
  padding: var(--space-5) 0 0;
}
@media (max-width: 700px) { .footer-legal-row { justify-content: center; } }
.libro-reclamaciones {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px;
  background: #fff;
  border: 2px solid var(--gp-navy-900);
  border-radius: 4px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.libro-reclamaciones:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.libro-reclamaciones .lr-book { display: flex; flex-shrink: 0; }
.libro-reclamaciones .lr-text { display: flex; flex-direction: column; line-height: 1.1; }
.libro-reclamaciones .lr-title {
  font-family: var(--f-display); font-size: 14px; font-weight: 800;
  letter-spacing: -0.01em; color: var(--gp-navy-900);
}
.libro-reclamaciones .lr-sub {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.08em;
  color: var(--gp-navy-600); margin-top: 3px; text-transform: uppercase;
}

/* Form sheet */
.lr-form {
  max-width: 980px; margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: var(--shadow-2);
}
.lr-sheet-head {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: var(--space-6);
  background: var(--gp-navy-900); color: #fff;
  flex-wrap: wrap;
}
.lr-sheet-brand { display: flex; align-items: center; gap: 18px; }
.lr-sheet-brand img { height: 54px; width: auto; background: #fff; padding: 8px 12px; border-radius: 4px; }
.lr-sheet-meta .lr-hoja { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(255,255,255,0.9); }
.lr-sheet-meta .lr-hoja strong { color: var(--accent); }
.lr-sheet-meta .lr-fecha { font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 4px; }
.lr-sheet-prov { text-align: right; font-size: 13px; }
@media (max-width: 700px) { .lr-sheet-prov { text-align: left; } }
.lr-prov-row { color: rgba(255,255,255,0.6); }
.lr-prov-row span { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; margin-right: 8px; }
.lr-prov-row strong { color: #fff; font-weight: 600; }

.lr-block { padding: var(--space-6); border-top: 1px solid var(--line); }
.lr-block-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: var(--space-5);
}
.lr-num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--gp-navy-900); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 13px; border-radius: 4px;
}
.lr-fields { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.lr-field { display: flex; flex-direction: column; }
.lr-col-3 { grid-column: span 3; }
.lr-col-4 { grid-column: span 4; }
.lr-col-6 { grid-column: span 6; }
.lr-col-8 { grid-column: span 8; }
.lr-col-12 { grid-column: span 12; }
@media (max-width: 700px) {
  .lr-col-3, .lr-col-4, .lr-col-6, .lr-col-8 { grid-column: span 12; }
}
.input.lr-err, .textarea.lr-err { border-bottom-color: #dc2626; }

.lr-checkline { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.lr-checkline input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gp-navy-700); flex-shrink: 0; }

.lr-radio-row { display: flex; gap: 8px; margin-top: 8px; }
.lr-radio {
  padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--ink-2); transition: all 0.2s;
}
.lr-radio.is-on { background: var(--gp-navy-900); color: #fff; border-color: var(--gp-navy-900); }

.lr-type-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .lr-type-cards { grid-template-columns: 1fr; } }
.lr-type-card {
  text-align: left; padding: var(--space-5);
  border: 1.5px solid var(--line); border-radius: 8px;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.lr-type-card:hover { border-color: var(--line-strong); }
.lr-type-card.is-on { border-color: var(--accent); background: rgba(232,178,59,0.06); }
.lr-type-name { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.lr-type-desc { font-size: 13px; color: var(--ink-2); line-height: 1.45; }

.lr-accept { padding: var(--space-6); border-top: 1px solid var(--line); background: var(--bg-sunken); }
.lr-warn { margin: 0 var(--space-6); padding: 14px 18px; background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.3); color: #b91c1c; font-size: 13px; border-radius: 6px; }
.lr-actions { padding: var(--space-6); display: flex; flex-direction: column; gap: 16px; }
.lr-note { font-size: 12px; color: var(--ink-3); line-height: 1.5; max-width: 70ch; margin: 0; }

/* Success */
.lr-success {
  max-width: 720px; margin: 0 auto;
  border: 1px solid var(--line); background: var(--bg-elev);
  box-shadow: var(--shadow-2); padding: var(--space-8);
  text-align: left;
}
.lr-check {
  width: 64px; height: 64px; border-radius: 999px;
  background: rgba(22,163,74,0.12); color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
}
.lr-code-box {
  display: flex; flex-direction: column; gap: 6px;
  margin: var(--space-6) 0;
  padding: var(--space-5); border: 1.5px dashed var(--line-strong);
  border-radius: 8px; background: var(--bg-sunken);
}
.lr-code-lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.lr-code-val { font-family: var(--f-mono); font-size: 26px; font-weight: 500; letter-spacing: 0.04em; color: var(--gp-navy-900); }
:root[data-mode="dark"] .lr-code-val { color: var(--accent); }
.lr-next { margin: var(--space-5) 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.lr-next li { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* CV upload drop */
.cv-drop {
  display: flex; align-items: center; gap: 14px;
  padding: 20px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--ink-3);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  margin-top: 8px;
}
.cv-drop:hover { border-color: var(--accent); background: rgba(232,178,59,0.05); color: var(--ink); }
.cv-drop svg { color: var(--ink-3); flex-shrink: 0; transition: color 0.2s; }
.cv-drop:hover svg { color: var(--accent-deep); }
.cv-drop.has-file { border-style: solid; border-color: var(--accent); background: rgba(232,178,59,0.07); color: var(--ink); font-weight: 500; }
.cv-drop.has-file svg { color: var(--accent-deep); }
.cv-drop.lr-err-drop { border-color: #dc2626; }

/* ============================================================
   v4 — Estilo C-Málaga: minimalismo institucional
   ============================================================ */

/* Single-word hero */
.hero-word {
  position: absolute; inset: 0;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  text-align: center;
  pointer-events: none;
  padding: 0 var(--gutter);
}
.hero-word .label-tag {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(-12px);
  transition: all 0.8s 0.1s var(--ease-out);
}
.hs-slide.is-active .hero-word .label-tag {
  opacity: 1; transform: translateY(0);
}
.hero-word h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  overflow: hidden;
  display: inline-block;
}
.hero-word h2 .ch {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 0.6s ease;
}
.hs-slide.is-active .hero-word h2 .ch {
  transform: translateY(0);
  opacity: 1;
}
.hs-slide.is-active .hero-word h2 .ch:nth-child(1)  { transition-delay: 0.10s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(2)  { transition-delay: 0.16s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(3)  { transition-delay: 0.22s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(4)  { transition-delay: 0.28s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(5)  { transition-delay: 0.34s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(6)  { transition-delay: 0.40s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(7)  { transition-delay: 0.46s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(8)  { transition-delay: 0.52s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(9)  { transition-delay: 0.58s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(10) { transition-delay: 0.64s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(11) { transition-delay: 0.70s; }
.hs-slide.is-active .hero-word h2 .ch:nth-child(12) { transition-delay: 0.76s; }
.hero-word .desc {
  margin-top: 40px;
  font-size: 17px; line-height: 1.5;
  max-width: 50ch;
  color: rgba(255,255,255,0.85);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s 0.85s var(--ease-out);
}
.hs-slide.is-active .hero-word .desc {
  opacity: 1; transform: translateY(0);
}

/* Líneas de Negocio — 4 big tiles */
.lineas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 1100px) { .lineas-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .lineas-grid { grid-template-columns: 1fr; } }

.linea-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--gp-navy-900);
  color: #fff;
  cursor: none;
}
.linea-tile .img-ph {
  width: 100%; height: 100%; border: none;
  transition: transform 1s var(--ease-out);
}
.linea-tile:hover .img-ph { transform: scale(1.08); }

.linea-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,29,51,0.15) 30%, rgba(6,29,51,0.88) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-6);
  transition: background 0.4s;
}
.linea-tile:hover .linea-overlay {
  background: linear-gradient(180deg, rgba(6,29,51,0.55), rgba(6,29,51,0.95));
}
.linea-overlay .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 14px;
}
.linea-overlay h3 {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
.linea-overlay .body {
  margin-top: 20px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s 0.1s;
}
.linea-tile:hover .linea-overlay .body {
  max-height: 240px;
  opacity: 1;
}
.linea-overlay .body p {
  font-size: 14px; line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 0 0 16px;
}
.linea-overlay .body .more {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

/* Minimal section head */
.minimal-head {
  text-align: center;
  padding-bottom: var(--space-7);
}
.minimal-head .num-line {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-3);
}
.minimal-head .num-line::before,
.minimal-head .num-line::after {
  content: ""; width: 40px; height: 1px;
  background: var(--line-strong);
}
.minimal-head h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 24px 0 0;
  text-transform: uppercase;
}
.minimal-head .sub {
  margin: 16px auto 0;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.55;
}

/* Featured project rows — alternating */
.proj-row {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.proj-row:first-child { border-top: 1px solid var(--line); }
.proj-row.is-alt { direction: rtl; }
.proj-row.is-alt > * { direction: ltr; }
@media (max-width: 900px) {
  .proj-row, .proj-row.is-alt { grid-template-columns: 1fr; direction: ltr; }
}
.proj-row .media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--bg-sunken);
}
.proj-row .media .img-ph {
  width: 100%; height: 100%; border: none;
  transition: transform 1s var(--ease-out);
}
.proj-row:hover .media .img-ph { transform: scale(1.05); }
.proj-row .text {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--space-8) var(--space-7);
  gap: 16px;
}
@media (max-width: 900px) { .proj-row .text { padding: var(--space-6); } }
.proj-row .text .meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.proj-row .text h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 0;
  text-wrap: balance;
}
.proj-row .text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
}
.proj-row .text .row-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

/* Certifications */
.cert-band {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-7) 0;
}
.cert-grid {
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 900px) {
  .cert-grid { grid-template-columns: 1fr 1fr; }
}
.cert-grid .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.4;
  border-right: 1px solid var(--line);
  padding-right: var(--space-6);
}
@media (max-width: 900px) {
  .cert-grid .label {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0 0 16px;
    text-align: center;
  }
}
.cert-cell {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 12px;
  text-align: center;
  transition: opacity 0.2s;
  opacity: 0.75;
}
.cert-cell:hover { opacity: 1; }
.cert-cell .badge {
  width: 80px; height: 80px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
}
.cert-cell .badge strong { font-size: 18px; display: block; margin-bottom: 2px; }
.cert-cell .name {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.3;
}

/* Top utility bar (c-malaga style) — minimal alternative to topbar */
.util-bar {
  background: var(--gp-navy-900);
  color: rgba(255,255,255,0.75);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px var(--gutter);
  display: flex; justify-content: flex-end; align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 101;
}
.util-bar a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.util-bar a:hover { color: var(--accent); }
.util-bar a:first-child { margin-right: auto; color: #fff; letter-spacing: 0.14em; }
@media (max-width: 700px) {
  .util-bar { gap: 16px; padding: 10px 16px; font-size: 9px; letter-spacing: 0.12em; }
  .util-bar a:nth-child(3) { display: none; }
}
.has-utilbar .nav { top: 41px; }
@media (max-width: 700px) { .has-utilbar .nav { top: 35px; } }
/* Al hacer scroll, la barra de utilidad desaparece: la nav sube al tope sin dejar hueco */
.has-utilbar .nav--scrolled { top: 0; }
@media (max-width: 700px) { .has-utilbar .nav--scrolled { top: 0; } }

/* Hero CTA at bottom center (minimal feel) */
.hero-cta-bottom {
  position: absolute;
  z-index: 6;
  bottom: 110px;
  left: 0; right: 0;
  display: flex; justify-content: center; gap: 12px;
  pointer-events: none;
}
.hero-cta-bottom .btn { pointer-events: auto; }
.hs-slide.is-active ~ .hero-cta-bottom { opacity: 1; }
@media (max-width: 700px) {
  .hero-cta-bottom { bottom: 100px; flex-wrap: wrap; padding: 0 16px; }
}
