
/* ════════════════════════════════════════════
   LOGOVISIÓN — CSS COMPLETO v4
   ════════════════════════════════════════════ */

/* ── 1. Variables ── */
:root {
  --teal: #2AA7A9;
  --teal-dark: #0F6B6E;
  --teal-deep: #094E51;
  --gold: #dede56;
  --gold-dark: #bebe3c;
  --white: #FFFFFF;
  --off-white: #F5F4F0;
  --near-black: #0D0D0D;
  --mid-gray: #6B6B6B;
  --light-gray: #E8E6E0;

  --fd: 'Bebas Neue', sans-serif;
  --fs: 'Playfair Display', serif;
  --fb: 'DM Sans', sans-serif;

  --nav-h: 72px;
  --r: 2px;

  /* Transitions */
  --t: .25s ease;
  --ts: .45s cubic-bezier(0.4, 0, 0.2, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 36px rgba(0,0,0,.14);
  --shadow-teal: 0 6px 24px rgba(42,167,169,.28);
}

/* ── 2. Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--fb);
  background: var(--white);
  color: var(--near-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--fb); cursor: pointer; border: none; background: none; line-height: 1; }
ul { list-style: none; }

/* ── 3. Utilities ── */
.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}
.section-label--light { color: rgba(255,255,255,.5); }
.section-label--light::before { background: rgba(255,255,255,.3); }
.section-label--dark { color: var(--teal-dark); }
.section-label--dark::before { background: var(--teal-dark); }
.section-label--center { justify-content: center; }

.section-title {
  font-family: var(--fd);
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: .95;
  letter-spacing: 1px;
}
.section-title em {
  font-family: var(--fs);
  font-style: italic;
  color: var(--teal);
  font-size: .9em;
}
.section-title--white { color: var(--white); }

.gold-rule { width: 56px; height: 2px; background: var(--gold); margin: 36px auto; }

.pattern-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.025) 0px,
    rgba(255,255,255,.025) 1px,
    transparent 1px,
    transparent 24px
  );
  pointer-events: none;
}

.tag {
  display: inline-block;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  padding: 5px 14px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-dark);
  border-radius: var(--r);
  transition: background var(--t), border-color var(--t), color var(--t);
}
.tag:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ── 4. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--t), color var(--t), transform .2s var(--ease-spring), box-shadow var(--t);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
/* Shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
  transition: left .6s ease;
  pointer-events: none;
}
.btn:hover::before { left: 120%; }
.btn::after { display: none; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary::after { background: var(--gold); }
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-teal); }
.btn--primary:active { transform: translateY(0); box-shadow: none; }

.btn--lg { padding: 18px 48px; font-size: 13px; }

.btn--dark { background: var(--near-black); color: var(--white); }
.btn--dark::after { background: var(--teal); }
.btn--dark:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--dark:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: var(--near-black); }
.btn--gold::after { background: var(--near-black); }
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(222,222,86,.3); }
.btn--gold:active { transform: translateY(0); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.65);
}
.btn--outline-light::after { display: none; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }
.btn--outline-light:active { transform: translateY(0); }
.btn--outline-light svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── 5. Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(13,13,13,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: none;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
  will-change: background, box-shadow;
}
.nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(42,167,169,.3) 25%, rgba(42,167,169,.3) 75%, transparent 100%);
  transition: opacity .3s var(--ease);
}
.nav--scrolled {
  background: rgba(13,13,13,1) !important;
  box-shadow: 0 1px 28px rgba(0,0,0,.45);
}
.nav--scrolled::after {
  opacity: 0.6;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity var(--t);
}
.nav__logo:hover { opacity: .85; }
.nav__logo .logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color var(--t);
  cursor: pointer;
  padding: 4px 0;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width .3s var(--ease-out);
}
.nav__links a:hover, .nav__links a.active { color: var(--teal); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.nav__cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: var(--r);
  font-weight: 700 !important;
  transition: background var(--t), transform .2s var(--ease-spring) !important;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px) !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-right: -8px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: rgba(13,13,13,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 899;
  padding: 20px 28px 28px;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid rgba(42,167,169,.2);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav__mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.nav__mobile a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  transition: color var(--t), padding-left var(--t);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--teal); padding-left: 6px; }
.nav__mobile .nav__cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  text-align: center;
  margin-top: 16px;
  border-radius: var(--r);
  padding: 14px !important;
  display: block;
  border-bottom: none !important;
  padding-left: 0 !important;
}

/* ── 6. Page system ── */
.page { display: none; }
.page.active { display: block; }

