﻿:root {
  --brand-orange: #f7b94f;
  --brand-orange-dark: #d98a18;
  --brand-orange-soft: #fff2da;
  --brand-gray: #787878;
  --graphite: #151816;
  --graphite-soft: #222622;
  --background: #f8f5ee;
  --surface: #ffffff;
  --surface-warm: #f2eadc;
  --text: #1a1c1a;
  --text-muted: #626762;
  --border: #ded9cf;
  --header-height: 88px;
  --shadow: 0 18px 50px rgba(21, 24, 22, 0.12);
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 4px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--brand-orange);
  color: var(--graphite);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.04;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

p {
  margin: 0;
}

.lead {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.eyebrow {
  color: var(--brand-orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.2rem;
  border: 1px solid var(--brand-orange);
  border-radius: 6px;
  background: var(--brand-orange);
  color: var(--graphite);
  font-weight: 800;
  line-height: 1.1;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  color: #fff;
}

.button-small {
  min-height: 40px;
  padding: 0.65rem 1rem;
}

.button-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.button-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--graphite);
}

.button-card {
  width: fit-content;
  min-height: 40px;
  padding: 0.65rem 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(21, 24, 22, 0.96);
  color: #fff;
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  width: 150px;
  height: 62px;
}

.brand-logo,
.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
}

.nav-link:hover,
.nav-link.is-active,
.desktop-nav [aria-current="page"] {
  color: #fff;
}

.nav-link.is-active::after,
.desktop-nav [aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background: var(--brand-orange);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: transparent;
  color: #fff;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

.hero,
.internal-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}

.hero-home {
  overflow: hidden;
}

.internal-hero {
  min-height: 540px;
}

.internal-hero picture,
.internal-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.internal-hero img[src="assets/images/hero/nosotros/header-nosotros.jpg"] {
  object-position: 58% center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--graphite);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--hero-position, center);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 800ms ease, transform 7000ms ease;
}

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

.hero-slide:nth-child(1) {
  --hero-position: center center;
}

.hero-slide:nth-child(2) {
  --hero-position: center center;
}

.hero-slide:nth-child(3) {
  --hero-position: center center;
}

.hero-slide:nth-child(4) {
  --hero-position: center center;
}

.hero-slide:nth-child(5) {
  --hero-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(12, 12, 12, 0.68) 0%,
    rgba(12, 12, 12, 0.42) 30%,
    rgba(12, 12, 12, 0.15) 55%,
    rgba(12, 12, 12, 0) 75%
  );
}

.internal-hero:has(img[src="assets/images/hero/nosotros/header-nosotros.jpg"]) .hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.74) 0%,
    rgba(0, 0, 0, 0.66) 34%,
    rgba(0, 0, 0, 0.5) 64%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 92px;
}

.hero-content h1,
.hero-content p:not(.eyebrow) {
  color: #fff;
}

.hero-content .eyebrow {
  margin-bottom: 18px;
  color: var(--brand-orange);
}

