/* ==========================================================
   URBAN Remodeling — Hoja de estilos
   Paleta: #08131E (oscuro) · #C89B58 (dorado) · #FFF · #F5F6F8
   ========================================================== */

/* ---------- 1. Variables y reset ---------- */
:root {
  --dark: #08131E;
  --dark-2: #0B1A28;
  --dark-3: #060E17;
  --gold: #C89B58;
  --gold-dark: #B3873F;
  --gold-light: #D9AE6E;
  --white: #FFFFFF;
  --light: #F5F6F8;
  --gray: #5C6572;
  /* texto sobre fondo claro  */
  --gray-light: #9AA5B1;
  /* texto sobre fondo oscuro */
  --line-dark: rgba(255, 255, 255, .10);
  --line-light: #E7EAEE;

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

  --header-h: 84px;
  --radius: 2px;
  --transition: .35s ease;
  --shadow-card: 0 18px 40px rgba(8, 19, 30, .10);
  --shadow-gold: 0 12px 28px rgba(200, 155, 88, .30);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  /* compensa el header sticky */
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

/* bloquea scroll con el menú móvil abierto */

.text-center {
  text-align: center;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  /* regla global solicitada */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--dark);
}

/* Utilidad: texto solo para lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 2. Utilidades de layout ---------- */
.container {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow--gold {
  color: var(--gold);
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--dark);
}

.section__title--light {
  color: var(--white);
}

/* ---------- 3. Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn i {
  font-size: .85em;
  transition: transform var(--transition);
}

.btn:hover i {
  transform: translateX(4px);
}

/* Botón dorado sólido */
.btn--gold {
  background: var(--gold);
  color: var(--dark);
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Botón con borde (sobre fondos oscuros) */
.btn--outline {
  border-color: rgba(255, 255, 255, .35);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- 4. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  /* transparente al inicio */
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}

/* Estado sólido al hacer scroll */
.header.scrolled {
  padding: 12px 0;
  background: rgba(8, 19, 30, .96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.header__container {
  width: min(1360px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__mark {
  width: 44px;
  height: 44px;
  color: var(--gold);
  transition: transform var(--transition);
}

.logo:hover .logo__mark {
  transform: rotate(-6deg);
}

.logo__text {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo__text small {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 4.5px;
  color: #ff9d00;
}

/* Menú centrado */
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav__link {
  position: relative;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  padding: 6px 0;
  transition: color var(--transition);
}

/* Subrayado dorado animado */
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--gold);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__cta {
  display: none;
}

/* solo se muestra dentro del panel móvil */

/* Botón hamburguesa (oculto en escritorio) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--dark);
}

.hero__bg,
.hero__bg img,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__bg img {
  z-index: 0;
}

/* Overlay oscuro en gradiente: más denso a la izquierda y abajo */
.hero__overlay {
  z-index: 1;
  background:
    linear-gradient(to top, rgba(8, 19, 30, .95) 0%, rgba(8, 19, 30, 0) 40%),
    linear-gradient(100deg, rgba(8, 19, 30, .92) 0%, rgba(8, 19, 30, .55) 48%, rgba(8, 19, 30, .30) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + 48px);
}

/* Columna de contenido (izquierda) */
.hero__content {
  max-width: 640px;
  margin: auto 0;
  /* centrado vertical en el espacio disponible */
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__text {
  max-width: 520px;
  color: #B9C2CC;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Caja flotante con 3 características (inferior derecha) */
.hero__features {
  align-self: flex-end;
  width: min(690px, 100%);
  margin-bottom: -72px;
  /* se solapa con la sección siguiente */
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(11, 26, 40, .96);
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  padding: 30px 36px;
}

.feature {
  padding-right: 24px;
}

/* Separadores verticales entre características */
.feature+.feature {
  border-left: 1px solid var(--line-dark);
  padding-left: 24px;
  padding-right: 0;
}

.feature__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.feature__icon {
  font-size: 1.55rem;
  color: var(--gold);
}

.feature__eyebrow {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-light);
}

.feature__title {
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 700;
  color: var(--white);
}

.feature p {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--gray-light);
}

/* ---------- 6. Servicios ---------- */
.services {
  background: var(--white);
  /* padding superior amplio para recibir la caja flotante del hero */
  padding: 150px 0 110px;
}

.services__header {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 60px;
}

.services__intro {
  max-width: 420px;
  justify-self: end;
  font-size: .95rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Tarjeta de servicio */
.service-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  /* elevación al hover */
  box-shadow: var(--shadow-card);
}

.service-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  transition: transform .6s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.08);
  /* zoom de la imagen */
}

.service-card__body {
  position: relative;
  padding: 42px 20px 28px;
  text-align: center;
}

/* Icono circular solapado al borde de la imagen */
.service-card__icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--gold);
  background: var(--dark);
  border: 4px solid var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--gold);
  color: var(--dark);
}

.service-card__body h3 {
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card__body p {
  font-size: .8rem;
  line-height: 1.65;
}

/* ---------- 7. Proyectos ---------- */
.projects {
  background: var(--dark);
}

.projects__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 52px;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Tarjeta de proyecto */
.project-card {
  position: relative;
  aspect-ratio: 7 / 5;
  overflow: hidden;
  background: var(--dark-2);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform .6s ease;
}

/* Gradiente inferior para legibilidad del texto */
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 19, 30, .92) 0%, rgba(8, 19, 30, .25) 45%, rgba(8, 19, 30, .05) 100%);
  transition: background var(--transition), opacity var(--transition);
}

.project-card__info {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
}

.project-card__info h3 {
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.project-card__info span {
  font-size: .72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-light);
}

/* Botón cuadrado dorado con "+" */
.project-card__btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--dark);
  font-size: .95rem;
  opacity: 0;
  /* aparece al hover */
  transform: translateY(12px);
  transition: var(--transition);
}

/* Hover: oscurecer imagen + zoom + mostrar botón */
.project-card:hover img {
  transform: scale(1.07);
}