/* ── 7. HERO ── */
/* ── Scroll-pin wrapper ── */
.hero-pin {
  position: relative;
  height: 280vh;
}

.hero {
  height: 100vh;
  height: 100svh;
  background: #000000;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: var(--nav-h);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(13,13,13,1) 0%, rgba(13,13,13,.92) 38%, rgba(13,13,13,.4) 58%, transparent 75%),
    linear-gradient(to bottom, transparent 50%, rgba(13,13,13,.9) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__ring--1 {
  right: -60px;
  top: -60px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(42,167,169,.15);
  animation: ringR 30s linear infinite;
}
.hero__ring--2 {
  right: 60px;
  top: 60px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(197,176,90,.12);
  animation: ringR 20s linear infinite reverse;
}
@keyframes ringR { to { transform: rotate(360deg); } }

.hero__image-side {
  position: absolute;
  right: 0;
  top: 0;
  width: 62%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
/* Canvas ocupa todo el contenedor — cover lo hace drawCover() en JS */
.hero__image-side canvas {
  display: block;
  width: 100%;
  height: 100%;
}
/* Loader mientras se extraen los frames */
.hero__video-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: #000000;
  transition: opacity .4s ease;
}
.hero__video-loading span {
  display: none;
}
.hero__video-loading span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.18);
  animation: lvLoad 1.2s ease-in-out infinite;
  transform-origin: left center;
}
@keyframes lvLoad {
  0%   { transform: scaleX(0); transform-origin: left center; }
  49%  { transform: scaleX(1); transform-origin: left center; }
  50%  { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0); transform-origin: right center; }
}
/* Barra de progreso lateral — GPU-only (transform + opacity) */
.hero__progress-bar {
  position: absolute;
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--teal) 30%,
    var(--gold) 70%,
    transparent 100%);
  transform: scaleY(0);
  transform-origin: top center;
  z-index: 5;
  will-change: transform;
  border-radius: 0 0 2px 2px;
}
.hero__image-side::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 15%;
  height: 100%;
  background: linear-gradient(to right, #000000 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.hero__image-side::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42%;
  background: linear-gradient(to top, #000000 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.hero__accent-line {
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  z-index: 3;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 660px;
  padding: 0 48px;
}
.hero__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}
.hero__title {
  font-family: var(--fd);
  font-size: clamp(50px, 7vw, 90px);
  line-height: .95;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: 1px;
}
.hero__title em {
  font-family: var(--fs);
  font-style: italic;
  color: var(--teal);
  display: block;
  font-size: .92em;
}
.hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 460px;
  font-weight: 300;
}
.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero__stats {
  position: absolute;
  bottom: 50%;
  right: 52px;
  transform: translateY(50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__stat {
  opacity: 0;
  transform: translateX(36px);
  will-change: opacity, transform;
  transition: opacity .6s cubic-bezier(0.22,1,.36,1),
              transform .6s cubic-bezier(0.22,1,.36,1);
  background: rgba(13,13,13,.6);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(42,167,169,.22);
  border-left: 2px solid var(--teal);
  border-radius: 0 6px 6px 0;
  padding: 14px 20px 14px 16px;
  min-width: 144px;
  text-align: left;
}
.hero__stat.stat--visible {
  opacity: 1;
  transform: translateX(0);
  /* Limpiar will-change tras terminar la transición */
}
.hero__stat:nth-child(2) { transition-delay: 0s; }
.hero__stat:nth-child(3) { transition-delay: 0s; }
.hero__stat-num {
  font-family: var(--fd);
  font-size: 38px;
  color: var(--teal);
  line-height: 1;
  display: block;
}
.hero__stat-label {
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 5px;
  display: block;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ── Hero cascade entrance ── */
.hero__eyebrow,
.hero__title,
.hero__subtitle,
.hero__actions,
.hero__stats    { animation: fadeUp 0.7s var(--ease-out) both; }
.hero__eyebrow  { animation-delay: 0.2s; }
.hero__title    { animation-delay: 0.4s; }
.hero__subtitle { animation-delay: 0.6s; }
.hero__actions  { animation-delay: 0.8s; }
.hero__stats    { animation-delay: 1.0s; }

/* ── 8. Services strip ── */
.services-strip { background: var(--off-white); padding: 96px 48px; }
.services-strip__header { display: flex; flex-direction: column; gap: 10px; margin-bottom: 52px; }
.services-strip__header h2 {
  font-family: var(--fd);
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: .95;
  letter-spacing: 1px;
}
.services-strip__header p {
  font-size: 15px;
  color: var(--mid-gray);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }

.svc-card {
  background: var(--white);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--ts), box-shadow var(--ts);
  cursor: pointer;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--light-gray);
  transition: background var(--t);
}
.svc-card:hover::before { background: var(--teal); }

.svc-card__number {
  font-family: var(--fd);
  font-size: 58px;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 12px;
  transition: color var(--t), transform var(--ts);
}
.svc-card:hover .svc-card__number { color: var(--teal); transform: scale(1.05); }
.svc-card__icon { width: 32px; height: 32px; color: var(--teal); margin-bottom: 12px; }

.svc-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.svc-card p { font-size: 12px; color: var(--mid-gray); line-height: 1.65; }
.services-strip__cta { text-align: center; margin-top: 40px; }

/* ── 9. Portfolio mosaic ── */
.portfolio-section { padding: 96px 48px; background: var(--near-black); }
.portfolio-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  gap: 24px;
  flex-wrap: wrap;
}
.portfolio-mosaic {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-template-rows: 330px 230px;
  gap: 5px;
}
.mosaic-item:first-child { grid-row: 1 / 3; }
.mosaic-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ts);
  will-change: transform;
}
.mosaic-item:hover img { transform: scale(1.06); }

