/* ===================================================
   PATERA MARMOLERÍA — Canteras-style redesign
   Brand: #0D2B5E (navy) + #3A6B35 (green) + white
=================================================== */

/* Progress bar override — white */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: #fff;
  z-index: 9999;
  width: 0;
  transition: width .1s;
  pointer-events: none
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --brand: #0D2B5E;
  --brand-dark: #091e45;
  --brand-light: #1a3d7a;
  --accent: #3A6B35;
  --accent-light: #4d8843;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --text: #1a1a1a;
  --text-soft: #777;
  --line: #dce3ed;
  --f: 'Inter', system-ui, -apple-system, sans-serif;
  --maxw: 1240px;
  --px: clamp(1.5rem, 5vw, 5rem);
  --section-py: clamp(4rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none
}

ul,
ol {
  list-style: none
}

/* ── Typography ───────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--f);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
}

h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: .2em
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: .2em
}

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

h4 {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .2em
}

p {
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.85
}

.lead {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 55ch
}

.eyebrow {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: inline-block;
}

.eyebrow-soft {
  color: var(--text-soft)
}

/* ── Layout ───────────────────────────────────── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--px)
}

.section {
  padding: var(--section-py) 0
}

.section-tight {
  padding: calc(var(--section-py) * .6) 0
}

.section-dark {
  background: var(--brand);
  color: #fff
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff
}

.section-dark p {
  color: rgba(255, 255, 255, .65)
}

.section-cream {
  background: var(--bg-alt)
}

/* Section header */
.sec-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.sec-head h2 {
  flex-shrink: 0
}

.sec-head .line {
  flex: 1;
  height: 1px;
  background: var(--line)
}

.section-dark .sec-head .line {
  background: rgba(255, 255, 255, .25)
}

.sec-head .num {
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--text-soft)
}

/* ═══════════════════════════════════════════════════
   NAVBAR — dark bar, Canteras style
═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--px);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, box-shadow .4s;
}

.navbar.solid,
.navbar.scrolled {
  background: var(--brand);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
}

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

.nav-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1)
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem)
}

.nav-menu a {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  padding: .3rem 0;
  position: relative;
  transition: color .25s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: #fff;
  transition: right .3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  right: 0
}

.nav-cta {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .5rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-weight: 500;
  transition: all .3s;
}

.nav-cta:hover {
  background: #fff;
  color: var(--brand);
  border-color: #fff
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
  z-index: 1100
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #fff;
  transition: all .3s
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg)
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg)
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--brand);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: auto
}

.nav-mobile a {
  font-size: 1rem;
  color: rgba(255, 255, 255, .8);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-mobile a:hover {
  color: #fff
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--brand-dark) center/cover no-repeat;
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, .4) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--px) clamp(4rem, 8vw, 6rem);
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero h1 {
  color: #fff;
  font-weight: 300;
  letter-spacing: .12em;
  max-width: 16ch
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  letter-spacing: .02em
}

.hero .subline {
  font-size: .95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .6);
  margin-top: 1.2rem;
  max-width: 50ch;
  line-height: 1.8;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, .55);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, .4)
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem
}

.hero-page {
  min-height: 55vh
}

.hero-page .hero-inner {
  padding-bottom: clamp(3rem, 5vw, 4rem)
}

/* ═══════════════════════════════════════════════════
   ICON TRIO (¿Qué hacemos?) — Canteras style
═══════════════════════════════════════════════════ */
.icon-trio {
  display: flex;
  justify-content: center;
  gap: clamp(3rem, 8vw, 8rem);
  margin-top: 3rem;
}

.icon-trio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.icon-trio-svg {
  width: clamp(60px, 10vw, 90px);
  height: auto;
  color: var(--text);
  stroke-width: 1.2;
}

.icon-trio-item h4 {
  font-size: .75rem;
  letter-spacing: .26em
}

/* Section title — large italic heading */
.section-title {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  text-transform: none;
  letter-spacing: .01em;
  line-height: 1.35;
  max-width: 700px;
  margin-bottom: 2.5rem;
  color: var(--text);
}

/* Two column text */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.two-col p {
  font-size: .92rem;
  line-height: 1.85
}

/* Section description paragraph */
.section-desc {
  max-width: 680px;
  margin-bottom: 2.5rem;
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.85;
}

.section-desc--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px
}

/* ═══════════════════════════════════════════════════
   CATALOG SPLIT (image + dark panel)
═══════════════════════════════════════════════════ */
.catalog-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.catalog-split-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.catalog-split-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-img-main {
  grid-column: 1/2
}

