/* ================================================================
   AURELIA CONSTRUCTION — styles.css
   Paleta: gold #C9A24B | dark #111827 | graphite #1F2937 | white #F9F7F4
================================================================ */

/* ── Variables ───────────────────────────────────────────────── */
:root {
  --gold:       #C9A24B;
  --gold-light: #e8c97a;
  --dark:       #111827;
  --graphite:   #1F2937;
  --mid:        #374151;
  --light:      #F9F7F4;
  --white:      #ffffff;
  --gray:       #9CA3AF;
  --border:     rgba(201,162,75,.25);

  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'Inter', system-ui, sans-serif;

  --radius: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,.18);
  --transition: .3s ease;
  --nav-h: 80px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-sans);
  background: var(--light);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utilities ───────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.bg-dark    { background: var(--graphite); }
.white      { color: var(--white); }
.white-70   { color: rgba(255,255,255,.75); }
.text-gold  { color: var(--gold); }
.mt-2       { margin-top: 1.5rem; }
.mb-3       { margin-bottom: 3rem; }
.gap-lg     { gap: 64px; }

/* ── Typography ──────────────────────────────────────────────── */
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin: .75rem 0 1.25rem;
}
.section-title.white { color: var(--white); }
.lead { font-size: 1.1rem; color: #4B5563; max-width: 700px; }
.lead.white-70 { color: rgba(255,255,255,.75); }
.section-center { text-align: center; }
.section-center .lead { margin: 0 auto; }

/* ── Badge ───────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: .5rem;
}
.badge-gold { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition);
  letter-spacing: .03em;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,75,.4); }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-full { width: 100%; justify-content: center; }

/* ── Grid layouts ────────────────────────────────────────────── */
.two-col   { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.four-col  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Section image ───────────────────────────────────────────── */
.section-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 700; color: var(--gold); letter-spacing: .08em; }
.logo-sub  { font-size: .55rem; font-weight: 600; letter-spacing: .25em; color: rgba(255,255,255,.7); text-transform: uppercase; }

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link i { font-size: .65rem; transition: transform var(--transition); }
.nav-item.has-dropdown:hover .nav-link i { transform: rotate(180deg); }
.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  font-weight: 700;
  padding: 8px 20px;
}
.nav-cta:hover { background: var(--gold-light); }

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  transform: translateX(-50%) translateY(8px);
  box-shadow: var(--shadow);
}
.nav-item.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: .87rem;
  color: rgba(255,255,255,.8);
  transition: color var(--transition), padding var(--transition);
}
.dropdown li a:hover { color: var(--gold); padding-left: 28px; }

/* Lang + Hamburger */
.nav-right { display: flex; align-items: center; gap: 16px; margin-left: 8px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; }
.lang-sep { color: rgba(255,255,255,.3); }
.lang-btn {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
  transition: color var(--transition);
}
.lang-btn.active { color: var(--gold); }
.lang-btn:hover  { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
================================================================ */
.hero { position: relative; height: 100vh; min-height: 600px; }
.hero-swiper, .hero-slide { height: 100%; }
.hero-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,24,39,.85) 0%, rgba(17,24,39,.55) 60%, rgba(17,24,39,.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 860px;
  margin: 0 auto;
}
.hero-tagline {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 2.4rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Swiper customization */
.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.5); opacity: 1; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--gold); }
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev { color: var(--gold); }
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after { font-size: 20px; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.scroll-hint span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%       { opacity: 1; transform: scaleY(1); }
}

/* ================================================================
   COUNTERS BAND
================================================================ */
.counters-band { background: var(--dark); padding: 64px 0; }
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.counter-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.counter-icon { font-size: 2rem; color: var(--gold); }
.counter-val {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--ff-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.counter-val .plus { font-size: 1.8rem; color: var(--gold); }
.counter-item p { font-size: .85rem; color: var(--gray); font-weight: 500; letter-spacing: .03em; }

/* ================================================================
   VISION — pilares
================================================================ */
.pilares-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 2.5rem;
}
.pilar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--graphite);
  padding: 14px 24px;
  border-radius: 30px;
  border: 1px solid var(--border);
  font-size: .9rem;
  font-weight: 600;
}
.pilar i { color: var(--gold); }