.project-card:hover .project-card__overlay {
  background: linear-gradient(to top, rgba(8, 19, 30, .95) 0%, rgba(8, 19, 30, .55) 60%, rgba(8, 19, 30, .35) 100%);
}

.project-card:hover .project-card__btn {
  opacity: 1;
  transform: translateY(0);
}

.project-card__btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ---------- 8. Videos ---------- */
.videos {
  background: var(--dark);
}

.videos__header {
  text-align: center;
  margin-bottom: 52px;
}

.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.video-card {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.video-card .tiktok-embed,
.video-card .instagram-media {
  margin: 0 auto !important;
  width: 100% !important;
  min-width: unset !important;
  max-width: 100% !important;
}

.videos__youtube {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dark-2);
}

.videos__youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- 9. Beneficios ---------- */
.benefits {
  background: var(--light);
}

.benefits__eyebrow {
  text-align: center;
  margin-bottom: 56px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.benefit {
  text-align: center;
  padding: 0 26px;
}

/* Separadores verticales muy sutiles */
.benefit+.benefit {
  border-left: 1px solid #E2E5EA;
}

.benefit__icon {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.benefit h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.benefit p {
  font-size: .82rem;
  line-height: 1.65;
}

/* ---------- 10. Contacto ---------- */
.contact {
  background: var(--dark);
}

.contact__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(48px, 6vw, 90px);
  align-items: start;
}

.contact__text {
  color: var(--gray-light);
  max-width: 420px;
  margin: 18px 0 36px;
}

.contact__list {
  display: grid;
  gap: 20px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  font-size: .95rem;
}

.contact__list a {
  transition: color var(--transition);
}

.contact__list a:hover {
  color: var(--gold);
}

.contact__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(200, 155, 88, .45);
  border-radius: 50%;
  transition: var(--transition);
}

.contact__list li:hover .contact__icon {
  background: var(--gold);
  color: var(--dark);
}

/* Formulario */
.contact__form {
  display: grid;
  gap: 16px;
}

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

.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--white);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}

.contact__form ::placeholder {
  color: #7C8794;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, .07);
}

/* Select con flecha dorada personalizada */
.contact__form select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C89B58' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.contact__form select:invalid {
  color: #7C8794;
}

/* placeholder del select */

.contact__form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact__submit {
  justify-self: start;
  min-width: 250px;
}

.contact__submit.sent {
  background: #3E9B6A;
  color: var(--white);
  pointer-events: none;
}

/* ---------- 11. Footer ---------- */
.footer {
  background: var(--dark-3);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 64px 0 32px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer__tagline {
  font-size: .92rem;
  color: var(--gray-light);
}

.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}

.footer__social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gray-light);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer__copy {
  margin-top: 18px;
  padding-top: 22px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: .78rem;
  color: #5F6B78;
}

/* ---------- 12. Animaciones al hacer scroll ---------- */
[data-animate] {
  opacity: 0;
  transition: opacity .8s ease var(--delay, 0s), transform .8s ease var(--delay, 0s);
}

[data-animate="fade-up"] {
  transform: translateY(36px);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Respeta usuarios con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: .01ms !important;
  }
}

/* ==========================================================
   12. RESPONSIVE
   ========================================================== */

/* ----- Tablet grande ----- */
@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 48px;
  }

  /* Reconfigura separadores: sin borde al inicio de cada fila */
  .benefit {
    border-left: 1px solid #E2E5EA;
  }

  .benefit:nth-child(3n + 1) {
    border-left: none;
  }
}

/* ----- Tablet / menú móvil ----- */
@media (max-width: 900px) {
  .header__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Panel de navegación lateral */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(330px, 85vw);
    padding: 110px 34px 40px;
    background: #0A1826;
    transform: translateX(100%);
    transition: transform .45s ease;
    box-shadow: -24px 0 60px rgba(0, 0, 0, .45);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 15px 0;
    font-size: .92rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    display: inline-flex;
    margin-top: 28px;
  }

  /* Una sola columna en el encabezado de servicios */
  .services__header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services__intro {
    justify-self: start;
  }

  /* Contacto apilado */
  .contact__grid {
    grid-template-columns: 1fr;
  }

  /* Caja de características a ancho completo */
  .hero__features {
    align-self: stretch;
    width: 100%;
  }
}

