:root {
  --bg: #0c0f14;
  --bg-elevated: #111722;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --text: #0f1621;
  --text-light: #f5f7fb;
  --muted: #6f7a8a;
  --border: rgba(15, 22, 33, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);
  --primary: #0072ce;
  --secondary: #ff5722;
  --shadow: 0 20px 45px rgba(8, 14, 24, 0.12);
  --shadow-strong: 0 22px 70px rgba(8, 14, 24, 0.26);
  --container: 1180px;
  --header-height: 88px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --transition: 220ms ease;
  --font-body: "Albert Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Montserrat", "Albert Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 114, 206, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(227, 27, 35, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 32%, #ffffff 100%);
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-dark {
  background: rgba(7, 10, 15, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.site-header.is-light {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(15, 22, 33, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 1081px) {
  .header-inner {
    width: 100%;
    max-width: none;
    padding-inline: clamp(1rem, 2.2vw, 2.25rem);
  }

  .brand {
    margin-right: 0.65rem;
  }

  .site-nav {
    margin-left: auto;
  }

  .header-actions {
    margin-left: 0;
  }

  .service-grid {
    gap: 1rem;
  }

  .service-card__summary {
    padding: 1.55rem 1.7rem;
  }

  .service-card__content {
    padding: 0 1.7rem 1.55rem 1.7rem;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 44px;
  max-width: min(46vw, 210px);
  object-fit: contain;
}

.brand-logo--dark {
  display: none;
}

.site-header.is-dark .brand-logo--light {
  display: none;
}

.site-header.is-dark .brand-logo--dark {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
}

.site-header.is-dark .site-nav {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav a {
  position: relative;
  padding: 0.8rem 1.05rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(0, 114, 206, 0.1);
  color: var(--primary);
}

.site-header.is-dark .site-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header.is-dark .site-nav a:hover,
.site-header.is-dark .site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  min-height: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.button:hover,
.button:focus-visible,
.gallery-button:hover,
.gallery-button:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible,
.floating-action:hover,
.floating-action:focus-visible,
.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  transform: translateY(-2px);
}

.button--compact {
  min-height: 44px;
  padding: 0.85rem 1.15rem;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1d87e5);
  box-shadow: 0 14px 30px rgba(0, 114, 206, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 18px 36px rgba(0, 114, 206, 0.36);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.site-header.is-dark .menu-toggle {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle__bar {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  color: var(--text);
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.site-header.is-dark .menu-toggle__bar {
  color: #fff;
}

.menu-toggle__bar:nth-child(1) { top: 18px; }
.menu-toggle__bar:nth-child(2) { top: 23px; }
.menu-toggle__bar:nth-child(3) { top: 28px; }

.menu-toggle.is-open .menu-toggle__bar:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(10, 14, 20, 0.58);
  backdrop-filter: blur(10px);
}

.mobile-menu__panel {
  position: absolute;
  top: calc(var(--header-height) + 0.5rem);
  left: 0.75rem;
  right: 0.75rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-strong);
  display: grid;
  gap: 0.35rem;
}

.mobile-menu__panel a {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  font-weight: 700;
}

.mobile-menu__panel a:hover,
.mobile-menu__panel a:focus-visible {
  background: rgba(0, 114, 206, 0.08);
  color: var(--primary);
}

.section {
  position: relative;
  padding: clamp(4.5rem, 7vw, 7.5rem) 0;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section--dark {
  color: var(--text-light);
  background:
    radial-gradient(circle at top left, rgba(0, 114, 206, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 87, 34, 0.12), transparent 24%),
    linear-gradient(180deg, #0a0f16 0%, #0f1621 100%);
}

.section--contact {
  padding: clamp(3.2rem, 5.5vw, 4.8rem) 0 clamp(2.2rem, 4vw, 3.2rem);
}

#contacto .container {
  width: min(calc(100% - 2.8rem), 1420px);
}

.hero {
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 11, 0.92) 0%, rgba(4, 7, 11, 0.84) 34%, rgba(4, 7, 11, 0.34) 70%, rgba(4, 7, 11, 0.14) 100%),
    url("../img/hero.png") center center / cover no-repeat;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.section--light {
  background:
    radial-gradient(circle at top left, rgba(0, 114, 206, 0.06), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center p {
  max-width: 70ch;
  margin-inline: auto;
  text-align: center;
}

#servicios .container {
  width: min(calc(100% - 3rem), 1380px);
}

.service-layout {
  display: grid;
  gap: 1.5rem;
}

.service-intro {
  margin-bottom: 0;
}

#galeria .container {
  width: min(calc(100% - 2rem), 1460px);
}

#experiencias-vr .container {
  width: min(calc(100% - 2rem), 1460px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.section--dark .eyebrow {
  color: #62b5ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.06em;
}

p {
  color: inherit;
  line-height: 1.72;
  font-size: 1rem;
}

.section--light p,
.hero-copy p,
.section-heading p,
.service-card p,
.contact-copy p,
.contact-detail,
.gallery-counter,
.media-card__placeholder span,
.lightbox__caption,
.hero-metrics span {
  color: inherit;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(3.25rem, 6vw, 5.25rem) 0 clamp(4rem, 8vw, 6rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100svh - var(--header-height) - clamp(3.25rem, 6vw, 5.25rem) - clamp(4rem, 8vw, 6rem));
  max-width: 700px;
}

.hero-copy.reveal {
  opacity: 1;
  transform: none;
}

.hero-copy__lead {
  max-width: 740px;
  padding-top: clamp(0.2rem, 1.4vw, 0.9rem);
}

.hero-copy__foot {
  max-width: 570px;
  padding-bottom: clamp(0.35rem, 1.2vw, 1.2rem);
}

.hero-copy__more {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-more-toggle {
  display: none;
}

.hero-copy__extra {
  margin: 0;
}

.hero-copy p {
  color: rgba(245, 247, 251, 0.84);
  font-size: 1.02rem;
}

.hero-copy h1 {
  max-width: 23ch;
  font-size: clamp(2.75rem, 3.05vw, 3.95rem);
  line-height: 0.94;
}

.hero-copy p + p {
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}


.hero-visual,
.hero-card,
.hero-card__image,
.hero-card__overlay,
.hero-metrics,
.hero-orb {
  display: none;
}

@media (min-width: 1081px) {
  .hero .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: clamp(2rem, 4vw, 4.5rem);
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(4, 7, 11, 0.94) 0%, rgba(4, 7, 11, 0.9) 26%, rgba(4, 7, 11, 0.42) 58%, rgba(4, 7, 11, 0.16) 100%),
      url("../img/hero.png") center center / cover no-repeat;
  }

  .hero-grid {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    padding-top: clamp(3rem, 5vw, 4.5rem);
    padding-bottom: clamp(2.8rem, 5vw, 4rem);
  }

  .hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100svh - var(--header-height) - clamp(3rem, 5vw, 4.5rem) - clamp(2.8rem, 5vw, 4rem));
    max-width: none;
  }

  .hero-copy__lead {
    position: static;
    width: min(38vw, 610px);
    max-width: 610px;
    padding-top: clamp(0.15rem, 0.8vw, 0.6rem);
  }

  .hero-copy__foot {
    position: static;
    width: min(34vw, 540px);
    max-width: 540px;
    padding-bottom: clamp(0.25rem, 1vw, 0.8rem);
    margin-top: 2.4rem;
  }

  .hero-copy h1 {
    width: min(52vw, 760px);
    max-width: 760px;
    font-size: clamp(3rem, 3.1vw, 4rem);
    line-height: 0.94;
  }

  .hero-copy p {
    max-width: 100%;
  }

  .service-layout {
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    align-items: start;
    gap: 1.35rem;
  }

  .service-intro {
    position: sticky;
    top: calc(var(--header-height) + 1.3rem);
    padding: 1.9rem 1.8rem;
    border: 1px solid rgba(15, 22, 33, 0.1);
    border-radius: var(--radius-lg);
    background:
      radial-gradient(circle at top left, rgba(0, 114, 206, 0.1), transparent 30%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.98));
    box-shadow: var(--shadow);
  }

  .service-intro h2 {
    max-width: 10ch;
  }

  .service-layout .service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .service-card__trigger {
    padding: 1.55rem 1.55rem 1.4rem;
  }

}

.service-grid,
.video-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.media-card,
.gallery-card,
.gallery-shell,
.gallery-toolbar {
  border-radius: var(--radius-lg);
}

.service-card,
.gallery-shell,
.media-card {
  box-shadow: var(--shadow);
}

.service-card {
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.service-card__trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.4rem 1.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.service-card__trigger:focus-visible {
  outline: 3px solid rgba(0, 114, 206, 0.26);
  outline-offset: -3px;
}

.service-card:hover,
.service-card:focus-within,
.media-card:hover,
.media-card:focus-within,
.gallery-card:hover,
.gallery-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1e88e5);
  box-shadow: 0 14px 26px rgba(0, 114, 206, 0.24);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__icon-svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  margin: 0;
  min-width: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.service-card__hint {
  display: inline-grid;
  place-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 114, 206, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform var(--transition), background var(--transition);
}

.service-card:hover .service-card__hint,
.service-card:focus-within .service-card__hint {
  transform: translateY(-1px);
  background: rgba(0, 114, 206, 0.14);
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1180;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 8, 12, 0.7);
  backdrop-filter: blur(12px);
}

.service-modal[hidden] {
  display: none;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
}

.service-modal__panel {
  position: relative;
  width: min(100%, 920px);
  max-height: min(88vh, 820px);
  overflow: auto;
  padding: clamp(1.3rem, 2vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(0, 114, 206, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 87, 34, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.98));
  box-shadow: var(--shadow-strong);
}

.service-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 22, 33, 0.08);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.service-modal__content {
  padding-right: 3rem;
}

.service-modal__article h3 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.02;
}