.catalog-img-secondary {
  grid-column: 2/2
}

.catalog-split-panel {
  background: var(--brand-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem);
}

.catalog-split-panel h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: .15em;
  margin-bottom: 1.2rem;
}

.catalog-line {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, .35);
  margin-bottom: 1.5rem;
}

.catalog-split-panel p {
  color: rgba(255, 255, 255, .6);
  font-size: .92rem;
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 380px;
}

/* Light variant */
.catalog-split--light .catalog-split-panel {
  background: #fff;
  color: var(--text);
}

.catalog-split--light .catalog-split-panel h2 {
  color: var(--text)
}

.catalog-split--light .catalog-line {
  background: var(--line)
}

.catalog-split--light .catalog-split-panel p {
  color: var(--text-soft)
}

/* ═══════════════════════════════════════════════════
   CATALOG PAGE LAYOUT — full-width
═══════════════════════════════════════════════════ */
.catalog-section {
  padding: var(--section-py) 0
}

.catalog-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  max-width: 100%;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}

.catalog-sidebar {
  position: sticky;
  top: 80px;
  padding-right: clamp(1.5rem, 3vw, 2.5rem)
}

.sidebar-title {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--text);
  font-weight: 500;
}

.sidebar-filters {
  display: flex;
  flex-direction: column;
  gap: .1rem
}

/* Sidebar category group */
.sidebar-group {
  margin-bottom: 1.2rem;
}

.sidebar-group-title {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
  padding: .6rem 0 .3rem;
  cursor: pointer;
  transition: color .2s;
}

.sidebar-group-title:hover {
  color: var(--accent)
}

.sidebar-group-title.active {
  color: var(--accent)
}

.sidebar-group-items {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  padding-left: .8rem;
}

.filter-btn {
  background: none;
  border: none;
  text-align: left;
  padding: .4rem 0;
  font-size: .85rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: color .2s;
  font-family: var(--f);
  letter-spacing: .02em;
  border-bottom: 1px solid transparent;
}

.filter-btn:hover {
  color: var(--accent)
}

.filter-btn.active {
  color: var(--accent);
  font-weight: 500
}

.filter-btn-all {
  padding-left: 0;
  font-weight: 500;
  margin-bottom: .5rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  align-content: start;
}

.cat-tile {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-alt);
  cursor: pointer;
}

.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.cat-tile:hover img {
  transform: scale(1.05)
}

.cat-tile span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .7rem .8rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent);
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.cat-tile span em {
  font-style: normal;
  font-size: .58rem;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .6);
  font-weight: 400;
}



.cat-tile.hidden {
  display: none
}

/* Grid section headers */
.grid-section-header {
  grid-column: 1 / -1;
  padding: 1.5rem 0 .5rem;
  font-family: var(--f);
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--text);
}

.grid-section-cat1 {
  font-size: .9rem;
  font-weight: 600;
  padding: 2.5rem 0 .3rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: .2rem;
}

.grid-section-cat1:first-child {
  padding-top: 0;
}

.grid-section-cat2 {
  font-size: .7rem;
  font-weight: 400;
  color: var(--text-soft);
  padding: 1rem 0 .3rem;
  border-bottom: 1px solid var(--line);
}

.grid-section-header.hidden {
  display: none
}

/* ═══════════════════════════════════════════════════
   SPLIT STATS / ABOUT CENTER
═══════════════════════════════════════════════════ */
.about-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-center .eyebrow {
  margin-bottom: .8rem
}

.about-center h2 {
  margin-bottom: 2rem
}

.about-img-wrap {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.about-text {
  max-width: 680px;
  text-align: center
}

.about-text p+p {
  margin-top: 1rem
}

.split-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.split-stats--center {
  justify-content: center
}

.mini-stat {
  display: flex;
  flex-direction: column;
  gap: .15rem
}

.mini-stat .stat-number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--accent);
}

.mini-stat-label {
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ═══════════════════════════════════════════════════
   BRANDS CAROUSEL
═══════════════════════════════════════════════════ */
.brands-carousel {
  overflow: hidden;
  position: relative;
  padding: 1rem 0 .5rem;
}

.brands-carousel::before,
.brands-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.brands-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-alt), transparent)
}

.brands-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-alt), transparent)
}

.brands-track {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  animation: marquee 40s linear infinite;
  width: max-content;
}

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

.brands-track img {
  height: clamp(30px, 4vw, 50px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(.45);
  transition: filter .3s;
}

.brands-track img:hover {
  filter: grayscale(0) opacity(1)
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(calc(-50% - clamp(1rem, 2.5vw, 2rem)))
  }
}

