/* PAVIARI · estilos.css · v3 · 2024 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Josefin+Sans:wght@100;200;300&family=Inter:wght@300;400&display=swap');

/* ─── VARIABLES ─── */
:root {
  --charcoal:   #1E1E1C;
  --ivory:      #FFFFFF;
  --stone:      #D8D1C5;
  --sand:       #CBBDA7;
  --grey:       #8E8A84;
  --bronze:     #8A6A45;
  --bronze-h:   #A07E5A;
  --off-black:  #161614;
  --warm-white: #F4F2EE;
  --font-s:     'Cormorant Garamond', Georgia, serif;
  --font-g:     'Josefin Sans', sans-serif;
  --font-b:     'Inter', system-ui, sans-serif;
  --mw:         1280px;
  --hh:         72px;
  --pad:        clamp(1.5rem, 4vw, 4rem);
  --sec:        clamp(4rem, 8vw, 8rem);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  font-weight: 300;
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--hh);
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid rgba(216,209,197,.07);
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-svg  { height: 18px; width: auto; }
.logo-wm {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  line-height: 1;
}
.logo-wm--ft {
  color: var(--charcoal);
  font-size: 14px;
  display: block;
  margin-bottom: 1.5rem;
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-link {
  font-family: var(--font-g);
  font-weight: 200;
  font-size: .63rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
  transition: color .2s;
}
.nav-link:hover { color: #fff; }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu { display: block; }
.drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1rem);
  left: -1rem;
  background: var(--charcoal);
  border: 1px solid rgba(216,209,197,.1);
  min-width: 190px;
  padding: .5rem 0;
}
.drop-menu a {
  display: block;
  padding: .6rem 1.2rem;
  font-family: var(--font-g);
  font-size: .6rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color .2s, padding .15s;
}
.drop-menu a:hover { color: #fff; padding-left: 1.6rem; }

/* CTA button */
.btn-nav {
  font-family: var(--font-g);
  font-weight: 200;
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .6rem 1.3rem;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--bronze); color: var(--ivory); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--stone);
  transition: transform .3s, opacity .3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--hh);
  inset-inline: 0;
  background: var(--charcoal);
  padding: 1.5rem var(--pad) 2rem;
  border-top: 1px solid rgba(216,209,197,.07);
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-g);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stone);
  padding: .9rem 0;
  border-bottom: 1px solid rgba(216,209,197,.06);
  transition: color .2s;
}
.mobile-nav a:hover { color: #fff; }
.mobile-nav a:last-child { border-bottom: none; margin-top: 1rem; display: block; text-align: center; border: 1px solid var(--bronze); color: var(--bronze); padding: .8rem; }

/* ─── PAGE OFFSET ─── */
main { padding-top: var(--hh); }

/* ─── HERO ─── */
.hero {
  min-height: 90vh;
  min-height: 90svh;
  background: var(--ivory);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--hh));
  padding-top: calc(var(--hh) + 5rem);
  padding-bottom: 7rem;
  border-bottom: 1px solid rgba(30,30,28,.07);
}
.hero::before { display: none; }
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--mw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-g);
  font-weight: 100;
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 2.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--bronze);
  flex-shrink: 0;
}
.hero-h1 {
  font-family: var(--font-s);
  font-weight: 300;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 2rem;
  letter-spacing: -.01em;
}
.hero-h1 em { font-style: italic; color: var(--bronze); }
.hero-body {
  font-size: .95rem;
  font-weight: 300;
  color: var(--grey);
  max-width: 440px;
  line-height: 1.9;
  margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-deco {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 1px;
  height: 220px;
  flex-shrink: 0;
}
.hero-deco span:nth-child(1) { background: var(--stone); flex: 3; opacity: .5; }
.hero-deco span:nth-child(2) { background: var(--sand);  flex: 2; opacity: .6; }
.hero-deco span:nth-child(3) { background: var(--bronze); flex: 1; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.hero-scroll-label {
  font-family: var(--font-g);
  font-size: .48rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sand);
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--sand), transparent);
  animation: sc 2s ease-in-out infinite;
}
@keyframes sc { 0%,100%{opacity:.3;} 50%{opacity:1;} }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: var(--font-g);
  font-weight: 200;
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--bronze { background: var(--bronze);   color: var(--ivory); border-color: var(--bronze); }
.btn--bronze:hover { background: var(--bronze-h); border-color: var(--bronze-h); }
/* ghost sobre fondo claro (hero, páginas blancas) */
.btn--ghost  { background: transparent; color: var(--charcoal); border-color: rgba(30,30,28,.28); }
.btn--ghost:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
/* ghost sobre fondo oscuro (vis-txt, sec--dark, boq-block) */
.vis-txt .btn--ghost,
.sec--dark .btn--ghost,
.boq-block .btn--ghost { color: var(--stone); border-color: rgba(216,209,197,.28); }
.vis-txt .btn--ghost:hover,
.sec--dark .btn--ghost:hover,
.boq-block .btn--ghost:hover { color: var(--ivory); border-color: var(--stone); background: transparent; }
.btn--dark   { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.btn--dark:hover { background: #2a2a28; }
.btn--outline-light { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--outline-light:hover { background: var(--charcoal); color: var(--ivory); }

/* ─── SECTION ─── */
.sec {
  padding: var(--sec) var(--pad);
}
.sec-inner {
  max-width: var(--mw);
  margin: 0 auto;
}
.sec--dark    { background: var(--charcoal); color: var(--ivory); }
.sec--darker  { background: var(--off-black); color: var(--ivory); }
.sec--warm    { background: var(--warm-white); }
.sec--stone   { background: var(--stone); }

/* Eyebrow */
.ey {
  font-family: var(--font-g);
  font-weight: 100;
  font-size: .58rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.2rem;
}
.ey::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.sec--dark .ey { color: var(--bronze); }

/* Display headings */
.h-d {
  font-family: var(--font-s);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.07;
  letter-spacing: -.01em;
}
.h-d em { font-style: italic; color: var(--bronze); }
.sec--dark .h-d { color: var(--ivory); }
.h-d--xl { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.h-d--sm { font-size: clamp(1.6rem, 3vw, 2.8rem); }

/* Geo headings */
.h-g {
  font-family: var(--font-g);
  font-weight: 100;
  font-size: clamp(.9rem, 1.8vw, 1.2rem);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.sec--dark .h-g { color: var(--stone); }

/* Body text */
.lead {
  font-size: .95rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.85;
  max-width: 540px;
}
.sec--dark .lead { color: var(--grey); }

/* ─── PROPOSAL (HOME S2) ─── */
.proposal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.proc-flow {
  display: flex;
  flex-direction: column;
}
.proc-row {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  position: relative;
}
.proc-row:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 28px;
  width: 1px;
  height: calc(100% - 4px);
  background: var(--stone);
}
.proc-node {
  width: 24px;
  height: 24px;
  border: 1px solid var(--stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .15rem;
  background: var(--ivory);
}
.proc-dot { width: 6px; height: 6px; background: var(--bronze); border-radius: 50%; }
.proc-label {
  font-family: var(--font-g);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 200;
  padding: .5rem 0 1.5rem;
}

/* ─── CATEGORIES ─── */
.cats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 3rem;
}
.cat-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform .9s ease;
}
.cat-block:hover .cat-photo { transform: scale(1.06); }
.cat-block {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  min-height: 420px;
  text-decoration: none;
}
.cat-bg {
  position: absolute;
  inset: 0;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.cat-block:hover .cat-bg { transform: scale(1.04); }
.cat-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,22,20,.46) 0%, rgba(22,22,20,.06) 55%, transparent 100%);
  z-index: 1;
}
.cat-superficies .cat-bg { background: linear-gradient(145deg, #BEB3A5 0%, #9A8F84 40%, #72665A 100%); }
.cat-bano       .cat-bg { background: linear-gradient(145deg, #E0DDD9 0%, #C8C4BF 40%, #A8A09A 100%); }
.cat-iluminacion .cat-bg { background: linear-gradient(145deg, #1A150F 0%, #3A2E1E 40%, #7A6040 100%); }
.cat-exterior   .cat-bg { background: linear-gradient(145deg, #242E1C 0%, #3C4E2C 40%, #5A6A42 100%); }
.cat-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.cat-label {
  font-family: var(--font-g);
  font-size: .56rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(246,243,238,.55);
}
.cat-title {
  font-family: var(--font-s);
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--ivory);
  line-height: 1;
}
.cat-cta {
  font-family: var(--font-g);
  font-size: .56rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bronze);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .3s, transform .3s;
  margin-top: .3rem;
}
.cat-block:hover .cat-cta { opacity: 1; transform: translateY(0); }

/* ─── PROCESS NUMBERED ─── */
.proc-num-list {
  display: flex;
  flex-direction: column;
}
.proc-num-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(216,209,197,.1);
  align-items: start;
}
.proc-num-item:last-child { border-bottom: 1px solid rgba(216,209,197,.1); }
.proc-n {
  font-family: var(--font-g);
  font-weight: 100;
  font-size: .58rem;
  letter-spacing: .14em;
  color: var(--bronze);
  padding-top: .3rem;
}
.proc-t {
  font-family: var(--font-g);
  font-weight: 100;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: .4rem;
}
.proc-b {
  font-size: .88rem;
  color: var(--grey);
  line-height: 1.75;
}

/* ─── DUAL SPLIT ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.split-block {
  padding: var(--sec) var(--pad);
}
.split-block--dark { background: var(--charcoal); color: var(--ivory); }
.split-block--warm { background: var(--warm-white); }
.split-block--stone { background: var(--stone); }

/* ─── BENEFIT LIST ─── */
.benefits {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(216,209,197,.12);
}
.benefit:first-child { border-top: 1px solid rgba(216,209,197,.12); }
.benefit-line { width: 14px; height: 1px; background: var(--bronze); flex-shrink: 0; }
.benefit-text {
  font-family: var(--font-g);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 200;
}

/* ─── CTA SECTION ─── */
.cta-sec {
  text-align: center;
  padding: var(--sec) var(--pad);
}
.cta-sec .h-d { color: var(--ivory); }
.cta-sec .lead { color: var(--grey); max-width: 480px; margin: 1.2rem auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── BOQ BLOCK ─── */
.boq-block {
  background: var(--off-black);
  padding: var(--sec) var(--pad);
}
.boq-inner {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.boq-visual-text {
  font-family: var(--font-s);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(216,209,197,.05);
  line-height: 1;
  user-select: none;
}

/* ─── TAG LIST ─── */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag {
  font-family: var(--font-g);
  font-size: .56rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border: 1px solid rgba(216,209,197,.14);
  color: var(--grey);
}
.tag--bronze { border-color: rgba(138,106,69,.35); color: var(--bronze); }

/* ─── SHOWROOM SOON ─── */
.showroom {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem .9rem;
  border: 1px solid rgba(30,30,28,.15);
  margin-top: 1.5rem;
}
.showroom-dot {
  width: 6px; height: 6px;
  background: var(--bronze);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.3;} 50%{opacity:1;} }
.showroom-txt {
  font-family: var(--font-g);
  font-size: .56rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(30,30,28,.65);
}

/* ─── PAGE HEADER ─── */
.page-hdr {
  background: var(--ivory);
  border-bottom: 1px solid var(--stone);
  padding: 7rem var(--pad) 4rem;
}
.page-hdr-inner {
  max-width: var(--mw);
  margin: 0 auto;
}
.page-hdr .h-d { color: var(--charcoal); }
.page-hdr .lead { margin-top: 1.2rem; color: var(--grey); }

/* ─── SECTION GAPS — breathing room between full-width blocks ─── */
.vis-sec + .sec,
.photo-strip + .vis-sec { margin-top: 3px; }
.cats-grid { margin-bottom: 3px; }
.boq-block { margin-top: 3px; }

/* ─── FORM ─── */
.form-wrap {
  max-width: 800px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}
.f-full { grid-column: 1 / -1; }
.field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.field label {
  font-family: var(--font-g);
  font-size: .56rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stone);
  padding: .75rem 0;
  font-family: var(--font-b);
  font-size: .9rem;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--bronze); }
.field input::placeholder,
.field textarea::placeholder { color: var(--sand); }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; cursor: pointer; }
.attach-zone {
  border: 1px dashed rgba(216,209,197,.4);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s;
}
.attach-zone:hover { border-color: var(--bronze); }
.attach-zone p {
  font-family: var(--font-g);
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--grey);
}
.sel-group { display: flex; flex-wrap: wrap; gap: .4rem; }
.sel-opt {
  font-family: var(--font-g);
  font-size: .58rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border: 1px solid var(--stone);
  color: var(--grey);
  cursor: pointer;
  transition: border-color .2s, color .2s;
  user-select: none;
}
.sel-opt.on,
.sel-opt:hover { border-color: var(--bronze); color: var(--charcoal); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--ivory);
  padding: 5rem var(--pad) 2.5rem;
  border-top: 1px solid rgba(30,30,28,.1);
}
.footer-grid {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(30,30,28,.1);
  margin-bottom: 2rem;
}
.f-brand .logo-svg { height: 20px; margin-bottom: 1.5rem; }
.f-tagline {
  font-family: var(--font-g);
  font-weight: 100;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(30,30,28,.65);
  line-height: 2;
}
.f-col-title {
  font-family: var(--font-g);
  font-size: .54rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(30,30,28,.4);
  margin-bottom: .9rem;
}
.f-links { display: flex; flex-direction: column; gap: .55rem; }
.f-links a {
  font-family: var(--font-g);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(30,30,28,.8);
  transition: color .2s;
}
.f-links a:hover { color: var(--charcoal); }
.footer-bottom {
  max-width: var(--mw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.f-copy {
  font-family: var(--font-g);
  font-size: .54rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(30,30,28,.45);
}
.f-legal { display: flex; gap: 1.5rem; }
.f-legal a {
  font-family: var(--font-g);
  font-size: .54rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(30,30,28,.45);
  transition: color .2s;
}
.f-legal a:hover { color: var(--charcoal); }

/* ─── STICKY CTA — eliminado ─── */
.sticky-cta { display: none !important; }

/* ─── DATA VIZ INLINE ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  margin-top: 3rem;
}
.stat-block {
  padding: 2rem;
  background: rgba(255,255,255,.025);
  border-top: 1px solid rgba(216,209,197,.08);
}
.stat-num {
  font-family: var(--font-s);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label {
  font-family: var(--font-g);
  font-size: .56rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ─── ANIMATE IN ─── */
[data-a] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-a].in { opacity: 1; transform: none; }
[data-a="1"] { transition-delay: .1s; }
[data-a="2"] { transition-delay: .2s; }
[data-a="3"] { transition-delay: .3s; }
[data-a="4"] { transition-delay: .4s; }

/* ─── IMAGE COMPONENTS ─── */
.img-full {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.img-panel {
  overflow: hidden;
  position: relative;
  background: var(--charcoal);
}
.img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.img-panel:hover img { transform: scale(1.03); }

/* Gallery grid: 2 or 3 columns */
.img-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.img-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}
.img-grid-2 .img-panel,
.img-grid-3 .img-panel { aspect-ratio: 4/3; }
.img-grid-2 .img-panel--tall { aspect-ratio: 3/4; }
.img-grid-2 .img-panel--wide { grid-column: span 2; aspect-ratio: 16/7; }

/* Full-bleed single photo */
.img-bleed {
  width: 100%;
  height: clamp(320px, 50vw, 640px);
  overflow: hidden;
  position: relative;
}
.img-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Photo + text side-by-side */
.img-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.img-side .img-panel { min-height: 400px; }
.img-side-txt {
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem) var(--pad);
}
.img-side-txt .h-d { color: var(--ivory); }
.img-side-txt .lead { margin-top: 1.2rem; color: var(--grey); }
.img-side-txt .btn { margin-top: 2.5rem; }

/* Caption label on photo */
.img-cap {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  font-family: var(--font-g);
  font-size: .52rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246,243,238,.5);
  z-index: 2;
}

@media (max-width: 768px) {
  .img-grid-2, .img-grid-3 { grid-template-columns: 1fr; }
  .img-grid-2 .img-panel--wide { grid-column: span 1; aspect-ratio: 4/3; }
  .img-side { grid-template-columns: 1fr; }
  .img-side .img-panel { min-height: 280px; }
}

/* ─── PHOTO HEADERS ─── */
.page-hdr--photo {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 10rem var(--pad) 5rem;
}
.phdr-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.phdr-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,24,22,.52) 0%, rgba(26,24,22,.10) 55%, transparent 100%);
  z-index: 1;
}
.page-hdr--photo .page-hdr-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--mw);
  margin: 0 auto;
}