/* ----- Móvil ----- */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Hero en una sola columna */
  .hero__inner {
    padding-top: calc(var(--header-h) + 36px);
  }

  .hero__features {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 24px;
    /* sin solape en móvil */
    padding: 28px;
  }

  .feature {
    padding-right: 0;
  }

  .feature+.feature {
    border-left: none;
    border-top: 1px solid var(--line-dark);
    padding-left: 0;
    padding-top: 22px;
  }

  .services {
    padding: 72px 0;
  }

  /* Servicios en una columna */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Proyectos en carrusel horizontal con scroll-snap */
  .projects__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    margin-inline: -24px;
    /* sangrado a todo el ancho */
    padding-inline: 24px;
    scrollbar-width: none;
  }

  .projects__grid::-webkit-scrollbar {
    display: none;
  }

  .project-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  /* En táctil no hay hover: el botón "+" queda siempre visible */
  .project-card__btn {
    opacity: 1;
    transform: none;
  }

  /* Videos: grid de 1 columna, YouTube responsive */
  .videos__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .videos__youtube {
    aspect-ratio: 16 / 9;
  }

  /* Beneficios en una columna con separadores horizontales */
  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .benefit {
    border-left: none !important;
    padding: 0 12px;
  }

  .benefit+.benefit {
    border-top: 1px solid #E2E5EA;
    padding-top: 40px;
    margin-top: 40px;
  }

  /* Formulario completamente vertical */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact__submit {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ==========================================================
   13. PÁGINA DE SERVICIOS (servicios.html)
   ========================================================== */

/* ----- Hero de página interna ----- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--dark);
}

.page-hero__bg,
.page-hero__bg img,
.page-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero__bg img {
  z-index: 0;
}

/* Overlay más denso a la izquierda para legibilidad */
.page-hero__overlay {
  z-index: 1;
  background: linear-gradient(95deg, rgba(8, 19, 30, .96) 0%, rgba(8, 19, 30, .72) 42%, rgba(8, 19, 30, .25) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 56px) 0 70px;
}

.page-hero__content {
  max-width: 560px;
}

.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero__text {
  max-width: 470px;
  color: #B9C2CC;
  margin-bottom: 32px;
}

/* ----- Lista de servicios (cards horizontales) ----- */
.services-page {
  background: var(--light);
  padding: 72px 0;
}

.service-card-page {
  display: grid;
  grid-template-columns: 420px 1fr;
  background: var(--white);
  border: 1px solid var(--line-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card-page+.service-card-page {
  margin-top: 32px;
}

.service-card-page:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-card-page__img {
  overflow: hidden;
  min-height: 280px;
}

.service-card-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.service-card-page:hover .service-card-page__img img {
  transform: scale(1.06);
}

.service-card-page__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 40px;
}

.service-card-page__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.service-card-page__head i {
  font-size: 2.2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.service-card-page__head h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--dark);
}

.service-card-page__dash {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 14px 0;
}

.service-card-page__body>p {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card-page__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-bottom: 22px;
}

.service-card-page__list li {
  position: relative;
  padding-left: 18px;
  font-size: .84rem;
  color: var(--gray);
  line-height: 1.55;
}

.service-card-page__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.service-card-page__body .btn {
  align-self: flex-start;
}

/* ----- Responsive: página de servicios ----- */
@media (max-width: 900px) {

  /* Card apilada: imagen arriba, contenido abajo */
  .service-card-page {
    grid-template-columns: 1fr;
  }

  .service-card-page__img {
    max-height: 260px;
  }

  .service-card-page__body {
    padding: 28px;
  }

  .service-card-page__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-page {
    padding: 52px 0;
  }

  .page-hero {
    min-height: 0;
  }
}

/* ==========================================================
   14. PÁGINAS INTERNAS
       Proyectos · Nosotros · Testimonios · Blog · Contacto
   ========================================================== */

/* ----- Logo como imagen (reemplaza al SVG) ----- */
.logo__img {
  width: auto;
  /* mantiene la proporción vertical del isotipo */
  height: 60px;
  object-fit: contain;
}

.footer .logo__img {
  height: 54px;
}

/* ----- Botón oscuro (para fondos claros) ----- */
.btn--dark {
  background: var(--dark);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ----- Encabezado de sección centrado ----- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

/* ============ GALERÍA (proyectos.php) ============ */
.gallery {
  background: var(--white);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 46px;
}

.filter-btn {
  padding: 11px 24px;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--white);
  border: 1px solid #D8DCE1;
  border-radius: 50px;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark-2);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 19, 30, 0);
  transition: background var(--transition);
}

.gallery-item__overlay i {
  font-size: 1.6rem;
  color: var(--white);
  opacity: 0;
  transform: scale(.6);
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(8, 19, 30, .45);
}

.gallery-item:hover .gallery-item__overlay i {
  opacity: 1;
  transform: scale(1);
}

/* Estados del filtrado */
.gallery-item.is-hidden {
  display: none;
}

.gallery-item.pop-in {
  animation: popIn .45s ease both;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(8, 19, 30, .95);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  position: relative;
  width: min(92vw, 1400px);
  height: 85vh;
}

.lightbox__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  transition: var(--transition);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.lightbox__close {
  top: 24px;
  right: 24px;
}

.lightbox__prev {
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}

.lightbox__next {
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

/* ============ 14.2 NOSOTROS (about, stats, equipo) ============ */
.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(48px, 6vw, 90px);
}

.about__media {
  position: relative;
}

.about__media img {
  width: 100%;
  aspect-ratio: 5 / 6;
}

/* Insignia flotante dorada */
.about__badge {
  position: absolute;
  left: -24px;
  bottom: 36px;
  padding: 22px 30px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-head);
  box-shadow: 0 18px 40px rgba(200, 155, 88, .35);
}

.about__badge strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about__badge span {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about__content>p {
  margin-top: 18px;
}

.about__list {
  display: grid;
  gap: 14px;
  margin: 28px 0 36px;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark);
}

.about__list i {
  color: var(--gold);
  margin-top: 4px;
}

/* Banda de estadísticas */
.stats {
  background: var(--dark);
  padding: 72px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 0 20px;
}

.stat+.stat {
  border-left: 1px solid var(--line-dark);
}

.stat__number,
.stat__suffix {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--gold);
}

.stat p {
  margin-top: 6px;
  font-size: .85rem;
  color: var(--gray-light);
}

/* Equipo */
.team {
  background: var(--light);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  padding-bottom: 22px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.team-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 18px;
}

.team-card__media img {
  width: 100%;
  height: 100%;
  transition: transform .6s ease;
}

.team-card:hover .team-card__media img {
  transform: scale(1.06);
}

.team-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
}

.team-card span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============ 14.3 TESTIMONIOS ============ */
.testimonials {
  background: var(--light);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  font-size: .78rem;
  color: var(--gold);
}

.testimonial-card__quote {
  flex: 1;
  font-size: .92rem;
  line-height: 1.75;
  color: var(--dark);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.testimonial-card__avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--dark);
  border-radius: 50%;
}

.testimonial-card__author h3 {
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
}

.testimonial-card__author span {
  font-size: .76rem;
}

/* Banda de calificación */
.rating-band {
  background: var(--white);
  border-top: 1px solid var(--line-light);
  padding: 46px 0;
}

.rating-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.rating-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--dark);
}

.rating-item .testimonial-card__stars {
  justify-content: center;
  margin: 6px 0;
}

.rating-item span {
  font-size: .8rem;
}

/* ============ 14.4 BLOG ============ */
.blog {
  background: var(--white);
}