.mosaic-item__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-left: 2px solid var(--teal);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  pointer-events: none;
}
.mosaic-item__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(13,13,13,.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.mosaic-item:hover .mosaic-item__overlay { opacity: 1; }
.mosaic-item__overlay h3 {
  font-family: var(--fd);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 4px;
  transform: translateY(6px);
  transition: transform .35s var(--ease-out);
}
.mosaic-item:hover .mosaic-item__overlay h3 { transform: translateY(0); }
.mosaic-item__overlay span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  transform: translateY(6px);
  transition: transform .35s var(--ease-out) .05s;
}
.mosaic-item:hover .mosaic-item__overlay span { transform: translateY(0); }
.portfolio-section__cta { text-align: center; margin-top: 56px; }

/* ── 10. REVIEWS ── */
.reviews-section { padding: 96px 0 80px; background: var(--near-black); overflow: hidden; }
.reviews-section__header { margin-bottom: 56px; text-align: center; padding: 0 48px; }
.reviews-section__header .section-label { justify-content: center; }

.rv-wrap { overflow: hidden; }
.rv-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%); }
.rv-marquee__track { display: flex; gap: 18px; width: max-content; cursor: grab; will-change: transform; }
.rv-marquee__track.is-dragging { cursor: grabbing; user-select: none; }
.rv-card {
  flex: 0 0 300px;
  background: #141414;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 28px 26px 24px;
  transition: border-color .3s var(--ease), transform .3s var(--ease-spring);
  user-select: none;
  position: relative;
  display: flex;
  flex-direction: column;
}
.rv-card::before {
  content: '\201C';
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px;
  color: rgba(42,167,169,.3);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.rv-card:hover {
  border-color: rgba(42,167,169,.3);
  transform: translateY(-4px);
}
.rv-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.rv-stars span { color: #FFD700; font-size: 15px; line-height: 1; }
.rv-text {
  font-size: 13.5px;
  line-height: 1.82;
  color: rgba(255,255,255,.72);
  font-style: italic;
  margin-bottom: 22px;
  flex: 1;
}
.rv-author { display: flex; align-items: center; gap: 12px; }

.rv-name { font-size: 13px; font-weight: 700; color: #fff; }
.rv-verified { font-size: 10px; color: rgba(255,255,255,.35); margin-top: 2px; letter-spacing: .5px; text-transform: uppercase; }
.rv-controls { display: none; }
.rv-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t), background var(--t), transform .2s var(--ease-spring);
}
.rv-btn:hover {
  border-color: var(--teal);
  background: rgba(42,167,169,.12);
  color: #fff;
  transform: scale(1.08);
}
.rv-dots { display: flex; gap: 8px; align-items: center; }
.rv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s var(--ease), transform .25s var(--ease-spring);
}
.rv-dot.active { background: var(--teal); transform: scale(1.4); }

