@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #06080f;
  --navy:    #0d1120;
  --card:    #111827;
  --border:  rgba(255,255,255,0.07);
  --primary: #e8391c;
  --primary2: #ff6b35;
  --white:   #f4f6fa;
  --muted:   #6b7280;
  --whatsapp: #25d366;
  --radius:  1rem;
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  /* Alias variables */
  --foreground: #f4f6fa;
  --muted-foreground: rgba(244,246,250,0.45);
}

html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.1; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: none; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(232,57,28,0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}
.cursor-ring.hover { transform: translate(-50%,-50%) scale(1.8); border-color: var(--primary); background: rgba(232,57,28,0.08); }

/* ===== LOADING SCREEN ===== */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem;
}
.loader__logo { font-family: var(--font-head); font-size: 2.5rem; font-weight: 900; letter-spacing: -0.02em; }
.loader__logo span { color: var(--primary); }
.loader__bar { width: 200px; height: 2px; background: rgba(255,255,255,0.08); border-radius: 9999px; overflow: hidden; }
.loader__bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--primary2)); border-radius: 9999px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  padding: 1.25rem 0;
  transition: all 0.4s;
}
.navbar.scrolled {
  background: rgba(6,8,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; }
.navbar__brand { display: flex; align-items: center; gap: 0.75rem; }
.navbar__logo { height: 2.75rem; width: auto; }
.navbar__brand-text { display: flex; flex-direction: column; }
.navbar__brand-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--white); line-height: 1.1; }
.navbar__brand-sub { font-size: 0.5rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.25em; color: var(--muted); }

.navbar__links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .navbar__links { display: flex; } }
.navbar__link {
  position: relative; padding: 0.5rem 1.1rem;
  font-size: 0.875rem; font-weight: 500; color: rgba(244,246,250,0.6);
  border-radius: 0.5rem; transition: color 0.2s;
}
.navbar__link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 1.5px; background: var(--primary); border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.navbar__link:hover, .navbar__link.active { color: var(--white); }
.navbar__link:hover::after, .navbar__link.active::after { left: 1.1rem; right: 1.1rem; }

.navbar__actions { display: none; align-items: center; gap: 1rem; }
@media (min-width: 1024px) { .navbar__actions { display: flex; } }
.navbar__phone { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: rgba(244,246,250,0.5); transition: color 0.2s; }
.navbar__phone svg { width: 1rem; height: 1rem; }
.navbar__phone:hover { color: var(--white); }

.navbar__toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--white); transition: background 0.2s;
}
.navbar__toggle svg { width: 1.25rem; height: 1.25rem; }
.navbar__toggle:hover { background: rgba(255,255,255,0.1); }
.navbar__toggle .icon-close { display: none; }
.navbar__toggle.open .icon-menu { display: none; }
.navbar__toggle.open .icon-close { display: block; }
@media (min-width: 1024px) { .navbar__toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--black); padding-top: 5rem;
  flex-direction: column;
}
.mobile-menu.open { display: flex; animation: fadeIn 0.2s ease; }
.mobile-menu__inner { padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu__link { padding: 1rem 1.25rem; font-size: 1.5rem; font-weight: 700; color: rgba(244,246,250,0.5); border-radius: var(--radius); transition: all 0.2s; }
.mobile-menu__link:hover, .mobile-menu__link.active { color: var(--white); background: rgba(232,57,28,0.1); }
.mobile-menu__actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  border-radius: 0.75rem; border: none; text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  position: relative; overflow: hidden; white-space: nowrap;
  padding: 0.875rem 1.75rem; line-height: 1;
}
.btn svg { width: 1rem; height: 1rem; }
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.btn:hover::before { transform: translateX(0); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lg { height: 3.5rem; padding: 0 2.25rem; font-size: 1rem; }
.btn-lg svg { width: 1.25rem; height: 1.25rem; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 32px rgba(232,57,28,0.35); }
.btn-primary:hover { box-shadow: 0 16px 48px rgba(232,57,28,0.5); }

.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }

.btn-glass {
  background: rgba(255,255,255,0.06); color: var(--white);
  border: 1.5px solid var(--border); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 32px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { box-shadow: 0 16px 48px rgba(37,211,102,0.45); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,8,15,0.97) 0%, rgba(6,8,15,0.88) 40%, rgba(6,8,15,0.55) 70%, rgba(6,8,15,0.3) 100%);
}
.hero__gradient2 {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--black) 100%);
}

/* Noise grain overlay */
.hero__noise {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Animated grid lines */
.hero__grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 80px 80px; } }

/* Glow blobs */
.hero__blob1 {
  position: absolute; top: 15%; right: 10%; width: 500px; height: 500px;
  border-radius: 50%; filter: blur(100px); pointer-events: none;
  background: radial-gradient(circle, rgba(232,57,28,0.18), transparent 70%);
  animation: blobFloat 8s ease-in-out infinite;
  overflow: clip;
}
.hero__blob2 {
  position: absolute; bottom: 20%; left: 5%; width: 350px; height: 350px;
  border-radius: 50%; filter: blur(80px); pointer-events: none;
  background: radial-gradient(circle, rgba(255,107,53,0.12), transparent 70%);
  animation: blobFloat 10s ease-in-out infinite reverse;
}
@keyframes blobFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-30px) scale(1.05)} }

.hero__content { position: relative; z-index: 10; width: 100%; padding: 7rem 0 5rem; }

/* ---- Animaciones CSS del hero ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* forwards (no both) → elementos son VISIBLES por defecto antes de que arranque la animación */
.hero__badge   { animation: heroFadeUp 0.55s 0.05s cubic-bezier(0.22,1,0.36,1) forwards; }
.hero__title   { animation: heroFadeUp 0.7s  0.15s cubic-bezier(0.22,1,0.36,1) forwards; }
.hero__desc    { animation: heroFadeUp 0.65s 0.3s  cubic-bezier(0.22,1,0.36,1) forwards; }
.hero__actions { animation: heroFadeUp 0.65s 0.4s  cubic-bezier(0.22,1,0.36,1) forwards; }
.hero__scroll  { animation: heroFadeUp 0.5s  0.65s ease forwards; }

