:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #101010;
  --panel-strong: #161616;
  --gold: #cba135;
  --gold-light: #fbf5b7;
  --gold-dark: #b38728;
  --red: #ff3344;
  --green: #00e676;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
input,
select {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), #daa520);
  box-shadow: 0 0 12px rgba(203, 161, 53, 0.75);
  border-radius: 0 2px 2px 0;
  transition: opacity 180ms ease;
}

.snow-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -24px;
  left: var(--snow-x);
  width: var(--snow-size);
  height: var(--snow-size);
  border-radius: 50%;
  background: rgba(255, 255, 255, var(--snow-opacity));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.62);
  filter: blur(var(--snow-blur));
  animation:
    snow-fall var(--snow-duration) linear infinite,
    snow-drift var(--snow-drift-duration) ease-in-out infinite alternate;
  animation-delay: var(--snow-delay);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(24px, 9vw, 150px);
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.94);
  border-color: var(--line);
}

.brand,
.nav-links,
.mobile-menu,
.center-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: transparent;
  background:
    radial-gradient(circle, var(--gold) 0 28%, transparent 30%),
    radial-gradient(circle, rgba(203, 161, 53, 0.22) 0 54%, transparent 56%);
  border: 2px solid rgba(203, 161, 53, 0.85);
  border-radius: 50%;
  font-size: 0;
  box-shadow: 0 0 18px rgba(203, 161, 53, 0.35);
}

.climax-star {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0) rotate(-45deg);
  transition: opacity 280ms ease, transform 520ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.climax-star.active {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.climax-star::before,
.climax-star::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(251, 245, 183, 0.54);
  animation: ring-explode 1.5s ease-out infinite;
}

.climax-star::after {
  animation-delay: 260ms;
}

.climax-star span {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light), #daa520);
  clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 57%, 82% 100%, 50% 73%, 18% 100%, 31% 57%, 0 35%, 38% 35%);
  filter: drop-shadow(0 0 12px rgba(251, 245, 183, 0.8));
}

.nav-links {
  gap: 34px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--gold-light);
}

.nav-cta {
  min-width: 138px;
  padding: 14px 28px;
  color: #fff !important;
  text-align: center;
  font-weight: 800;
  background: linear-gradient(135deg, #ff0f38, var(--red));
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(255, 51, 68, 0.42);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.mobile-menu {
  position: fixed;
  inset: 78px 16px auto;
  z-index: 89;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.98);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 91vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 136px clamp(24px, 9vw, 150px) 86px;
}

.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: heroFade 24s infinite linear;
}

.slide-one { background-image: url("assets/hero-galeria-vista-aerea.jpg"); }
.slide-two { background-image: url("assets/hero-galeria-arbol.jpg"); animation-delay: 6s; }
.slide-three { background-image: url("assets/hero-galeria-encendido.jpg"); animation-delay: 12s; }
.slide-four { background-image: url("assets/hero-galeria-espacio-fotos.jpg"); animation-delay: 18s; }