.service-modal__article p {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 1rem;
}

.service-modal__article p:last-child {
  margin-bottom: 0;
}

.video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-entry {
  display: grid;
  gap: 0.8rem;
}

.media-card {
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(17, 23, 34, 0.98), rgba(11, 16, 24, 0.96)),
    radial-gradient(circle at top left, rgba(0, 114, 206, 0.18), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 87, 34, 0.12), transparent 32%);
}

.media-card video,
.media-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
}

.media-entry__button {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.media-entry__button:hover,
.media-entry__button:focus-visible {
  transform: translateY(-2px);
  background: rgba(0, 114, 206, 0.18);
  border-color: rgba(0, 114, 206, 0.4);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1185;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 8, 12, 0.76);
  backdrop-filter: blur(12px);
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
}

.video-modal__panel {
  position: relative;
  width: min(100%, 860px);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: clamp(1.3rem, 2vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(0, 114, 206, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 87, 34, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(16, 21, 31, 0.98), rgba(9, 13, 20, 0.98));
  box-shadow: var(--shadow-strong);
}

.video-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.video-modal__content {
  padding-right: 3rem;
}

.video-modal__article h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.02;
}

.video-modal__article p {
  margin-bottom: 0.9rem;
  color: rgba(245, 247, 251, 0.82);
  font-size: 1rem;
}