/* ================================================================
   FILOSOFÍA cards
================================================================ */
.filo-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.filo-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.filo-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(201,162,75,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.4rem;
  color: var(--gold);
}
.filo-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.filo-card p  { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.65; }

/* ================================================================
   VALORES cards
================================================================ */
.valor-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.valor-card:hover { box-shadow: 0 12px 36px rgba(201,162,75,.18); transform: translateY(-4px); }
.valor-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(201,162,75,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.4rem;
  color: var(--gold);
}
.valor-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; color: var(--dark); }
.valor-card p  { font-size: .88rem; color: #6B7280; line-height: 1.65; }

/* ================================================================
   SERVICIOS grid
================================================================ */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.serv-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.serv-card:hover {
  border-color: var(--gold);
  background: rgba(201,162,75,.06);
  transform: translateY(-4px);
}
.serv-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.serv-card h3 { font-size: .98rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.serv-card p  { font-size: .86rem; color: rgba(255,255,255,.62); line-height: 1.65; }

/* ================================================================
   EXPERIENCIA / PROJECTS
================================================================ */
.filter-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 600;
  border: 1.5px solid rgba(0,0,0,.15);
  color: var(--mid);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proj-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.15); }
.proj-card.hidden { display: none; }
.proj-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.proj-overlay {
  position: absolute; inset: 0;
  background: rgba(201,162,75,.0);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  opacity: 0;
  transition: all var(--transition);
}
.proj-card:hover .proj-overlay { background: rgba(17,24,39,.6); opacity: 1; }
.proj-meta { padding: 18px 20px; }
.proj-cat-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.proj-meta h4 { font-size: 1rem; font-weight: 700; margin: 6px 0 4px; color: var(--dark); }
.proj-meta p  { font-size: .83rem; color: var(--gray); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
}
.lightbox-inner {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 760px;
  width: calc(100% - 48px);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  transform: scale(.9);
  transition: transform var(--transition);
}
.lightbox.open .lightbox-inner { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--gold); }
.lb-img { height: 300px; background-size: cover; background-position: center; }
.lb-body { padding: 28px 32px 32px; }
.lb-body h3 { font-size: 1.4rem; font-weight: 700; margin: 8px 0 12px; }
.lb-body p  { font-size: .93rem; color: #4B5563; line-height: 1.7; margin-bottom: 12px; }
.lb-loc { font-size: .85rem; color: var(--gold); font-weight: 600; }
.lb-loc i { margin-right: 6px; }

/* ================================================================
   MAQUINARIAS / EQUIPMENT
================================================================ */
.eq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.eq-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 30px;
  font-size: .87rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.65);
  transition: all var(--transition);
}
.eq-tab:hover { border-color: var(--gold); color: var(--gold); }
.eq-tab.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.eq-tab i { font-size: .85rem; }

.eq-panel { display: none; }
.eq-panel.active { display: block; animation: panelFade .4s ease; }
@keyframes panelFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.eq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.eq-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.eq-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.eq-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.eq-info { padding: 20px; }
.eq-info h4 { font-size: .97rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.eq-info ul { padding-left: 0; }
.eq-info li {
  font-size: .83rem;
  color: rgba(255,255,255,.65);
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}
.eq-info li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ================================================================
   PROCESO — Timeline
================================================================ */
.proceso-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 16px;
}
.proceso-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 0 12px;
}
.proceso-connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold));
  align-self: center;
  margin-top: -72px;
  opacity: .4;
}
.paso-num {
  font-family: var(--ff-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(201,162,75,.18);
  line-height: 1;
  margin-bottom: 4px;
}
.paso-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(201,162,75,.1);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin: 0 auto 1rem;
}
.proceso-step h3 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.proceso-step p  { font-size: .83rem; color: #6B7280; line-height: 1.65; }

/* ================================================================
   CONTACTO
================================================================ */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.75); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: .93rem;
  font-family: inherit;
  color: var(--white);
  transition: border-color var(--transition);
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--graphite); color: var(--white); }
.form-group input.invalid,
.form-group textarea.invalid { border-color: #EF4444; }
.form-err { font-size: .8rem; color: #EF4444; min-height: 1em; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: .9rem;
  color: #4ADE80;
}
.form-success i { font-size: 1.2rem; }

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}
.info-item i { font-size: 1.2rem; color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.info-item h4 { font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.info-item p { font-size: .87rem; color: rgba(255,255,255,.6); line-height: 1.5; }

.social-row { display: flex; gap: 12px; }
.soc-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  transition: all var(--transition);
}
.soc-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }

/* ================================================================
   FOOTER
================================================================ */
.footer { background: var(--dark); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.5); margin-top: 1rem; line-height: 1.7; }
.footer-domain { font-size: .78rem; color: var(--gold); margin-top: .5rem !important; letter-spacing: .05em; }
.footer-logo { display: flex; flex-direction: column; line-height: 1; margin-bottom: 4px; }
.footer h5 { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-list li + li { margin-top: 10px; }
.footer-list a { font-size: .87rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-list a:hover { color: var(--gold); }
.footer-list li i { color: var(--gold); margin-right: 6px; font-size: .75rem; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ================================================================
   FLOATING BUTTONS
================================================================ */
.wa-float {
  position: fixed;
  bottom: 88px; right: 24px;
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.55); }

.back-top {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 900;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  box-shadow: 0 4px 16px rgba(201,162,75,.4);
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  transform: translateY(12px);
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ================================================================
   RESPONSIVE — Tablet (≤1024px)
================================================================ */
@media (max-width: 1024px) {
  .servicios-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { gap: 36px; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .proceso-wrap { flex-wrap: wrap; gap: 32px; }
  .proceso-connector { display: none; }
}

/* ================================================================
   RESPONSIVE — Mobile (≤768px)
================================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .section { padding: 64px 0; }

  /* Navbar mobile */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0 32px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    border-top: 1px solid var(--border);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { padding: 14px 24px; border-radius: 0; font-size: .95rem; }
  .nav-cta { margin: 12px 24px 0; border-radius: 4px; justify-content: center; }

  /* Dropdown mobile */
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255,255,255,.04);
    border: none;
    border-left: 2px solid var(--gold);
    margin-left: 24px;
    padding: 4px 0;
    box-shadow: none;
    border-radius: 0;
    display: none;
  }
  .has-dropdown.mob-open .dropdown { display: block; }
  .dropdown li a { padding: 10px 20px; font-size: .88rem; }

  /* Grids */
  .two-col     { grid-template-columns: 1fr; }
  .three-col   { grid-template-columns: 1fr; }
  .four-col    { grid-template-columns: 1fr 1fr; }
  .servicios-grid  { grid-template-columns: 1fr 1fr; }
  .projects-grid   { grid-template-columns: 1fr; }
  .eq-grid         { grid-template-columns: 1fr; }
  .counters-grid   { grid-template-columns: 1fr 1fr; }
  .contacto-grid   { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom   { flex-direction: column; gap: 8px; text-align: center; }

  /* Hero */
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero-btns  { flex-direction: column; align-items: center; }
  .btn        { width: 100%; max-width: 280px; justify-content: center; }

  /* Proceso */
  .proceso-wrap { flex-direction: column; align-items: center; }
  .proceso-step { max-width: 100%; padding: 0; }

  /* Eq tabs */
  .eq-tab { font-size: .78rem; padding: 9px 14px; }
}

/* ================================================================
   RESPONSIVE — Small Mobile (≤480px)
================================================================ */
@media (max-width: 480px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .four-col { grid-template-columns: 1fr; }
  .eq-tabs { gap: 8px; }
  .filter-wrap { gap: 8px; }
  .filter-btn { font-size: .78rem; padding: 7px 14px; }
  .counter-val { font-size: 2.4rem; }
}

/* ================================================================
   ====  CORRECCIONES v2  =========================================
================================================================ */

/* ── Breadcrumb bar (modo vista SPA) ─────────────────────────── */
.breadcrumb-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 998;
  background: var(--graphite);
  border-bottom: 1px solid var(--border);
  display: none;
}
body.view-mode .breadcrumb-bar { display: block; }
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 52px;
}
.bc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  transition: color var(--transition);
}
.bc-back:hover { color: var(--gold-light); }
.bc-path {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  border-left: 1px solid rgba(255,255,255,.15);
  padding-left: 16px;
}

/* En modo vista, añadir espacio para el breadcrumb */
body.view-mode { padding-top: 52px; }

