:root {
  --navy: #0D2F6E;
  --blue: #1A4DB8;
  --teal: #3BBFBF;
  --light-teal: #5CD8D8;
  --white: #FFFFFF;
  --off-white: #F4F7FC;
  --gray: #6B7B99;
  --dark: #0A1A3D;
  --accent: #E8F2FF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 2px solid var(--teal);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 40px;
  background: rgba(10, 26, 61, 0.97);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 102;
}
.nav-logo { min-width: 0; flex: 1; }
.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.nav-logo img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.nav-logo span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.15;
  min-width: 0;
}
.nav-logo span small {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color .2s;
  padding: 8px 0;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  flex-shrink: 0;
  background: var(--teal);
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
  text-align: center;
}
.nav-cta:hover { background: var(--light-teal); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(255,255,255,0.14); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-nav.nav-is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav.nav-is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-nav.nav-is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.site-nav.nav-is-open .nav-toggle {
  gap: 0;
  justify-content: center;
}
.nav-overlay {
  display: none;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slider--fondo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.hero-slider--fondo .hero-slider-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
  aspect-ratio: unset;
  background: var(--navy);
}
.hero-slider--fondo .hero-slider-track {
  min-height: 100%;
  height: 100%;
}
.hero-slider--fondo .hero-slide {
  min-height: 100%;
  height: 100%;
}
.hero-slider--fondo .hero-slide img {
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-fondo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 26, 61, 0.88) 0%, rgba(10, 26, 61, 0.5) 42%, rgba(10, 26, 61, 0.82) 100%),
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(26, 77, 184, 0.22) 0%, transparent 55%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero-inner--inicio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px 88px;
  width: 100%;
  pointer-events: none;
}
.hero-inner--inicio .hero-copy {
  pointer-events: auto;
}
.hero-copy {
  width: 100%;
  max-width: 720px;
  text-align: center;
}
.hero-copy .hero-sub {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}
.hero-copy .hero-checks {
  align-items: center;
}
.hero-copy .hero-checks span {
  justify-content: center;
}
.hero-copy .hero-btns {
  justify-content: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,191,191,0.15);
  border: 1px solid rgba(59,191,191,0.4);
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 24px;
  animation: fadeUp .8s ease both;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; }
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.95; color: var(--white);
  text-transform: uppercase; letter-spacing: -0.01em;
  margin-bottom: 24px;
  animation: fadeUp .8s .1s ease both;
}
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-sub {
  font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.7);
  line-height: 1.7; max-width: 480px; margin-bottom: 36px;
  animation: fadeUp .8s .2s ease both;
}
.hero-checks {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px;
  animation: fadeUp .8s .3s ease both;
}
.hero-checks span {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: rgba(255,255,255,0.85); font-weight: 500;
}
.hero-checks span::before {
  content: '✓';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--teal); border-radius: 50%;
  color: var(--dark); font-size: 0.7rem; font-weight: 800;
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp .8s .4s ease both;
}
.btn-primary {
  background: var(--teal); color: var(--dark);
  padding: 14px 32px; border-radius: 4px;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--light-teal); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3); color: var(--white);
  padding: 14px 32px; border-radius: 4px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.hero-slider:not(.hero-slider--fondo) {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}
.hero-slider-viewport {
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid rgba(59,191,191,0.28);
  box-shadow: 0 12px 48px rgba(0,0,0,0.25);
  aspect-ratio: 4 / 3;
  min-height: 220px;
  width: 100%;
  background: rgba(255,255,255,0.06);
}
.hero-slider-track {
  display: flex;
  height: 100%;
  min-height: 220px;
  transition: transform 0.55s ease;
}
.hero-slider--fondo .hero-slider-btn {
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.25);
}
.hero-slider--fondo .hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(24px, env(safe-area-inset-bottom));
  margin-top: 0;
  z-index: 2;
}
.hero-slider--fondo .hero-slider-dot {
  background: rgba(255,255,255,0.45);
}
.hero-slider--fondo .hero-slider-dot.is-active {
  background: var(--teal);
}
.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(59,191,191,0.92);
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  transition: background 0.2s, transform 0.2s;
}
.hero-slider-btn:hover {
  background: var(--light-teal);
  transform: translateY(-50%) scale(1.05);
}
.hero-slider-btn--prev { left: 10px; }
.hero-slider-btn--next { right: 10px; }
.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hero-slider-dot.is-active {
  background: var(--teal);
  transform: scale(1.25);
}
.hero-slider--empty .hero-slider-viewport {
  min-height: 200px;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider-track { transition-duration: 0.01ms; }
}