.hero-overlay {
  background:
    radial-gradient(circle at 82% 35%, rgba(203, 161, 53, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.74) 48%, rgba(0, 0, 0, 0.38)),
    linear-gradient(0deg, #050505, rgba(5, 5, 5, 0.72) 18%, transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 790px);
  min-width: 0;
  max-width: 790px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  width: 100%;
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.2rem, 5.8vw, 6.4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

h1 span,
h2 span,
.statement h2 span {
  color: transparent;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), #daa520);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.5vw, 4.1rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.14;
}

.hero-copy,
.section-heading p,
.panel p,
.catalog-cta p,
.statement p,
.contact-copy p,
.site-footer p,
.accordion-content p,
.tab-panel p,
.service-grid p,
.catalog-grid p,
.compare-grid p,
.compare-stack p {
  color: var(--muted);
}

.hero-copy {
  width: 100%;
  max-width: 650px;
  margin: 30px 0 0;
  font-size: clamp(1rem, 1.45vw, 1.26rem);
  line-height: 1.45;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  margin-top: 32px;
  padding: 15px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.18;
  white-space: normal;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-red {
  color: #fff;
  background: linear-gradient(135deg, #ff0f38, var(--red), #ff0f38);
  box-shadow: 0 0 34px rgba(255, 51, 68, 0.48);
}

.button-green {
  color: #041006;
  background: linear-gradient(135deg, #00da6c, var(--green), #00da6c);
  box-shadow: 0 0 34px rgba(0, 230, 118, 0.34);
}

.button-ghost {
  color: #090909;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: rgba(203, 161, 53, 0.45);
  box-shadow: 0 0 28px rgba(203, 161, 53, 0.28);
}

.button-red:hover {
  box-shadow: 0 0 44px rgba(255, 51, 68, 0.72);
}

.button-green:hover {
  box-shadow: 0 0 44px rgba(0, 230, 118, 0.55);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin-top: 34px;
}

.hero-metrics div {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
}

.hero-metrics strong span {
  color: var(--gold-light);
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.marquee {
  overflow: hidden;
  padding: 10px 0;
  background: linear-gradient(90deg, #b38728, #fbf5b7, #daa520);
  color: #080808;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.marquee div {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: marquee 22s linear infinite;
}

.marquee span::before {
  content: "• ";
}

.section {
  position: relative;
  scroll-margin-top: 86px;
  padding: clamp(78px, 10vw, 142px) clamp(20px, 8vw, 150px);
  background:
    radial-gradient(circle at 22% 4%, rgba(255, 51, 68, 0.08), transparent 34%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 48px 48px, 48px 48px, auto;
}

.darker {
  background:
    radial-gradient(circle at 82% 14%, rgba(203, 161, 53, 0.08), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    #0a0a0a;
  background-size: auto, 48px 48px, 48px 48px, auto;
}

.section-heading {
  max-width: 880px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}

.section-heading p {
  max-width: 720px;
  margin: 18px auto 0;
}

.process-heading .chip {
  margin-top: -10px;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.gallery-heading .chip {
  margin-top: -10px;
  margin-bottom: clamp(30px, 3.5vw, 46px);
}

.two-column,
.mission-grid,
.feature-grid,
.compare-grid,
.specialty-layout,
.finish-grid,
.technology-grid,
.sector-grid,
.corporate-grid,
.contact-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.mission-grid {
  margin-top: 22px;
}

.panel,
.catalog-grid article,
.gallery-grid article,
.service-grid article,
.feature-grid article,
.compare-grid article,
.precision-card,
.trilogy-card,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(7, 7, 7, 0.72);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.panel {
  position: relative;
  overflow: hidden;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.panel:hover {
  border-color: rgba(203, 161, 53, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.accordion {
  max-width: 960px;
  margin: 0 auto;
  border-top: 0;
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  max-width: 1120px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.faq .accordion-item {
  margin-bottom: 0;
}

.accordion-item {
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(203, 161, 53, 0.06), rgba(255, 255, 255, 0.025));
  overflow: hidden;
  backdrop-filter: blur(10px);
}

#processAccordion .accordion-item.open {
  border-color: rgba(203, 161, 53, 0.62);
  box-shadow: 0 0 34px rgba(203, 161, 53, 0.11);
}

.accordion-item button {
  width: 100%;
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 0 28px;
  font-weight: 700;
}

.accordion-item strong {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.accordion-item.open .accordion-content {
  max-height: 260px;
}

.faq .accordion-item.open .accordion-content {
  max-height: 620px;
}

.accordion-content p {
  margin: 0 28px 28px;
}

.center-actions {
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.center-actions .button {
  margin-top: 0;
}

.specialty-layout {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
}

.specialty-layout .panel {
  display: grid;
  align-content: center;
}

.precision-card {
  display: grid;
  gap: 18px;
  min-height: 100%;
  background:
    radial-gradient(circle at 30% 26%, rgba(251, 245, 183, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(203, 161, 53, 0.16), rgba(255, 51, 68, 0.07)),
    #080808;
}

.precision-card div {
  display: grid;
  align-content: center;
  min-height: 132px;
  padding: 24px;
  border: 1px solid rgba(251, 245, 183, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}

.precision-card span,
.difference-grid span {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.precision-card strong {
  margin-top: 4px;
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  line-height: 1;
}

.finish-grid,
.technology-grid,
.sector-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.technology-grid {
  align-items: stretch;
}

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

.difference-grid article,
.sector-grid article,
.corporate-grid article {
  position: relative;
  overflow: hidden;
}

.difference-grid article::before,
.sector-grid article::before,
.corporate-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--gold-light), var(--red));
  opacity: 0.68;
}

.global-standard {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.5)),
    linear-gradient(rgba(0, 230, 118, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 118, 0.05) 1px, transparent 1px),
    url("assets/gallery/encendidos/encendidos-012.webp") center / cover;
  background-size: auto, 52px 52px, 52px 52px, cover;
}

.coverage-section {
  position: relative;
  scroll-margin-top: 86px;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(82px, 11vw, 150px) clamp(20px, 8vw, 150px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.46)),
    radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.76)),
    url("assets/gallery/encendidos/encendidos-016.webp") center / cover;
}

.coverage-content {
  max-width: 650px;
}

.coverage-content p {
  max-width: 560px;
}

.corporate-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  max-width: 980px;
}

#contratacion-corporativa .section-heading {
  max-width: 980px;
}

#contratacion-corporativa .section-heading h2 {
  max-width: 900px;
  margin-inline: auto;
}

#contratacion-corporativa .section-heading p:last-child {
  max-width: 760px;
}

.corporate-grid article {
  min-height: 210px;
  padding: clamp(24px, 2.4vw, 34px);
}

.corporate-grid h3 {
  max-width: 13ch;
  font-size: clamp(1.45rem, 1.8vw, 2rem);
}

.corporate-grid p {
  max-width: 31ch;
}

#ingenieria {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.05), transparent 34%),
    linear-gradient(180deg, #020202 0%, #070707 46%, #050505 100%);
}

.trilogy-heading {
  max-width: 1080px;
  margin-bottom: clamp(40px, 5.2vw, 66px);
  padding: clamp(10px, 1.4vw, 18px) 0 clamp(18px, 2vw, 28px);
}

.trilogy-heading h2 {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: clamp(0.28em, 1.2vw, 0.42em);
  row-gap: 0.04em;
  color: #f6f2eb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6.2vw, 6.7rem);
  font-weight: 500;
  line-height: 0.96;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.82);
}

.trilogy-heading h2 span {
  color: inherit;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  font-weight: inherit;
}

.trilogy-title-gold {
  color: #c79c45 !important;
  text-shadow: 0 0 18px rgba(199, 156, 69, 0.22), 0 3px 20px rgba(0, 0, 0, 0.88);
}

.trilogy-title-white {
  color: #f3f0eb !important;
}


.trilogy-heading p {
  max-width: none;
  margin-top: clamp(12px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.25rem, 2.1vw, 2.35rem);
  font-weight: 500;
  line-height: 1.05;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.trilogy-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 0;
}

.trilogy-timeline::before {
  content: none;
}

.trilogy-timeline::after {
  content: none;
}

.trilogy-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: auto;
  padding: clamp(22px, 3vw, 34px);
  padding-top: 158px;
  text-align: center;
  overflow: hidden;
}

.trilogy-card.active {
  border-color: rgba(251, 245, 183, 0.46);
  box-shadow: inset 0 1px 0 rgba(251, 245, 183, 0.16), 0 0 34px rgba(203, 161, 53, 0.22), 0 24px 64px rgba(0, 0, 0, 0.42);
  border-color: rgba(203, 161, 53, 0.46);
}

.trilogy-icon {
  position: absolute;
  top: 26px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  color: #fff;
  background: linear-gradient(135deg, #c98a00, var(--gold));
  border: 1px solid rgba(251, 245, 183, 0.55);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 0 rgba(203, 161, 53, 0.18), 0 0 28px rgba(203, 161, 53, 0.55);
  z-index: 1;
  transition: background 420ms ease, box-shadow 420ms ease, transform 420ms ease, border-color 420ms ease;
}

.trilogy-icon svg {
  width: 60px;
  height: 60px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trilogy-card.active .trilogy-icon {
  background: linear-gradient(135deg, #ff0f38, var(--red));
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 12px rgba(255, 51, 68, 0.08), 0 0 34px rgba(255, 51, 68, 0.7);
  transform: translateX(-50%) scale(1.06);
}

.trilogy-card h3 {
  min-height: 2.3em;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.86);
}

.trilogy-card h3 strong {
  color: var(--text);
  font-weight: 800;
}

.trilogy-card p {
  max-width: 30ch;
  margin: 0 auto;
  font-size: 0.94rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.84);
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  cursor: zoom-in;
}

.media-frame img,
.visual-grid img,
.gallery-grid img,
.gallery-grid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, opacity 300ms ease;
}

.media-frame:hover img,
.visual-grid article:hover img,
.gallery-grid article:hover img,
.gallery-grid article:hover video {
  opacity: 1;
  transform: scale(1.06);
}

.statement {
  padding: clamp(94px, 13vw, 165px) clamp(24px, 9vw, 150px);
  text-align: left;
}

.statement:not(.global-standard) {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.4)),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    url("assets/gallery/produccion-ensamblaje/produccion-ensamblaje-009.webp") center right / cover;
  background-size: auto, 56px 56px, 56px 56px, cover;
}