.video-modal__article p:last-child {
  margin-bottom: 0;
}

.media-card video {
  object-fit: cover;
  background: #000;
}

.media-card__placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1.15rem;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.6)),
    linear-gradient(135deg, rgba(0, 114, 206, 0.22), rgba(255, 87, 34, 0.18));
}

.media-card__placeholder strong {
  font-size: 1rem;
}

.media-card__placeholder span:last-child {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.76);
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.gallery-button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.gallery-counter {
  min-width: 92px;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}

.gallery-shell {
  border: 1px solid var(--border);
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(255, 255, 255, 0.92);
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.gallery-shell::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 1.1rem;
  width: max-content;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  flex: 0 0 clamp(264px, 23.75vw, 290px);
  max-width: clamp(264px, 23.75vw, 290px);
  background: #fff;
  border: 1px solid rgba(15, 22, 33, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.gallery-card__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.03);
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 114, 206, 0.24);
  cursor: pointer;
  transition: width var(--transition), background var(--transition), transform var(--transition);
}

.gallery-dot.is-active {
  width: 28px;
  background: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, max-content) minmax(220px, 290px);
  justify-content: space-between;
  gap: 1.4rem 1.6rem;
  align-items: center;
}

.contact-copy {
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}

.contact-copy h2 {
  margin-bottom: 0;
}