/* ─── SECTIONS ─── */
section { padding: 100px 40px; }
section.hero {
  padding: 0;
  padding-top: 80px;
}
.container { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--teal);
  border-left: 3px solid var(--teal); padding-left: 12px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase; line-height: 1.05; color: var(--dark);
  margin-bottom: 20px;
}
.section-title em { color: var(--blue); font-style: normal; }
.section-lead {
  font-size: 1.05rem; color: var(--gray); line-height: 1.75;
  max-width: 600px;
}

/* ─── STATS STRIP ─── */
.stats-strip {
  background: var(--navy);
  padding: 50px 40px;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.1);
}
.stat-item {
  background: var(--navy);
  padding: 40px 32px; text-align: center;
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 3.5rem;
  color: var(--teal); line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}

/* ─── QUIÉNES SOMOS ─── */
.about { background: var(--off-white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-box {
  background-color: var(--navy);
  background-image: url('../img/nosotros.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px; overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-img-box::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(13, 47, 110, 0.5) 0%, rgba(26, 77, 184, 0.35) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(59,191,191,0.04) 0px,
      rgba(59,191,191,0.04) 1px,
      transparent 1px,
      transparent 20px
    );
  pointer-events: none;
}
.about-img-box img {
  width: min(240px, 85%);
  height: auto;
  position: relative;
  z-index: 1;
  filter: brightness(0) invert(1) drop-shadow(0 4px 20px rgba(0,0,0,0.35));
}
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--teal); color: var(--dark);
  padding: 20px 24px; border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; text-align: center;
  box-shadow: 0 8px 32px rgba(59,191,191,0.35);
}
.about-badge strong { display: block; font-size: 2.5rem; line-height: 1; }
.about-badge span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.mvv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.mvv-card {
  background: var(--white); border-radius: 6px; padding: 24px;
  border-top: 3px solid var(--blue);
  box-shadow: 0 2px 12px rgba(13,47,110,0.06);
}
.mvv-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.mvv-card p { font-size: 0.87rem; color: var(--gray); line-height: 1.65; }
.mvv-card.full { grid-column: 1/-1; border-top-color: var(--teal); }

/* ─── NUESTROS SERVICIOS / NUESTROS CLIENTES (secciones dedicadas) ─── */
section.services-section,
section.clients-section {
  padding: 0;
  scroll-margin-top: 88px;
}
.section-spec-header {
  padding: 72px 40px 56px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0f3d8f 50%, var(--blue) 100%);
  color: var(--white);
}
.section-spec-header--clients {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--accent) 55%, var(--accent) 100%);
  color: var(--dark);
}
.section-spec-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  border-left: 3px solid var(--teal);
  padding-left: 12px;
  margin-bottom: 18px;
}
.section-spec-header--clients .section-spec-tag {
  color: var(--blue);
  border-left-color: var(--blue);
}
.section-spec-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 5vw, 3rem);
  text-transform: uppercase;
  line-height: 1.08;
  color: var(--white);
  margin: 0 auto 16px;
  max-width: 920px;
}
.section-spec-header--clients .section-spec-title {
  color: var(--navy);
}
.section-spec-title em {
  color: var(--light-teal);
  font-style: normal;
}
.section-spec-header--clients .section-spec-title em {
  color: var(--blue);
}
.section-spec-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto;
}
.section-spec-header--clients .section-spec-lead {
  color: var(--gray);
}
.services-panel {
  background: var(--white);
  padding: 72px 40px 100px;
}
.clients-panel {
  background: var(--accent);
  padding: 72px 40px 100px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.service-card {
  border: 1px solid rgba(13,47,110,0.08);
  border-radius: 8px; padding: 36px 28px;
  transition: all .3s; position: relative; overflow: hidden;
  background: var(--white);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.service-card:hover { box-shadow: 0 12px 48px rgba(13,47,110,0.1); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1.2rem; text-transform: uppercase;
  color: var(--navy); letter-spacing: 0.04em; margin-bottom: 12px;
}
.service-card p { font-size: 0.87rem; color: var(--gray); line-height: 1.7; }
.service-list { margin-top: 12px; padding-left: 0; list-style: none; }
.service-list li {
  font-size: 0.82rem; color: var(--gray); padding: 3px 0;
  padding-left: 14px; position: relative;
}
.service-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--teal); font-size: 0.75rem;
}