/* ─── VIS-SEC — full-height split panels ─── */
.vis-sec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
}
.vis-sec--3col {
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 60vh;
}
.vis-panel {
  position: relative;
  overflow: hidden;
}
.vis-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s ease;
}
.vis-panel:hover img { transform: scale(1.04); }
.vis-panel .img-cap { position: absolute; bottom: 1.2rem; left: 1.4rem; font-family: var(--font-g); font-size: .5rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(246,243,238,.55); z-index: 2; }
.vis-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem,8vw,8rem) clamp(2rem,5vw,5rem);
  background: var(--charcoal);
}
.vis-txt .ey { color: var(--bronze); }
.vis-txt .h-d { color: var(--ivory); margin-top: .6rem; }
.vis-txt .lead { color: var(--grey); margin-top: 1.2rem; font-size: .88rem; }
.vis-txt .btn { margin-top: 2.5rem; align-self: flex-start; }
.vis-txt-lt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem,8vw,8rem) clamp(2rem,5vw,5rem);
  background: var(--ivory);
}
.vis-txt-lt .ey { color: var(--bronze); }
.vis-txt-lt .h-d { color: var(--charcoal); margin-top: .6rem; }
.vis-txt-lt .lead { color: var(--charcoal); opacity: .65; margin-top: 1.2rem; font-size: .88rem; }
.vis-txt-lt .btn { margin-top: 2.5rem; align-self: flex-start; }
.vis-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.vis-tags .tag { font-size: .6rem; }