/* ═══════════════════════════════════════════════════
   FOOTER LIGHT (white background)
═══════════════════════════════════════════════════ */
.footer-light {
  background: #fff;
  color: var(--text-soft);
}

.footer-light h5 {
  color: var(--brand);
}

.footer-light .brand {
  color: var(--brand)
}

.footer-light p {
  color: var(--text-soft)
}

.footer-light a {
  color: var(--text-soft)
}

.footer-light a:hover {
  color: var(--brand)
}

.footer-light .footer-bottom {
  border-top-color: var(--line);
  color: var(--text-soft);
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.8rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
  transition: all .3s;
  cursor: pointer;
}

.btn:hover {
  background: var(--brand);
  color: #fff
}

.btn-light {
  border-color: rgba(255, 255, 255, .45);
  color: #fff
}

.btn-light:hover {
  background: #fff;
  color: var(--brand);
  border-color: #fff
}

.btn-fill {
  background: var(--brand);
  color: #fff
}

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

.btn-fill.btn-light {
  background: #fff;
  color: var(--brand);
  border: 1px solid #fff
}

.btn-fill.btn-light:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45)
}

.btn::after {
  content: '→';
  transition: transform .3s
}

.btn:hover::after {
  transform: translateX(3px)
}

/* ═══════════════════════════════════════════════════
   INTRO
═══════════════════════════════════════════════════ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro-grid .eyebrow {
  margin-bottom: .8rem
}

.intro-grid h2 {
  line-height: 1.25
}

.intro-grid p {
  margin-top: 1rem
}

/* ═══════════════════════════════════════════════════
   TRIO (Qué hacemos)
═══════════════════════════════════════════════════ */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
}

.trio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem
}

.trio-item .circle {
  width: clamp(130px, 16vw, 180px);
  height: clamp(130px, 16vw, 180px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand-dark);
}

.trio-item .circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s
}

.trio-item:hover .circle img {
  transform: scale(1.06)
}

.trio-item h4 {
  letter-spacing: .24em
}

.trio-item p {
  font-size: .9rem;
  max-width: 30ch;
  margin: 0 auto
}

/* ═══════════════════════════════════════════════════
   NUMBERED LIST
═══════════════════════════════════════════════════ */
.num-list {
  border-top: 1px solid var(--line)
}

.num-list li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s;
}

.num-list li:hover {
  padding-left: .8rem
}

.num-list .n {
  font-size: .85rem;
  color: var(--text-soft);
  letter-spacing: .1em
}

.num-list .name {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.num-list .meta {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-soft)
}

.section-dark .num-list {
  border-color: rgba(255, 255, 255, .2)
}

.section-dark .num-list li {
  border-color: rgba(255, 255, 255, .2)
}

.section-dark .num-list .n,
.section-dark .num-list .meta {
  color: rgba(255, 255, 255, .5)
}

/* ═══════════════════════════════════════════════════
   SPLIT (editorial)
═══════════════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split.reverse .split-img {
  order: 2
}

.split-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--brand-dark)
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s
}

.split-img:hover img {
  transform: scale(1.04)
}

.split-text .eyebrow {
  margin-bottom: .8rem;
  display: block
}

.split-text h2 {
  margin-bottom: 1.2rem
}

.split-text p+p {
  margin-top: .8rem
}

.split-text .btn {
  margin-top: 1.8rem
}

/* ═══════════════════════════════════════════════════
   MATERIAL CARDS (catálogo)
═══════════════════════════════════════════════════ */
.mat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.mat-card {
  display: block;
  position: relative;
  cursor: pointer
}

.mat-card .img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--brand-dark);
  margin-bottom: 1rem;
}

.mat-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s
}

.mat-card:hover .img-wrap img {
  transform: scale(1.05)
}

.mat-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .7rem;
}

.mat-card .row h3 {
  font-weight: 400
}

.mat-card .row .num {
  font-size: .85rem;
  color: var(--text-soft);
  letter-spacing: .1em
}

.mat-card p {
  font-size: .9rem;
  margin-top: .7rem
}

/* ═══════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px
}

.gallery a {
  display: block;
  overflow: hidden;
  background: var(--brand-dark);
  aspect-ratio: 1/1;
  cursor: zoom-in
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s, opacity .3s
}

.gallery a:hover img {
  transform: scale(1.05);
  opacity: .9
}

.gallery a:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 2/1
}

/* ═══════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0;
}

.section-dark .stats {
  border-color: rgba(255, 255, 255, .2)
}

.stat {
  text-align: center
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  display: block;
  line-height: 1;
  letter-spacing: .05em;
}

.stat-label {
  display: block;
  margin-top: .6rem;
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, .5)
}

/* ═══════════════════════════════════════════════════
   BRANDS
═══════════════════════════════════════════════════ */
.brands {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center
}