/* Estado inicial de los elementos animados */
.hero__badge, .hero__title, .hero__desc, .hero__actions, .hero__scroll {
  opacity: 0;
}

/* Badge pill */
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  background: rgba(232,57,28,0.12); border: 1px solid rgba(232,57,28,0.25);
  border-radius: 9999px; margin-bottom: 1.5rem;
  font-size: 0.75rem; font-weight: 600; color: rgba(244,246,250,0.8);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.hero__badge-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: #fff; flex-shrink: 0;
}
.hero__badge-dot svg { width: 0.875rem; height: 0.875rem; }

/* Title */
.hero__title {
  font-size: clamp(2rem, 4.5vw, 5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--white); max-width: 800px; margin-bottom: 1.25rem;
}
.hero__title .line { display: block; }
.hero__title .word { display: inline-block; }
.hero__title .accent { color: transparent; -webkit-text-stroke: 2px var(--primary); }
.hero__title .fill { background: linear-gradient(135deg, var(--primary), var(--primary2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero__desc {
  font-size: 1.0625rem; color: rgba(244,246,250,0.55); max-width: 520px; line-height: 1.75;
  margin-bottom: 2rem; font-weight: 400;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; align-items: center; position: relative; z-index: 10; }

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(244,246,250,0.3); z-index: 10;
}
.hero__scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, transparent, var(--primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{opacity:0;transform:scaleY(0.5)} 50%{opacity:1;transform:scaleY(1)} }

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--navy); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-strip__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stats-strip__grid { grid-template-columns: repeat(4, 1fr); } }
.stats-strip__item {
  padding: 2.5rem 2rem; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.5rem;
  position: relative; overflow: hidden;
}
.stats-strip__item:last-child { border-right: none; }
@media (max-width: 767px) { .stats-strip__item:nth-child(2) { border-right: none; } }
.stats-strip__item::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.stats-strip__item:hover::before { transform: scaleX(1); }
.stats-strip__num {
  font-family: var(--font-head); font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 900; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-variant-numeric: tabular-nums;
}
.stats-strip__label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); }

/* ===== MARQUEE ===== */
.marquee-section { overflow: hidden; padding: 1.5rem 0; border-bottom: 1px solid var(--border); background: var(--navy); }
.marquee-label { text-align: center; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.35em; color: rgba(107,114,128,0.5); margin-bottom: 1rem; }
.marquee-track-wrap { position: relative; overflow: hidden; }
.marquee-track-wrap::before, .marquee-track-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 1; }
.marquee-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee-track-wrap::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.marquee-track { display: flex; width: max-content; gap: 4rem; animation: marquee 25s linear infinite; will-change: transform; }
.marquee-name { font-family: var(--font-head); font-size: 0.875rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.12); white-space: nowrap; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== SERVICES SECTION ===== */
.section { padding: 6rem 0; }
.section--xl { padding: 8rem 0; }
@media (min-width: 1024px) { .section { padding: 8rem 0; } .section--xl { padding: 10rem 0; } }

.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--primary); margin-bottom: 1.25rem;
}
.section-tag::before { content: ''; width: 20px; height: 1.5px; background: var(--primary); }

.section-title {
  font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.05; color: var(--white);
}
.section-title span { background: linear-gradient(135deg, var(--primary), var(--primary2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { color: rgba(244,246,250,0.5); font-size: 1.0625rem; line-height: 1.8; max-width: 36rem; margin-top: 1rem; }

/* Service cards */
.services-grid { display: grid; gap: 1.5px; margin-top: 5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  position: relative; overflow: hidden; min-height: 420px;
  cursor: none;
}
@media (min-width: 1024px) { .service-card { min-height: 500px; } }

.service-card__bg { position: absolute; inset: 0; }
.service-card__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.service-card:hover .service-card__bg img { transform: scale(1.08); }

.service-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(6,8,15,0.3) 0%, rgba(6,8,15,0.7) 50%, rgba(6,8,15,0.95) 100%);
  transition: background 0.5s;
}
.service-card:hover .service-card__overlay { background: linear-gradient(160deg, rgba(6,8,15,0.5) 0%, rgba(6,8,15,0.8) 50%, rgba(6,8,15,0.97) 100%); }

.service-card__content {
  position: relative; z-index: 1; height: 100%; min-height: inherit;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.5rem;
}

.service-card__num {
  font-family: var(--font-head); font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,0.04); line-height: 1;
  position: absolute; top: 1.5rem; right: 2rem;
  letter-spacing: -0.05em;
}

