:root {
  --azul: #005abe;
  --lima: #8ad05a;
  --tinta: #141414;
  --humo: #6a6a6a;
  --papel: #f7f7f5;
  --blanco: #ffffff;
  --linea: #e5e5e5;
  --wa: #128c7e;
  --sombra: 0 12px 32px rgba(20, 20, 20, 0.08);
  --radio: 16px;
  --radio-card: 18px;
  --radio-pill: 999px;
  --fuente: "Geist", "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--tinta);
  background: var(--blanco);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--fuente);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 0.45em;
}

p {
  margin: 0 0 1em;
  color: var(--humo);
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.site-header .wrap {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.brand img {
  width: 148px;
  height: auto;
}

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

.nav a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--tinta);
  padding: 8px 12px;
  border-radius: var(--radio-pill);
}

.nav a:hover {
  background: var(--papel);
}

.nav a.is-active {
  color: var(--azul);
  background: #eef5ff;
}

.nav-drop {
  position: relative;
}

.nav-drop-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  z-index: 20;
}

.nav-drop-list a {
  display: block;
  padding: 8px 16px;
  white-space: nowrap;
}

.nav-drop-list a:hover {
  background: var(--papel);
}

.nav-drop:hover > .nav-drop-list,
.nav-drop:focus-within > .nav-drop-list,
.nav-drop-sub:hover > .nav-drop-list,
.nav-drop-sub:focus-within > .nav-drop-list {
  display: block;
}

.nav-drop-sub {
  position: relative;
}

.nav-drop-sub > .nav-drop-list {
  top: 0;
  left: 100%;
  max-height: 70vh;
  overflow: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--linea);
  background: #fff;
  border-radius: var(--radio-pill);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--tinta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radio-pill);
  padding: 12px 20px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.88rem;
}

.btn-wa {
  background: var(--tinta);
  color: #fff !important;
  border-color: var(--tinta);
}

.btn-wa:hover {
  background: var(--azul);
  border-color: var(--azul);
}

.btn-dark {
  background: var(--tinta);
  color: #fff;
}

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

.btn-outline {
  border-color: var(--linea);
  background: transparent;
  color: var(--tinta);
}

.btn-outline:hover {
  border-color: var(--tinta);
}

.btn-light {
  background: #fff;
  color: var(--tinta) !important;
  border-color: #fff;
}

.btn-light:hover {
  background: var(--lima);
  border-color: var(--lima);
}

.hero {
  position: relative;
  min-height: min(82vh, 700px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #111 center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 20%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 56px 0 64px;
  max-width: 680px;
}

.hero p,
.page-hero p,
.cta-band p {
  color: inherit;
}

.kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.script {
  font-family: var(--fuente);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}

.hero p.lead {
  font-size: 1.05rem;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-hero {
  width: calc(100% - 50px);
  max-width: none;
  height: min(52vh, 500px);
  margin: 0 auto;
  padding: 0;
  background: var(--lima);
  overflow: hidden;
  border-radius: 44px;
}

.home-hero .wrap {
  width: auto;
  max-width: calc(100% - 40px);
  height: 100%;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 38ch) auto;
  gap: 8px 16px;
  align-items: stretch;
  justify-content: center;
  height: 100%;
}

.home-hero-copy {
  max-width: 560px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  z-index: 2;
}

.home-hero .kicker {
  margin-bottom: 8px;
}

.home-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.04;
  color: var(--tinta);
  margin: 0 0 16px;
}

.home-hero h1 [data-cycle-word] {
  color: var(--azul);
}

.home-hero-copy > p {
  font-size: 1.08rem;
  max-width: 38ch;
  margin-bottom: 16px;
  color: var(--tinta);
}

.home-hero-actions {
  justify-content: flex-start;
}

.home-hero-shot {
  position: relative;
  align-self: stretch;
  width: calc(min(52vh, 500px) * 735.65 / 558.78);
  min-width: 0;
  min-height: 0;
  overflow: visible;
  isolation: isolate;
}