.rv-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 36px auto 0;
  padding: 13px 26px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-family: var(--fb);
  letter-spacing: .5px;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
  transition: border-color var(--t), color var(--t), background var(--t), transform .2s var(--ease-spring);
}
.rv-google-btn:hover {
  border-color: var(--teal);
  color: #fff;
  background: rgba(42,167,169,.08);
  transform: translateY(-2px);
}


/* ── 11. About strip ── */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; }
.about-strip__visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background: #0a3a3b;
}
.about-strip__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
  transition: opacity .6s var(--ease), transform 8s var(--ease);
}
.about-strip__visual:hover img { opacity: .55; transform: scale(1.04); }
.about-strip__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,78,81,.75), rgba(13,13,13,.5));
}
.about-strip__content {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--off-white);
}
.about-strip__content h2 { margin-bottom: 24px; }
.about-strip__content h2 em { color: var(--teal-dark); }
.about-strip__content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--mid-gray);
  margin-bottom: 18px;
  max-width: 460px;
}
.qualities { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }

/* ── 12. CTA ── */
.cta-section {
  background: var(--teal-deep);
  padding: 96px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-section .pattern-lines {
  display: block;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.04) 0px,
    rgba(255,255,255,.04) 1px,
    transparent 1px,
    transparent 24px
  );
}
.cta-section__content { position: relative; z-index: 1; }
.cta-section__title {
  font-family: var(--fd);
  font-size: clamp(42px, 5.5vw, 74px);
  color: var(--white);
  line-height: .95;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.cta-section__title em { font-family: var(--fs); font-style: italic; color: var(--gold); }
.cta-section__sub { color: rgba(255,255,255,.55); font-size: 15px; font-weight: 300; line-height: 1.65; }
.cta-section__action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.cta-section__phone { color: rgba(255,255,255,.5); font-size: 13px; }
.cta-section__phone strong { color: var(--white); }

/* ── 13. Footer ── */
.footer { background: var(--near-black); padding: 64px 48px 28px; }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__logo {
  display: inline-block;
  margin-bottom: 14px;
  cursor: pointer;
  transition: opacity var(--t);
}
.footer__logo:hover { opacity: .8; }
.footer__logo .logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.footer__brand p { font-size: 13px; color: rgba(255,255,255,.38); line-height: 1.75; max-width: 250px; }
.footer__col h4 {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  font-size: 13px;
  color: rgba(255,255,255,.42);
  transition: color var(--t), padding-left var(--t);
  cursor: pointer;
}
.footer__col a:hover { color: var(--teal); padding-left: 4px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(255,255,255,.22);
  padding-right: 80px;
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a {
  color: rgba(255,255,255,.22);
  cursor: pointer;
  transition: color var(--t);
}
.footer__legal a:hover { color: var(--teal); }

/* ── Social icons (footer) ── */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer__social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: rgba(255,255,255,.42);
  text-decoration: none;
  transition: color var(--t), border-color var(--t), background var(--t), transform var(--t);
}
.footer__social-link svg {
  width: 17px;
  height: 17px;
  pointer-events: none;
  transition: transform var(--t);
}
.footer__social-link:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(42,167,169,.08);
  transform: translateY(-3px);
}
.footer__social-link:hover svg { transform: scale(1.12); }

/* Tooltip */
.footer__social-link::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(255,255,255,.96);
  color: var(--near-black);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t), transform var(--t);
  z-index: 10;
}
.footer__social-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Staggered fade-in */
@keyframes socialFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.footer__social .footer__social-link {
  animation: socialFadeUp .45s ease both;
}
.footer__social .footer__social-link:nth-child(2) { animation-delay: .1s; }