.hero-content .lead {
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-controls {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(28px, 5vw, 52px);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-arrow {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.2);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.hero-arrow span {
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.hero-arrow-prev span {
  transform: translateX(2px) rotate(-135deg);
}

.hero-arrow-next span {
  transform: translateX(-2px) rotate(45deg);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(38px, 5.5vw, 64px);
  z-index: 3;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hero-dot.is-active {
  width: 24px;
  background: #fff;
  border-color: #fff;
}

.section {
  padding: clamp(70px, 9vw, 118px) 0;
}

.products-featured {
  padding-block: clamp(72px, 7vw, 88px);
}

.surface-band {
  background: var(--surface-warm);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.value-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr);
  gap: clamp(30px, 5vw, 62px);
}

.section-copy {
  display: grid;
  gap: 18px;
}

.narrow-copy {
  max-width: 820px;
  display: grid;
  gap: 18px;
}

.media-frame {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-warm);
  box-shadow: var(--shadow);
}

.value-media {
  aspect-ratio: 4 / 3;
  align-self: center;
  max-height: 420px;
  box-shadow: 0 12px 32px rgba(21, 24, 22, 0.1);
}

.value-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-feature {
  padding: clamp(72px, 8vw, 96px) 0;
  background: var(--surface-warm);
}

.project-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.project-feature__content {
  display: grid;
  gap: 18px;
}

.project-feature__content h2 {
  color: var(--graphite);
  font-size: clamp(2rem, 3.8vw, 4rem);
}

.project-feature__content p:not(.eyebrow) {
  color: var(--text-muted);
}

.project-feature__cta {
  width: fit-content;
  margin-top: 2px;
  color: var(--brand-orange-dark);
  font-weight: 900;
}

.project-feature__cta:hover {
  color: var(--graphite);
}

.project-feature__media {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(21, 24, 22, 0.12);
  border-radius: 8px;
  background: var(--graphite);
  box-shadow: 0 16px 42px rgba(21, 24, 22, 0.12);
}

.project-feature__media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-cover {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-differentiators {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.about-differentiators .media-frame {
  aspect-ratio: 5 / 4;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 32px rgba(21, 24, 22, 0.1);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-list span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 800;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.product-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(21, 24, 22, 0.06);
  transition: border-color 180ms ease;
}

.product-card:hover {
  border-color: rgba(217, 138, 24, 0.38);
}

.featured-product-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-warm);
}

.featured-product-card__media img,
.featured-product-card__media .visual-swatch {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
  transition: transform 220ms ease;
}

.featured-product-card:hover .featured-product-card__media img {
  transform: scale(1.02);
}

.featured-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.featured-product-card__body h3 {
  color: var(--graphite);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.featured-product-card__body p {
  color: var(--text-muted);
}

.product-card__button {
  margin-top: auto;
}

.real-work {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--surface);
}

.real-work .container {
  width: min(94%, 1540px);
  max-width: 1540px;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
}

.real-work .section-heading {
  max-width: 820px;
}

.real-work .section-heading p:not(.eyebrow) {
  color: var(--text-muted);
}

.real-work__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.2vw, 1.1rem);
}

.real-work__item {
  display: grid;
  gap: 10px;
  margin: 0;
}

.real-work__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(21, 24, 22, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(21, 24, 22, 0.07);
}

.real-work__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-work__item:nth-child(1) .real-work__media img {
  object-position: center 42%;
}

.real-work__item:nth-child(2) .real-work__media img,
.real-work__item:nth-child(3) .real-work__media img,
.real-work__item:nth-child(4) .real-work__media img {
  object-position: center;
}

.real-work__item figcaption {
  color: var(--graphite);
  font-size: 0.92rem;
  font-weight: 800;
}

.visual-swatch,
.product-card img,
.catalogue-item picture,
.catalogue-item img,
.application-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(247, 185, 79, 0.2), rgba(120, 120, 120, 0.2)),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.85) 0 10px, rgba(120, 120, 120, 0.3) 10px 22px);
}