.brands img {
  width: 100%;
  height: auto;
  max-height: 55px;
  object-fit: contain;
  filter: grayscale(1) opacity(.5);
  transition: filter .35s;
}

.brands img:hover {
  filter: grayscale(0) opacity(1)
}

/* ═══════════════════════════════════════════════════
   QUOTE
═══════════════════════════════════════════════════ */
.quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  letter-spacing: .04em;
}

.quote::before,
.quote::after {
  content: '—';
  display: block;
  color: var(--text-soft);
  margin: 1.2rem auto;
}

.section-dark .quote {
  color: #fff
}

/* ═══════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════ */
.cta {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) var(--px);
  background: var(--brand-dark) center/cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45)
}

.cta>* {
  position: relative;
  z-index: 2
}

.cta h2 {
  color: #fff;
  max-width: 20ch;
  margin: 0 auto 1.2rem
}

.cta p {
  color: rgba(255, 255, 255, .65);
  max-width: 50ch;
  margin: 0 auto 2rem
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.contact-info .info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: .8rem;
  align-items: baseline;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-info .info-row:first-child {
  border-top: 1px solid var(--line)
}

.contact-info .info-row .label {
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.contact-info .info-row .val {
  font-size: 1rem
}

.contact-info .info-row .val a:hover {
  color: var(--brand)
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0
}

.form .field {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0
}

.form label {
  display: block;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: .3rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  font-size: .95rem;
  color: var(--text);
  padding: .3rem 0;
  resize: vertical;
}

.form textarea {
  min-height: 100px
}

.form .field:focus-within {
  border-color: var(--brand)
}

.form-submit {
  margin-top: 2rem;
  align-self: flex-start;
  padding: .75rem 1.8rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  transition: all .3s;
  cursor: pointer;
}

.form-submit:hover {
  background: transparent;
  color: var(--brand)
}

.form-submit:disabled {
  opacity: .5;
  cursor: wait
}

/* ═══════════════════════════════════════════════════
   MAP
═══════════════════════════════════════════════════ */
.map {
  width: 100%;
  aspect-ratio: 16/7;
  border: none;
  filter: grayscale(.8) contrast(.95)
}

/* ═══════════════════════════════════════════════════
   FOOTER — burgundy background
═══════════════════════════════════════════════════ */
.footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, .6);
  padding: clamp(3rem, 6vw, 4.5rem) var(--px) 1.5rem;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer h5 {
  color: #fff;
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.footer .brand {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: .8rem;
  display: block;
}

.footer p {
  color: rgba(255, 255, 255, .45);
  font-size: .88rem
}

.footer ul li {
  padding: .3rem 0
}

.footer a {
  color: rgba(255, 255, 255, .6);
  font-size: .88rem;
  transition: color .3s
}

.footer a:hover {
  color: #fff
}

.footer-bottom {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

/* ═══════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain
}

.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .3);
  transition: all .3s;
}

.lb-close:hover {
  background: #fff;
  color: var(--brand)
}

/* ═══════════════════════════════════════════════════
   WHATSAPP
═══════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
  transition: transform .3s;
}

.wa-float:hover {
  transform: scale(1.08)
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: #fff
}

/* ═══════════════════════════════════════════════════
   REVEAL
═══════════════════════════════════════════════════ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
}

.reveal {
  transform: translateY(24px)
}

.reveal-left {
  transform: translateX(-24px)
}

.reveal-right {
  transform: translateX(24px)
}

.reveal-scale {
  transform: scale(.97)
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media(max-width:1100px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }

  .brands {
    grid-template-columns: repeat(3, 1fr)
  }

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

@media(max-width:900px) {

  .nav-menu,
  .nav-cta {
    display: none
  }

  .nav-hamburger {
    display: flex
  }

  .intro-grid,
  .split,
  .contact-grid,
  .two-col,
  .catalog-split {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .split.reverse .split-img {
    order: 0
  }

  .trio,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .icon-trio {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem
  }

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

  .gallery a:nth-child(5) {
    grid-column: auto;
    aspect-ratio: 1/1
  }

  .mat-grid,
  .mat-showcase {
    grid-template-columns: 1fr 1fr
  }

  .catalog-split-images {
    grid-template-columns: 1fr 1fr
  }

  .catalog-split-panel {
    padding: 2.5rem
  }

  .catalog-wrap {
    grid-template-columns: 1fr
  }

  .catalog-sidebar {
    position: relative;
    top: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-right: 0
  }

  .sidebar-title {
    margin-bottom: 0;
    width: 100%
  }

  .sidebar-group {
    margin-bottom: 0
  }

  .sidebar-group-title {
    padding: .4rem .8rem;
    font-size: .72rem;
    border: 1px solid var(--brand);
    border-radius: 2px;
    color: var(--brand)
  }

  .sidebar-group-items {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .4rem;
    padding-left: 0;
    margin-top: .4rem
  }

  .sidebar-filters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem
  }

  .filter-btn {
    padding: .4rem .8rem;
    font-size: .78rem;
    border: 1px solid var(--line);
    border-radius: 2px
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem
  }

  .num-list li {
    grid-template-columns: 40px 1fr;
    gap: .8rem
  }

  .num-list .meta {
    display: none
  }

  .sec-head {
    flex-wrap: wrap;
    gap: .8rem
  }

  .split-stats {
    gap: 1.5rem
  }
}

@media(max-width:600px) {
  .hero {
    min-height: 85vh
  }

  .footer-inner {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    flex-direction: column;
    gap: .8rem;
    text-align: center
  }

  .brands {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact-info .info-row {
    grid-template-columns: 1fr;
    gap: .3rem
  }

  .wa-float {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px
  }

  .wa-float svg {
    width: 22px;
    height: 22px
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stats {
    grid-template-columns: 1fr 1fr
  }

  .nosotros-gallery {
    grid-template-columns: repeat(2, 1fr)
  }

  .nosotros-gallery img {
    height: 180px
  }

  .service-cards {
    grid-template-columns: 1fr
  }
}

/* ═══════════════════════════════════════════════════
   NOSOTROS — gallery strip
═══════════════════════════════════════════════════ */
.nosotros-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.nosotros-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .6s, filter .3s;
  filter: grayscale(.15);
}

.nosotros-gallery img:hover {
  transform: scale(1.03);
  filter: grayscale(0)
}

/* ═══════════════════════════════════════════════════
   NOSOTROS — service cards
═══════════════════════════════════════════════════ */
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2.2rem 1.5rem;
  border: 1px solid var(--line);
  text-align: center;
  transition: all .35s;
  background: var(--bg);
}

.service-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .06)
}