.service-card--db {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--accent);
  overflow: hidden;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.service-card-inner {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-inner--padtop {
  padding-top: 32px;
  padding-bottom: 0;
}
.service-card--db .service-card-inner + .service-card-inner {
  padding-top: 0;
}
.service-card--db h3 {
  margin-top: 0;
}
.service-card-text {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.75;
  margin: 0;
}
.services-empty {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0;
  padding: 40px 24px;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.65;
  background: rgba(13, 47, 110, 0.04);
  border-radius: 8px;
  border: 1px dashed rgba(13, 47, 110, 0.12);
}
.services-empty--error {
  border-color: rgba(192, 57, 43, 0.35);
  background: rgba(192, 57, 43, 0.06);
  color: #5c2a2a;
}
.services-empty--error code {
  font-size: 0.88em;
  color: var(--navy);
  background: rgba(13, 47, 110, 0.07);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ─── VALORES ─── */
.values { background: var(--dark); }
.values .section-title { color: var(--white); }
.values .section-lead { color: rgba(255,255,255,0.5); }
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  margin-top: 56px; background: rgba(255,255,255,0.05);
}
.value-item {
  background: var(--dark);
  padding: 40px 32px;
  border-bottom: 2px solid transparent;
  transition: border-color .3s;
}
.value-item:hover { border-bottom-color: var(--teal); }
.value-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 3rem; line-height: 1;
  color: rgba(59,191,191,0.15); margin-bottom: 16px;
}
.value-item h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1.25rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--white); margin-bottom: 12px;
}
.value-item p { font-size: 0.87rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ─── Logos de clientes (img/clientes vía API) ─── */
.clients-logos-wrap {
  margin-bottom: 48px;
}
.clients-logos-empty-msg {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 16px;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--gray);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  border: 1px dashed rgba(13, 47, 110, 0.2);
}
.clients-logos-empty-msg code {
  font-size: 0.82em;
  color: var(--navy);
  word-break: break-all;
}
.clients-logos-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-align: center;
  margin: 0 0 28px;
}
.clients-logos-heading em {
  color: var(--blue);
  font-style: normal;
}
.clients-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  align-items: center;
  justify-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.clients-logos-item {
  margin: 0;
  width: 100%;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(13, 47, 110, 0.08);
  box-shadow: 0 2px 14px rgba(13, 47, 110, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.clients-logos-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13, 47, 110, 0.1);
}
.clients-logos-item img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* ─── Tarjetas de clientes ─── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0;
}
.client-card {
  background: var(--white); border-radius: 8px;
  padding: 32px 24px; text-align: center;
  box-shadow: 0 4px 20px rgba(13,47,110,0.06);
  transition: transform .3s;
}
.client-card:hover { transform: translateY(-4px); }
.client-icon { font-size: 2.5rem; margin-bottom: 16px; }
.client-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--navy);
}

/* ─── Galería pública (tabla galeria, render en index.php) ─── */
.gallery-section {
  background: var(--white);
  padding: 88px 0 96px;
  scroll-margin-top: 88px;
  position: relative;
  z-index: 1;
  opacity: 1;
}
.gallery-section .section-title {
  color: var(--navy);
}
.gallery-section .section-title em {
  color: var(--blue);
  font-style: normal;
}
.site-galeria-wrap {
  margin-top: 24px;
}
.site-galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .site-galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(120px, auto);
    gap: 10px;
  }
  .site-galeria-item--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}