.statement > div {
  max-width: 640px;
  margin: 0;
}

.statement p {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 1.14rem;
}

.catalog-grid,
.service-grid,
.gallery-grid,
.document-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.catalog-grid article,
.service-grid article {
  min-height: 170px;
}

.visual-grid {
  grid-auto-flow: dense;
}

.visual-grid article,
.gallery-grid article {
  position: relative;
  min-height: 260px;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  isolation: isolate;
  display: grid;
}

.visual-grid .catalog-gallery-card {
  cursor: pointer;
}

.visual-grid article::after,
.gallery-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.24) 54%, transparent);
  pointer-events: none;
}

.visual-grid article div,
.gallery-grid article div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: clamp(20px, 3vw, 32px);
}

.visual-grid article h3,
.gallery-grid article h3 {
  max-width: 100%;
}

.visual-grid .featured,
.gallery-grid .wide {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 540px;
}

.catalog-cta {
  max-width: 820px;
  margin: 34px auto 0;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(0, 230, 118, 0.28);
  border-radius: 8px;
  background: rgba(0, 230, 118, 0.05);
}

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

.gallery-showcase {
  width: min(1120px, 100%);
  margin: 0 auto;
  overflow: visible;
}

.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1120px, 100%);
  margin-bottom: 28px;
  margin-inline: auto;
  padding-top: 2px;
}