.home-hero-mask,
.home-hero-trazo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-mask {
  -webkit-mask-image: url("../img/marca-hex.svg?v=2");
  mask-image: url("../img/marca-hex.svg?v=2");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.home-hero-trazo {
  background: #1a1a1a;
  -webkit-mask-image: url("../img/marca-trazo.svg?v=2");
  mask-image: url("../img/marca-trazo.svg?v=2");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  mix-blend-mode: multiply;
  opacity: 0.36;
  pointer-events: none;
  z-index: 2;
}

.home-hero-mask img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: none;
  transition: opacity 0.6s ease;
}

.home-hero-mask img.is-on {
  opacity: 1;
}

.home-hero-chip {
  position: absolute;
  left: 12%;
  bottom: 10%;
  z-index: 1;
  background: #fff;
  color: var(--tinta);
  border-radius: var(--radio-pill);
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.home-stats {
  padding: 48px 0;
  background: #fff;
  border-bottom: 1px solid var(--linea);
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 16px;
  text-align: center;
}

.home-stat svg {
  margin: 0 auto 10px;
  color: var(--tinta);
}

.home-stat-n {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--tinta);
  margin: 0 0 4px;
}

.home-stat p:last-child {
  margin: 0;
  font-size: 0.82rem;
  color: var(--humo);
}

.home-serv {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-serv-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--linea);
  border-radius: var(--radio-card);
  background: #fff;
  min-height: 230px;
  transition: border-color 0.2s ease, transform 0.25s ease;
}

.home-serv-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.home-serv-card p {
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.home-serv-card .more {
  margin-top: auto;
  color: var(--azul);
  font-weight: 500;
  font-size: 0.9rem;
}

.home-serv-card:hover {
  border-color: var(--tinta);
  transform: translateY(-3px);
}

.home-obras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.home-obras .shot {
  margin: 0;
  background: transparent;
  border: 0;
}

.home-obras .shot img {
  height: 210px;
  border-radius: var(--radio-card);
}

.home-obras figcaption {
  padding: 10px 2px 0;
  font-size: 0.92rem;
}

.home-marca {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--lima);
  padding: clamp(72px, 12vw, 120px) 0;
  text-align: center;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: center;
}

.home-marca-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-marca-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(1) contrast(1.15);
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.home-marca-bg::after {
  content: none;
}

.home-marca-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}

.home-marca-logo {
  display: block;
  margin: 0 auto 36px;
  width: min(220px, 52vw);
  height: auto;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.18));
}

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

.home-marca-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.55;
  max-width: 42ch;
  margin-inline: auto;
}

.home-marca-destaque {
  margin-top: 10px !important;
  padding-top: 22px;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  max-width: 28ch !important;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem) !important;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2 !important;
  color: #fff !important;
  text-wrap: balance;
}

.home-clients-lead {
  max-width: 46ch;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding-top: 0;
}

.page-hero + .section-tight {
  padding-top: 36px;
}

.block-gap {
  margin-top: 32px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 14ch;
}

.eyebrow {
  color: var(--azul);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.55);
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }

.card,
.product,
.job,
.shot {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  overflow: hidden;
}

.card {
  padding: 28px 24px;
}

.card p,
.product p {
  font-size: 0.95rem;
}

.card h3,
.product h3 {
  font-size: 1.25rem;
  font-weight: 500;
}

.card a.more {
  color: var(--azul);
  font-weight: 500;
  font-size: 0.9rem;
}

.job img,
.shot img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.job figcaption,
.shot figcaption {
  padding: 14px 16px 16px;
  font-weight: 500;
  font-size: 0.92rem;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 10px;
}

.mosaic a:first-child {
  grid-row: 1 / span 2;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radio);
}

.media-cover {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radio);
}