/* ─── PHOTO STRIP ─── */
.photo-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  height: clamp(260px,32vw,480px);
  gap: 2px;
}
.photo-strip .vis-panel { height: 100%; }

@media (max-width: 1024px) {
  .photo-strip { grid-template-columns: 1fr 1fr; height: auto; }
  .photo-strip .vis-panel { height: clamp(220px,40vw,360px); }
}
@media (max-width: 768px) {
  .page-hdr--photo { min-height: 55vh; padding: 8rem var(--pad) 3.5rem; }
  .vis-sec { grid-template-columns: 1fr; }
  .vis-sec--3col { grid-template-columns: 1fr 1fr; min-height: auto; }
  .vis-sec--3col .vis-panel { height: clamp(200px,45vw,320px); }
  .vis-txt, .vis-txt-lt { min-height: 0; padding: 3.5rem var(--pad); }
  .photo-strip { grid-template-columns: 1fr 1fr; }
}

/* ─── COMING SOON ─── */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: var(--sec) var(--pad);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .f-brand { grid-column: 1 / -1; }
  .proposal-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --hh: 64px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-deco { display: none; }
  .hero-left { padding-bottom: 4rem; }
  .cats-grid { grid-template-columns: 1fr; }
  .cat-block { min-height: 300px; }
  .proposal-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .boq-inner { grid-template-columns: 1fr; }
  .boq-visual-text { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .f-full { grid-column: 1; }
  .proc-num-item { grid-template-columns: 56px 1fr; gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 2.5rem; }
  .cat-block { min-height: 260px; }
}