.service-card__icon-wrap {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: rgba(232,57,28,0.15); border: 1px solid rgba(232,57,28,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin-bottom: 1.25rem;
  transition: all 0.3s; flex-shrink: 0;
}
.service-card__icon-wrap svg { width: 1.375rem; height: 1.375rem; }
.service-card:hover .service-card__icon-wrap { background: var(--primary); border-color: var(--primary); color: #fff; }

.service-card__title { font-size: 1.375rem; font-weight: 800; color: #fff; margin-bottom: 0.625rem; letter-spacing: -0.02em; }
.service-card__desc { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 320px; transition: color 0.3s; }
.service-card:hover .service-card__desc { color: rgba(255,255,255,0.65); }

.service-card__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem; font-size: 0.875rem; font-weight: 600;
  color: var(--primary); transition: gap 0.3s;
}
.service-card:hover .service-card__link { gap: 0.875rem; }
.service-card__link svg { width: 1rem; height: 1rem; }

/* ===== WHY US ===== */
.why-bg { background: var(--navy); }

.why-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 1.5rem; overflow: hidden; margin-top: 5rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-item {
  background: var(--navy); padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: background 0.3s; position: relative; overflow: hidden;
}
.why-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.why-item:hover::before { transform: scaleX(1); }
.why-item:hover { background: rgba(232,57,28,0.04); }

.why-item__icon {
  width: 3.25rem; height: 3.25rem; border-radius: 0.875rem;
  background: rgba(232,57,28,0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.why-item__icon svg { width: 1.5rem; height: 1.5rem; }
.why-item:hover .why-item__icon { background: var(--primary); color: #fff; transform: scale(1.05); }
.why-item__title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.why-item__desc { font-size: 0.875rem; color: rgba(244,246,250,0.45); line-height: 1.7; }

/* ===== PROJECTS ===== */
.projects-grid { display: grid; gap: 1.25rem; margin-top: 5rem; }
@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  border-radius: 1.25rem; overflow: hidden;
  background: var(--card); border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
  display: block;
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(232,57,28,0.3); box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,57,28,0.1); }

.project-card__img { aspect-ratio: 16/10; overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.project-card:hover .project-card__img img { transform: scale(1.06); }

.project-card__body { padding: 1.5rem; }
.project-card__type { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); margin-bottom: 0.375rem; }
.project-card__name { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; transition: color 0.2s; }
.project-card:hover .project-card__name { color: var(--primary); }
.project-card__desc { font-size: 0.875rem; color: rgba(244,246,250,0.4); line-height: 1.6; margin-bottom: 0.875rem; }
.project-card__loc { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: rgba(244,246,250,0.3); }
.project-card__loc svg { width: 0.75rem; height: 0.75rem; }

/* ===== CTA ===== */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0e0507, #130a04);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(232,57,28,0.12), transparent);
}
.cta-grid { position: relative; z-index: 1; display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .cta-grid { grid-template-columns: 1fr 1fr; } }

.cta-title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.cta-title span { color: var(--primary); }
.cta-desc { margin-top: 1.25rem; color: rgba(244,246,250,0.5); font-size: 1.0625rem; line-height: 1.8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.cta-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 1.25rem; padding: 2rem; backdrop-filter: blur(10px);
}
.cta-card__icon { width: 3rem; height: 3rem; border-radius: 0.75rem; background: rgba(232,57,28,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.cta-card__icon svg { width: 1.375rem; height: 1.375rem; }
.cta-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.cta-card__val { font-size: 0.875rem; color: rgba(244,246,250,0.45); }

/* ===== FOOTER ===== */
.footer { background: #03040a; border-top: 1px solid var(--border); }
.footer__inner { padding: 5rem 0 3rem; }
.footer__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 5fr 2fr 3fr 3fr; } }

.footer__brand-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer__brand-logo img { height: 2.75rem; width: auto; }
.footer__brand-logo span { font-family: var(--font-head); font-size: 1.25rem; font-weight: 900; }
.footer__desc { font-size: 0.875rem; color: rgba(244,246,250,0.35); line-height: 1.8; max-width: 22rem; margin-bottom: 2rem; }

.footer__head { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(244,246,250,0.2); margin-bottom: 1.5rem; }
.footer__nav { display: flex; flex-direction: column; gap: 0.875rem; }
.footer__nav a { font-size: 0.9rem; color: rgba(244,246,250,0.4); transition: color 0.2s; }
.footer__nav a:hover { color: var(--white); }

.footer__benefits { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__benefit { padding: 0.625rem 1rem; font-size: 0.8125rem; font-weight: 500; color: rgba(244,246,250,0.35); border: 1px solid rgba(255,255,255,0.06); border-radius: 0.625rem; }

.footer__contact { display: flex; flex-direction: column; gap: 1.125rem; }
.footer__contact-item { display: flex; align-items: center; gap: 0.875rem; }
.footer__contact-icon { width: 2.25rem; height: 2.25rem; border-radius: 0.625rem; background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); }
.footer__contact-icon svg { width: 1rem; height: 1rem; }
.footer__contact-text { font-size: 0.875rem; color: rgba(244,246,250,0.4); transition: color 0.2s; }
.footer__contact-text:hover { color: var(--white); }
.footer__contact-item.start { align-items: flex-start; }

.footer__bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.04); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer__bottom p { font-size: 0.8125rem; color: rgba(244,246,250,0.2); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 200;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  animation: waPulse 2.5s ease-in-out infinite;
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.12); }
.wa-float svg { width: 1.5rem; height: 1.5rem; }
@keyframes waPulse { 0%,100%{box-shadow:0 8px 32px rgba(37,211,102,0.4)} 50%{box-shadow:0 8px 32px rgba(37,211,102,0.4),0 0 0 14px rgba(37,211,102,0)} }

/* ===== INNER PAGES HERO ===== */
.page-hero {
  position: relative; min-height: 55vh; display: flex; align-items: flex-end;
  overflow: hidden; padding-bottom: 5rem;
}
.page-hero--sm { min-height: 45vh; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,8,15,0.6) 0%, rgba(6,8,15,0.95) 100%); }
.page-hero__content { position: relative; z-index: 1; padding-top: 7rem; }
.page-hero__label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.page-hero__label::before { content: ''; width: 20px; height: 1.5px; background: var(--primary); }
.page-hero__title { font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.0; max-width: 800px; }
.page-hero__title .fill { background: linear-gradient(135deg, var(--primary), var(--primary2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero__desc { margin-top: 1.25rem; max-width: 500px; font-size: 1.0625rem; color: rgba(244,246,250,0.5); line-height: 1.8; }

/* ===== STATS BAR (light, for nosotros) ===== */
.stats-bar { background: var(--navy); border-bottom: 1px solid var(--border); }
.stats-bar__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats-bar__grid { grid-template-columns: repeat(4, 1fr); } }
.stats-bar__item { padding: 2rem 1.5rem; border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 0.375rem; }
.stats-bar__item:last-child { border-right: none; }
@media (max-width: 767px) { .stats-bar__item:nth-child(2) { border-right: none; } }
.stats-bar__num { font-family: var(--font-head); font-size: 2.25rem; font-weight: 900; color: var(--primary); letter-spacing: -0.03em; }
.stats-bar__label { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); }

/* ===== TWO-COL LAYOUT ===== */
.two-col { display: grid; gap: 4rem; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 3.5rem; }
.timeline::before { content: ''; position: absolute; left: 1.25rem; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--primary), transparent); }
.timeline__item { position: relative; margin-bottom: 2.25rem; }
.timeline__dot { position: absolute; left: -2.8rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(232,57,28,0.1); border: 1px solid rgba(232,57,28,0.25); display: flex; align-items: center; justify-content: center; }
.timeline__year { font-size: 0.5625rem; font-weight: 800; color: var(--primary); }
.timeline__title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.375rem; letter-spacing: -0.01em; }
.timeline__desc { font-size: 0.875rem; color: rgba(244,246,250,0.45); line-height: 1.7; }