.products-band {
  background: var(--tinta);
  color: #fff;
}

.products-band .product {
  background: transparent;
  border-color: #2a2a2a;
  color: #fff;
  padding: 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.products-band .btn-wa {
  align-self: flex-start;
  margin-top: 16px;
  background: #fff;
  color: var(--tinta) !important;
  border-color: #fff;
}

.products-band .btn-wa:hover {
  background: var(--azul);
  color: #fff !important;
  border-color: var(--azul);
}

.products-band .section-head {
  align-items: end;
}

.products-band .section-head h2 {
  max-width: 18ch;
  color: #fff;
}

.products-band .more {
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
}

.clients {
  background: var(--papel);
  overflow: hidden;
}

.clients-carousel {
  margin-top: 40px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  animation: clients-scroll 36s linear infinite;
}

.clients-set {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.clients-track img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.55;
}

.clients-carousel:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clients-carousel {
    mask-image: none;
  }

  .clients-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .clients-set:first-child {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 40px;
    padding-right: 0;
  }

  .clients-set[aria-hidden="true"] {
    display: none;
  }
}

.cta-band {
  background: var(--tinta);
  color: #fff;
}

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.page-hero {
  background: var(--papel);
  color: var(--tinta);
  padding: 72px 0 40px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.page-hero p {
  color: var(--humo);
  max-width: 46ch;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
}

.catalog-nav .filters:first-child {
  margin-top: 8px;
}

.filters-sub {
  margin: 10px 0 0;
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 22px 0 0;
}

.catalog-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-toggle {
  border: 1px solid var(--linea);
  background: #fff;
  border-radius: var(--radio-pill);
  padding: 8px 14px;
  font-weight: 500;
  font-family: inherit;
  color: inherit;
  text-decoration: none;
}

.catalog-toggle.is-on,
.catalog-toggle:hover {
  background: var(--azul);
  border-color: var(--azul);
  color: #fff;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.catalog-sort label {
  font-size: 0.88rem;
  color: var(--humo);
}

.catalog-sort select {
  font: inherit;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 8px 12px;
  background: #fff;
}

.filter {
  border: 1px solid var(--linea);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.filter.is-on,
.filter:hover {
  background: var(--tinta);
  color: #fff;
  border-color: var(--tinta);
}

.filters + .catalog-meta,
.catalog-controls + .catalog-meta {
  margin-top: 20px;
}

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

.porta {
  padding: 56px 0 88px;
}

.porta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  margin: 0 0 28px;
}

.porta-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}

.porta-split-rev {
  grid-template-columns: 0.85fr 1.15fr;
}

.porta-carousel {
  position: relative;
}

.porta-slide {
  margin: 0;
}

.porta-slide img,
.porta-letras img,
.porta-thumbs img,
.porta-vol img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  background: var(--papel);
}

.porta-slide img {
  aspect-ratio: 16 / 10;
}

.porta-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.porta-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5d5d5;
  cursor: pointer;
}

.porta-dot.is-on {
  background: var(--tinta);
}

.porta-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 600;
}

.porta-copy p,
.porta-nota,
.porta-vol-stack p {
  color: var(--humo);
}

.porta-letras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0 20px;
}

.porta-letras img {
  aspect-ratio: 1;
}

.porta-nota {
  margin: 0 0 48px;
  max-width: 92ch;
}

.porta-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.porta-thumbs img {
  aspect-ratio: 1;
  border-radius: 10px;
}

.porta-vol {
  display: grid;
  grid-template-columns: 0.7fr 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.porta-vol-tall {
  aspect-ratio: 3 / 4;
}

.porta-vol-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.porta-vol-stack img {
  aspect-ratio: 16 / 9;
}

.service-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--linea);
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

.service-block img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radio);
}

.svc-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.svc-jump a {
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  background: #fff;
}

.svc-jump a:hover {
  border-color: var(--tinta);
}