.contact-company {
  margin: 0;
  color: rgba(245, 247, 251, 0.78);
  font-size: 1.04rem;
  font-weight: 600;
}

.contact-detail-list {
  display: grid;
  gap: 0.8rem;
}

.contact-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
}

.contact-detail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #b8dcff;
}

.contact-detail__icon svg {
  width: 100%;
  height: 100%;
}

.contact-detail:hover,
.contact-detail:focus-visible {
  color: #b8dcff;
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.contact-socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(245, 247, 251, 0.88);
  transition: color var(--transition), transform var(--transition);
}

.contact-socials__link svg {
  width: 100%;
  height: 100%;
}

.contact-socials__link:hover,
.contact-socials__link:focus-visible {
  color: #b8dcff;
  transform: translateY(-1px);
}

.contact-logo {
  display: flex;
  justify-content: flex-end;
  padding-right: 0.8rem;
}

.contact-logo__image {
  width: min(100%, 250px);
  height: auto;
  object-fit: contain;
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0;
  padding-top: 0.15rem;
}

.footer-copy p {
  margin: 0;
  color: rgba(245, 247, 251, 0.88);
  font-size: 0.92rem;
}

.footer-copy p + p {
  margin-top: 0.35rem;
}

.footer-copy a {
  color: #b8dcff;
  font-weight: 700;
}

.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: #fff;
}

.floating-action {
  position: fixed;
  right: 1rem;
  top: 52%;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.floating-action + .floating-action {
  margin-top: 4.5rem;
}

.floating-action__icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  color: #fff;
}

.floating-action__icon svg {
  width: 100%;
  height: 100%;
}

.floating-action::after {
  content: attr(data-floating);
  position: absolute;
  right: calc(100% + 0.7rem);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  pointer-events: none;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 16, 24, 0.92);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity var(--transition), transform var(--transition);
}

.floating-action:hover::after,
.floating-action:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.floating-action--whatsapp {
  background: #25d366;
}