.site-galeria-item {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  border: none;
  box-shadow: 0 2px 16px rgba(13, 47, 110, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.site-galeria-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13, 47, 110, 0.12);
}
.site-galeria-item--featured .site-galeria-link {
  min-height: min(52vw, 420px);
  aspect-ratio: auto;
}
@media (min-width: 768px) {
  .site-galeria-item--featured .site-galeria-link {
    min-height: 340px;
  }
}
.site-galeria-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  line-height: 0;
  background: #e2e8f0;
  overflow: hidden;
}
.site-galeria-link:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.site-galeria-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.site-galeria-item:hover .site-galeria-link img {
  transform: scale(1.03);
}
/* Lupa: icono azul claro, sin recuadro llamativo */
.site-galeria-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  color: #8ec5f0;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(13, 47, 110, 0.12);
  pointer-events: none;
}
.site-galeria-zoom svg {
  flex-shrink: 0;
}
/* Superposición solo en la tarjeta destacada */
.site-galeria-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 20px 22px;
  background: linear-gradient(
    to top,
    rgba(13, 47, 110, 0.88) 0%,
    rgba(13, 47, 110, 0.45) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.site-galeria-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4a926;
}
.site-galeria-overlay-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.site-galeria-overlay-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  max-width: 36ch;
}
/* Lightbox (<dialog>): centrado en viewport */
.site-galeria-lightbox-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  max-width: min(96vw, 1100px);
  width: max-content;
  max-height: min(92vh, 900px);
  padding: 0;
  border: none;
  border-radius: 12px;
  background: #0a1628;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}
.site-galeria-lightbox-dialog::backdrop {
  background: rgba(10, 22, 40, 0.82);
  backdrop-filter: blur(4px);
}
.site-galeria-lightbox-inner {
  position: relative;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: min(96vw, 1100px);
}
.site-galeria-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-galeria-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.site-galeria-lightbox-img {
  display: block;
  width: auto;
  max-width: min(90vw, 1050px);
  max-height: min(78vh, 800px);
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  border-radius: 8px;
}
.site-galeria-lightbox-caption {
  margin: 12px 8px 4px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  width: 100%;
  max-width: min(90vw, 1050px);
}
.site-galeria-empty {
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray);
  padding: 32px 20px;
  margin: 0;
  background: rgba(13, 47, 110, 0.04);
  border-radius: 10px;
  border: 1px dashed rgba(13, 47, 110, 0.15);
  line-height: 1.6;
}
.site-galeria-empty code {
  font-size: 0.88em;
  color: var(--navy);
  background: rgba(13, 47, 110, 0.07);
  padding: 2px 6px;
  border-radius: 4px;
}
.site-galeria-empty--error {
  border-color: rgba(192, 57, 43, 0.35);
  background: rgba(192, 57, 43, 0.06);
  color: #5c2a2a;
}
.site-galeria-empty--error strong {
  color: #922b21;
}

/* ─── EQUIPO (estilos acotados a .team; gradiente corregido) ─── */
.team {
  background: var(--white);
}
.team .section-lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.team .team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
  gap: clamp(24px, 3vw, 36px);
  margin-top: 56px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 0;
}
.team .team-card {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 28px 20px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--off-white);
  border: 1px solid rgba(13, 47, 110, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(13, 47, 110, 0.06);
}
.team .team-avatar {
  width: clamp(150px, 40vw, 190px);
  height: clamp(150px, 40vw, 190px);
  max-width: min(100%, 190px);
  flex-shrink: 0;
  border-radius: 50%;
  margin: 0 0 18px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--teal);
  border: 5px solid var(--accent);
  box-sizing: border-box;
  aspect-ratio: 1;
}
.team .team-avatar--photo {
  padding: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}
.team .team-avatar--photo img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team .team-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin: 0 0 10px;
  width: 100%;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.team .team-card p {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  width: 100%;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ─── PROPUESTA DE VALOR ─── */
.value-prop {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white); text-align: center;
}
.value-prop .section-title { color: var(--white); margin: 0 auto 16px; }
.value-prop .section-lead { color: rgba(255,255,255,0.7); margin: 0 auto 56px; text-align: center; }
.prop-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px;
}
.prop-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 28px 20px; text-align: center;
}
.prop-icon { font-size: 2rem; margin-bottom: 12px; }
.prop-item p { font-size: 0.85rem; color: rgba(255,255,255,0.8); font-weight: 500; }

