/* ================================================
   DEFELIPE CONSTRUCCIONES — Stylesheet v1.0
   Paleta: Navy #1C2A5E | Gold #F5C200 | Cream #F8F7F2
   ================================================ */

/* ─── 1. Variables ─── */
:root {
  --navy:        #1C2A5E;
  --navy-dark:   #0E1838;
  --navy-mid:    #2A3F88;
  --gold:        #F5C200;
  --gold-dark:   #C99A00;
  --cream:       #F7F6F1;
  --white:       #FFFFFF;
  --dark:        #111827;
  --gray-700:    #374151;
  --gray-600:    #4B5563;
  --gray-400:    #9CA3AF;
  --gray-200:    #E5E7EB;
  --gray-100:    #F3F4F6;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --shadow-sm:  0 2px 8px  rgba(28,42,94,.08);
  --shadow-md:  0 8px 24px rgba(28,42,94,.12);
  --shadow-lg:  0 16px 48px rgba(28,42,94,.18);
  --shadow-xl:  0 24px 64px rgba(28,42,94,.24);

  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --ease: 0.3s ease;
  --ease-fast: 0.2s ease;
  --ease-slow: 0.6s ease;

  --container: 1200px;
  --section-py: 100px;
}

/* ─── 2. Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: color var(--ease-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── 3. Typography ─── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
p  { line-height: 1.75; color: var(--gray-600); }

/* ─── 4. Layout utilities ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section          { padding: var(--section-py) 0; }
.section--dark    { background: var(--navy-dark); color: var(--white); }
.section--dark p  { color: rgba(255,255,255,.65); }
.section--cream   { background: var(--cream); }
.section--navy    { background: var(--navy); }

/* Section header */
.section-label {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-header          { margin-bottom: 60px; }
.section-header--center  { text-align: center; }
.section-header--center .section-label { justify-content: center; }
.section-header--center .section-label::before { display: none; }
.section-header--center .section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-title    { color: inherit; margin-bottom: 14px; }
.section-subtitle { font-size: 1.05rem; max-width: 580px; }
.section-header--center .section-subtitle { margin: 0 auto; }

/* ─── 5. Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all var(--ease);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,194,0,.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--lg { padding: 17px 36px; font-size: .9rem; }
.btn--block { width: 100%; justify-content: center; }

/* ─── 6. Progress bar ─── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 2000;
  width: 0;
  transition: width .1s linear;
}

/* ─── 7. Navbar ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all var(--ease);
}
.navbar.scrolled {
  background: rgba(14,24,56,.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__logo { display: flex; align-items: center; line-height: 1; }
.navbar__logo-img {
  height: 52px;
  width: auto;
  transition: height var(--ease);
  /* logo-white.jpg ya tiene logo claro sobre fondo navy — sin filtro */
}
.navbar.scrolled .navbar__logo-img { height: 42px; }
/* Fallback texto si no carga la imagen */
.navbar__logo-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: none; /* ocultar cuando hay imagen */
}
.navbar__logo-name span { color: var(--gold); }
.navbar__logo-sub {
  font-family: var(--font-heading);
  font-size: .52rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-top: 2px;
  display: none;
}
.navbar__nav { display: flex; align-items: center; gap: 34px; }
.navbar__link {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  position: relative;
  transition: color var(--ease-fast);
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--ease);
}
.navbar__link:hover,
.navbar__link.active { color: var(--white); }
.navbar__link:hover::after,
.navbar__link.active::after { width: 100%; }
.navbar__cta {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: all var(--ease);
}
.navbar__cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245,194,0,.4);
}
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color var(--ease);
}
.mobile-nav__link:hover { color: var(--gold); }
.mobile-nav__close {
  position: absolute;
  top: 24px; right: 28px;
  color: rgba(255,255,255,.6);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--ease);
}
.mobile-nav__close:hover { color: var(--gold); }