/* ===== VALUE CARDS ===== */
.values-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.25rem; padding: 2rem; transition: all 0.4s; }
.value-card:hover { border-color: rgba(232,57,28,0.25); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.value-card__icon { width: 3.25rem; height: 3.25rem; border-radius: 0.875rem; background: rgba(232,57,28,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: all 0.3s; }
.value-card__icon svg { width: 1.5rem; height: 1.5rem; }
.value-card:hover .value-card__icon { background: var(--primary); color: #fff; }
.value-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.value-card__desc { font-size: 0.875rem; color: rgba(244,246,250,0.4); line-height: 1.7; }

/* ===== TEAM CARD ===== */
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; padding: 2.5rem; text-align: center; }
@media (min-width: 1024px) { .team-card { padding: 3.5rem; } }
.team-card__icon { width: 5rem; height: 5rem; border-radius: 1.25rem; background: rgba(232,57,28,0.1); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.team-card__icon svg { width: 2.5rem; height: 2.5rem; }
.team-card__name { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.team-card__role { font-size: 0.875rem; color: var(--primary); font-weight: 600; margin-bottom: 1.25rem; }
.team-card__bio { font-size: 0.9375rem; color: rgba(244,246,250,0.45); line-height: 1.8; max-width: 36rem; margin: 0 auto 2rem; }
.team-card__tags { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .team-card__tags { grid-template-columns: repeat(3,1fr); } }
.team-card__tag { display: flex; align-items: center; gap: 0.625rem; padding: 0.75rem 1rem; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 0.75rem; font-size: 0.8125rem; font-weight: 500; color: rgba(244,246,250,0.6); }
.team-card__tag svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; }

/* ===== TRAINING CARD ===== */
.training-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; padding: 2.5rem; }
@media (min-width: 1024px) { .training-card { padding: 3rem; } }
.training-card__icon { width: 3.5rem; height: 3.5rem; border-radius: 0.875rem; background: rgba(232,57,28,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.training-card__icon svg { width: 1.75rem; height: 1.75rem; }
.training-card__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.875rem; }
.training-card__desc { font-size: 0.9375rem; color: rgba(244,246,250,0.4); line-height: 1.8; margin-bottom: 1.5rem; }
.training-card__list { display: flex; flex-direction: column; gap: 0.875rem; }
.training-card__item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: rgba(244,246,250,0.55); }
.training-card__item svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; }

/* ===== CHECK LIST ===== */
.check-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.check-list__item { display: flex; align-items: flex-start; gap: 0.875rem; font-size: 0.9rem; color: rgba(244,246,250,0.65); }
.check-list__item svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; margin-top: 0.1rem; }

/* ===== AVAILABILITY ===== */
.availability { text-align: center; max-width: 48rem; margin: 0 auto; }
.availability__icon { width: 4.5rem; height: 4.5rem; border-radius: 1.25rem; background: rgba(232,57,28,0.1); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.75rem; }
.availability__icon svg { width: 2.25rem; height: 2.25rem; }
.availability__title { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.availability__desc { font-size: 1.0625rem; color: rgba(244,246,250,0.45); line-height: 1.8; max-width: 36rem; margin: 0 auto 1rem; }

/* ===== SERVICE DETAIL ===== */
.service-detail-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; overflow: hidden; }
.service-detail-grid { display: grid; }
@media (min-width: 1024px) { .service-detail-grid { grid-template-columns: 1fr 1fr; } }
.service-detail-grid--rev .service-detail-img { order: 0; }
@media (min-width: 1024px) { .service-detail-grid--rev .service-detail-img { order: 2; } .service-detail-grid--rev .service-detail-body { order: 1; } }
.service-detail-img { aspect-ratio: 16/9; overflow: hidden; }
@media (min-width: 1024px) { .service-detail-img { aspect-ratio: auto; } }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.service-detail-card:hover .service-detail-img img { transform: scale(1.04); }
.service-detail-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .service-detail-body { padding: 3.5rem; } }
.service-detail-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; background: rgba(232,57,28,0.1); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.service-detail-icon svg { width: 1.5rem; height: 1.5rem; }
.service-detail-title { font-size: clamp(1.375rem, 2.5vw, 2rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 0.875rem; }
.service-detail-desc { font-size: 0.9375rem; color: rgba(244,246,250,0.45); margin-bottom: 1.75rem; line-height: 1.8; }
.service-detail-list { display: flex; flex-direction: column; gap: 0.75rem; }
.service-detail-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: rgba(244,246,250,0.6); }
.service-detail-item svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; margin-top: 0.2rem; }

/* ===== MATERIALS ===== */
.materials-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.75rem; height: 100%; }
.materials-card__title { display: flex; align-items: center; gap: 0.625rem; font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.materials-card__title svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.materials-card__list { display: flex; flex-direction: column; gap: 0.625rem; }
.materials-card__item { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: rgba(244,246,250,0.4); }
.materials-card__item svg { width: 0.875rem; height: 0.875rem; color: rgba(232,57,28,0.5); flex-shrink: 0; margin-top: 0.2rem; }

/* ===== ACCORDION ===== */
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.375rem 0; font-size: 1rem; font-weight: 600; text-align: left; background: none; border: none; color: var(--white); gap: 1rem; cursor: none; font-family: var(--font-body); }
.accordion__trigger svg { width: 1.25rem; height: 1.25rem; color: var(--muted); transition: transform 0.3s; flex-shrink: 0; }
.accordion__item.open .accordion__trigger svg { transform: rotate(180deg); color: var(--primary); }
.accordion__item.open .accordion__trigger { color: var(--primary); }
.accordion__content { display: none; padding-bottom: 1.5rem; font-size: 0.9375rem; color: rgba(244,246,250,0.45); line-height: 1.8; }
.accordion__item.open .accordion__content { display: block; }

