:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-dark: #0f1720;
  --surface: #ffffff;
  --surface-dark: rgba(15, 23, 32, 0.68);
  --text: #122033;
  --text-soft: #526173;
  --text-light: #e9eef5;
  --primary: #0b6efd;
  --primary-dark: #084fb4;
  --border: #dbe3ec;
  --shadow: 0 18px 50px rgba(14, 28, 45, 0.10);
  --shadow-soft: 0 10px 30px rgba(14, 28, 45, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 227, 236, 0.65);
}

.header-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav .nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.site-nav .nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  flex: 0 0 46px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  border-radius: 999px;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

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

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 32, 0.84) 0%,
    rgba(15, 23, 32, 0.58) 42%,
    rgba(15, 23, 32, 0.2) 100%
  );
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 110px 0 90px;
  color: #fff;
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #91c2ff;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 640px;
  margin: 0 0 30px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* HOME HERO PREMIUM · INTEGRABIMMX */
.hero-home {
  min-height: calc(100vh - var(--header-height));
  isolation: isolate;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(8, 15, 25, 0.72) 0%,
      rgba(8, 15, 25, 0.48) 42%,
      rgba(8, 15, 25, 0.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 15, 25, 0.12) 0%,
      rgba(8, 15, 25, 0.32) 100%
    );
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1.2s ease,
    transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content-premium {
  position: relative;
  z-index: 3;
  max-width: 790px;
}

.hero-partners {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.hero-partners img {
  width: auto;
  height: 82px;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}

.hero-content-premium h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.65rem);
  color: #ffffff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}

.hero-content-premium .hero-text {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Strip */
.strip {
  padding: 28px 0;
}

.strip-highlight {
  background: var(--bg-dark);
  color: #fff;
}

.strip-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.strip h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-soft);
}

/* Dark banner */
.section-dark-banner {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  color: #fff;
}

.banner-bg {
  position: absolute;
  inset: 0;
}

.banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 32, 0.35), rgba(11, 19, 32, 0.72));
}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.banner-content h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.banner-content p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 24px;
}

.news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.matterport-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid rgba(219, 227, 236, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(11, 110, 253, 0.22);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--text-soft);
}

.card a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* Service cards */
.service-card {
  padding: 24px;
  min-height: 220px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--text-soft);
}

/* Diploma cards */
.diploma-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diploma-card .btn {
  align-self: flex-start;
  min-height: 42px;
  padding-inline: 18px;
  background: var(--bg-dark);
  color: #fff;
}

.diploma-card .btn:hover {
  background: #08111d;
}

/* Profile */
.section-profile {
  background:
    linear-gradient(180deg, rgba(10, 22, 35, 0.94), rgba(10, 22, 35, 0.94)),
    url("../img/bg-corporate-1-1.jpg") center/cover no-repeat;
  color: #fff;
}

.profile-wrap {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: center;
}

.profile-photo img {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.12);
}

.profile-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.profile-copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

/* CTA in section */
.section-cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

/* Footer */
.site-footer {
  background:
    linear-gradient(180deg, rgba(10, 18, 30, 0.94), rgba(10, 18, 30, 0.98)),
    url("../img/parallax/parallax-8.jpg") center/cover no-repeat;
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 28px;
  padding: 70px 0 34px;
}

