:root {
  /* Paleta blanco y negro */
  --accent: #111111;
  --accent-dark: #000000;
  --black: #111111;
  --gray: #5f5f5f;
  --gray-light: #b8babc;
  --bg: #f4f4f4;
  --bg-light: #e9e9e9;
  --white: #ffffff;
  --line: #d9d9d9;
  --radius: 4px;
  --shadow: 0 14px 36px rgba(0,0,0,.14);
  --maxw: 1180px;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --mono: "Space Mono", ui-monospace, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--black);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.section { position: relative; padding: 100px 0; overflow: hidden; }
.section--alt { background: var(--bg-light); }
.section--dark { background: var(--black); color: #dcdcdc; }
.section--dark h2 { color: var(--white); }
.section--dark .section-head p { color: #b6b2b2; }
.section--dark .eyebrow { color: #9a9a9a; }
.section--dark .section-head h2::after { background: var(--white); }

/* Número gigante de fondo (estilo plano técnico) */
.bg-index {
  position: absolute;
  top: -.18em; right: 2%;
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(9rem, 26vw, 22rem);
  line-height: 1;
  color: rgba(0,0,0,.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.bg-index--light { color: rgba(255,255,255,.05); }
.section .container { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 14px;
  display: block;
}

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 18px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { position: relative; padding-bottom: 18px; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 4px;
  background: var(--accent);
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center h2::after { left: 50%; transform: translateX(-50%); }
.section-head p { color: var(--gray); font-size: 1.05rem; font-family: "Segoe UI", Roboto, Arial, sans-serif; text-transform: none; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
  font-family: var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--light { background: var(--white); color: var(--black); box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.btn--light:hover { background: #e7e7e7; }
.btn--outline { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--whatsapp { background: #25d366; color: var(--white); box-shadow: 0 8px 22px rgba(37,211,102,.35); }
.btn--whatsapp:hover { background: #1ebe5a; }
.btn--whatsapp svg, .btn--primary svg { flex-shrink: 0; }

/* Latido del botón "Pedir presupuesto" */
.btn--beat { animation: btnBeat 1.5s ease-in-out infinite; }
.btn--beat:hover { animation-play-state: paused; }
@keyframes btnBeat {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.07); }
  20% { transform: scale(1); }
  30% { transform: scale(1.05); }
  40% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .btn--beat { animation: none; } }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 16px 0;
}
.header.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,.45); padding: 9px 0; }
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px; height: 2px;
  width: 0%;
  background: var(--white);
  transition: width .1s linear;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-grid; align-items: center; }
.logo img { grid-area: 1 / 1; height: 66px; width: auto; transition: height .25s ease, opacity .25s ease; }
.header.scrolled .logo img { height: 54px; }
.logo .logo-dark { opacity: 0; }

.nav { display: flex; gap: 30px; }
.nav a {
  font-weight: 600;
  font-size: .82rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--white);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--white); transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.burger span { width: 26px; height: 3px; background: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(100%) contrast(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.74) 55%, rgba(10,10,10,.95) 100%);
  z-index: 1;
}
/* Grilla sutil tipo plano sobre el hero */
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 30% 60%, #000, transparent 75%);
}
.hero-content { position: relative; z-index: 2; padding-top: 120px; max-width: 780px; }
.hero-content .eyebrow { color: #cfcfcf; }
.hero-content h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; color: #ececec; margin-bottom: 34px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Rotador de palabras */
.hero-title { display: flex; flex-direction: column; }
.rotator { position: relative; display: block; height: 1.15em; overflow: hidden; color: var(--white); }
.rotator-word {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  opacity: 0; transform: translateY(100%);
  transition: opacity .5s ease, transform .5s ease;
}
.rotator-word.is-active { opacity: 1; transform: translateY(0); }
.rotator-word.is-out { opacity: 0; transform: translateY(-100%); }
.hero-title-static {
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255,255,255,.92);
  letter-spacing: .02em;
}

/* Entrada del hero */
.anim .hero-content > * { opacity: 0; transform: translateY(26px); }
.hero.reveal-in .hero-content > * { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.hero.reveal-in .hero-content > *:nth-child(1) { transition-delay: .05s; }
.hero.reveal-in .hero-content > *:nth-child(2) { transition-delay: .18s; }
.hero.reveal-in .hero-content > *:nth-child(3) { transition-delay: .31s; }
.hero.reveal-in .hero-content > *:nth-child(4) { transition-delay: .44s; }
.anim .hero-stats { opacity: 0; transform: translateY(26px); }
.hero.reveal-in .hero-stats { opacity: 1; transform: none; transition: opacity .7s ease .55s, transform .7s ease .55s; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: transform .8s cubic-bezier(.76,0,.24,1), opacity .5s ease;
}
.preloader.is-hidden { transform: translateY(-100%); }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader-logo {
  width: min(70vw, 420px); height: auto; opacity: 0; transform: scale(.9);
  animation: preloaderLogoIn .9s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes preloaderLogoIn { to { opacity: 1; transform: scale(1); } }
.preloader-bar { position: relative; width: 180px; height: 3px; background: rgba(255,255,255,.15); overflow: hidden; }
.preloader-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--white); animation: preloaderBar 2.2s ease forwards; }
@keyframes preloaderBar { 0% { width: 0; } 100% { width: 100%; } }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 70px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.25); max-width: 920px;
}
.stat-num { font-family: var(--head); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--white); }
.stat-label { font-family: var(--mono); font-size: .72rem; color: #d9d4d4; text-transform: uppercase; letter-spacing: .06em; }

/* Quienes somos */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-figure { position: relative; }
.about-figure img { border-radius: var(--radius); box-shadow: var(--shadow); filter: grayscale(100%); }
.about-figure::before {
  content: ""; position: absolute; left: -14px; top: -14px; width: 70px; height: 70px;
  border-left: 3px solid var(--black); border-top: 3px solid var(--black);
}
.figure-tag {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--black); color: var(--white);
  font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em;
  padding: 6px 12px;
}
.about-text p { color: var(--gray); margin-bottom: 18px; font-size: 1.05rem; }
.about-badge {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  background: var(--accent); color: var(--white);
  padding: 18px 26px; border-radius: var(--radius); margin-top: 10px;
}
.about-badge strong { font-family: var(--head); font-size: 2.4rem; color: var(--white); line-height: 1; }
.about-badge span { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #d9d9d9; margin-top: 4px; }

/* Mision/Vision (flip 3D) */
.mv-section { background: linear-gradient(135deg, #222 0%, #000 100%); position: relative; overflow: hidden; }
.mv-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.mv-logo-wrap { text-align: center; margin-bottom: 46px; position: relative; z-index: 1; }
.mv-logo { height: 76px; width: auto; margin: 0 auto; }
.flip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; position: relative; z-index: 1; }
.flip-card { perspective: 1400px; height: 320px; outline: none; }
.flip-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform .8s cubic-bezier(.7,0,.2,1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner,
.flip-card.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-card:focus-visible .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 42px; border-radius: var(--radius);
}
.flip-front { align-items: flex-start; }
.flip-num { font-family: var(--mono); font-size: .82rem; letter-spacing: .1em; opacity: .55; }
.flip-face h3 { font-size: 2.2rem; margin: 8px 0 18px; }
.flip-hint { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .55; }
.flip-back { transform: rotateY(180deg); }
.flip-back p { font-size: 1.05rem; line-height: 1.7; }
/* dark = frente negro / dorso blanco */
.flip-card--dark .flip-front { background: #0c0c0c; color: var(--white); border: 1px solid rgba(255,255,255,.18); }
.flip-card--dark .flip-back { background: var(--white); color: var(--black); }
/* light = frente blanco / dorso negro */
.flip-card--light .flip-front { background: var(--white); color: var(--black); }
.flip-card--light .flip-back { background: #0c0c0c; color: var(--white); border: 1px solid rgba(255,255,255,.18); }

/* Servicios (wipe + inversión) */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  position: relative; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--black);
  transition: color .35s ease, border-color .35s ease, transform .25s ease;
}
.svc-fill {
  position: absolute; top: 0; bottom: 0; left: 0; width: 135%;
  background: var(--black);
  transform: translateX(-102%) skewX(-9deg); transform-origin: left;
  transition: transform .5s cubic-bezier(.7,0,.2,1);
  z-index: 0;
}
.svc:hover { color: var(--white); border-color: var(--black); transform: translateY(-4px); }
.svc:hover .svc-fill { transform: translateX(-14%) skewX(-9deg); }
.svc-body { position: relative; z-index: 1; padding: 34px 28px 30px; }
.svc-no { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; opacity: .5; }
.svc-icon { display: block; width: 44px; height: 44px; margin: 14px 0 16px; }
.svc-icon svg { width: 100%; height: 100%; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.svc:hover .svc-icon svg { transform: scale(1.12) rotate(-6deg); }
.svc h3 { font-size: 1.35rem; margin-bottom: 10px; }
.svc p { font-size: .95rem; line-height: 1.6; opacity: .92; }

/* Entrada en cascada de los servicios */
.anim .services-grid .svc.in { animation: cardIn .6s cubic-bezier(.22,1,.36,1) backwards; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.anim .services-grid .svc:nth-child(1).in { animation-delay: .00s; }
.anim .services-grid .svc:nth-child(2).in { animation-delay: .08s; }
.anim .services-grid .svc:nth-child(3).in { animation-delay: .16s; }
.anim .services-grid .svc:nth-child(4).in { animation-delay: .24s; }
.anim .services-grid .svc:nth-child(5).in { animation-delay: .32s; }
.anim .services-grid .svc:nth-child(6).in { animation-delay: .40s; }

/* Proceso */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 6px; }
.step-head { display: flex; align-items: center; margin-bottom: 18px; position: relative; }
.step-no {
  width: 58px; height: 58px; flex-shrink: 0;
  border: 2px solid var(--black); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 700; font-size: 1.35rem;
  background: var(--bg); position: relative; z-index: 1;
  transition: background .3s ease, color .3s ease;
}
.step-head::after {
  content: ""; position: absolute; left: 58px; right: -28px; top: 29px; height: 2px;
  background: var(--line); z-index: 0;
}
.step:last-child .step-head::after { display: none; }
.step-icon { position: absolute; top: 0; right: 0; width: 40px; height: 40px; color: var(--black); opacity: .16; transition: opacity .3s ease; }
.step-icon svg { width: 100%; height: 100%; }
.step:hover .step-no { background: var(--black); color: var(--white); }
.step:hover .step-icon { opacity: .5; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--gray); font-size: .95rem; }
.anim .process-grid .step.in { animation: cardIn .6s cubic-bezier(.22,1,.36,1) backwards; }
.anim .process-grid .step:nth-child(1).in { animation-delay: .00s; }
.anim .process-grid .step:nth-child(2).in { animation-delay: .10s; }
.anim .process-grid .step:nth-child(3).in { animation-delay: .20s; }
.anim .process-grid .step:nth-child(4).in { animation-delay: .30s; }

/* Obras */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.project-card--wide { grid-column: span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; filter: grayscale(100%); }
.project-card:hover img { transform: scale(1.06); }
.project-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(8,8,8,.92));
  color: var(--white); padding: 54px 22px 18px;
}
.project-info .tag {
  display: inline-block; background: var(--white); color: var(--black);
  font-family: var(--mono); font-size: .68rem; font-weight: 700; text-transform: uppercase;
  padding: 3px 10px; margin-bottom: 10px; letter-spacing: .05em;
}
.project-info h3 { font-size: 1.2rem; }