/* ===== GUIDE ===== */
.guide-header { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.guide-icon { width: 3.25rem; height: 3.25rem; border-radius: 0.875rem; background: rgba(232,57,28,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.guide-icon svg { width: 1.5rem; height: 1.5rem; }
.guide-section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: -0.02em; }
.guide-section { margin-bottom: 5rem; }
.guide-type-card { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; }
.guide-type-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.375rem; }
.guide-type-card__desc { font-size: 0.875rem; color: rgba(244,246,250,0.4); }
.guide-cta { background: linear-gradient(135deg, var(--card), rgba(232,57,28,0.06)); border: 1px solid rgba(232,57,28,0.15); border-radius: 1.5rem; padding: 3rem; text-align: center; }
.guide-cta__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 1rem; }
.guide-cta__desc { color: rgba(244,246,250,0.45); margin-bottom: 2rem; line-height: 1.8; }
.norm-list { list-style: disc; padding-left: 1.5rem; display: flex; flex-direction: column; gap: 0.875rem; color: rgba(244,246,250,0.45); }
.norm-list strong { color: var(--white); }

/* ===== FORM ===== */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; padding: 2.5rem; }
.form__grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.form__group { margin-bottom: 1.5rem; }
.form__label { display: block; font-size: 0.875rem; font-weight: 600; color: rgba(244,246,250,0.7); margin-bottom: 0.625rem; }
.form__input, .form__textarea, .form__select {
  width: 100%; padding: 0 1.125rem; height: 3.25rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 0.75rem; color: var(--white); font-size: 0.9375rem;
  font-family: var(--font-body); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; appearance: none;
}
.form__input::placeholder, .form__textarea::placeholder { color: rgba(244,246,250,0.2); }
.form__input:focus, .form__textarea:focus, .form__select:focus { border-color: rgba(232,57,28,0.5); box-shadow: 0 0 0 3px rgba(232,57,28,0.1); background: rgba(255,255,255,0.06); }
.form__textarea { height: auto; min-height: 8rem; padding: 1rem 1.125rem; resize: vertical; }
.form__select option { background: var(--navy); color: var(--white); }
.form__actions { display: flex; flex-wrap: wrap; gap: 1rem; padding-top: 0.5rem; }
.form__actions .btn { flex: 1; min-width: 160px; }

.cotizacion-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .cotizacion-layout { grid-template-columns: 2fr 1fr; } }
.contact-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; }
.contact-card__icon { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: rgba(232,57,28,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card__icon svg { width: 1.25rem; height: 1.25rem; }
.contact-card__title { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.25rem; }
.contact-card__val { font-size: 0.875rem; color: rgba(244,246,250,0.4); }

.success-screen { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 5rem 1.5rem; }
.success-icon { width: 6rem; height: 6rem; border-radius: 1.5rem; background: rgba(232,57,28,0.1); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 2rem; }
.success-icon svg { width: 3rem; height: 3rem; }
.success-title { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 0.875rem; }
.success-desc { font-size: 1.125rem; color: rgba(244,246,250,0.45); line-height: 1.8; max-width: 28rem; margin: 0 auto 2rem; }

/* ===== GRIDS ===== */
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.mt-lg { margin-top: 5rem; }
.bg-navy { background: var(--navy); }
@keyframes fadeIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

/* History */
.history-text { display: flex; flex-direction: column; gap: 1.125rem; color: rgba(244,246,250,0.45); font-size: 0.9375rem; line-height: 1.85; }
.history-text strong { color: var(--white); font-weight: 600; }

/* ============================================================
   GALLERY / TRABAJOS
   ============================================================ */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.625rem;
  margin: 3rem 0 3.5rem;
}
.filter-btn {
  padding: 0.625rem 1.375rem; border-radius: 9999px;
  border: 1px solid var(--border); background: transparent;
  color: rgba(244,246,250,0.5); font-size: 0.875rem; font-weight: 600;
  font-family: var(--font-body); transition: all 0.25s; cursor: none;
}
.filter-btn:hover { border-color: rgba(232,57,28,0.4); color: var(--white); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(232,57,28,0.35); }

.gallery-grid {
  columns: 3; column-gap: 1.25rem;
}
@media (max-width: 1023px) { .gallery-grid { columns: 2; } }
@media (max-width: 639px)  { .gallery-grid { columns: 1; } }

.gallery-card {
  position: relative; display: block;
  break-inside: avoid; margin-bottom: 1.25rem;
  border-radius: 1.125rem; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: none;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.gallery-card:hover {
  border-color: rgba(232,57,28,0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(232,57,28,0.12);
  transform: translateY(-4px);
}

/* Corner frame decorations */
.gallery-card .corner {
  position: absolute; width: 18px; height: 18px; z-index: 3;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-card:hover .corner { opacity: 1; }
.gallery-card .corner.tl { top: 10px; left: 10px; border-top: 2px solid var(--primary); border-left: 2px solid var(--primary); border-radius: 3px 0 0 0; }
.gallery-card .corner.tr { top: 10px; right: 10px; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); border-radius: 0 3px 0 0; }
.gallery-card .corner.bl { bottom: 10px; left: 10px; border-bottom: 2px solid var(--primary); border-left: 2px solid var(--primary); border-radius: 0 0 0 3px; }
.gallery-card .corner.br { bottom: 10px; right: 10px; border-bottom: 2px solid var(--primary); border-right: 2px solid var(--primary); border-radius: 0 0 3px 0; }

.gallery-card__img {
  position: relative; overflow: hidden; display: block;
}
.gallery-card__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.gallery-card:hover .gallery-card__img img { transform: scale(1.07); }

/* Inner glow frame on image */
.gallery-card__img::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.06);
  border-radius: inherit; pointer-events: none; z-index: 1;
  transition: box-shadow 0.3s;
}
.gallery-card:hover .gallery-card__img::after {
  box-shadow: inset 0 0 0 2px rgba(232,57,28,0.2);
}

/* Overlay on hover */
.gallery-card__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 30%, rgba(6,8,15,0.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; opacity: 0; transition: opacity 0.35s;
}
.gallery-card:hover .gallery-card__overlay { opacity: 1; }

.gallery-card__cat {
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--primary); margin-bottom: 0.375rem;
}
.gallery-card__title {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.01em;
}
.gallery-card__zoom {
  position: absolute; top: 1rem; right: 1rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(232,57,28,0.9); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.7); transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.gallery-card:hover .gallery-card__zoom { transform: scale(1); }
.gallery-card__zoom svg { width: 1.1rem; height: 1.1rem; }