.svc-lead {
  max-width: 58ch;
  margin: 0 0 28px;
}

.svc-tipos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svc-tipo {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  overflow: hidden;
  background: #fff;
  scroll-margin-top: 96px;
}

.svc-tipo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.svc-tipo img.svc-cutout {
  object-fit: contain;
  background: var(--papel);
  height: 200px;
  padding: 12px;
}

.svc-tipo div {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}

.svc-tipo h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.svc-tipo p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.svc-tipo .more {
  margin-top: auto;
}

.svc-pasos-band {
  background: var(--papel);
}

.svc-pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.svc-paso {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
}

.svc-paso h3 {
  font-size: 1.1rem;
}

.svc-paso p {
  margin: 0;
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contacto-top,
.contacto-form-band,
.contacto-cv {
  padding: 72px 0 24px;
}

.contacto-oficina,
.contacto-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contacto-mapa {
  border-radius: 28px;
  overflow: hidden;
  background: var(--papel);
  min-height: 420px;
}

.contacto-mapa iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

.contacto-kicker {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 4px;
}

.contacto-oficina h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  margin: 0 0 22px;
}

.contacto-datos {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacto-datos li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--humo);
}

.contacto-datos svg {
  flex-shrink: 0;
  color: var(--tinta);
}

.contacto-foto {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 28px;
}

.contacto-form-band {
  padding-top: 32px;
  padding-bottom: 48px;
}

.contacto-form-grid h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.form-contacto label span {
  color: var(--humo);
}

.form-contacto .btn {
  width: fit-content;
  min-width: 120px;
}

.contacto-cv {
  padding-top: 8px;
  padding-bottom: 80px;
}

.contacto-cv p {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.wa-cards {
  display: grid;
  gap: 10px;
}

.wa-card {
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 20px;
  background: var(--blanco);
}

.wa-card p {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 500;
  font-size: 0.88rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--tinta);
  border-color: var(--tinta);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

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

.alert {
  padding: 14px 16px;
  border-radius: var(--radio);
  margin-bottom: 16px;
}

.alert-ok {
  background: #eef8f0;
  color: #146c2e;
}

.alert-err {
  background: #fdecee;
  color: #8a1020;
}

.site-footer {
  background: #111;
  color: #9a9a9a;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-logo {
  width: 160px;
  height: auto;
  margin-bottom: 12px;
}

.site-footer h2 {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #fff;
}

.site-footer p {
  color: #9a9a9a;
}

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

.footer-wa {
  color: #fff;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #262626;
  padding-top: 18px;
  font-size: 0.85rem;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--sombra);
  z-index: 12;
}

.catalog-toolbar {
  display: flex;
  gap: 10px;
  margin: 8px 0 20px;
}

.catalog-toolbar input[type="search"] {
  flex: 1;
}

.catalog-meta {
  color: var(--humo);
  font-size: 0.88rem;
  margin: 0 0 24px;
}

.catalog-warn {
  color: #8a1020;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 20px;
}

.catalog-grid-rel {
  grid-template-columns: repeat(4, 1fr);
}

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  background: transparent;
  border: 0;
}

.catalog-card-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.catalog-card-link:hover h3 {
  color: var(--azul);
}

a.catalog-card {
  text-decoration: none;
}

a.catalog-card:hover h3 {
  color: var(--azul);
}

.catalog-shot {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #fff;
}

.catalog-shot img,
.catalog-ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.catalog-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  text-align: center;
}

.catalog-card-stock {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--humo);
}

.catalog-card-stock.is-in {
  color: #2f6b1f;
}