/* Artículo destacado */
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  border: 1px solid var(--line-light);
  margin-bottom: 56px;
}

.featured-post__media {
  overflow: hidden;
  min-height: 340px;
}

.featured-post__media img {
  width: 100%;
  height: 100%;
  transition: transform .6s ease;
}

.featured-post:hover .featured-post__media img {
  transform: scale(1.05);
}

.featured-post__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 52px);
}

.featured-post__content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--dark);
}

.featured-post__content>p {
  font-size: .9rem;
}

/* Etiqueta de categoría */
.post-tag {
  display: inline-block;
  padding: 7px 14px;
  font-family: var(--font-head);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(200, 155, 88, .14);
  border-radius: var(--radius);
}

.post-tag--float {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  color: var(--gold);
  background: rgba(8, 19, 30, .85);
}

.post-meta {
  font-size: .75rem;
  letter-spacing: .5px;
  color: #98A2AE;
}

/* Grilla de artículos */
.posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.post-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  transition: transform .6s ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.07);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 24px;
}

.post-card__body h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
}

.post-card__body>p {
  flex: 1;
  font-size: .84rem;
}

.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
}

.post-card__link:hover {
  color: var(--dark);
  gap: 12px;
}

/* ============ 14.5 CONTACTO (página) ============ */
/* Variante de la grilla: formulario a la izquierda, panel a la derecha */
.contact__grid--page {
  grid-template-columns: 1.15fr .85fr;
}

/* Panel de información */
.contact-panel {
  padding: 36px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-dark);
}

.contact-panel h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.contact-panel>p {
  font-size: .88rem;
  color: var(--gray-light);
  margin-bottom: 28px;
}

.contact-panel .contact__list {
  margin-bottom: 28px;
}

.contact-panel small {
  display: block;
  font-size: .76rem;
  color: var(--gray-light);
}

.contact-panel .footer__social {
  margin-top: 6px;
}

/* Mapa embebido */
.map {
  line-height: 0;
}

.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

/* ----- Responsive: páginas internas ----- */
@media (max-width: 1024px) {

  .gallery__grid,
  .testimonials__grid,
  .posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }

  /* Reconfigura separadores de stats en 2 columnas */
  .stat {
    border-left: 1px solid var(--line-dark);
  }

  .stat:nth-child(2n + 1) {
    border-left: none;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post__media {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__media {
    max-width: 520px;
    margin-inline: auto;
  }

  .about__badge {
    left: 16px;
  }

  /* La variante de contacto también se apila */
  .contact__grid--page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .gallery__grid,
  .testimonials__grid,
  .posts__grid {
    grid-template-columns: 1fr;
  }

  .team__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }

  .rating-band__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .filter-bar {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 18px;
  }

  .map iframe {
    height: 320px;
  }

  .lightbox__close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: .9rem;
  }

  .lightbox__prev {
    left: 10px;
  }

  .lightbox__next {
    right: 10px;
  }
}

/* ==========================================================
   15. WHATSAPP FLOATING BUTTON
   ========================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: wpp-pulse 2s infinite ease-in-out;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, .55);
  animation: none;
}

@keyframes wpp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
}

/* ==========================================================
   16. HOME - referencia visual del cliente
   ========================================================== */
.home-page {
  background: #fff;
  color: #12202d;
}

.home-page .container {
  width: min(1240px, 100% - 48px);
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: .76rem;
  font-weight: 600;
  white-space: nowrap;
}

.header__contact i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--white);
  background: #13aaa7;
  border-radius: 50%;
  font-size: .65rem;
}

.header__contact span {
  line-height: 1.15;
}

.header__contact small {
  display: block;
  margin-top: 3px;
  color: #c0c8ce;
  font-size: .55rem;
  font-weight: 400;
}

.home-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #07131d;
}

.home-hero__media,
.home-hero__media img,
.home-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__media {
  z-index: 0;
}

.home-hero__media img {
  object-position: center 56%;
}

.home-hero__shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 16, 25, .98) 0%, rgba(5, 16, 25, .78) 33%, rgba(5, 16, 25, .12) 76%), linear-gradient(0deg, rgba(5, 16, 25, .42), transparent 50%);
}

/* Blobs vectoriales que recortan visualmente la parte inferior de la foto. */
.home-hero__decorators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  pointer-events: none;
}

.home-hero__brand {
  position: absolute;
  z-index: 3;
  top: 53%;
  left: 67%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(190px, 22vw, 300px);
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.home-hero__brand img {
  width: 58%;
  margin-bottom: 8px;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, .55));
}

.home-hero__brand span {
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.8vw, 2.65rem);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: .95;
  text-shadow: 0 4px 8px rgba(0, 0, 0, .6);
}

.home-hero__brand small {
  display: block;
  margin-top: 5px;
  color: #13aaa7;
  font-size: .37em;
  font-weight: 700;
  letter-spacing: .38em;
}

.home-hero__inner {
  position: relative;
  z-index: 3;
  min-height: 430px;
  display: flex;
  align-items: center;
}

.home-hero__copy {
  max-width: 540px;
  padding: 76px 0 38px;
}

.home-kicker {
  margin-bottom: 7px;
  color: #13aaa7;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.home-hero h1 {
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.8px;
}

.home-hero h1 strong {
  color: #ff9d00;
  font-weight: 800;
}

.home-hero__copy>p:not(.home-kicker) {
  max-width: 370px;
  margin: 18px 0 24px;
  color: #e1e5e7;
  font-size: .78rem;
  line-height: 1.45;
}

.home-hero__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.home-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform .25s ease, filter .25s ease;
}

.home-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.home-button--gold {
  color: #18222b;
  background: #ff9d00;
}

.home-button--teal {
  color: #fff;
  background: #13aaa7;
}

.trust-strip {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 20px;
  left: 0;
  background: transparent;
}

.trust-strip__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  padding: 17px 22px;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
  transform: translateY(-1px);
}