.gallery-tab {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-weight: 800;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease, transform 220ms ease;
}

.gallery-tab:hover,
.gallery-tab.active {
  border-color: rgba(0, 230, 118, 0.65);
  color: var(--text);
  background: rgba(0, 230, 118, 0.11);
  transform: translateY(-1px);
}

.gallery-viewer {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 18px;
}

.gallery-main {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #020202;
}

.gallery-main-button {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #000;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 220ms ease, transform 700ms ease;
}

.gallery-main-button:hover img {
  transform: scale(1.035);
}

.gallery-main figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  color: var(--text);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.gallery-main figcaption strong {
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1;
}

.gallery-main figcaption span {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 800;
}

.gallery-arrow,
.zoom-nav {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.gallery-arrow:hover,
.zoom-nav:hover {
  border-color: rgba(0, 230, 118, 0.65);
  background: rgba(0, 230, 118, 0.13);
  transform: scale(1.04);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 2px 2px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.gallery-thumb {
  position: relative;
  flex: 0 0 112px;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #070707;
  cursor: pointer;
  scroll-snap-align: start;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  transition: opacity 220ms ease, transform 420ms ease;
}

.gallery-thumb:hover img,
.gallery-thumb.active img {
  opacity: 1;
  transform: scale(1.06);
}

.gallery-thumb.active {
  border-color: var(--green);
}

.expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms ease;
}

.expandable.open {
  max-height: 900px;
  margin-top: 24px;
}

.compare-grid .bad {
  border-color: rgba(255, 51, 68, 0.34);
}

.compare-grid .good {
  border-color: rgba(0, 230, 118, 0.34);
}

.compare-stack {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  max-width: 1180px;
  margin: 0 auto;
}

.compare-title {
  display: grid;
  justify-items: center;
  gap: 0.04em;
  max-width: 880px;
  margin-inline: auto;
}

.compare-title span {
  display: block;
  line-height: 0.9;
}

.compare-row {
  position: relative;
  padding: clamp(34px, 4vw, 48px) clamp(20px, 3vw, 38px) clamp(28px, 3.4vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(255, 51, 68, 0.07), rgba(255, 255, 255, 0.018) 50%, rgba(0, 230, 118, 0.075)),
    rgba(6, 6, 6, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 55px rgba(0, 0, 0, 0.28);
}

.compare-row::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.compare-label {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto clamp(24px, 3vw, 34px);
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.compare-pair {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(16px, 2.6vw, 28px);
}

.compare-card {
  min-height: 150px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.72);
}

.compare-card.bad {
  border-color: rgba(255, 51, 68, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 51, 68, 0.14), rgba(255, 51, 68, 0.02) 55%),
    rgba(5, 5, 5, 0.78);
}

.compare-card.good {
  border-color: rgba(0, 230, 118, 0.5);
  background:
    linear-gradient(135deg, rgba(0, 230, 118, 0.13), rgba(0, 230, 118, 0.02) 55%),
    rgba(5, 5, 5, 0.78);
}

.compare-card h3 {
  color: var(--white);
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
}

.compare-card.bad h3 {
  color: #ff7a84;
}

.compare-card p {
  margin: 0;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.55;
}

.compare-card strong {
  color: var(--green);
}

.compare-vs {
  align-self: center;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.64);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
}