.catalog-card-actions {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.catalog-card-actions .btn {
  width: 100%;
}

.catalog-card.is-out {
  opacity: 0.55;
}

.catalog-card.is-out .catalog-card-actions .btn-ghost {
  pointer-events: none;
  opacity: 0.7;
}

.ficha-back {
  margin: 0 0 24px;
}

.ficha-back a {
  color: var(--humo);
}

.ficha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.ficha-galeria,
.ficha-info {
  width: 100%;
  min-width: 0;
}

.ficha-galeria {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ficha-media {
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  display: grid;
  place-items: center;
}

.ficha-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-media {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}

.catalog-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.catalog-thumb {
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  line-height: 0;
}

.catalog-thumb.is-on {
  border-color: var(--tinta);
}

.catalog-thumb img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
}

.ficha-info h1 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.ficha-cat {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azul);
}

.ficha-label {
  margin: 18px 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--humo);
}

.ficha-info .btn {
  margin-top: 0;
}

.ficha-quote .btn {
  width: 100%;
}

.ficha-cta {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.ficha-hint {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--humo);
}

.ficha-desc {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--linea);
}

.ficha-desc h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.ficha-desc-body {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--tinta);
}

.ficha-desc-body p {
  margin: 0 0 0.75em;
}

.ficha-desc-body ul,
.ficha-desc-body ol {
  margin: 0 0 0.75em;
  padding-left: 1.2em;
}

.ficha-rel {
  background: #f6f7f8;
}

.ficha-rel-title {
  margin: 0 0 24px;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 500;
}

.ficha-vars {
  margin: 0;
  padding: 0;
  border: 0;
}

.ficha-var {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 0 4px;
  border: 1px solid var(--linea);
  border-radius: 8px;
  cursor: pointer;
}

.ficha-var:has(input:checked) {
  border-color: var(--tinta);
}

.ficha-var.is-out {
  opacity: 0.45;
  cursor: not-allowed;
}

.ficha-var input {
  accent-color: var(--tinta);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quote-badge {
  display: inline-flex;
  min-width: 1.25em;
  height: 1.25em;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 99px;
  background: #fff;
  color: var(--tinta);
  font-size: 0.72rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}

.quote-badge-float {
  position: absolute;
  top: -4px;
  right: -4px;
  margin: 0;
}

.quote-dialog {
  position: relative;
  width: min(460px, 94vw);
  padding: 28px 24px 24px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

.quote-dialog::backdrop {
  background: rgba(20, 16, 14, 0.5);
}

.quote-dialog h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.quote-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  color: var(--humo);
}

.quote-name {
  margin: 0 0 4px;
  color: var(--tinta);
  font-weight: 500;
}

.quote-meta,
.quote-ask,
.quote-empty {
  margin: 0 0 10px;
  color: var(--humo);
  font-size: 0.92rem;
}

.quote-qty-label {
  display: block;
  margin: 14px 0 6px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--humo);
}

.quote-qty {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--linea);
  border-radius: 10px;
  font: inherit;
}

.quote-err {
  margin: 8px 0 0;
  color: #8a1020;
  font-size: 0.88rem;
}

.quote-ask {
  margin-top: 22px;
  font-weight: 500;
  color: var(--tinta);
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quote-actions .btn {
  flex: 1 1 180px;
}

.quote-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--linea);
}

.quote-list strong {
  display: block;
}

.quote-list span,
.quote-list label {
  font-size: 0.82rem;
  color: var(--humo);
}

.quote-list input {
  width: 72px;
  margin-left: 6px;
  padding: 6px 8px;
  border: 1px solid var(--linea);
  border-radius: 8px;
  font: inherit;
}