.floating-action--instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 7, 12, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  width: min(100%, 1020px);
  margin: 0;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.lightbox__image {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.lightbox__caption {
  color: rgba(245, 247, 251, 0.88);
  text-align: center;
  font-size: 0.95rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-nav a:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible,
.gallery-button:focus-visible,
.gallery-dot:focus-visible,
.floating-action:focus-visible,
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible,
.gallery-card__button:focus-visible {
  outline: 3px solid rgba(0, 114, 206, 0.26);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
  }

  .video-grid,
  .contact-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-copy {
    min-height: auto;
    display: block;
  }

  .hero-copy__lead,
  .hero-copy__foot {
    max-width: none;
    padding: 0;
  }

  .hero-visual {
    justify-items: start;
  }

  .hero-card,
  .hero-metrics {
    width: min(100%, 640px);
  }

  .service-card__trigger {
    gap: 0.9rem;
  }

  .service-card__title {
    font-size: 1.02rem;
    line-height: 1.12;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 78px;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand-logo {
    height: 36px;
    max-width: 54vw;
  }

  .header-actions .button--compact {
    display: none;
  }

  .mobile-menu__panel {
    left: 0.6rem;
    right: 0.6rem;
    padding: 0.9rem;
    gap: 0.25rem;
    border-radius: 22px;
  }

  .mobile-menu__panel a {
    padding: 0.9rem 0.95rem;
    font-size: 0.98rem;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(4, 7, 11, 0.92) 0%, rgba(4, 7, 11, 0.84) 28%, rgba(4, 7, 11, 0.34) 62%, rgba(4, 7, 11, 0.12) 100%),
      url("../img/hero.png") 90% center / cover no-repeat;
  }

  .hero-grid {
    padding-top: 2.2rem;
    padding-bottom: 3rem;
  }

  .hero-copy {
    align-items: center;
    justify-content: flex-end;
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
    padding-top: clamp(7.1rem, 28vw, 10.5rem);
  }

  .hero-copy__lead,
  .hero-copy__foot {
    max-width: 32rem;
    margin-inline: auto;
    padding: 0;
  }

  .hero-copy h1 {
    width: min(17ch, 100%);
    max-width: 17ch;
    margin-inline: auto;
    font-size: clamp(1.6rem, 6.2vw, 2.15rem);
    line-height: 1.02;
  }

  .hero-copy h1 br {
    display: none;
  }

  .hero-copy p {
    font-size: 0.98rem;
  }

  .hero-copy__more {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
  }

  .hero-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 44px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
  }

  .hero-copy__more:not([open]) .hero-copy__extra {
    display: none;
  }

  .hero-copy__more:not(.is-expanded) .hero-copy__extra {
    display: none;
  }

  .hero-copy__more.is-expanded .hero-more-toggle__more {
    display: none;
  }

  .hero-copy__more:not(.is-expanded) .hero-more-toggle__less {
    display: none;
  }

  .hero-copy__more.is-expanded .hero-more-toggle {
    margin-bottom: 0.75rem;
  }

  .hero-actions {
    display: none;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 320px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .service-card__trigger {
    align-items: start;
    padding: 1.15rem 1.2rem;
  }

  .service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .service-card__icon svg {
    width: 23px;
    height: 23px;
  }

  .service-card__hint {
    justify-self: start;
    margin-top: 0.2rem;
    padding: 0.38rem 0.7rem;
    font-size: 0.75rem;
  }

  .gallery-track {
    padding: 0.85rem;
  }

  .gallery-card {
    flex: 0 0 min(84vw, 320px);
    max-width: min(84vw, 320px);
  }

  .gallery-toolbar {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .gallery-counter {
    order: 3;
    width: 100%;
    min-width: 0;
  }

  .gallery-button {
    width: 44px;
    height: 44px;
  }

  .contact-grid {
    justify-items: center;
    text-align: center;
  }

  .contact-copy {
    justify-items: center;
    gap: 0.8rem;
  }

  .contact-detail-list {
    width: 100%;
    justify-items: center;
  }

  .contact-detail {
    justify-content: center;
    width: 100%;
  }

  .contact-socials {
    justify-content: center;
    margin-top: 0.4rem;
  }

  .contact-logo {
    justify-content: center;
    padding-right: 0;
  }

  .contact-logo__image {
    width: min(72vw, 220px);
  }

  .footer-copy {
    padding-top: 0.5rem;
  }

  .floating-action {
    width: 48px;
    height: 48px;
    right: 0.8rem;
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .floating-action + .floating-action {
    margin-top: 0;
  }

  .floating-action--instagram {
    bottom: 4.9rem;
  }

  .floating-action::after {
    display: none;
  }

  .lightbox__nav {
    top: auto;
    bottom: 1rem;
  }

  .lightbox__nav--prev {
    left: 50%;
    transform: translateX(-116%);
  }

  .lightbox__nav--next {
    right: 50%;
    transform: translateX(116%);
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .section {
    padding: clamp(3.25rem, 9vw, 4.8rem) 0;
  }

  .section--contact {
    padding: clamp(2.8rem, 7vw, 3.8rem) 0 clamp(2rem, 5vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy__foot {
    max-width: 30rem;
  }

  .hero-copy__lead {
    max-width: 29rem;
  }

  .hero-copy h1 {
    margin-top: 0.25rem;
  }

  .button,
  .button--compact {
    width: 100%;
  }

  .service-card__trigger {
    gap: 0.75rem;
    padding: 1.05rem 1rem;
  }

  .service-card__title {
    font-size: 0.94rem;
  }

  .gallery-track {
    padding: 0.6rem;
    gap: 0.75rem;
  }

  .gallery-card {
    flex-basis: 86vw;
    max-width: 86vw;
  }

  .gallery-card img,
  .media-card,
  .media-card__placeholder,
  .media-card video {
    min-height: 220px;
  }

  .gallery-toolbar {
    gap: 0.65rem;
  }

  .contact-copy,
  .service-card {
    padding: 1.15rem;
  }

  .contact-detail {
    font-size: 0.96rem;
  }

  .contact-socials__link {
    width: 40px;
    height: 40px;
  }

  .lightbox {
    padding: 0.75rem;
  }

  .lightbox__image {
    max-height: 66vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}