/* Category badge (always visible) */
.gallery-card__badge {
  position: absolute; top: 0.875rem; left: 0.875rem; z-index: 4;
  padding: 0.3rem 0.75rem; border-radius: 9999px;
  background: rgba(6,8,15,0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: rgba(244,246,250,0.7);
}

/* Empty gallery placeholder */
.gallery-empty {
  grid-column: 1 / -1; text-align: center;
  padding: 5rem 2rem; color: var(--muted);
}
.gallery-empty svg { width: 3rem; height: 3rem; margin: 0 auto 1rem; opacity: 0.4; }
.gallery-empty p { font-size: 1.125rem; }

/* hidden class for filtering */
.gallery-card.hidden { display: none; }

/* ============================================================
   RESPONSIVE COMPLETO — INSPECCION Y FIX DE CADA COMPONENTE
   ============================================================ */

/* ---- 1. TOUCH / CURSOR ---- */
@media (pointer: coarse) {
  body { cursor: auto; }
  button { cursor: pointer; }
  .cursor-dot, .cursor-ring { display: none !important; }
  button, a, [role="button"] { cursor: pointer !important; }
  /* Eliminar cursor:none heredado en móvil */
  .service-card, .accordion__trigger, .filter-btn { cursor: pointer !important; }
}

/* ---- 2. NAVBAR — siempre sólido en móvil ---- */
@media (max-width: 1023px) {
  .navbar {
    background: rgba(6,8,15,0.97) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 0 !important;
  }
  .navbar__logo { height: 2.25rem; }
  .navbar__brand-name { font-size: 0.9375rem; }
  .navbar__brand-sub { font-size: 0.45rem; }
  /* Toggle siempre visible sobre el menu */
  .navbar__toggle {
    position: relative; z-index: 10001;
    background: rgba(255,255,255,0.08) !important;
  }
  .navbar__toggle.open {
    background: rgba(232,57,28,0.15) !important;
    border-color: rgba(232,57,28,0.3);
  }
}

/* ---- 3. MOBILE MENU — full-screen sólido ---- */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100svh;
  background-color: #06080f;
  z-index: 9998; /* navbar es 10000, siempre encima */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-direction: column;
}
#mobile-menu.open { display: flex; animation: menuSlideIn 0.22s ease; }
@keyframes menuSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

#mobile-menu .mobile-menu__inner {
  padding: 5rem 1.5rem 1rem; /* 5rem = navbar height + gap */
  display: flex; flex-direction: column; gap: 0.125rem;
}
#mobile-menu .mobile-menu__link {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.875rem; font-weight: 800;
  padding: 0.75rem 1rem; color: rgba(244,246,250,0.35);
  text-decoration: none; border-radius: 0.75rem;
  letter-spacing: -0.03em; transition: all 0.2s;
  border: none;
}
#mobile-menu .mobile-menu__link:hover,
#mobile-menu .mobile-menu__link.active { color: #fff; background: rgba(232,57,28,0.1); }
#mobile-menu .mobile-menu__actions {
  padding: 1.25rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 0.75rem;
  margin-top: 1rem;
}
#mobile-menu .mobile-menu__actions .btn { width: 100%; justify-content: center; }

/* ---- 4. HERO MÓVIL ---- */
@media (max-width: 767px) {
  /* Hero: flex-start para que el contenido empiece desde arriba, no centrado */
  .hero {
    min-height: 100svh;
    align-items: flex-start;
    overflow: hidden;
  }
  .hero-stats { display: none !important; }
  /* Padding-top = altura del navbar (~56px) + 16px gap */
  .hero__content { padding: 4.75rem 1rem 2.5rem; width: 100%; }

  /* "incendio" — cambiar de outline a color sólido en móvil */
  .hero__title .accent {
    color: var(--primary) !important;
    -webkit-text-stroke: 0 !important;
    -webkit-text-fill-color: var(--primary) !important;
  }

  .hero__badge {
    margin-bottom: 0.875rem;
    font-size: 0.625rem;
    padding: 0.35rem 0.875rem 0.35rem 0.35rem;
  }
  .hero__title {
    font-size: clamp(2rem, 8.5vw, 2.75rem) !important;
    line-height: 1.06; letter-spacing: -0.025em;
    margin-bottom: 0.875rem;
  }
  .hero__desc {
    font-size: 0.9rem; line-height: 1.6;
    margin-bottom: 1.5rem; max-width: 100%;
    color: rgba(244,246,250,0.65);
  }
  .hero__actions {
    flex-direction: column; gap: 0.625rem;
    flex-wrap: nowrap;
  }
  .hero__actions .btn {
    width: 100%; justify-content: center;
    height: 3.25rem !important; font-size: 0.9375rem; padding: 0 1.25rem;
  }
  .hero__actions .btn-glass { display: none; }
  .hero__scroll { display: none; }
  .hero__blob1, .hero__blob2 { display: none; }
}
@media (max-width: 390px) {
  .hero__content { padding: 4.5rem 1rem 2rem; }
  .hero__badge { display: none; }
  .hero__title { font-size: clamp(1.75rem, 8vw, 2.25rem) !important; }
  .hero__desc { font-size: 0.875rem; margin-bottom: 1.25rem; }
  .hero__actions { gap: 0.5rem; }
  .hero__actions .btn { height: 3rem !important; font-size: 0.875rem; }
}

/* ---- 5. HERO STATS BAR (solo desktop) ---- */
@media (max-width: 767px) {
  .hero-stats { display: none !important; }
}

/* ---- 6. STATS STRIP ---- */
@media (max-width: 767px) {
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip__item { padding: 1.5rem 1rem; }
  .stats-strip__num { font-size: 1.875rem; }
  .stats-strip__label { font-size: 0.5625rem; }
}

/* ---- 7. MARQUEE ---- */
@media (max-width: 767px) {
  .marquee-section { padding: 1rem 0; }
  .marquee-name { font-size: 0.75rem; }
  .marquee-track { gap: 2.5rem; }
}

/* ---- 8. SECTION PADDINGS ---- */
@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .section--xl { padding: 4.5rem 0; }
}
@media (max-width: 479px) {
  .section { padding: 3rem 0; }
  .section--xl { padding: 3.5rem 0; }
}