/* ─── 8. Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,  transparent, transparent 64px, rgba(245,194,0,.03) 64px, rgba(245,194,0,.03) 65px),
    repeating-linear-gradient(90deg, transparent, transparent 64px, rgba(245,194,0,.03) 64px, rgba(245,194,0,.03) 65px);
}
.hero__img {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: .15;
}
.hero__gold-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark) 50%, var(--gold));
}
.hero__deco {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  opacity: .07;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 130px 0 110px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,194,0,.12);
  border: 1px solid rgba(245,194,0,.28);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero__title {
  color: var(--white);
  font-size: clamp(3rem, 5.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 6px;
  letter-spacing: -.03em;
}
.hero__title em {
  font-style: normal;
  color: var(--gold);
}
.hero__slogan {
  font-family: var(--font-heading);
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  font-weight: 500;
  color: rgba(255,255,255,.6);
  font-style: italic;
  margin-bottom: 22px;
}
.hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 530px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.35);
  font-family: var(--font-heading);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(245,194,0,.5));
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* ─── 9. Stats ─── */
.stats { background: var(--navy); padding: 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.09);
}
.stat-item {
  background: var(--navy);
  padding: 36px 24px;
  text-align: center;
  transition: background var(--ease);
}
.stat-item:hover { background: var(--navy-mid); }
.stat-item__num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.stat-item__label {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ─── 10. About section ─── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__visual { position: relative; }
.about__img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about__badge-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}
.about__badge-txt {
  font-family: var(--font-heading);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 36px;
}
.about__val {
  display: flex;
  align-items: center;
  gap: 10px;
}
.about__val::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.about__val span {
  font-family: var(--font-heading);
  font-size: .84rem;
  font-weight: 600;
  color: var(--dark);
}

/* ─── 11. Services ─── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 54px; height: 54px;
  background: rgba(28,42,94,.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--ease);
}
.service-card:hover .service-card__icon { background: var(--gold); }
.service-card__icon svg {
  width: 26px; height: 26px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--ease);
}
.service-card:hover .service-card__icon svg { stroke: var(--navy-dark); }
.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card__desc { font-size: .88rem; line-height: 1.72; }

/* ─── 12. Why Us ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.why-item {
  text-align: center;
  padding: 32px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: all var(--ease);
}
.why-item:hover {
  background: rgba(245,194,0,.1);
  border-color: rgba(245,194,0,.28);
  transform: translateY(-5px);
}
.why-item__icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.why-item__title {
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.why-item__text { font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ─── 13. Process ─── */
.process__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.process__track::before {
  content: '';
  position: absolute;
  top: 35px; left: 10%; right: 10%;
  height: 2px;
  background: var(--gray-200);
}
.process-step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.process-step__num {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-400);
  transition: all var(--ease);
}
.process-step:hover .process-step__num {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 6px rgba(245,194,0,.14);
}
.process-step__title {
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.process-step__desc { font-size: .8rem; color: var(--gray-600); line-height: 1.65; }

/* ─── 14. Gallery preview ─── */
.gallery-prev__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 10px;
  margin-bottom: 40px;
}
.gallery-prev__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--gray-200);
}
.gallery-prev__item:first-child {
  grid-row: 1 / 3;
}
.gallery-prev__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-prev__item:hover img { transform: scale(1.06); }
.gallery-prev__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,24,56,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
}
.gallery-prev__item:hover .gallery-prev__overlay { background: rgba(14,24,56,.45); }
.gallery-prev__plus {
  font-size: 2.5rem;
  color: var(--white);
  opacity: 0;
  transform: scale(.4);
  transition: all var(--ease);
  font-weight: 300;
}
.gallery-prev__item:hover .gallery-prev__plus { opacity: 1; transform: scale(1); }
.gallery-prev__ph {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
}