.trust-strip article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 5px 18px;
  border-right: 1px solid #e0e3e5;
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip article>i {
  flex: 0 0 auto;
  color: #0ca49f;
  font-size: 1.45rem;
}

.trust-strip article:nth-child(2)>i,
.trust-strip article:nth-child(4)>i {
  color: #ff9918;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: #152230;
  font-family: var(--font-head);
  font-size: .62rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.trust-strip span {
  margin-top: 5px;
  color: #555e66;
  font-size: .52rem;
  line-height: 1.3;
}

.home-services {
  padding: 34px 0 42px;
  background: #fff;
}

.home-section-heading {
  position: relative;
  text-align: center;
  margin-bottom: 14px;
}

.home-section-heading .home-kicker {
  margin-bottom: 3px;
  color: #178f8e;
  font-size: .5rem;
}

.home-section-heading h2,
.home-projects h2 {
  color: #152230;
  font-family: var(--font-head);
  font-size: 1.55rem;
  line-height: 1.15;
}

.home-section-heading h2::after {
  content: '';
  display: block;
  width: 35px;
  height: 2px;
  margin: 6px auto 0;
  background: #ff9d00;
}

.home-text-link {
  position: absolute;
  right: 0;
  bottom: 2px;
  color: #168f8e;
  font-size: .55rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.home-service-card {
  min-height: 165px;
  padding: 17px 13px 12px;
  color: #fff;
  background: var(--service-color);
  border-radius: 4px;
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: center;
}

.home-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 9px 16px rgba(9, 30, 45, .2);
}

.home-service-card>i {
  margin-bottom: 11px;
  font-size: 1.8rem;
}

.home-service-card h3 {
  min-height: 30px;
  font-family: var(--font-head);
  font-size: .7rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.home-service-card p {
  margin-top: 7px;
  font-size: .55rem;
  line-height: 1.35;
}

.home-service-card a {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin-top: 12px;
  font-size: .53rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-projects {
  padding: 28px 0 32px;
  background: #071925;
}

.home-projects__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 12px;
}

.home-projects .home-kicker {
  margin-bottom: 3px;
  color: #fff;
  font-size: .54rem;
}

.home-projects h2 {
  color: #fff;
  font-size: .98rem;
}

.home-outline-button {
  padding: 7px 10px;
  color: #fff;
  border: 1px solid #0ba9a4;
  border-radius: 2px;
  font-size: .5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-projects__grid {
  display: flex;
}

/* Flechas de navegación del carrusel */
.home-projects__carousel .splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
  transition: background .25s ease, opacity .25s ease, transform .25s ease;
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
}

.home-projects__carousel .splide__arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.home-projects__carousel .splide__arrow--prev {
  left: 10px;
}

.home-projects__carousel .splide__arrow--prev svg {
  transform: scaleX(-1);
}

.home-projects__carousel .splide__arrow--next {
  right: 10px;
}

.home-projects__carousel .splide__arrow:hover {
  background: rgba(11, 169, 164, .9);
}

.home-projects__carousel .splide__arrow:disabled {
  opacity: .3;
  cursor: default;
}

/* Ocultar flechas en mobile (se desliza por gesto) */
@media (max-width: 768px) {
  .home-projects__carousel .splide__arrow {
    display: none;
  }
}

.home-project-card {
  position: relative;
  display: block;
  height: 145px;
  overflow: hidden;
  border-radius: 5px;
  background: #142936;
}

.home-project-card img {
  width: 100%;
  height: 100%;
  transition: transform .4s ease;
}

.home-project-card:hover img {
  transform: scale(1.07);
}

.home-project-card::after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .9));
}

.home-project-card span {
  position: absolute;
  z-index: 1;
  left: 8px;
  right: 5px;
  bottom: 7px;
  color: #fff;
  font-size: .44rem;
  line-height: 1.25;
}

.home-project-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: .49rem;
  text-transform: uppercase;
}

.home-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(105deg, #004b59 0%, #006b75 48%, #078c89 100%);
  color: #fff;
}

.home-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg, rgba(0, 34, 48, .32) 0%, rgba(0, 107, 117, .08) 58%, rgba(0, 24, 35, .2) 100%);
}

.home-cta::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, #006b75 0%, rgba(0, 107, 117, .92) 20%, rgba(0, 107, 117, .55) 48%, rgba(0, 107, 117, .08) 78%, rgba(0, 107, 117, 0) 100%), url('img/bg_cta.webp') center / cover;
  z-index: 0;
}

.home-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  min-height: 132px;
  padding: 22px 25px;
}

.home-cta__message {
  min-width: 250px;
}

.home-cta h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1.05;
}

.home-cta p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 5px;
  color: #f5c400;
  font-size: .58rem;
  font-weight: 700;
}

.home-cta__arrow {
  width: 52px;
  height: 20px;
  flex: 0 0 auto;
}

.home-cta__contact {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 225px;
  padding: 16px 20px;
  color: #fff;
  background: #ff7900;
  border-radius: 6px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .16);
}

.home-cta__contact--whatsapp {
  background: #00a651;
}

.home-cta__contact>i {
  font-size: 1.6rem;
}