.swatch-zebra { background: repeating-linear-gradient(90deg, #f7f1e7 0 20px, #d5d0c6 20px 34px, #fff 34px 48px), linear-gradient(#f7b94f, #787878); }
.swatch-romana { background: repeating-linear-gradient(180deg, #efe1cb 0 26px, #fff7e9 26px 34px); }
.swatch-tradicional { background: radial-gradient(circle at 25% 30%, rgba(247, 185, 79, 0.45), transparent 24%), repeating-linear-gradient(90deg, #eee3d2 0 18px, #d5c6af 18px 28px); }
.swatch-panel { background: repeating-linear-gradient(90deg, #f4ede2 0 44px, #b8aea0 44px 48px, #fff 48px 54px); }
.swatch-motor { background: linear-gradient(135deg, #f6efe1, #e1d6c5 60%, #787878); }
.swatch-screen { background: repeating-linear-gradient(45deg, rgba(120, 120, 120, 0.22) 0 3px, rgba(255, 255, 255, 0.72) 3px 8px), #f8f5ee; }
.swatch-translucida { background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(247, 185, 79, 0.16)), repeating-linear-gradient(90deg, #fff 0 18px, #eee 18px 20px); }
.swatch-triple { background: repeating-linear-gradient(180deg, #fff6e7 0 18px, #d9d1c4 18px 24px, #fff 24px 36px); }
.swatch-toldo { background: repeating-linear-gradient(180deg, #f7b94f 0 16px, #fff2da 16px 26px), linear-gradient(135deg, #787878, #fff); }
.swatch-retractil { background: linear-gradient(145deg, #f7b94f 0 34%, #fff2da 34% 46%, #787878 46% 100%); }
.swatch-honeycomb { background: radial-gradient(circle at 18px 18px, transparent 12px, rgba(120, 120, 120, 0.35) 13px, transparent 15px), #fff2da; background-size: 36px 31px; }
.swatch-home,
.swatch-window,
.swatch-consulting,
.swatch-installation,
.swatch-support { background: linear-gradient(135deg, rgba(247, 185, 79, 0.34), rgba(21, 24, 22, 0.18)), repeating-linear-gradient(90deg, #fff 0 28px, #ddd5c9 28px 32px); }

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

.process-grid article,
.principle-grid article,
.guide-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.process-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--brand-orange-dark);
  font-weight: 900;
}

.application-grid,
.principle-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.application-grid article {
  min-height: 100%;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.application-card picture,
.application-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
}

.application-card img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.application-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--brand-orange-dark);
  font-weight: 900;
}

.application-card a:hover {
  color: var(--graphite);
}

.real-work-section {
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.real-work-section h2 {
  color: #fff;
}

.real-work-section .eyebrow {
  color: var(--brand-orange);
}

.reels-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 250px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.reel-card,
.service-video-card {
  position: relative;
  display: block;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: var(--graphite-soft);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.reel-card {
  aspect-ratio: 9 / 16;
  scroll-snap-align: start;
}

.reel-card video,
.service-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-card::after,
.service-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0) 58%, rgba(12, 12, 12, 0.64));
}

.reel-card span,
.service-video-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: left;
}

.reel-card.is-unmuted::before,
.service-video-card.is-unmuted::before {
  content: "Sonido";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--graphite);
  font-size: 0.72rem;
  font-weight: 900;
}

.project-gallery-section {
  background: var(--surface);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 14px;
}

.project-gallery__item {
  margin: 0;
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-warm);
}

.project-gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery__image--logo-detail {
  object-position: center bottom;
}

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

.principle-grid span {
  display: block;
  width: 26px;
  height: 4px;
  margin-bottom: 14px;
  background: var(--brand-orange);
}

.service-list {
  display: grid;
  gap: 44px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.service-row.reverse {
  grid-template-columns: 0.9fr 1fr;
}

.service-row.reverse > :first-child {
  order: 2;
}

.service-row--measurement {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.service-row--measurement .service-row__media {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(21, 24, 22, 0.1);
}

.service-row--measurement .service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-video-card {
  aspect-ratio: 16 / 10;
  width: 100%;
  box-shadow: 0 12px 32px rgba(21, 24, 22, 0.1);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 40px;
  padding: 0.62rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: var(--brand-orange-dark);
  background: var(--brand-orange);
}

.catalogue-grid {
  display: grid;
  gap: 18px;
}

.catalogue-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.catalogue-item[hidden] {
  display: none;
}

.catalogue-item__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface-warm);
}

.catalogue-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalogue-item dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 4px 12px;
  margin: 14px 0 18px;
}

.catalogue-item dt {
  font-weight: 900;
}

.catalogue-item dd {
  margin: 0;
  color: var(--text-muted);
}

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

.contact-layout,
.contact-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.95fr);
  gap: clamp(1.75rem, 3vw, 3rem);
  align-items: start;
}

.contact-form-panel,
.contact-info-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.contact-section {
  padding: clamp(4rem, 6vw, 5rem) 0;
}

.contact-form-panel > h2 {
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  line-height: 1.02;
}

.contact-form-panel > p:not(.eyebrow) {
  margin-top: 0.75rem;
}

.contact-section .form-actions {
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}

.contact-section .form-actions .button {
  min-height: 48px;
  padding: 0.82rem 1.45rem;
}

.contact-info-panel {
  display: grid;
  gap: 14px;
  align-self: start;
  position: static;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(247, 185, 79, 0.32);
  border-top: 3px solid var(--brand-orange);
  box-shadow: none;
}

.contact-info-panel:hover {
  box-shadow: none;
  transform: none;
}

.contact-info-panel h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.contact-info-panel .eyebrow {
  color: var(--brand-orange);
}

.contact-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 3px;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list li:first-child {
  padding-top: 0.2rem;
}

.contact-list span {
  color: var(--brand-orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list a,
.contact-list strong {
  color: #fff;
  font-weight: 800;
}

.contact-info-panel .button {
  width: 100%;
  min-height: 44px;
  padding: 0.78rem 1rem;
  margin-top: 0.35rem;
  box-shadow: none;
}

.contact-info-panel .button:hover {
  box-shadow: none;
  transform: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  margin-top: 1.35rem;
}

.field,
.checkbox-field {
  display: grid;
  gap: 0.45rem;
}

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

label {
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  padding: 0.85rem 0.9rem;
}

.contact-section input,
.contact-section select {
  min-height: 50px;
  padding-block: 0.72rem;
}

.contact-section textarea {
  min-height: 156px;
  max-height: 220px;
  padding-block: 0.78rem;
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.field-error,
.form-status {
  min-height: 1.1em;
  color: #b42318;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status {
  color: var(--text-muted);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.checkbox-field label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox-field input {
  width: auto;
  margin-top: 6px;
}

.final-cta {
  padding: clamp(58px, 8vw, 96px) 0;
  margin-bottom: clamp(1rem, 2vw, 2.5rem);
  background: var(--graphite);
  color: #fff;
}

.final-cta .container {
  display: grid;
  gap: 18px;
}

.final-cta--centered {
  text-align: center;
}

.final-cta__inner {
  max-width: 760px;
  justify-items: center;
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.final-cta__actions .button {
  width: fit-content;
  min-height: 46px;
  padding-inline: 1.6rem;
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta--productos .container {
  justify-items: center;
  text-align: center;
}

.productos-cta-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.productos-cta-button {
  width: fit-content;
  min-height: 50px;
  padding: 0.95rem 2rem;
  border-radius: 10px;
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--graphite);
  font-weight: 700;
  box-shadow: none;
}

.productos-cta-button:hover {
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  color: var(--graphite);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

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

.centered-cta .button {
  justify-self: center;
}

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(247, 185, 79, 0.24);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 0.8fr));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-logo {
  width: clamp(105px, 10vw, 138px);
  height: auto;
  max-height: 92px;
  margin-bottom: 14px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.65;
}

.site-footer h2 {
  margin: 0 0 0.85rem;
  color: #fffaf0;
  font-family: Manrope, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin: 0.45rem 0;
  font-size: 0.97rem;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.22em;
}

.footer-contact p {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.96rem;
  line-height: 1.5;
}

.footer-contact span {
  color: #fffaf0;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--brand-orange);
  text-decoration-color: rgba(247, 185, 79, 0.75);
}

.site-footer a:focus-visible {
  outline-color: var(--brand-orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-right: 84px;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.5;
}

.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #0b2c18;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--graphite);
}

.error-shell {
  width: min(780px, calc(100% - 40px));
  display: grid;
  gap: 20px;
  color: #fff;
  text-align: center;
}

.error-shell img {
  width: 180px;
  height: 100px;
  margin: 0 auto;
  object-fit: contain;
}

.error-shell h1,
.error-shell p {
  color: #fff;
}

@media (max-width: 1100px) {
  .real-work__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 6px;
    padding: 20px;
    background: var(--graphite-soft);
    color: #fff;
    transform: translateY(-120%);
    transition: transform 220ms ease;
    visibility: hidden;
  }

  .mobile-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .mobile-nav a {
    padding: 12px 0;
    font-weight: 900;
  }

  .split-layout,
  .value-layout,
  .project-feature__grid,
  .service-row,
  .service-row.reverse,
  .service-row--measurement,
  .contact-layout,
  .contact-main__grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: clamp(3.5rem, 7vw, 4.5rem) 0;
  }

  .service-row.reverse > :first-child {
    order: 0;
  }

  .service-row--measurement > :first-child {
    order: 2;
  }

  .product-card-grid,
  .application-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .application-grid .application-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 560px;
    justify-self: center;
  }

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

  .catalogue-item {
    grid-template-columns: 210px 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 3rem;
  }

  .products-featured {
    padding-block: clamp(56px, 8vw, 72px);
  }

  .project-feature {
    padding-block: clamp(56px, 8vw, 72px);
  }

  .real-work {
    padding-block: clamp(56px, 8vw, 72px);
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .hero-slide:nth-child(1) {
    --hero-position: 56% center;
  }

  .hero-slide:nth-child(2) {
    --hero-position: 58% center;
  }

  .hero-slide:nth-child(3) {
    --hero-position: 62% center;
  }

  .hero-slide:nth-child(4) {
    --hero-position: 62% center;
  }

  .hero-slide:nth-child(5) {
    --hero-position: 64% center;
  }

  .internal-hero img[src="assets/images/hero/nosotros/header-nosotros.jpg"] {
    object-position: 60% center;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    width: 124px;
    height: 54px;
  }

  .hero,
  .internal-hero {
    min-height: 560px;
  }

  .products-featured {
    padding-block: clamp(44px, 10vw, 60px);
  }

  .project-feature {
    padding-block: clamp(44px, 10vw, 60px);
  }

  .real-work {
    padding-block: clamp(44px, 10vw, 60px);
  }

  .hero-home {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-content {
    padding: 76px 0 128px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(12, 12, 12, 0.76) 0%,
      rgba(12, 12, 12, 0.55) 46%,
      rgba(12, 12, 12, 0.2) 82%,
      rgba(12, 12, 12, 0.08) 100%
    );
  }

  .internal-hero img[src="assets/images/hero/nosotros/header-nosotros.jpg"] {
    object-position: 66% center;
  }

  .hero-controls {
    right: 14px;
    bottom: 24px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-dots {
    left: 14px;
    bottom: 40px;
    transform: none;
  }

  .hero-actions,
  .form-actions {
    width: 100%;
  }

  .hero-actions .button,
  .form-actions .button {
    width: 100%;
  }

  .final-cta__actions .button {
    width: 100%;
    max-width: 320px;
  }

  .productos-cta-button {
    width: 100%;
    max-width: 320px;
  }

  .product-card-grid,
  .application-grid,
  .guide-grid,
  .principle-grid,
  .process-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 0;
  }

  .real-work__grid {
    grid-template-columns: 1fr;
  }

  .reels-slider {
    grid-auto-columns: minmax(190px, 68vw);
  }

  .project-gallery {
    grid-auto-rows: 160px;
    gap: 10px;
  }

  .project-gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .catalogue-item {
    grid-template-columns: 1fr;
  }

  .catalogue-item dl {
    grid-template-columns: 1fr;
  }

  .contact-form-panel,
  .contact-info-panel {
    padding: 22px;
  }

  .contact-section {
    padding: 48px 0 52px;
  }

  .contact-form-panel > h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .contact-section .form-actions {
    justify-items: stretch;
  }

  .application-grid .application-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

  .hero-slide,
  .hero-slide.is-active {
    transform: none;
  }
}