.service-card svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.2rem;
  display: block;
  color: var(--brand);
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.3;
}

.service-card h4 {
  margin-bottom: .6rem;
  font-size: .78rem;
  letter-spacing: .22em
}

.service-card p {
  font-size: .85rem;
  line-height: 1.7;
  max-width: 28ch;
  margin: 0 auto
}

@media(max-width:900px) {
  .nosotros-gallery {
    grid-template-columns: repeat(3, 1fr)
  }

  .nosotros-gallery img {
    height: 200px
  }

  .service-cards {
    grid-template-columns: 1fr 1fr
  }

  .contact-minimal {
    grid-template-columns: 1fr
  }

  .contact-map-large {
    min-height: 350px
  }
}

@media(max-width:600px) {
  .contact-map-large {
    min-height: 280px
  }
}

/* ═══════════════════════════════════════════════════
   CONTACT PAGE — minimal layout
═══════════════════════════════════════════════════ */
.contact-page {
  padding-top: calc(60px + var(--section-py));
  padding-bottom: var(--section-py);
  background: var(--bg-alt)
}

.contact-minimal {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-left h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: .8rem 0 1rem;
  line-height: 1.2;
}

.contact-left .subtext {
  font-size: .92rem;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 40ch;
  margin-bottom: .5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:first-child {
  border-top: 1px solid var(--line)
}

.contact-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s;
}

.contact-item:hover .contact-icon-wrap {
  border-color: var(--brand)
}

.contact-icon-wrap svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round
}

.contact-item-label {
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: block;
  margin-bottom: .1rem;
}

.contact-item-value {
  font-size: .95rem;
  color: var(--text)
}

.contact-item-value a:hover {
  color: var(--brand)
}

.contact-social {
  margin-top: 2rem
}

.contact-social h5 {
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1rem;
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: .7rem
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.social-icon:hover {
  background: var(--brand)
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: #fff
}

.contact-map-large {
  width: 100%;
  min-height: 520px;
  height: 100%;
  border: none;
  filter: grayscale(.8) contrast(.95);
  border-radius: 4px;
}