.home-cta__contact span {
  font-size: .62rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-cta__contact strong {
  display: block;
  font-family: var(--font-head);
  font-size: .76rem;
}

.footer {
  padding: 20px 0 10px;
  background: #001a2b;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr 1.2fr 1fr;
  align-items: center;
  gap: 22px;
  text-align: left;
}

.footer .logo__img {
  height: 48px;
}

.footer .logo__text {
  font-size: 1rem;
}

.footer .logo__text small {
  font-size: .44rem;
  color: #f5c400;
}

.footer__tagline,
.footer__phone,
.footer__email,
.footer__location {
  color: #d2d9de;
  font-size: .64rem;
  line-height: 1.4;
}

.footer__tagline {
  color: #aeb9c1;
}

.footer__phone,
.footer__email,
.footer__location {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer__phone i,
.footer__email i,
.footer__location i {
  color: #ff9d00;
  font-size: .95rem;
}

.footer__phone small {
  display: block;
  margin-top: 2px;
  color: #9aa8b1;
  font-size: .52rem;
}

.footer__email {
  color: #d2d9de;
}

.footer__location i {
  margin-right: 0;
}

.footer__social {
  grid-column: 6;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  gap: 8px;
}

.footer__social a {
  width: 28px;
  height: 28px;
  color: #f5c400;
  border-color: rgba(245, 196, 0, .45);
  font-size: .72rem;
}

.footer__social a:hover {
  background: #f5c400;
  color: #001a2b;
}

.footer__copy {
  grid-column: 1 / -1;
  margin-top: 3px;
  padding-top: 10px;
  border-top: 1px solid rgba(184, 192, 197, .18);
  font-size: .5rem;
  text-align: center;
}

.footer__copy a {
  color: #aeb9c1;
}

@media (max-width: 1050px) {
  .header__contact {
    display: none;
  }

  .home-services__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .home-service-card {
    min-height: 125px;
  }
}

@media (max-width: 768px) {
  .home-page .container {
    width: min(100% - 28px, 600px);
  }

  .home-hero,
  .home-hero__inner {
    min-height: 470px;
  }

  .trust-strip {
    bottom: 13px;
    position: relative;
    z-index: 4;
  }

  .home-hero__media img {
    object-position: 65% center;
  }

  .home-hero__shade {
    background: linear-gradient(90deg, rgba(5, 16, 25, .96), rgba(5, 16, 25, .38));
  }

  .home-hero__brand {
    top: 56%;
    left: 70%;
    width: 175px;
    display: none;
  }

  .home-hero__copy {
    padding-top: 72px;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px;
    transform: none;
  }

  .trust-strip article {
    padding: 9px 7px;
    border-right: 0;
    border-bottom: 1px solid #e0e3e5;
  }

  .trust-strip article:nth-child(odd) {
    border-right: 1px solid #e0e3e5;
  }

  .trust-strip article:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .home-text-link {
    position: static;
    display: block;
    margin-top: 8px;
  }

  .home-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-projects__heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .home-cta__inner {
    align-items: stretch;
    flex-direction: column;
    padding: 22px 0;
  }

  .home-cta__contact {
    min-width: 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer__social {
    grid-column: 1;
    grid-row: 6;
    justify-self: start;
    margin-top: 10px;
  }

  .footer__location {
    grid-column: 1 / -1;
  }
}

/* Escala legible del home: evita comprimir siete servicios y seis proyectos. */
@media (min-width: 1051px) {

  .home-hero,
  .home-hero__inner {
    min-height: 800px;
  }

  .home-hero__copy {
    max-width: 600px;
    padding-top: 84px;
  }

  .home-hero h1 {
    font-size: clamp(3rem, 5vw, 4.6rem);
  }

  .home-hero__copy>p:not(.home-kicker) {
    max-width: 370px;
    font-size: .92rem;
  }

  .home-button {
    min-height: 48px;
    padding: 12px 20px;
    font-size: .72rem;
  }

  .trust-strip__grid {
    min-height: 82px;
    padding: 17px 22px;
  }

  .trust-strip article {
    min-height: 64px;
    padding-inline: 20px;
  }

  .trust-strip strong {
    font-size: .72rem;
  }

  .trust-strip span {
    font-size: .80rem;
  }

  .home-services {
    padding: 48px 0 58px;
  }

  .home-section-heading h2 {
    font-size: 1.85rem;
  }

  .home-text-link {
    font-size: .72rem;
  }

  .home-services__grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
  }

  .home-service-card {
    min-height: 205px;
    padding: 22px 18px 16px;
  }

  .home-service-card>i {
    font-size: 2.1rem;
  }

  .home-service-card h3 {
    font-size: .86rem;
  }

  .home-service-card p {
    font-size: .72rem;
  }

  .home-service-card a {
    font-size: .64rem;
  }

  .home-projects {
    padding: 40px 0 48px;
  }

  .home-projects h2 {
    font-size: 1.55rem;
  }

  .home-project-card {
    height: 190px;
  }

  .home-project-card span {
    left: 14px;
    bottom: 12px;
    font-size: .68rem;
  }

  .home-project-card strong {
    font-size: .78rem;
  }

  .home-cta__inner {
    min-height: 165px;
    gap: 32px;
    padding-block: 28px;
  }

  .home-cta h2 {
    font-size: 1.7rem;
  }

  .home-cta p {
    font-size: .78rem;
  }

  .home-cta__contact span {
    font-size: .74rem;
  }

  .home-cta__contact strong {
    font-size: .9rem;
  }

  .footer {
    padding-block: 28px 14px;
  }

  .footer__tagline,
  .footer__phone,
  .footer__email,
  .footer__location {
    font-size: .78rem;
  }

  .footer__copy {
    font-size: .62rem;
  }
}

@media (min-width: 769px) and (max-width: 1050px) {

  .home-hero,
  .home-hero__inner {
    min-height: 715px;
  }

  .home-hero h1 {
    font-size: 3.4rem;
  }

  .home-hero__copy>p:not(.home-kicker) {
    font-size: .86rem;
  }

  .home-services__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .home-service-card {
    min-height: 190px;
  }

  .home-project-card {
    height: 165px;
  }

  .footer__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 20px;
  }

  .footer__social {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .home-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .home-hero__copy>p:not(.home-kicker) {
    font-size: .86rem;
  }

  .home-service-card {
    min-height: 185px;
    padding: 18px 15px 14px;
  }

  .home-service-card h3 {
    font-size: .78rem;
  }

  .home-service-card p {
    font-size: .66rem;
  }

  .home-service-card a {
    font-size: .6rem;
  }

  .home-project-card {
    height: 165px;
  }

  .home-project-card span {
    font-size: .6rem;
  }

  .home-project-card strong {
    font-size: .7rem;
  }

  .home-cta h2 {
    font-size: 1.6rem;
  }

  .home-cta__contact span {
    font-size: .7rem;
  }

  .footer__tagline,
  .footer__phone,
  .footer__email,
  .footer__location {
    font-size: .7rem;
  }

  .home-cta::after {
    width: 100%;
  }
}

/* ==========================================================
   16. SERVICIOS — composición inspirada en la referencia
   ========================================================== */
.services-page-new {
  background: #061923;
  color: #fff;
}

.services-eyebrow {
  margin-bottom: 8px;
  color: #f5c400;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.services-showcase {
  padding: 28px 0 42px;
  background: #061923;
}

.services-showcase__heading {
  margin-bottom: 15px;
}

.services-showcase__heading .services-eyebrow {
  margin-bottom: 3px;
}

.services-showcase__heading h2 {
  font-family: var(--font-head);
  font-size: 1.16rem;
  color: #fff;
}

.services-showcase__grid {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.services-sidebar {
  border-right: 1px solid rgba(245, 196, 0, .35);
}

.services-sidebar__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 72px;
  padding: 9px 15px 9px 0;
  color: #c1ccd1;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  transition: color .2s ease, background .2s ease;
}

.services-sidebar__item:last-child {
  border-bottom: 0;
}

.services-sidebar__item>i {
  width: 25px;
  flex-shrink: 0;
  padding-top: 2px;
  color: #f5c400;
  font-size: 1.25rem;
  text-align: center;
}

.services-sidebar__item span {
  font-size: .48rem;
  line-height: 1.3;
}

.services-sidebar__item strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: .56rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.services-sidebar__item:hover,
.services-sidebar__item.is-active {
  color: #fff;
}

.service-media-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 8px;
  scroll-margin-top: 90px;
}

.service-media-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #102934;
}