.document-list span {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 700;
}

.contact-section {
  align-items: start;
  grid-template-columns: minmax(380px, 0.98fr) minmax(540px, 1.02fr);
  gap: clamp(34px, 5vw, 72px);
  max-width: 1240px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 22px 0 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.contact-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  min-height: 104px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.035);
}

.contact-email {
  font-size: clamp(0.92rem, 1.5vw, 1.08rem);
  line-height: 1.28;
}

.contact-phones a {
  width: max-content;
}

.contact-info span {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-info a {
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.contact-info a:hover,
.footer-contact-link:hover,
.site-footer a:hover {
  color: var(--gold-light);
}

.contact-info > div a {
  color: rgba(255, 255, 255, 0.76);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  border: 1px solid rgba(251, 245, 183, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 0 18px rgba(203, 161, 53, 0.12);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  animation: social-glow 4.8s ease-in-out infinite;
}

.social-links a:nth-child(2) {
  animation-delay: 1.6s;
}

.social-links a:nth-child(3) {
  animation-delay: 3.2s;
}

.social-links a:hover {
  color: #090909;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: rgba(251, 245, 183, 0.42);
  box-shadow: 0 0 0 8px rgba(203, 161, 53, 0.1), 0 0 28px rgba(251, 245, 183, 0.48);
  transform: translateY(-2px);
  animation-play-state: paused;
}

.social-links a::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 4;
  width: max-content;
  max-width: min(260px, 72vw);
  padding: 8px 11px;
  color: #fff;
  background: rgba(6, 6, 6, 0.96);
  border: 1px solid rgba(251, 245, 183, 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.social-links a:hover::after,
.social-links a:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.contact-copy h2 {
  max-width: 570px;
  font-size: clamp(2.9rem, 4.7vw, 5rem);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 620px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  align-self: center;
  max-width: 760px;
  padding: clamp(24px, 2.6vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.94rem;
  font-weight: 500;
}

.contact-form button,
.form-message {
  grid-column: 1 / -1;
}

.contact-form .field-wide {
  grid-column: span 2;
}

.contact-form button {
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  padding: 14px 24px;
  font-size: 0.96rem;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #030303;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.footer-contact-link {
  display: inline-block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  overflow-wrap: anywhere;
}

.zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.zoom-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.zoom-modal img {
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  border-radius: 8px;
  border: 1px solid rgba(251, 245, 183, 0.34);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.64);
  transform: scale(0.96);
  transition: transform 220ms ease;
}

.zoom-modal.open img {
  transform: scale(1);
}

.zoom-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.zoom-nav {
  position: fixed;
  top: 50%;
  z-index: 121;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
}

.zoom-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.zoom-prev {
  left: clamp(14px, 4vw, 46px);
}

.zoom-next {
  right: clamp(14px, 4vw, 46px);
}

.zoom-modal:not(.has-gallery) .zoom-nav {
  display: none;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFade {
  0%, 100% { opacity: 0; transform: scale(1); }
  8%, 25% { opacity: 1; }
  33% { opacity: 0; transform: scale(1.06); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes snow-fall {
  from {
    transform: translate3d(0, -10vh, 0);
  }

  to {
    transform: translate3d(0, 112vh, 0);
  }
}

@keyframes snow-drift {
  from {
    margin-left: calc(var(--snow-drift) * -1);
  }

  to {
    margin-left: var(--snow-drift);
  }
}

@keyframes ring-explode {
  to {
    opacity: 0;
    transform: scale(1.9);
  }
}

@keyframes social-glow {
  0%,
  18%,
  100% {
    color: #fff;
    background: rgba(0, 0, 0, 0.32);
    border-color: rgba(251, 245, 183, 0.18);
    box-shadow: 0 0 18px rgba(203, 161, 53, 0.12);
    transform: translateY(0);
  }

  7%,
  12% {
    color: #090909;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-color: rgba(251, 245, 183, 0.46);
    box-shadow: 0 0 0 8px rgba(203, 161, 53, 0.08), 0 0 28px rgba(251, 245, 183, 0.42);
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .snow-layer {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: clamp(18px, 6vw, 42px);
  }

  .section {
    padding-block: clamp(64px, 12vw, 92px);
  }

  .section-heading {
    max-width: 100%;
    margin-bottom: 34px;
  }

  .section-heading h2,
  .section-heading p {
    max-width: 100%;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 3.25rem);
    overflow-wrap: anywhere;
  }

  .trilogy-heading {
    margin-bottom: 36px;
  }

  .trilogy-heading h2 {
    font-size: clamp(2.55rem, 11vw, 4.6rem);
  }

  .trilogy-heading p {
    font-size: clamp(1.12rem, 5vw, 1.8rem);
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .two-column,
  .mission-grid,
  .feature-grid,
  .compare-grid,
  .faq,
  .specialty-layout,
  .finish-grid,
  .technology-grid,
  .sector-grid,
  .corporate-grid,
  .contact-section,
  .trilogy-timeline,
  .catalog-grid,
  .gallery-grid,
  .service-grid,
  .document-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trilogy-timeline::before {
    display: none;
  }

  .trilogy-timeline::after {
    display: none;
  }

  .compare-row {
    padding: 30px 16px 22px;
  }

  .compare-pair {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .compare-vs {
    justify-self: center;
    margin: -2px 0;
  }

  .trilogy-card {
    gap: 16px;
    padding-top: 112px;
    overflow: hidden;
  }

  .trilogy-icon {
    top: 24px;
    width: 72px;
    height: 72px;
  }

  .trilogy-icon svg {
    width: 42px;
    height: 42px;
  }

  .trilogy-card h3 {
    min-height: 0;
    font-size: clamp(1.25rem, 6vw, 1.8rem);
  }

  .media-frame {
    aspect-ratio: 4 / 3;
  }

  .visual-grid .featured,
  .gallery-grid .wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .gallery-showcase {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .gallery-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
    padding: 0;
    overflow: visible;
  }

  .gallery-tab {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    max-width: none;
    padding-inline: 14px;
    font-size: 0.82rem;
  }

  .gallery-viewer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-main-button {
    aspect-ratio: 4 / 5;
  }

  .gallery-arrow {
    position: absolute;
    z-index: 4;
  }

  .gallery-viewer {
    position: relative;
  }

  .gallery-arrow-prev {
    left: 12px;
  }

  .gallery-arrow-next {
    right: 12px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .contact-form .field-wide {
    grid-column: auto;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .coverage-section {
    min-height: 460px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 74px;
    padding: 14px 20px;
  }

  .mobile-menu {
    inset: 82px 14px auto;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 20px 62px;
  }

  .hero-content {
    width: min(100%, 22rem);
    max-width: calc(100vw - 40px);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10.2vw, 2.38rem);
    line-height: 1.13;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  h3 {
    font-size: 1.22rem;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-metrics div,
  .panel,
  .catalog-grid article,
  .gallery-grid article,
  .service-grid article,
  .feature-grid article,
  .compare-grid article,
  .precision-card,
  .trilogy-card,
  .contact-form,
  .catalog-cta {
    padding: 22px;
  }

  .precision-card div {
    min-height: 116px;
    padding: 20px;
  }

  .coverage-section {
    min-height: 420px;
    padding-inline: 20px;
  }

  .trilogy-card {
    padding-top: 108px;
  }

  .trilogy-icon {
    width: 70px;
    height: 70px;
  }

  .trilogy-icon svg {
    width: 38px;
    height: 38px;
  }

  .trilogy-card p {
    max-width: 32ch;
  }

  .media-frame {
    aspect-ratio: 1 / 1;
  }

  .visual-grid article,
  .gallery-grid article,
  .visual-grid .featured,
  .gallery-grid .wide {
    min-height: 340px;
  }

  .visual-grid article div,
  .gallery-grid article div {
    padding: 22px;
  }

  .gallery-tabs {
    width: calc(100vw - 40px);
    margin-inline: auto;
  }

  .gallery-tab {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .gallery-main figcaption {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .gallery-main figcaption strong {
    font-size: 1.22rem;
  }

  .gallery-thumbs {
    gap: 8px;
  }

  .gallery-thumb {
    flex-basis: 86px;
  }

  .zoom-modal {
    padding: 58px 14px 22px;
  }

  .zoom-modal img {
    max-width: 100%;
    max-height: 78vh;
  }

  .zoom-nav {
    width: 44px;
    height: 44px;
    font-size: 1.65rem;
  }

  .accordion-item button {
    min-height: auto;
    padding: 18px;
  }

  .contact-copy h2 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .button {
    width: 100%;
    max-width: 100%;
    padding-inline: 18px;
  }
}

@media (max-width: 380px) {
  .section {
    padding-inline: 16px;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-content {
    max-width: calc(100vw - 32px);
  }

  .trilogy-card,
  .panel,
  .precision-card,
  .contact-form,
  .catalog-cta {
    padding-inline: 18px;
  }

  .trilogy-card {
    padding-top: 104px;
  }

  .trilogy-icon {
    width: 64px;
    height: 64px;
  }

  .trilogy-icon svg {
    width: 34px;
    height: 34px;
  }
}