/* Por qué elegirnos */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card {
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius);
  padding: 32px 26px; background: rgba(255,255,255,.02);
  transition: transform .25s ease, border-color .25s ease;
}
.why-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--white); transform: scaleY(0); transform-origin: bottom; transition: transform .35s ease;
}
.why-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.4); }
.why-card:hover::before { transform: scaleY(1); }
.why-no { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: #9a9a9a; }
.why-icon { display: block; width: 42px; height: 42px; margin: 14px 0 16px; color: var(--white); }
.why-icon svg { width: 100%; height: 100%; }
.why-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--white); }
.why-card p { color: #bdbdbd; font-size: .95rem; }
.anim .why-grid .why-card.in { animation: cardIn .6s cubic-bezier(.22,1,.36,1) backwards; }
.anim .why-grid .why-card:nth-child(1).in { animation-delay: .00s; }
.anim .why-grid .why-card:nth-child(2).in { animation-delay: .10s; }
.anim .why-grid .why-card:nth-child(3).in { animation-delay: .20s; }
.anim .why-grid .why-card:nth-child(4).in { animation-delay: .30s; }

/* Sectores (flip) */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flip-card--sector { height: 260px; }
.flip-card--sector .flip-front { align-items: center; justify-content: center; text-align: center; }
.flip-card--sector .flip-back { align-items: center; justify-content: center; text-align: center; }
.flip-card--sector .flip-face h3 { font-size: 1.5rem; margin: 0; }
.flip-card--sector .flip-back p { font-size: 1rem; }
.flip-ico { width: 46px; height: 46px; margin-bottom: 16px; }
.flip-ico svg { width: 100%; height: 100%; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--head); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 1.5rem; line-height: 1; transition: transform .25s ease; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { padding: 0 4px 22px; color: var(--gray); max-width: 92%; }

/* Contacto */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info p { color: var(--gray); margin-bottom: 30px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-item .ic {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.contact-item strong { display: block; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.contact-item span, .contact-item a { color: var(--gray); }

.contact-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; border-top: 4px solid var(--black); }
.field { position: relative; margin-bottom: 22px; }
.field input, .field textarea {
  width: 100%; padding: 16px 14px 8px; border: 1px solid var(--line); border-radius: 4px;
  font-family: inherit; font-size: .95rem; background: transparent; resize: vertical;
}
.field label {
  position: absolute; left: 14px; top: 14px;
  font-family: var(--mono); font-size: .82rem; color: var(--gray);
  pointer-events: none; transition: transform .18s ease, font-size .18s ease, color .18s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-12px); font-size: .64rem; color: var(--black); letter-spacing: .06em;
}
.contact-form button { width: 100%; justify-content: center; }
.form-note { font-family: var(--mono); font-size: .72rem; color: var(--gray); margin-top: 12px; text-align: center; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 99;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Footer */
.footer { background: var(--black); color: var(--gray-light); padding: 54px 0 24px; text-align: center; border-top: 4px solid var(--white); }
.footer .logo { justify-content: center; margin-bottom: 16px; }
.footer .logo img { height: 60px; margin: 0 auto; }
.footer-links { display: flex; justify-content: center; gap: 26px; margin: 18px 0; flex-wrap: wrap; }
.footer-links a { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.footer-bottom { font-family: var(--mono); font-size: .72rem; color: #8a8888; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }

/* Reveal animation */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.anim .reveal { opacity: 0; transform: translateY(24px); }
.anim .reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .flip-grid, .contact-wrap { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
  .step-head::after { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card--wide { grid-column: span 2; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--wide { grid-column: span 1; }
  .section { padding: 64px 0; }
  .flip-card { height: 300px; }
}

.nav.open {
  display: flex; position: absolute; top: 64px; left: 0; right: 0;
  background: var(--black); flex-direction: column; padding: 20px 24px;
  box-shadow: 0 10px 20px rgba(0,0,0,.35); border-top: 1px solid rgba(255,255,255,.08);
}
.nav.open a { color: var(--white); padding: 10px 0; }