/* ── Footer grants (cofinanciación UE / FEDER) ── */
.footer__grants-row {
  margin-bottom: 40px;
}
.footer__grants-card {
  display: inline-block;
  background: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  max-width: 1000px;
}
.footer__grants-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ── 14. Page hero ── */
.page-hero {
  padding: 148px 48px 80px;
  background: var(--near-black);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(to right, transparent, rgba(42,167,169,.05));
  pointer-events: none;
}
.page-hero__title {
  font-family: var(--fd);
  font-size: clamp(50px, 7vw, 86px);
  color: var(--white);
  line-height: .95;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.page-hero__title em { font-family: var(--fs); font-style: italic; color: var(--teal); }
.page-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,.5);
  max-width: 520px;
  line-height: 1.75;
  font-weight: 300;
}

/* ── 15. Services detailed ── */
.services-detailed { padding: 0; background: var(--off-white); }
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  border-bottom: 1px solid #eee;
  overflow: hidden;
  transition: box-shadow var(--ts);
  position: relative;
}
.service-row:last-child { border-bottom: none; }
.service-row:hover { box-shadow: inset 0 0 0 1px rgba(42,167,169,.2); }
.service-row:nth-child(even) { direction: rtl; }
.service-row:nth-child(even) > * { direction: ltr; }

.service-row__visual {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-row__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
  will-change: transform;
}
.service-row__visual.is-loaded img { opacity: 1; }
.service-row:hover .service-row__visual img { opacity: .9; transform: scale(1.05); }
.service-row__visual svg {
  width: 64px;
  height: 64px;
  opacity: .25;
  color: white;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: none;
}
.service-row__visual.img-error svg { display: block; }

/* Shimmer overlay while service image loads */
@keyframes svc-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.service-row__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.07) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: svc-shimmer 1.8s linear infinite;
  z-index: 2;
  pointer-events: none;
  transition: opacity .4s;
}
.service-row__visual.is-loaded::after { opacity: 0; animation: none; }