/* ─── CONTACTO ─── */
section.contact,
.contact {
  background: var(--off-white);
}
section.contact .contact-grid,
.contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  width: 100%;
}
section.contact .contact-info h2,
.contact .contact-info h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 16px;
}
section.contact .contact-info > p,
.contact .contact-info > p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 36px;
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  width: auto;
  max-width: none;
}
section.contact .contact-items,
.contact .contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
section.contact .contact-item,
.contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
section.contact .contact-icon,
.contact .contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
section.contact .contact-item h4,
.contact .contact-item h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}
section.contact .contact-item p,
.contact .contact-item p {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
  width: auto;
  max-width: none;
}
section.contact .contact-form,
.contact .contact-form {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 32px rgba(13, 47, 110, 0.08);
  width: 100%;
  box-sizing: border-box;
}
section.contact .contact-form h3,
.contact .contact-form h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
section.contact .contact-form-hint,
.contact .contact-form-hint {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 24px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
section.contact .form-group,
.contact .form-group {
  margin-bottom: 20px;
}
section.contact .form-group label,
.contact .form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
section.contact .form-group input,
section.contact .form-group textarea,
section.contact .form-group select,
.contact .form-group input,
.contact .form-group textarea,
.contact .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(13, 47, 110, 0.12);
  border-radius: 6px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--off-white);
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
}
section.contact .form-group textarea,
.contact .form-group textarea {
  resize: vertical;
}
section.contact .form-group input:focus,
section.contact .form-group textarea:focus,
section.contact .form-group select:focus,
.contact .form-group input:focus,
.contact .form-group textarea:focus,
.contact .form-group select:focus {
  border-color: var(--teal);
  background: var(--white);
}
section.contact .form-row,
.contact .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─── WHATSAPP (pestaña lateral) ─── */
.whatsapp-float {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px 14px 14px;
  margin-left: env(safe-area-inset-left, 0);
  background: var(--blue);
  color: #fff;
  border-radius: 0 999px 999px 0;
  box-shadow: 4px 4px 18px rgba(13, 47, 110, 0.35);
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, padding-left 0.2s ease;
}
.whatsapp-float:hover {
  background: var(--navy);
  box-shadow: 6px 6px 22px rgba(13, 47, 110, 0.45);
  padding-left: 18px;
}
.whatsapp-float:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.whatsapp-float svg {
  display: block;
  flex-shrink: 0;
}