/* ─── 15. CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(245,194,0,.07);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -90px; left: -50px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(245,194,0,.05);
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cta-banner__title { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 8px; }
.cta-banner__sub   { color: rgba(255,255,255,.6); font-size: 1rem; }
.cta-banner__btns  { display: flex; gap: 14px; flex-shrink: 0; }

/* ─── 16. Footer ─── */
.footer { background: var(--navy-dark); padding: 64px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__logo-img {
  height: 48px;
  width: auto;
  opacity: .9;
  margin-bottom: 4px;
}
.footer__brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  margin: 14px 0 22px;
  max-width: 270px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  transition: all var(--ease);
}
.footer__social a:hover { background: var(--gold); color: var(--navy-dark); }
.footer__col-title {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .86rem;
  color: rgba(255,255,255,.5);
  transition: color var(--ease-fast);
}
.footer__links a:hover { color: var(--gold); }
.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer__contact-row svg { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.footer__contact-row span { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.55; }
.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__bottom p { font-size: .78rem; color: rgba(255,255,255,.3); }

/* ─── 17. Page hero (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 64px, rgba(245,194,0,.03) 64px, rgba(245,194,0,.03) 65px),
    repeating-linear-gradient(90deg, transparent, transparent 64px, rgba(245,194,0,.03) 64px, rgba(245,194,0,.03) 65px);
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.45); }
.page-hero__breadcrumb a:hover { color: var(--gold); }
.page-hero__breadcrumb span { color: var(--gold); }
.page-hero__title {
  color: var(--white);
  font-weight: 800;
  letter-spacing: -.03em;
}
.page-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  margin-top: 12px;
  max-width: 500px;
}

/* ─── 18. Gallery page ─── */
.gallery__filters { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.gallery__filter-btn {
  font-family: var(--font-heading);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--white);
  transition: all var(--ease);
  cursor: pointer;
}
.gallery__filter-btn:hover,
.gallery__filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--gray-100);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,24,56,.82) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__item-title {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.gallery__item-cat {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
}
/* Gallery placeholder */
.gal-ph {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
  padding: 12px;
  color: rgba(255,255,255,.3);
}

/* ─── 19. Contact page ─── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact__icon {
  width: 48px; height: 48px;
  background: rgba(28,42,94,.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.contact__info-label {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact__info-val { font-size: .92rem; color: var(--gray-600); line-height: 1.55; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .94rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28,42,94,.1);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ─── 20. Nosotros page ─── */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.mvv-card {
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: all var(--ease);
}
.mvv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.mvv-card::before {
  content: attr(data-label);
  position: absolute;
  top: -14px; right: 14px;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(28,42,94,.04);
  line-height: 1;
}
.mvv-card__icon {
  width: 54px; height: 54px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.mvv-card__title {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}
.mvv-card__text { font-size: .9rem; line-height: 1.78; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.value-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  transition: all var(--ease);
}
.value-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.value-card__icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.value-card__title {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.value-card__text { font-size: .78rem; color: var(--gray-600); line-height: 1.6; }

/* ─── 21. Servicios page ─── */
.services-full__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-full-card {
  display: flex;
  gap: 24px;
  padding: 36px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--ease);
}
.service-full-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.service-full-card__icon {
  width: 64px; height: 64px;
  background: rgba(28,42,94,.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease);
}
.service-full-card:hover .service-full-card__icon { background: var(--gold); }
.service-full-card__icon svg {
  width: 30px; height: 30px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--ease);
}
.service-full-card:hover .service-full-card__icon svg { stroke: var(--navy-dark); }
.service-full-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-full-card__desc { font-size: .88rem; line-height: 1.72; margin-bottom: 12px; }
.service-full-card__list { display: flex; flex-direction: column; gap: 5px; }
.service-full-card__list li {
  font-size: .82rem;
  color: var(--gray-600);
  padding-left: 14px;
  position: relative;
}
.service-full-card__list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ─── 22. Scroll Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }
.fade-up:nth-child(6) { transition-delay: .40s; }

/* ─── 23. Responsive ─── */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .process__track { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
  .process__track::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --section-py: 70px; }
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__badge { right: 0; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .services-full__grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__btns { justify-content: center; }
}

@media (max-width: 768px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .process__track { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery-prev__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-prev__item:first-child { grid-row: auto; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  :root { --section-py: 60px; }
  .services__grid,
  .why-grid,
  .stats__grid,
  .gallery__grid,
  .values-grid,
  .mvv-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
  .service-full-card { flex-direction: column; }
  .process__track { grid-template-columns: 1fr; }
}