/* ── Router de vistas SPA ────────────────────────────────────── */
/* En modo vista: ocultar el hero, contadores y todas las secciones,
   y mostrar solo la sección activa (data-main-section).             */
body.view-mode .hero,
body.view-mode .counters-band { display: none; }

body.view-mode [data-main-section] { display: none; }
body.view-mode [data-main-section].view-active {
  display: block;
  animation: viewFade .45s ease;
}
@keyframes viewFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ── Estado vacío de Experiencia (PUNTO 3) ───────────────────── */
.exp-empty-state {
  text-align: center;
  padding: 60px 20px;
  border: 2px dashed rgba(0,0,0,.12);
  border-radius: var(--radius);
  color: var(--gray);
}
.exp-empty-state.hidden { display: none; }
.exp-empty-state i { font-size: 2.4rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.exp-empty-state p { font-size: 1.05rem; font-weight: 500; }
.bg-dark .exp-empty-state { border-color: rgba(255,255,255,.12); }

/* Por defecto las tarjetas de proyecto arrancan ocultas (PUNTO 3) */
.proj-card { display: none; }
.proj-card.show { display: block; }

/* ── Sección Energía (PUNTO 5) ───────────────────────────────── */
.energia-section {
  background: linear-gradient(135deg, #0d1320 0%, #16243a 100%);
  position: relative;
  overflow: hidden;
}
.energia-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201,162,75,.15), transparent 70%);
  pointer-events: none;
}
.energia-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.energia-text .section-title { margin-top: .5rem; }
.energia-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.section-subtitle {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 700;
}
.mt-3 { margin-top: 3rem; }