/* ---- 9. SECTION TITLES ---- */
@media (max-width: 767px) {
  .section-title { font-size: clamp(1.625rem, 6vw, 2.25rem); }
  .section-desc { font-size: 0.9375rem; }
  .section-tag { font-size: 0.625rem; }
}

/* ---- 10. SERVICES GRID ---- */
@media (max-width: 639px) {
  .services-grid { grid-template-columns: 1fr; gap: 1px; }
  .service-card { min-height: 300px; }
  .service-card__content { padding: 1.5rem; }
  .service-card__num { font-size: 3rem; top: 1rem; right: 1.25rem; }
  .service-card__title { font-size: 1.125rem; }
  .service-card__desc { font-size: 0.8125rem; }
}

/* ---- 11. WHY US GRID ---- */
@media (max-width: 767px) {
  .why-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .why-item { padding: 1.5rem 1.25rem; }
  .why-item__title { font-size: 0.9375rem; }
  .why-item__desc { font-size: 0.8125rem; }
  .why-item__icon { width: 2.75rem; height: 2.75rem; }
}
@media (max-width: 479px) {
  .why-grid { grid-template-columns: 1fr !important; }
}

/* ---- 12. PROJECTS GRID ---- */
@media (max-width: 767px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card__name { font-size: 1rem; }
}