/* ═══════════════════════════════════════════════════
   PAVIARI v4 — NEW COMPONENTS
   ═══════════════════════════════════════════════════ */

/* ─── HERO PHOTO FULLSCREEN ─── */
.hero-ph {
  position: relative;
  height: 100vh; height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  margin-top: calc(-1 * var(--hh));
}
.hero-ph-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%; z-index: 0;
}
.hero-ph-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(18,16,14,.85) 0%,
    rgba(18,16,14,.35) 50%,
    rgba(18,16,14,.08) 100%);
  z-index: 1;
}
.hero-ph-inner {
  position: relative; z-index: 2;
  max-width: var(--mw); width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad) 7rem;
}
.hero-ph-eyebrow {
  font-family: var(--font-g); font-weight: 100;
  font-size: .56rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--bronze);
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 2rem;
}
.hero-ph-eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px;
  background: var(--bronze); flex-shrink: 0;
}
.hero-ph-h1 {
  font-family: var(--font-g); font-weight: 100;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  letter-spacing: .08em; text-transform: uppercase;
  color: #fff; line-height: 1.1;
  margin-bottom: 1.5rem; max-width: 680px;
}
.hero-ph-sub {
  font-family: var(--font-b); font-size: .9rem; font-weight: 300;
  color: rgba(255,255,255,.58);
  max-width: 400px; line-height: 1.85; margin-bottom: 2.5rem;
}
.btn--white { background:#fff; color:var(--charcoal); border-color:#fff; }
.btn--white:hover { background:rgba(255,255,255,.88); }
.btn--outline-wh { background:transparent; color:rgba(255,255,255,.85); border-color:rgba(255,255,255,.45); }
.btn--outline-wh:hover { border-color:#fff; color:#fff; }

/* ─── INTRO BLOCK ─── */
.intro-blk {
  padding: clamp(5rem,10vw,9rem) var(--pad);
  background: var(--ivory);
}
.intro-blk-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.intro-blk-inner .ey { justify-content: center; }
.intro-blk-inner .ey::before { display: none; }
.intro-blk-body {
  font-size: .93rem; font-weight: 300;
  color: var(--grey); line-height: 1.95; margin-top: 1.5rem;
}
.intro-blk-inner .btn { margin-top: 2.2rem; }

/* ─── SECTION TITLE ─── */
.sec-ttl {
  padding: clamp(4rem,7vw,7rem) var(--pad) clamp(2rem,3vw,3rem);
  background: var(--ivory);
}
.sec-ttl-inner { max-width: var(--mw); margin: 0 auto; }

/* ─── 4-COL CATEGORY GRID ─── */
.cats-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.cats-4 .cat-block { min-height: 420px; }

/* ─── FEATURED DARK PHOTO ─── */
.feat-ph {
  position: relative; min-height: 62vh;
  display: flex; align-items: center; overflow: hidden;
}
.feat-ph-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; z-index: 0;
}
.feat-ph-ov {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(18,16,14,.82) 0%,
    rgba(18,16,14,.5) 55%,
    rgba(18,16,14,.18) 100%);
  z-index: 1;
}
.feat-ph-inner {
  position: relative; z-index: 2;
  max-width: 560px; padding: 6rem var(--pad);
  margin-left: calc((100vw - var(--mw)) / 2);
}
.feat-ph-h2 {
  font-family: var(--font-g); font-weight: 100;
  font-size: clamp(1.4rem,3vw,2.6rem);
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff; line-height: 1.2; margin-bottom: 1.5rem;
}
.feat-ph-p {
  font-size: .88rem; font-weight: 300;
  color: rgba(255,255,255,.6);
  line-height: 1.9; margin-bottom: 2.2rem; max-width: 420px;
}