/* Contadores energéticos */
.energia-counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.ecounter {
  text-align: center;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
}
.ecounter > i { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.ecounter-val {
  font-family: var(--ff-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.ecounter-val .plus { font-size: 1.4rem; color: var(--gold); }
.ecounter p { font-size: .85rem; color: var(--gray); font-weight: 500; margin-top: 8px; }

/* Capacidades energéticas */
.energia-caps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.ecap-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.ecap-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.ecap-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201,162,75,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  color: var(--gold);
}
.ecap-card h4 { font-size: .92rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.ecap-card p { font-size: .82rem; color: rgba(255,255,255,.62); line-height: 1.6; }
.energia-cta { text-align: center; margin-top: 48px; }

/* ── Botón "Ver Ficha" en tarjetas de equipo (PUNTO 7) ───────── */
.eq-card { display: flex; flex-direction: column; }
.eq-card .eq-info { flex: 1; }
.eq-ficha-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: rgba(201,162,75,.1);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  border-top: 1px solid rgba(201,162,75,.2);
  transition: background var(--transition), color var(--transition);
}
.eq-ficha-btn:hover { background: var(--gold); color: var(--dark); }
.eq-card { cursor: pointer; }

/* ── Modal de ficha de equipo (PUNTO 7) ──────────────────────── */
.eq-modal {
  position: fixed; inset: 0;
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.eq-modal.open { opacity: 1; visibility: visible; }
.eq-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(4px);
}
.eq-modal-inner {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 720px;
  width: calc(100% - 48px);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  transform: scale(.9);
  transition: transform var(--transition);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.eq-modal.open .eq-modal-inner { transform: scale(1); }
.eq-modal-img { background-size: cover; background-position: center; min-height: 320px; }
.eq-modal-body { padding: 32px 28px; }
.eq-modal-body h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; color: var(--dark); }
.eq-modal-specs li {
  font-size: .9rem;
  color: #4B5563;
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.eq-modal-specs li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0; top: 9px;
  color: var(--gold);
  font-size: .85rem;
}
.eq-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.eq-modal-close:hover { background: var(--gold); }

/* ── Botón de idioma chino: tamaño consistente ───────────────── */
.lang-btn { font-size: .78rem; white-space: nowrap; }
.lang-btn[data-lang="zh"] { font-size: .82rem; }

/* ── Responsive correcciones v2 ──────────────────────────────── */
@media (max-width: 1024px) {
  .energia-caps { grid-template-columns: repeat(3, 1fr); }
  .energia-hero { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .energia-counters { grid-template-columns: 1fr; }
  .energia-caps { grid-template-columns: 1fr; }
  .eq-modal-inner { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .eq-modal-img { min-height: 200px; }
  .breadcrumb-inner { height: 48px; }
  body.view-mode { padding-top: 48px; }
}

/* ================================================================
   ====  IMPACTO VISUAL v3  =======================================
   Bloques A–G: dirección de arte, scroll, hero, hover, etc.
================================================================ */

/* ── Variables nuevas de espaciado / sombra ──────────────────── */
:root {
  --shadow-sm:  0 2px 8px rgba(17,24,39,.06);
  --shadow-md:  0 10px 30px rgba(17,24,39,.10);
  --shadow-lg:  0 24px 60px rgba(17,24,39,.16);
  --shadow-gold: 0 12px 40px rgba(201,162,75,.28);
  --ease-soft: cubic-bezier(.22,1,.36,1);
}

/* Más aire entre secciones (Bloque A) */
.section { padding: 120px 0; }
@media (max-width: 768px) { .section { padding: 72px 0; } }

/* ── A) Jerarquía tipográfica reforzada ──────────────────────── */
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.01em;
}
.badge {
  position: relative;
  padding-left: 34px;
}
/* Línea fina dorada antes del badge (detalle de lujo) */
.badge::before {
  content: '';
  position: absolute;
  left: 12px; top: 50%;
  width: 14px; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}
.badge-gold::before { background: var(--dark); }

/* Subrayado animado bajo los títulos de sección */
.section-title { display: inline-block; }
.section-center .section-title { position: relative; padding-bottom: 18px; }
.section-center .section-title::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  transition: width .9s var(--ease-soft) .2s;
}
.section-center .section-title.in-view::after { width: 120px; }

/* ── A) Profundidad en secciones oscuras: grano + degradado ──── */
.bg-dark, .energia-section { position: relative; }
.bg-dark::before, .energia-section::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
.bg-dark > .container, .energia-section > .container { position: relative; z-index: 1; }

/* Sombras multicapa refinadas en tarjetas claras */
.valor-card { box-shadow: var(--shadow-sm); }
.valor-card:hover { box-shadow: var(--shadow-lg), 0 0 0 1px var(--border); }
.proj-card { box-shadow: var(--shadow-md); }

/* ── F) Preloader ────────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0;
  z-index: 5000;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s var(--ease-soft), visibility .7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo { display: flex; flex-direction: column; line-height: 1; margin-bottom: 24px; animation: preFade 1s var(--ease-soft); }
.preloader-logo .logo-main { font-family: var(--ff-serif); font-size: 2.4rem; color: var(--gold); letter-spacing: .1em; }
.preloader-logo .logo-sub { font-size: .7rem; letter-spacing: .35em; color: rgba(255,255,255,.6); text-transform: uppercase; margin-top: 6px; }
.preloader-bar { width: 200px; height: 2px; background: rgba(255,255,255,.12); margin: 0 auto; border-radius: 2px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); animation: preLoad 1.1s var(--ease-soft) forwards; }
@keyframes preLoad { to { width: 100%; } }
@keyframes preFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── B) Barra de progreso de scroll ──────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 1001;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 10px rgba(201,162,75,.6);
  transition: width .1s linear;
}

/* ── D) Cursor personalizado (solo escritorio) ───────────────── */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor { cursor: none; }
  body.has-cursor a, body.has-cursor button, body.has-cursor .eq-card, body.has-cursor .proj-card { cursor: none; }
  .cursor-dot {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 7px; height: 7px;
    background: var(--gold);
    border-radius: 50%;
    z-index: 6000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, background .2s;
  }
  .cursor-ring {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 34px; height: 34px;
    border: 1.5px solid rgba(201,162,75,.6);
    border-radius: 50%;
    z-index: 6000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform .18s var(--ease-soft), width .25s, height .25s, border-color .25s, background .25s;
  }
  .cursor-ring.hovering {
    width: 56px; height: 56px;
    border-color: var(--gold);
    background: rgba(201,162,75,.08);
  }
  .cursor-dot.hovering { width: 0; height: 0; }
}

/* ── C) Hero: Ken Burns + overlay cinematográfico ────────────── */
.hero-overlay {
  background: linear-gradient(180deg, rgba(17,24,39,.55) 0%, rgba(17,24,39,.35) 40%, rgba(17,24,39,.85) 100%),
              radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(17,24,39,.5) 100%);
}
.hero-slide {
  background-size: cover;
  /* Ken Burns: zoom lento continuo */
}
.swiper-slide-active .hero-slide,
.hero-slide.kb-active {
  animation: kenBurns 8s ease-out forwards;
}
@keyframes kenBurns {
  from { background-size: 110%; }
  to   { background-size: 122%; }
}