.service-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
}

.service-media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .58));
}

.service-media-card:hover img {
  filter: brightness(.78);
  transform: scale(1.06);
}

.service-media-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  transform: translate(-50%, -50%);
  color: #172129;
  background: rgba(255, 255, 255, .88);
  border-radius: 50%;
  font-size: .65rem;
  padding-left: 2px;
}

.service-media-card__duration {
  position: absolute;
  right: 5px;
  bottom: 4px;
  z-index: 1;
  padding: 2px 4px;
  color: #fff;
  background: rgba(0, 0, 0, .7);
  font-size: .42rem;
}

@media (max-width: 1050px) {

  .services-showcase__grid {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {

  .services-showcase {
    padding-block: 25px 34px;
  }

  .services-showcase__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-bottom: 1px solid rgba(245, 196, 0, .35);
  }

  .services-sidebar__item {
    min-height: 63px;
    padding: 8px 8px 8px 0;
  }

  .services-sidebar__item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .11);
  }

  .service-media-row {
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .services-sidebar__item span {
    font-size: .44rem;
  }

  .services-sidebar__item strong {
    font-size: .5rem;
  }
}

.internal-footer {
  background: #001421;
  color: #fff;
  padding-top: 20px;
}

.internal-footer__main {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1.18fr;
  min-height: 136px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.internal-footer__message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px 14px 0;
}

.internal-footer__message h2 {
  margin-bottom: 3px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1.1;
}

.internal-footer__message p {
  margin-bottom: 9px;
  color: #f5c400;
  font-size: .94rem;
  font-weight: 700;
}

.internal-footer__message a,
.internal-footer__message span {
  display: block;
  margin-top: 3px;
  color: #c1cbd0;
  font-size: .75rem;
}

.internal-footer__message i {
  width: 13px;
  color: #f5c400;
}

.internal-footer__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.internal-footer__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.internal-footer__form input,
.internal-footer__form select,
.internal-footer__form textarea {
  width: 100%;
  min-width: 0;
  padding: 6px 8px;
  color: #fff;
  background: #071f2b;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 1px;
  font: inherit;
  font-size: .66rem;
}

.internal-footer__form input::placeholder,
.internal-footer__form textarea::placeholder {
  color: #aebbc1;
}

.internal-footer__form select {
  color: #aebbc1;
}

.internal-footer__form textarea {
  height: 28px;
  resize: none;
}

.internal-footer__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 22px;
  color: #07131b;
  background: #d89a32;
  border: 0;
  border-radius: 1px;
  cursor: pointer;
  font-size: .47rem;
  font-weight: 800;
}

.internal-footer__submit:hover {
  background: #f5c400;
}

.internal-footer__brand {
  display: grid;
  grid-template-columns: 1fr .8fr;
  min-width: 0;
}

.internal-footer__brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 15px;
}

.internal-footer__brand-copy .logo__img {
  width: auto;
  height: 38px;
  object-fit: contain;
  object-position: left center;
}

.internal-footer__brand-copy p {
  margin-top: 7px;
  color: #c1cbd0;
  font-size: .66rem;
  line-height: 1.35;
}

.internal-footer__social {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.internal-footer__social a {
  color: #f5c400;
  font-size: .62rem;
}

.internal-footer__photo {
  min-height: 136px;
  background: linear-gradient(90deg, rgba(0, 20, 33, .1), rgba(0, 20, 33, .05)), url('img/bg_cta.webp') center / cover;
}

.internal-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  color: #aebbc1;
  font-size: .66rem;
  padding: 10px 0;
}

.internal-footer__legal span:last-child {
  display: flex;
  gap: 20px;
}

.internal-footer__legal a:hover {
  color: #f5c400;
}