/* ---- 13. CTA SECTION ---- */
@media (max-width: 1023px) {
  .cta-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-title { font-size: clamp(1.625rem, 5vw, 2.5rem); }
  .cta-desc { font-size: 0.9375rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ---- 14. FOOTER ---- */
@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__inner { padding: 3rem 0 2rem; }
  .footer__desc { max-width: 100%; }
}
@media (max-width: 639px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer__inner { padding: 2.5rem 0 2rem; }
}

/* ---- 15. PAGE HERO (páginas internas) ---- */
@media (max-width: 767px) {
  .page-hero { min-height: 52vh; padding-bottom: 3rem; }
  .page-hero__content { padding-top: 5.5rem; }
  .page-hero__title { font-size: clamp(1.625rem, 7vw, 2.75rem); line-height: 1.1; }
  .page-hero__desc { font-size: 0.9375rem; margin-top: 0.75rem; }
  .page-hero__label { font-size: 0.625rem; }
}

/* ---- 16. BUTTONS ---- */
@media (max-width: 479px) {
  .btn { font-size: 0.875rem; padding: 0.75rem 1.25rem; }
  .btn-lg { height: 3rem !important; padding: 0 1.5rem; font-size: 0.9rem; }
}

/* ---- 17. FORM / COTIZACION ---- */
@media (max-width: 1023px) {
  .cotizacion-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 639px) {
  .form-card { padding: 1.375rem; }
  .form__grid { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
  .form__group { margin-bottom: 1.25rem; }
  .form__input, .form__select { height: 3rem; font-size: 0.9rem; }
  .form__textarea { font-size: 0.9rem; }
  .form__actions { flex-direction: column; }
  .form__actions .btn { width: 100%; justify-content: center; }
  .contact-sidebar { gap: 1rem; }
  .contact-card { padding: 1.25rem; }
}

/* ---- 18. NOSOTROS — TIMELINE ---- */
@media (max-width: 767px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .timeline { padding-left: 2.5rem; }
  .timeline__dot { left: -2.25rem; width: 2rem; height: 2rem; }
  .timeline__title { font-size: 0.9375rem; }
  .timeline__desc { font-size: 0.8125rem; }
}

/* ---- 19. NOSOTROS — TEAM CARD ---- */
@media (max-width: 767px) {
  .team-card { padding: 2rem 1.5rem; }
  .team-card__tags { grid-template-columns: 1fr; gap: 0.625rem; }
  .team-card__bio { font-size: 0.875rem; }
}

/* ---- 20. VALUES GRID ---- */
@media (max-width: 767px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .value-card { padding: 1.5rem 1.25rem; }
  .value-card__title { font-size: 0.9375rem; }
  .value-card__desc { font-size: 0.8125rem; }
}
@media (max-width: 479px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ---- 21. SERVICIOS — SERVICE DETAIL ---- */
@media (max-width: 767px) {
  .service-detail-body { padding: 1.75rem; }
  .service-detail-title { font-size: 1.375rem; }
  .service-detail-desc { font-size: 0.875rem; }
}

/* ---- 22. MATERIALES GRID ---- */
@media (max-width: 767px) {
  .grid-3 { grid-template-columns: 1fr; }
  .materials-card { padding: 1.375rem; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 23. GALERÍA TRABAJOS ---- */
@media (max-width: 767px) {
  .gallery-grid { columns: 2; column-gap: 0.875rem; }
  .gallery-card { margin-bottom: 0.875rem; }
  .gallery-card__title { font-size: 0.875rem; }
  .gallery-filters { gap: 0.5rem; margin: 2rem 0 2.5rem; }
  .filter-btn { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
}
@media (max-width: 479px) {
  .gallery-grid { columns: 1; }
}

/* ---- 24. GUIA — ACCORDION ---- */
@media (max-width: 767px) {
  .guide-section-title { font-size: 1.375rem; }
  .accordion__trigger { font-size: 0.9375rem; }
  .accordion__content { font-size: 0.875rem; }
  .guide-cta { padding: 2rem 1.25rem; }
}

/* ---- 25. STATS BAR (nosotros) ---- */
@media (max-width: 767px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item { padding: 1.5rem 1rem; }
  .stats-bar__num { font-size: 1.875rem; }
}

/* ---- 26. AVAILABILITY ---- */
@media (max-width: 767px) {
  .availability__title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .availability__desc { font-size: 0.9375rem; }
}

/* ---- 27. HISTORY TEXT ---- */
@media (max-width: 767px) {
  .history-text { font-size: 0.9rem; }
}

/* ---- 28. WHATSAPP FLOAT ---- */
@media (max-width: 639px) {
  .wa-float { width: 3.25rem; height: 3.25rem; bottom: 1.25rem; right: 1.25rem; }
}

/* ---- 32. ESPACIO PARA WA FLOAT — evita que tape contenido ---- */
@media (max-width: 1023px) {
  main { padding-bottom: 5rem; }
  .footer { padding-bottom: 1rem; }
}

/* ---- 33. SERVICIOS — texto del detail no amontonado ---- */
@media (max-width: 767px) {
  .service-detail-body { padding: 1.75rem 1.25rem; }
  .service-detail-desc { font-size: 0.9rem; margin-bottom: 1.25rem; }
  .service-detail-list { gap: 0.625rem; }
  .service-detail-item { font-size: 0.875rem; gap: 0.625rem; }
  .service-detail-item svg { margin-top: 0.15rem; }
}

/* ---- 34. GRID GENERAL en tablet ---- */
@media (min-width: 640px) and (max-width: 1023px) {
  .why-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 35. TEXTO GENERAL más legible en móvil ---- */
@media (max-width: 767px) {
  p { line-height: 1.75; }
  .container { padding: 0 1rem; }
}

/* ---- 29. TRAINING CARD ---- */
@media (max-width: 767px) {
  .training-card { padding: 1.75rem; }
  .training-card__title { font-size: 1.125rem; }
}

/* ---- 30. CHECK LIST ---- */
@media (max-width: 767px) {
  .check-list__item { font-size: 0.875rem; gap: 0.625rem; }
}

/* ---- 31. SUCCESS SCREEN ---- */
@media (max-width: 639px) {
  .success-title { font-size: 1.875rem; }
  .success-desc { font-size: 1rem; }
  .success-icon { width: 5rem; height: 5rem; }
  .success-icon svg { width: 2.5rem; height: 2.5rem; }
}

/* Team card mobile */
@media (max-width: 639px) {
  .team-card__tags { grid-template-columns: 1fr; }
}

/* Two col mobile */
@media (max-width: 1023px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Gallery mobile */
@media (max-width: 639px) {
  .gallery-filters { gap: 0.5rem; }
  .filter-btn { padding: 0.5rem 1rem; font-size: 0.8125rem; }
}

/* Section header flex mobile */
@media (max-width: 639px) {
  .section-header-flex { flex-direction: column; align-items: flex-start; }
}

/* WhatsApp float mobile */
@media (max-width: 639px) {
  .wa-float { width: 3.25rem; height: 3.25rem; bottom: 1.25rem; right: 1.25rem; }
}

/* Cotizacion layout mobile */
@media (max-width: 1023px) {
  .cotizacion-layout { grid-template-columns: 1fr; }
}

/* ===== COMPATIBILITY: MISSING CLASSES ===== */

/* Section padding variants */
.section--lg { padding: 5rem 0; }
@media (min-width: 1024px) { .section--lg { padding: 7rem 0; } }

/* Background aliases */
.bg-muted { background: var(--navy); }

/* Text utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Hero title medium modifier */
.hero__title--md { font-size: clamp(1.75rem, 4vw, 3.5rem) !important; }

/* Section label (alias of section-tag) */
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--primary); margin-bottom: 1.25rem;
}
.section-label::before { content: ''; width: 20px; height: 1.5px; background: var(--primary); }
.section-desc--centered { text-align: center; margin-left: auto; margin-right: auto; }

/* Footer heading alias */
.footer__heading { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(244,246,250,0.2); margin-bottom: 1.5rem; }

/* Scroll reveal — just ensure elements are visible */
.fade-up { opacity: 1; transform: none; }
.delay-1, .delay-2, .delay-3 { opacity: 1; transform: none; }

/* CTA centered inner */
.cta-inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.cta-inner .cta-actions { justify-content: center; }
.cta-inner .section-tag { justify-content: center; }

/* Project card location alias */
.project-card__location {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.75rem; color: rgba(244,246,250,0.3);
}
.project-card__location svg { width: 0.75rem; height: 0.75rem; }

/* 4-column grid */
.grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Guide title alias */
.guide-title { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 900; letter-spacing: -0.02em; }

/* ===== SERVICE DETAIL (underscore BEM variant) ===== */
.service-detail {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  overflow: hidden;
}
.service-detail__grid { display: grid; }
@media (min-width: 1024px) {
  .service-detail__grid { grid-template-columns: 1fr 1fr; }
  .service-detail__grid--reverse .service-detail__img { order: 2; }
  .service-detail__grid--reverse .service-detail__body { order: 1; }
}
.service-detail__img { aspect-ratio: 16/9; overflow: hidden; }
@media (min-width: 1024px) { .service-detail__img { aspect-ratio: auto; min-height: 360px; } }
.service-detail__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.service-detail:hover .service-detail__img img { transform: scale(1.04); }
.service-detail__body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 0; }
@media (min-width: 1024px) { .service-detail__body { padding: 3.5rem; } }
.service-detail__icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: rgba(232,57,28,0.1); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-detail__icon svg { width: 1.5rem; height: 1.5rem; }
.service-detail__title { font-size: clamp(1.375rem, 2.5vw, 2rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 0.875rem; color: var(--white); }
.service-detail__desc { font-size: 0.9375rem; color: rgba(244,246,250,0.5); margin-bottom: 1.75rem; line-height: 1.8; }
.service-detail__list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; padding: 0; }
.service-detail__item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: rgba(244,246,250,0.65); }
.service-detail__item svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; margin-top: 0.2rem; }

@media (max-width: 767px) {
  .service-detail__body { padding: 1.75rem 1.25rem; }
  .service-detail__title { font-size: 1.375rem; }
  .service-detail__desc { font-size: 0.9rem; margin-bottom: 1.25rem; }
  .service-detail__list { gap: 0.625rem; }
  .service-detail__item { font-size: 0.875rem; gap: 0.625rem; }
}

/* ===== MOBILE PERFORMANCE OPTIMIZATIONS ===== */
@media (pointer: coarse), (max-width: 767px) {
  /* Disable heavy continuous CSS animation on hero grid */
  .hero__grid { animation: none !important; }

  /* Remove expensive backdrop-filter (very slow on mobile GPUs) */
  .navbar, .navbar.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #06080f !important;
  }
  .btn-glass {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255,255,255,0.08) !important;
  }
  .cta-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .gallery-card__badge {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(6,8,15,0.85) !important;
  }

  /* Simplify WhatsApp pulse — just steady glow */
  .wa-float { animation: none; }

  /* Disable hover transform on cards (no hover on touch) */
  .project-card:hover { transform: none; }
  .value-card:hover { transform: none; }
  .gallery-card:hover { transform: none; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}