.sv-1 { background: linear-gradient(135deg, #0a2a3a, #0F6B6E); }
.sv-2 { background: linear-gradient(135deg, #1a1a2a, #2d2d5a); }
.sv-3 { background: linear-gradient(135deg, #2a1a00, #6a4a00); }
.sv-4 { background: linear-gradient(135deg, #0a1a0a, #1a4a1a); }
.sv-5 { background: linear-gradient(135deg, #2a1000, #701000); }
.sv-6 { background: linear-gradient(135deg, #1a0a1a, #4a0a3a); }
.sv-7 { background: linear-gradient(135deg, #1a1a0a, #3a3a0a); }
.sv-8 { background: linear-gradient(135deg, #0a1a2a, #1a4a6a); }

.service-row__content {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--off-white);
  position: relative;
}
.service-row__content::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--teal);
  transition: height .4s var(--ease-out);
}
.service-row:hover .service-row__content::before { height: 100%; }
.service-row:nth-child(even) .service-row__content::before { left: auto; right: 0; }
.service-row__num {
  font-family: var(--fd);
  font-size: 72px;
  color: rgba(42,167,169,.50);
  line-height: 1;
  margin-bottom: -8px;
  transition: color .35s var(--ease);
  letter-spacing: -2px;
}
.service-row:hover .service-row__num { color: rgba(42,167,169,.45); }
.service-row__content h2 {
  font-family: var(--fd);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 1.5px;
  line-height: 1.1;
  color: var(--near-black);
  text-transform: uppercase;
}
.service-row__content p {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 400px;
}
.service-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.service-row .tag,
.about-strip .tag {
  background: transparent;
  border-color: rgba(42,167,169,.45);
  color: var(--teal);
  letter-spacing: 1px;
}
.service-row .tag:hover,
.about-strip .tag:hover { background: rgba(42,167,169,.1); border-color: var(--teal); color: var(--teal); }
.svc-row__btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  background: transparent;
  border: 1px solid rgba(42,167,169,.35);
  color: var(--teal);
  transition: background var(--t), border-color var(--t), color var(--t), transform .2s var(--ease-spring);
}
.svc-row__btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-2px); }

/* ── 16. Projects ── */
.projects-gallery { padding: 72px 48px 96px; background: var(--near-black); }
.gallery-filters { display: flex; gap: 4px; margin-bottom: 44px; flex-wrap: wrap; }
.filter-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.5);
  padding: 8px 18px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease-spring);
  font-family: var(--fb);
  border-radius: var(--r);
}
.filter-btn:hover { transform: translateY(-2px); color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.filter-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(0);
}

.masonry-grid { columns: 3; column-gap: 5px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 5px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery-item.hidden { display: none; }
.gallery-item.is-entering {
  opacity: 0;
  transform: scale(.95);
  pointer-events: none;
}
.gallery-item img {
  width: 100%;
  display: block;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform var(--ts);
  will-change: transform;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,.92) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__overlay h3 {
  font-family: var(--fd);
  font-size: 18px;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 3px;
  transform: translateY(6px);
  transition: transform .3s var(--ease-out);
}
.gallery-item:hover .gallery-item__overlay h3 { transform: translateY(0); }
.gallery-item__overlay span {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  transform: translateY(6px);
  transition: transform .3s var(--ease-out) .04s;
}
.gallery-item:hover .gallery-item__overlay span { transform: translateY(0); }

.gallery-item__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-left: 2px solid var(--teal);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  pointer-events: none;
}
.projects-gallery__cta { text-align: center; margin-top: 56px; }

/* ── 17. About page ── */
.manifesto {
  padding: 148px 48px 80px;
  background: var(--near-black);
  position: relative;
  overflow: hidden;
}
.manifesto__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.manifesto__text { text-align: left; }
.manifesto__text h1 { margin-bottom: 28px; font-size: clamp(50px, 7vw, 86px); }
.manifesto__inner p {
  font-size: 17px;
  color: rgba(255,255,255,.55);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 18px;
}
.manifesto__image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.manifesto__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
}
.manifesto__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--near-black) 0%, transparent 35%),
    linear-gradient(to top, var(--near-black) 0%, transparent 40%);
  pointer-events: none;
}

/* ─── HISTORIA ─── */
.historia {
  padding: 140px 48px 96px;
  background: var(--near-black);
  position: relative;
  overflow: hidden;
}
.historia__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.historia__text { text-align: left; }
.historia__text h2 { margin-bottom: 28px; }
.historia__inner p {
  font-size: 17px;
  color: rgba(255,255,255,.55);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 18px;
}
.historia__image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.historia__image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
}
.historia__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, var(--near-black) 0%, transparent 35%),
    linear-gradient(to top, var(--near-black) 0%, transparent 40%);
  pointer-events: none;
}
.historia__badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--teal);
  padding: 16px 24px;
  z-index: 2;
  line-height: 1.1;
}
.historia__badge-num {
  display: block;
  font-family: var(--fd);
  font-size: clamp(36px, 4vw, 52px);
  color: #fff;
  letter-spacing: 1px;
}
.historia__badge-text {
  display: block;
  font-family: var(--fb);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}
.historia__teal {
  font-family: var(--fd);
  font-style: normal;
  color: var(--teal);
}
.historia__quote {
  border-left: 3px solid var(--gold);
  margin: 28px 0;
  padding: 12px 24px;
  font-family: var(--fs);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
}

/* ─── GARANTÍAS DE CALIDAD ─── */
.garantias-section {
  padding: 80px 48px;
  background: var(--off-white);
}
.garantias-section__header {
  text-align: center;
  margin-bottom: 48px;
}
.garantias-section__title {
  font-family: var(--fd);
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: 2px;
  line-height: 1;
  margin-top: 8px;
  color: var(--near-black);
}
.garantias-section__title span {
  color: var(--teal);
  display: block;
}
.garantias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.garantias-grid + .garantias-grid {
  margin-top: 3px;
  grid-template-columns: repeat(2, 1fr);
  max-width: calc((100% + 3px) * 2 / 3 - 3px);
  margin-left: auto;
  margin-right: auto;
}
.garantia-item {
  background: var(--white);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--light-gray);
  transition: border-color var(--t), box-shadow var(--t);
}
.garantia-item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.garantia-item svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
}
.garantia-item span {
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 600;
  color: var(--near-black);
}

.values-section { padding: 80px 48px; background: var(--off-white); }
.values-section__title {
  font-family: var(--fd);
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: 1px;
  margin-top: 8px;
}
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 48px; }