@media (max-width: 900px) {
  .internal-footer__main {
    grid-template-columns: 1fr 1.1fr;
  }

  .internal-footer__brand {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
}

@media (max-width: 600px) {
  .internal-footer__main {
    grid-template-columns: 1fr;
  }

  .internal-footer__message,
  .internal-footer__form {
    padding-inline: 0;
  }

  .internal-footer__form {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .internal-footer__brand {
    grid-template-columns: 1fr 1fr;
  }

  .internal-footer__legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding-block: 8px;
  }
}

/* Acciones y pagos del perfil NFC integrados en el footer interno. */
.internal-footer__nfc {
  display: grid;
  grid-template-columns: 1.35fr 1.15fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.internal-footer__nfc-links,
.internal-footer__nfc-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.internal-footer__nfc-links a,
.internal-footer__nfc-tools a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  color: #c1cbd0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 2px;
  font-size: .4rem;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.internal-footer__nfc-links a i,
.internal-footer__nfc-tools a i {
  color: #f5c400;
  font-size: .62rem;
}

.internal-footer__nfc-links a:hover,
.internal-footer__nfc-tools a:hover {
  color: #fff;
  border-color: #f5c400;
  background: rgba(245, 196, 0, .08);
}

.internal-footer__payment {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 130px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.internal-footer__payment strong,
.internal-footer__payment span,
.internal-footer__payment small {
  display: block;
}

.internal-footer__payment strong {
  color: #f5c400;
  font-size: .46rem;
}

.internal-footer__payment span {
  margin-top: 2px;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
}

.internal-footer__payment small {
  max-width: 85px;
  margin-top: 3px;
  color: #aebbc1;
  font-size: .38rem;
  line-height: 1.2;
}

.internal-footer__payment img {
  width: 44px;
  height: 44px;
  padding: 3px;
  background: #fff;
}

.internal-footer__tap {
  display: none;
}

@media (max-width: 1050px) {
  .internal-footer__nfc {
    grid-template-columns: 1fr 1fr;
  }

  .internal-footer__payment {
    grid-column: 1 / -1;
    justify-self: start;
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .internal-footer__nfc {
    grid-template-columns: 1fr;
  }

  .internal-footer__nfc-links,
  .internal-footer__nfc-tools {
    gap: 5px;
  }

  .internal-footer__nfc-links a,
  .internal-footer__nfc-tools a {
    font-size: .43rem;
  }

  .internal-footer__tap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f5c400;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: 1px;
  }
}

/* Selector de idioma compartido por todo el sitio. */
.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  color: rgba(255, 255, 255, .55);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .5px;
}

.language-switch a {
  color: inherit;
  transition: color .2s ease;
}

.language-switch a:hover,
.language-switch a.is-active {
  color: var(--gold);
}

/* Hero compartido con la misma atmósfera azul/dorada de Servicios. */
.page-hero {
  height: 470px;
  background: #061923;
}

.page-hero__overlay {
  background: linear-gradient(90deg, #061923 0%, #061923 35%, rgba(6, 25, 35, .92) 48%, rgba(6, 25, 35, .18) 77%, rgba(6, 25, 35, .08) 100%);
}

.page-hero__bg {
  right: 0;
  left: auto;
  width: 56%;
}

.page-hero__bg img {
  object-fit: cover;
  object-position: center;
}

.page-hero__inner {
  display: flex;
  align-items: center;
  height: 470px;
  padding: var(--header-h) 0 0;
}

.page-hero__content {
  max-width: 680px;
  padding: 48px 0 34px;
}

.page-hero__title {
  max-width: 600px;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  line-height: 1;
}

.page-hero__text {
  max-width: 520px;
  color: #d5dde1;
  font-size: .78rem;
  line-height: 1.5;
}

.page-hero__content>.btn {
  min-height: 42px;
  padding: 11px 14px;
  font-size: .58rem;
}

.page-hero__call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 155px;
  min-height: 42px;
  margin-left: 8px;
  padding: 8px 12px;
  vertical-align: middle;
  color: #fff;
  background: rgba(5, 20, 29, .72);
  border: 1px solid rgba(255, 255, 255, .25);
}

.page-hero__call>i {
  color: #f5c400;
  font-size: .9rem;
}

.page-hero__call span {
  font-size: .66rem;
  font-weight: 700;
}

.page-hero__call small {
  display: block;
  margin-bottom: 2px;
  color: #f5c400;
  font-size: .45rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .language-switch {
    margin-left: auto;
    margin-right: 10px;
  }

  .page-hero,
  .page-hero__inner {
    height: auto;
    min-height: 430px;
  }

  .page-hero__overlay {
    background: linear-gradient(90deg, rgba(3, 15, 23, .98) 0%, rgba(3, 15, 23, .84) 48%, rgba(3, 15, 23, .34) 100%);
  }

  .page-hero__bg {
    width: 100%;
  }

  .page-hero__inner {
    align-items: center;
    padding-top: 72px;
    padding-bottom: 8px;
  }

  .page-hero__content {
    padding-block: 30px 22px;
  }

  .page-hero__call {
    display: flex;
    margin-top: 8px;
    margin-left: 0;
  }

  .page-hero__content>.btn {
    display: flex;
    width: max-content;
  }
}

/* Cada servicio agrupa su descripción con sus tres piezas visuales. */
.services-showcase__grid {
  display: block;
}

.service-showcase-row {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  scroll-margin-top: 90px;
}

.service-showcase-row:first-child {
  padding-top: 0;
}

.service-showcase-row:last-child {
  border-bottom: 0;
}

.service-showcase-row__info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-right: 14px;
}

.service-showcase-row__info>i {
  width: 34px;
  flex: 0 0 34px;
  padding-top: 2px;
  color: #f5c400;
  font-size: 1.65rem;
  text-align: center;
}

.service-showcase-row__info h3 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.service-showcase-row__info p {
  color: #bdc9ce;
  font-size: .8rem;
  line-height: 1.45;
}

@media (max-width: 1050px) {
  .service-showcase-row {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .service-showcase-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 16px 0;
  }

  .service-showcase-row__info {
    padding-right: 0;
  }

  .service-showcase-row__info h3 {
    font-size: .72rem;
  }

  .service-showcase-row__info p {
    max-width: 420px;
    font-size: .58rem;
  }
}

@media (max-width: 480px) {
  .internal-footer__photo {
    display: none;
  }
}