/* ─── PAVIARI PAGE ─── */
.para-whom-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
  margin-top: 3rem;
}
.para-whom-item {
  padding: 2.5rem 2rem;
  background: var(--warm-white);
  border-top: 2px solid var(--bronze);
}
.para-whom-title {
  font-family: var(--font-g); font-weight: 100;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--charcoal); margin-bottom: .5rem;
}
.para-whom-desc { font-size: .82rem; color: var(--grey); line-height: 1.75; }
.supply-list {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
  margin-top: 2px;
}
.supply-item {
  padding: 2rem 1.5rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--stone);
}
.supply-item-name {
  font-family: var(--font-g); font-weight: 100;
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--charcoal);
}
.supply-item-desc { font-size: .78rem; color: var(--grey); margin-top: .4rem; line-height: 1.6; }

/* ─── PRODUCT SECTIONS (espacios-productos) ─── */
.prod-sec { border-top: 1px solid rgba(30,30,28,.06); }
.prod-sec-hdr { display: grid; grid-template-columns: 1fr 1fr; min-height: 62vh; }
.prod-sec-hdr--rev { direction: rtl; }
.prod-sec-hdr--rev > * { direction: ltr; }
.prod-sec-photo { position: relative; overflow: hidden; }
.prod-sec-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .9s ease;
}
.prod-sec-photo:hover img { transform: scale(1.04); }
.prod-sec-txt {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(3rem,6vw,6rem) clamp(2rem,5vw,5rem);
  background: var(--ivory);
}
.prod-sec-num {
  font-family: var(--font-g); font-weight: 100;
  font-size: .54rem; letter-spacing: .3em; color: var(--bronze);
  margin-bottom: 1rem;
}
.prod-sec-txt .h-d { color: var(--charcoal); }
.prod-sec-txt .lead { margin-top: 1.2rem; font-size: .88rem; }
.prod-sec-txt .btn { margin-top: 2.5rem; align-self: flex-start; }
.prod-gallery {
  display: grid; grid-template-columns: repeat(3,1fr);
  height: clamp(220px,28vw,400px); gap: 2px;
}
.prod-gallery .vis-panel { height: 100%; }

/* ─── RESPONSIVE v4 ─── */
@media (max-width: 1024px) {
  .cats-4 { grid-template-columns: repeat(2,1fr); }
  .cats-4 .cat-block { min-height: 340px; }
  .para-whom-grid { grid-template-columns: repeat(2,1fr); }
  .supply-list { grid-template-columns: repeat(2,1fr); }
  .prod-sec-hdr { grid-template-columns: 1fr; }
  .prod-sec-photo { min-height: 55vw; }
  .prod-sec-hdr--rev { direction: ltr; }
}
@media (max-width: 768px) {
  .hero-ph-h1 { font-size: clamp(1.6rem,7vw,2.8rem); }
  .cats-4 { grid-template-columns: repeat(2,1fr); }
  .cats-4 .cat-block { min-height: 260px; }
  .para-whom-grid { grid-template-columns: 1fr; }
  .supply-list { grid-template-columns: repeat(2,1fr); }
  .prod-gallery { grid-template-columns: 1fr 1fr; height: auto; }
  .prod-gallery .vis-panel { height: clamp(180px,45vw,300px); }
  .feat-ph-inner { margin-left: 0; padding-left: var(--pad); }
}