/* ─── FOOTER ─── */
body > footer,
footer {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 48px 40px;
  text-align: center;
  border-top: 1px solid rgba(59, 191, 191, 0.2);
}
body > footer > img,
footer > img {
  height: 56px;
  width: auto;
  margin: 0 auto 16px;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.2));
}
body > footer > p:not(.footer-credit),
footer > p:not(.footer-credit) {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 auto;
  max-width: 640px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
footer strong {
  color: var(--teal);
}
body > footer .footer-credit,
footer .footer-credit {
  margin-top: 20px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.04em;
  text-transform: none;
}
body > footer .footer-credit a,
footer .footer-credit a {
  color: rgba(59, 191, 191, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
body > footer .footer-credit a:hover,
footer .footer-credit a:hover {
  color: var(--light-teal);
  text-decoration: underline;
}

/* ─── Scroll reveal (activo solo con html.js-scroll-fx + clase añadida por JS) ─── */
html.js-scroll-fx .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js-scroll-fx .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
html.js-scroll-fx .reveal-on-scroll.reveal-on-scroll--scale {
  transform: translate3d(0, 24px, 0) scale(0.97);
}
html.js-scroll-fx .reveal-on-scroll.reveal-on-scroll--scale.is-revealed {
  transform: translate3d(0, 0, 0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  html.js-scroll-fx .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes spin {
  from { transform: rotate(0deg); } to { transform: rotate(360deg); }
}


/* --- Inline styles moved here --- */
.about-text-extra {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.8;
  margin-top: 16px;
}

.service-card--cta {
  background: var(--navy);
  border-color: var(--navy);
}
.service-card--cta .service-icon {
  background: rgba(59, 191, 191, 0.15);
}
.service-card--cta h3 {
  color: var(--white);
}
.service-card--cta > p {
  color: rgba(255, 255, 255, 0.6);
}
.service-card--cta .btn-primary {
  margin-top: 24px;
  display: inline-flex;
  font-size: 0.8rem;
}

.values .section-title em {
  color: var(--teal);
}

.clients-highlight {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: var(--navy);
  border-radius: 8px;
}
.clients-highlight p {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.clients-highlight .text-teal {
  color: var(--teal);
}

.clients-sectors {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(13, 47, 110, 0.1);
  box-shadow: 0 4px 20px rgba(13, 47, 110, 0.05);
}
.clients-sectors-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 16px;
  text-align: center;
}
.clients-sectors-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.clients-sectors-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.55;
}
.clients-sectors-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.85rem;
}

.value-prop .section-title em {
  color: var(--teal);
}

.contact-info h2 em {
  color: var(--blue);
  font-style: normal;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-bar {
    padding: 10px 16px;
    gap: 10px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(10, 26, 61, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }
  .site-nav.nav-is-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(56px + env(safe-area-inset-top, 0px)) 20px 32px;
    margin: 0;
    background: rgba(10, 26, 61, 0.98);
    backdrop-filter: blur(14px);
    box-shadow: -12px 0 36px rgba(0, 0, 0, 0.3);
    z-index: 101;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.nav-is-open .nav-links {
    transform: translateX(0);
  }
  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links a {
    display: block;
    padding: 16px 10px;
    font-size: 0.9rem;
  }
  .nav-cta {
    padding: 9px 12px;
    font-size: 0.68rem;
    max-width: 42vw;
    line-height: 1.25;
  }
  .nav-logo img {
    height: 40px;
  }
  .nav-logo span {
    font-size: 1rem;
  }
  section { padding: 64px 24px; }
  section.hero {
    padding: 0;
    padding-top: 72px;
  }
  .section-spec-header {
    padding: 48px 24px 40px;
  }
  .services-panel,
  .clients-panel {
    padding: 48px 24px 72px;
  }
  .stats-strip {
    padding: 36px 16px;
  }
  .stat-item {
    padding: 28px 16px;
  }
  .stat-num {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
  .hero-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-inner--inicio { padding: 32px 20px 80px; }
  .hero-slider--fondo .hero-slider-btn {
    top: auto;
    bottom: 52px;
    transform: none;
  }
  .hero-slider--fondo .hero-slider-btn:hover {
    transform: scale(1.05);
  }
  .whatsapp-float {
    top: auto;
    bottom: max(20px, env(safe-area-inset-bottom));
    transform: none;
    padding: 12px 16px 12px 12px;
  }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Forzar el contacto a 1 columna en móvil/tablet (más específico que la regla base). */
  section.contact .contact-grid,
  .contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  /* Mantener 4 en una sola fila en pantallas medianas */
  .team .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .team .team-card {
    max-width: none;
    width: 100%;
  }
  .prop-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .about-badge { bottom: -16px; right: 0; }
  .mvv { grid-template-columns: 1fr; }
  .clients-highlight {
    padding: 24px 18px;
  }
  .clients-highlight p {
    font-size: clamp(1.15rem, 4.5vw, 1.8rem);
  }
}

@media (max-width: 760px) {
  .team .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .prop-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .team .team-grid { grid-template-columns: 1fr; }
  .contact .contact-grid { gap: 28px; }
  .contact .contact-form { padding: 24px 18px; }
  .contact .contact-item { gap: 12px; }
  .contact .contact-icon { width: 40px; height: 40px; }
  .contact .contact-item p { overflow-wrap: anywhere; word-break: break-word; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .form-row { grid-template-columns: 1fr; }
  .nav-logo span small {
    display: none;
  }
  footer {
    padding: 40px 20px;
  }
  .contact-info h2 {
    font-size: clamp(1.65rem, 7vw, 2.5rem);
  }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    justify-content: center;
    width: 100%;
  }
}