.value-card {
  background: var(--white);
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--ts), box-shadow var(--ts);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--light-gray);
  transition: background var(--t);
}
.value-card:hover::before { background: var(--teal); }
.value-icon { width: 32px; height: 32px; color: var(--teal); margin-bottom: 18px; transition: transform .3s var(--ease-spring); }
.value-card:hover .value-icon { transform: scale(1.15) rotate(-5deg); }
.value-card h3 { font-family: var(--fd); font-size: 24px; letter-spacing: 1px; margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--mid-gray); line-height: 1.7; }

/* ── 18. Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
  margin-top: 0;
  padding-top: var(--nav-h);
  background: var(--near-black);
}
.contact-info {
  background: var(--near-black);
  padding: 72px 56px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.contact-info h1 { margin-bottom: 24px; }
.contact-info h1 em { color: var(--teal); }
.contact-info > p {
  font-size: 15px;
  color: rgba(255,255,255,.48);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 380px;
  font-weight: 300;
}
.contact-details { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon {
  width: 42px;
  height: 42px;
  background: rgba(42,167,169,.1);
  border: 1px solid rgba(42,167,169,.2);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  transition: background var(--t), border-color var(--t), transform .2s var(--ease-spring);
}
.contact-item:hover .contact-item__icon {
  background: rgba(42,167,169,.18);
  border-color: rgba(42,167,169,.4);
  transform: scale(1.06);
}
.contact-item__text label {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 5px;
}
.contact-item__text a, .contact-item__text span {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
  transition: color var(--t);
}
.contact-item__text a:hover { color: var(--teal); }

.contact-map { border-radius: var(--r) var(--r) 0 0; overflow: hidden; border: 1px solid rgba(42,167,169,.2); border-bottom: none; flex: 1; min-height: 240px; display: flex; flex-direction: column; }
.contact-map iframe {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 240px;
  border: none;
  display: block;
  filter: grayscale(30%) contrast(1.1);
  transition: filter .3s var(--ease);
}
.contact-map:hover iframe { filter: grayscale(10%) contrast(1.1); }

.contact-form-side {
  background: #f7f7f7;
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #e8e8e8;
}
.contact-form-side h2 {
  font-family: var(--fd);
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 32px;
  color: var(--near-black);
}

.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(0,0,0,.45);
  margin-bottom: 9px;
  transition: color var(--t);
}
.form-group:focus-within label { color: var(--teal); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  font-family: var(--fb);
  font-size: 14px;
  color: var(--near-black);
  outline: none;
  border-radius: 8px;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(0,0,0,.3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(42,167,169,.6);
  background: rgba(42,167,169,.05);
  box-shadow: 0 0 0 3px rgba(42,167,169,.1);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='rgba(0,0,0,0.35)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
  color: rgba(0,0,0,.6);
}
.form-group select option { background: #fff; color: var(--near-black); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--teal);
  color: var(--white);
  border: none;
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t), transform .2s var(--ease-spring), box-shadow var(--t);
  margin-top: 8px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.form-submit:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(42,167,169,.3); }
.form-submit:active { transform: translateY(0); box-shadow: none; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.form-note { font-size: 11px; color: rgba(0,0,0,.4); margin-top: 12px; line-height: 1.6; }

/* Honeypot anti-spam — oculto para humanos, visible para bots */
.honeypot { display: none !important; position: absolute; left: -9999px; }