.quote-remove {
  border: 0;
  background: none;
  color: #8a1020;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.quote-dialog.has-alert [data-view="add"] .quote-ask,
.quote-dialog.has-alert [data-view="add"] .quote-actions {
  display: none;
}

.quote-alert {
  margin-top: 16px;
  padding: 14px 14px 4px;
  border: 1px solid #e2c2c6;
  border-radius: 12px;
  background: #fff6f6;
}

.quote-alert p {
  margin: 0 0 4px;
  color: #8a1020;
  font-size: 0.92rem;
}

.catalog-lightbox {
  position: relative;
  width: min(920px, 96vw);
  max-height: 92vh;
  padding: 48px 56px 24px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.catalog-lightbox::backdrop {
  background: rgba(20, 16, 14, 0.62);
}

.catalog-lightbox img {
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  background: var(--papel);
}

.catalog-lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.catalog-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--sombra);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.catalog-lightbox-nav.is-prev {
  left: 10px;
}

.catalog-lightbox-nav.is-next {
  right: 10px;
}

.catalog-sku,
.catalog-vars {
  margin: 0;
  font-size: 0.86rem;
  color: var(--humo);
}

.catalog-vars {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.catalog-vars li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.catalog-var-stock {
  flex-shrink: 0;
  color: #8a1020;
}

.catalog-var-stock.is-in {
  color: #146c2e;
}

.catalog-stock {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a1020;
}

.catalog-stock.is-in {
  color: #146c2e;
}

.catalog-card.is-out {
  opacity: 0.55;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 36px;
}

.pager-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.pager-page,
.pager-nav {
  min-width: 40px;
  text-align: center;
  border: 1px solid var(--linea);
  background: #fff;
  border-radius: var(--radio);
  padding: 8px 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.pager-page.is-on {
  background: var(--tinta);
  border-color: var(--tinta);
  color: #fff;
}

.pager-gap {
  color: var(--humo);
  padding: 0 4px;
}

.quote-summary {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--humo);
}

.quote-note-label {
  display: block;
  margin: 16px 0 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

.quote-note-label span {
  font-weight: 400;
  color: var(--humo);
}

.quote-note {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  font: inherit;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 10px 12px;
  box-sizing: border-box;
}

.quote-hint {
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: var(--humo);
}

.prose h2 {
  margin-top: 1.4em;
}

@media (max-width: 960px) {
  .grid-4,
  .grid-3,
  .gallery,
  .logo-row,
  .catalog-grid,
  .catalog-grid-rel,
  .ficha,
  .home-serv,
  .home-obras,
  .svc-tipos {
    grid-template-columns: 1fr 1fr;
  }

  .svc-pasos {
    grid-template-columns: 1fr 1fr;
  }

  .home-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-hero {
    width: calc(100% - 40px);
    height: auto;
    border-radius: 32px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .home-hero-copy {
    padding: 16px 0 8px;
  }

  .home-hero-shot {
    width: 100%;
    height: 240px;
    min-height: 240px;
    max-height: 240px;
    margin-right: 0;
    justify-self: stretch;
  }

  .mosaic,
  .service-block,
  .contact-grid,
  .contacto-oficina,
  .contacto-form-grid,
  .porta-split,
  .porta-split-rev,
  .porta-vol,
  .cta-band .wrap,
  .grid-2,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .mosaic a:first-child,
  .mosaic {
    grid-row: auto;
    height: auto;
  }

  .mosaic img,
  .service-block img,
  .media-cover {
    height: 240px;
  }
}

@media (max-width: 760px) {
  .porta-letras,
  .porta-thumbs {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--linea);
    gap: 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-drop-list,
  .nav-drop:hover > .nav-drop-list,
  .nav-drop-sub > .nav-drop-list {
    position: static;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-height: none;
    padding: 0 0 0 14px;
    border: 0;
    box-shadow: none;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .gallery,
  .footer-grid,
  .catalog-grid,
  .home-serv,
  .home-obras,
  .home-stats-grid,
  .svc-tipos,
  .svc-pasos {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding: 0;
    width: calc(100% - 32px);
    height: auto;
    border-radius: 28px;
  }

  .home-hero-copy {
    padding: 12px 0 4px;
  }

  .home-hero-shot {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    margin-bottom: 8px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ficha {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    flex-direction: column;
  }

  .logo-row {
    grid-template-columns: 1fr 1fr;
  }

  .section-head,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 64px 0;
  }
}