.footer-brand img {
  max-width: 210px;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer a {
  color: rgba(233, 238, 245, 0.82);
}

.site-footer a:hover {
  color: #fff;
}

.contact-list a {
  word-break: break-word;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .container {
  padding: 18px 0 26px;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  color: rgba(233, 238, 245, 0.76);
  font-size: 0.95rem;
}

/* Helpers */
.hidden {
  display: none !important;
}

/* Página interna */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
  color: #fff;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.68), rgba(10, 18, 30, 0.76));
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 0 70px;
  max-width: 840px;
}

.page-hero-content h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-hero-content p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.about-departments {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-values {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.history-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.history-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.history-copy p {
  color: var(--text-soft);
}

.history-art {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-main {
  max-width: 90%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.history-float {
  position: absolute;
  max-width: 180px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.18));
}

.history-float-a {
  top: -20px;
  left: -10px;
}

.history-float-b {
  bottom: 10px;
  left: -40px;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.founder-media img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.founder-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 3rem);
  color: #fff;
}

.founder-role {
  margin: 0 0 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #91c2ff;
}

.founder-copy p {
  color: rgba(255, 255, 255, 0.88);
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.founder-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.founder-links a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.client-logos img {
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
  object-fit: contain;
  filter: saturate(0.98);
}

.featured-clients {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Página servicios */
.page-hero-simple {
  background: linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
  color: var(--text);
  min-height: 280px;
}

.page-hero-simple .page-hero-content {
  padding: 120px 0 70px;
}

.page-hero-simple .eyebrow {
  color: var(--primary);
}

.page-hero-simple p:last-child {
  color: var(--text-soft);
}

.service-media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.media-service-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-service-card-wide {
  grid-column: span 3;
}

.media-service-card-wide img {
  aspect-ratio: 21 / 9;
}

/* Página proyectos */
.project-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.project-card a {
  display: block;
  height: 100%;
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(11, 110, 253, 0.10);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

/* Página eventos */
.event-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

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

.event-card a {
  display: block;
  height: 100%;
}

.event-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Página matterport */
.matterport-product-list {
  display: grid;
  gap: 28px;
}

.matterport-product-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(219, 227, 236, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.matterport-product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.matterport-product-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.15;
}

.matterport-product-copy p {
  margin: 0 0 18px;
  color: var(--text-soft);
}

.matterport-catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.matterport-accessory-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Página dron */
.dron-video-wrap {
  display: grid;
}

.dron-video-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(219, 227, 236, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.dron-video-media video {
  width: 100%;
  border-radius: 18px;
  background: #000;
  display: block;
}

.dron-video-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  line-height: 1.12;
}

.dron-video-copy p {
  margin: 0;
  color: var(--text-soft);
}

.dron-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dron-gallery-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dron-cta {
  display: grid;
}

.dron-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.dron-cta-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
}

.dron-cta-card p:last-of-type {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

/* Página capacitación */
.training-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.training-card a {
  display: block;
  height: 100%;
}

.training-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.training-cta {
  display: grid;
}

.training-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.training-cta-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
}

.training-cta-card p:last-of-type {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

/* Detalle de proyecto */
.project-detail-nav-wrap {
  padding-top: 34px;
  padding-bottom: 0;
}

.project-detail-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.project-detail-link,
.project-detail-back {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

.project-detail-link strong,
.project-detail-back {
  font-weight: 700;
}

.project-detail-link-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.project-detail-back {
  justify-self: center;
  white-space: nowrap;
}

.project-detail-link.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.project-detail-gallery-section {
  padding-top: 34px;
}

.project-detail-gallery {
  display: grid;
  gap: 24px;
}

.project-detail-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-detail-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-detail-info-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.project-detail-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.project-detail-copy p {
  color: var(--text-soft);
}

.project-detail-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.project-detail-social a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}

.project-detail-meta h3 {
  margin: 0 0 14px;
}

.project-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-detail-list li + li {
  margin-top: 10px;
}

.project-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Responsive general + páginas */
@media (max-width: 1100px) {
  .about-departments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .featured-clients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-media-grid,
  .coordination-grid,
  .construction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-service-card-wide {
    grid-column: auto;
  }

  .media-service-card-wide img {
    aspect-ratio: 16 / 10;
  }

  .project-grid,
  .event-grid,
  .matterport-catalog-grid,
  .training-grid,
  .project-detail-thumbs,
  .project-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matterport-product-card,
  .dron-video-card,
  .project-detail-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-wrap {
    position: relative;
  }

  .site-nav {
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .site-nav a {
    width: 100%;
    display: block;
  }

  .site-nav .nav-cta {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-home {
    min-height: 88vh;
  }

  .hero-content-premium {
    padding-top: 82px;
    padding-bottom: 66px;
  }

  .hero-partners {
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 18px;
  }

  .hero-partners img {
    height: 64px;
    max-width: 128px;
  }

  .hero-content-premium h1 {
    font-size: clamp(2.05rem, 8vw, 3.2rem);
  }
}

@media (max-width: 700px) {
  .about-departments,
  .about-values,
  .client-logos,
  .featured-clients,
  .service-media-grid,
  .coordination-grid,
  .construction-grid,
  .project-grid,
  .event-grid,
  .matterport-catalog-grid,
  .dron-gallery-grid,
  .training-grid,
  .project-detail-thumbs,
  .project-related-grid {
    grid-template-columns: 1fr;
  }

  .history-art {
    min-height: 320px;
  }

  .history-float {
    max-width: 110px;
  }

  .history-float-a {
    top: 0;
    left: 0;
  }

  .history-float-b {
    bottom: 0;
    left: 0;
  }

  .project-filter,
  .event-filter {
    justify-content: flex-start;
  }

  .matterport-product-card,
  .dron-video-card,
  .training-cta-card,
  .dron-cta-card {
    padding: 20px;
  }

  .training-cta-card,
  .dron-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-detail-nav {
    grid-template-columns: 1fr;
  }

  .project-detail-back {
    justify-self: stretch;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-home {
    min-height: 82vh;
  }

  .hero-slideshow::after {
    background:
      linear-gradient(
        90deg,
        rgba(8, 15, 25, 0.78) 0%,
        rgba(8, 15, 25, 0.58) 58%,
        rgba(8, 15, 25, 0.34) 100%
      ),
      linear-gradient(
        180deg,
        rgba(8, 15, 25, 0.18) 0%,
        rgba(8, 15, 25, 0.48) 100%
      );
  }

  .hero-partners {
    display: flex;
    width: fit-content;
    max-width: 100%;
    gap: 10px;
    border-radius: 18px;
  }

  .hero-partners img {
    height: 52px;
    max-width: 104px;
  }

  .hero-content-premium .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.10em;
  }

  .hero-content-premium .hero-text {
    font-size: 0.98rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .brand span {
    font-size: 0.82rem;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero-partners img {
    height: 46px;
    max-width: 92px;
  }
}