/* Titular hero: animación palabra por palabra */
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}
.hero-title.animate .word {
  animation: wordUp .8s var(--ease-soft) forwards;
}
@keyframes wordUp { to { opacity: 1; transform: none; } }

/* La palabra clave dorada en cursiva elegante */
.hero-title .text-gold { font-style: italic; }

/* Indicador de scroll mejorado */
.scroll-hint span {
  background: linear-gradient(to bottom, transparent, var(--gold));
  height: 56px;
}
.scroll-hint::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: -22px; left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: .8rem;
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: .5; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ── B) Reveal de imágenes con máscara clip-path ─────────────── */
.reveal-img { clip-path: inset(0 100% 0 0); will-change: clip-path; }
.reveal-img.revealed { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-soft); }

/* Estado base de elementos animados por GSAP (fallback si GSAP no carga) */
.gsap-ready [data-reveal] { opacity: 0; }

/* ── D) Botones: relleno/brillo dorado ───────────────────────── */
.btn { position: relative; overflow: hidden; z-index: 1; }
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform .6s var(--ease-soft);
  z-index: -1;
}
.btn:hover::after { transform: translateX(120%); }
.btn-gold { box-shadow: 0 4px 14px rgba(201,162,75,.25); }
.btn-gold:hover { box-shadow: var(--shadow-gold); }
/* CTA principal con resplandor sutil pulsante */
.nav-cta { position: relative; }
.nav-cta::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 6px;
  background: var(--gold);
  opacity: 0;
  z-index: -1;
  filter: blur(10px);
  transition: opacity .3s;
}
.nav-cta:hover::before { opacity: .5; }

/* ── D) Tarjetas: zoom de imagen interior + flecha ───────────── */
.proj-img { transition: transform .7s var(--ease-soft); }
.proj-card { overflow: hidden; }
.proj-card:hover .proj-img { transform: scale(1.08); }
.proj-card { position: relative; }
.proj-meta { position: relative; }
.proj-meta::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 20px; bottom: 18px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s, transform .3s;
}
.proj-card:hover .proj-meta::after { opacity: 1; transform: none; }

.eq-img { transition: transform .7s var(--ease-soft); }
.eq-card { overflow: hidden; }
.eq-card:hover .eq-img { transform: scale(1.06); }

.serv-card { position: relative; overflow: hidden; }
.serv-card .serv-icon { transition: transform .4s var(--ease-soft); }
.serv-card:hover .serv-icon { transform: translateY(-4px) scale(1.1); }
.serv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height .4s var(--ease-soft);
}
.serv-card:hover::before { height: 100%; }

.ecap-card, .filo-card { position: relative; overflow: hidden; }
.ecap-card .ecap-icon, .filo-card .filo-icon { transition: transform .4s var(--ease-soft); }
.ecap-card:hover .ecap-icon, .filo-card:hover .filo-icon { transform: scale(1.12) rotate(-4deg); }

/* ── D) Menú: subrayado dorado que crece ─────────────────────── */
.nav-link:not(.nav-cta) { position: relative; }
.nav-link:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 14px; bottom: 4px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s var(--ease-soft);
}
.nav-link:not(.nav-cta):hover::after,
.nav-link.active:not(.nav-cta)::after { width: calc(100% - 28px); }

/* ── F) Transición de vistas SPA más suave ───────────────────── */
body.view-mode [data-main-section].view-active {
  animation: viewSlide .55s var(--ease-soft);
}
@keyframes viewSlide {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* Número de sección decorativo dorado (detalle de lujo, Bloque A) */
.proceso-step .paso-num { transition: color .4s var(--ease-soft); }
.proceso-step:hover .paso-num { color: var(--gold); }

/* ── G) Accesibilidad: respetar prefers-reduced-motion ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-title .word { opacity: 1; transform: none; }
  .reveal-img { clip-path: none; }
  .swiper-slide-active .hero-slide, .hero-slide.kb-active { animation: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body.has-cursor { cursor: auto; }
}