.form-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  margin-top: 4px;
}
.form-gdpr input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
}
.form-gdpr label {
  font-size: 12px;
  color: rgba(0,0,0,.55);
  line-height: 1.55;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 0;
}
.form-gdpr label a {
  color: var(--teal-dark);
  text-decoration: underline;
}
.gdpr-error {
  font-size: 11px;
  color: #b03030;
  margin-bottom: 12px;
  letter-spacing: .3px;
}
.form-message {
  padding: 14px 18px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
  display: none;
}
.form-message.success {
  background: rgba(42,167,169,.1);
  border: 1px solid rgba(42,167,169,.3);
  color: var(--teal-dark);
  display: block;
  animation: fadeInDown .4s var(--ease-out);
}
.form-message.error {
  background: rgba(200,50,50,.08);
  border: 1px solid rgba(200,50,50,.25);
  color: #b03030;
  display: block;
  animation: fadeInDown .4s var(--ease-out);
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 19. Legal ── */
.legal-page { padding: 140px 48px 80px; max-width: 860px; margin: 0 auto; }
.legal-page h1 {
  font-family: var(--fd);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.legal-page .legal-updated {
  font-size: 12px;
  color: var(--mid-gray);
  letter-spacing: 1px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--light-gray);
}
.legal-page h2 { font-size: 18px; font-weight: 700; margin: 36px 0 12px; color: var(--near-black); }
.legal-page p { font-size: 14px; line-height: 1.85; color: var(--mid-gray); margin-bottom: 14px; }
.legal-page ul { list-style: disc; margin: 12px 0 14px 24px; }
.legal-page ul li { font-size: 14px; line-height: 1.8; color: var(--mid-gray); margin-bottom: 6px; }
.legal-page a { color: var(--teal-dark); text-decoration: underline; cursor: pointer; }

/* ── 20. Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 950;
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(42,167,169,.2);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s var(--ease-out);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { display: none; }
.cookie-banner p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; max-width: 680px; }
.cookie-banner a { color: var(--teal); text-decoration: underline; cursor: pointer; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--r);
  cursor: pointer;
  border: none;
  transition: background var(--t), color var(--t), transform .2s var(--ease-spring);
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn--accept { background: var(--teal); color: var(--white); }
.cookie-btn--accept:hover { background: var(--teal-dark); }
.cookie-btn--reject { background: transparent; color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.2); }
.cookie-btn--reject:hover { color: var(--white); border-color: rgba(255,255,255,.4); }
.cookie-btn--config { background: transparent; color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.15); }
.cookie-btn--config:hover { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.35); }

/* ── Cookie preferences modal ── */
.cookie-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px;
}
.cookie-modal.hidden { display: none; }
.cookie-modal__box {
  background: #0f1117;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 28px 28px 24px;
  max-width: 520px; width: 100%;
  box-shadow: 0 -8px 40px rgba(0,0,0,.5);
}
.cookie-modal__box h3 {
  font-family: var(--fh);
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--white);
  margin-bottom: 4px;
}
.cookie-modal__box > p {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.cookie-pref {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.cookie-pref:last-of-type { border-bottom: none; padding-bottom: 0; }
.cookie-pref strong { font-size: 13px; color: var(--white); display: block; margin-bottom: 3px; }
.cookie-pref p { font-size: 11px; color: rgba(255,255,255,.45); line-height: 1.5; margin: 0; }
.cookie-modal__actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 20px; flex-wrap: wrap;
}
/* Toggle switch */
.cookie-toggle__label {
  position: relative; display: inline-block;
  width: 44px; height: 24px; flex-shrink: 0;
}
.cookie-toggle__label input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle__slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.18);
  border-radius: 24px; cursor: pointer;
  transition: background .3s;
}
.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%;
  transition: transform .3s;
}
.cookie-toggle__label input:checked + .cookie-toggle__slider { background: var(--teal); }
.cookie-toggle__label input:checked + .cookie-toggle__slider::before { transform: translateX(20px); }
.cookie-always-on { font-size: 11px; color: rgba(255,255,255,.35); white-space: nowrap; flex-shrink: 0; }

/* ── Shimmer unificado para botones sin clase .btn ── */
.svc-row__btn,
.filter-btn,
.rv-btn,
.rv-google-btn,
.cookie-btn {
  position: relative;
  overflow: hidden;
}
.svc-row__btn::before,
.filter-btn::before,
.rv-btn::before,
.rv-google-btn::before,
.cookie-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
  transition: left .6s ease;
  pointer-events: none;
}
.svc-row__btn:hover::before,
.filter-btn:hover::before,
.rv-btn:hover::before,
.rv-google-btn:hover::before,
.cookie-btn:hover::before { left: 120%; }

/* ── 21. WhatsApp ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .25s var(--ease-spring), box-shadow var(--t);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 6px 32px rgba(37,211,102,.6); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,.35);
  animation: waP 2.5s ease-out infinite;
}
@keyframes waP {
  0%   { opacity: .7; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.5); }
  100% { opacity: 0;  transform: scale(1.5); }
}

/* ── 22. Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-delay-1  { transition-delay: .1s;  }
.reveal-delay-2  { transition-delay: .2s;  }
.reveal-delay-3  { transition-delay: .3s;  }
.reveal-delay-4  { transition-delay: .4s;  }

