/* ============================================================
   BOSTONIA CONSTRUCTION — index.css
   Tipografía: Montserrat · Paleta #f1f1f1 / #0d0d0d / acento cálido
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,700&family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── VARIABLES ── */
:root {
  --bg: #F7F7F5;
  --bg-2: #FFFFFF;
  --bg-dark: #1C2B3A;
  --orange: #da5b00;
  --orange-l: #0d0d0d;
  --ink: #1A1A1A;
  --ink-2: #555555;
  --ink-3: #888888;
  --border: #E0E0DC;
  --r: 8px;
  --rl: 14px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ── TIPOGRAFÍA ── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--ink); }
h2 em { font-style: normal; color: var(--orange); }

/* ── TAG ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241, 241, 241, 0.55);
  margin-bottom: 1.4rem;
}
.tag::before {
  content: '';
  width: 11px;
  height: 1px;
  background: rgba(241, 241, 241, 0.4);
  flex-shrink: 0;
}

.body-sm { font-size: 0.93rem; color: var(--ink-2); line-height: 1.75; }

/* ── BOTONES ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.82rem 1.8rem;
  border-radius: 4px;
  transition: all 0.25s;
  cursor: pointer;
}
.btn-orange { background: var(--orange); color: #fff; border: 2px solid var(--orange); }
.btn-orange:hover { background: var(--orange-l); border-color: var(--orange-l); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,121,65,0.25); }
.btn-outline-white { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.7); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-dark { background: var(--bg-dark); color: #fff; border: 2px solid var(--bg-dark); }
.btn-dark:hover { background: #263d53; border-color: #263d53; transform: translateY(-2px); }

/* ── ANIMACIONES ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.fade-in { opacity: 0; transform: translateY(18px); animation: fadeup 0.75s ease forwards; }
.d1 { animation-delay: .1s }
.d2 { animation-delay: .22s }
.d3 { animation-delay: .36s }
.d4 { animation-delay: .5s }
.d5 { animation-delay: .65s }
@keyframes fadeup { to { opacity: 1; transform: none; } }


/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: all 0.4s ease;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(13, 13, 13, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  padding: 0.85rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

/* Logo */
.logo { display: flex; align-items: center; gap: 0.65rem; }
.logo-mark {
  width: 40px; height: 40px;
  background: #da5b00;
  border: none;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: #f1f1f1;
  line-height: 1;
  text-transform: uppercase;
}
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.4rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(241,241,241,0.35);
  margin-top: 3px;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 3rem; }
.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.80rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: rgba(255,255,255,0.5);
  transition: width 0.25s;
}
.nav-link:hover { color: #f1f1f1; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #f1f1f1; }
.nav-link.active::after { width: 100%; }

/* Botón cotizar */
.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  transition: all 0.25s;
  cursor: pointer;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.08);
  color: #f1f1f1;
  border-color: rgba(255,255,255,0.4);
}

/* Mobile */
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
}
#mobileMenu {
  display: none;
  background: #0d0d0d;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 2rem 2rem;
  flex-direction: column;
  gap: 0.9rem;
}
#mobileMenu.open { display: flex; }
.mobile-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mobile-link:hover { color: #f1f1f1; }

@media(max-width:768px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
}


/* ══════════════════════════════════════════════════════
   HERO — slider full-screen, tipografía fina, colores suaves
══════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #0d0d0d;
}

/* ── Slides ── */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s ease, transform 9s ease;
}

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

/* ── Overlay ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(0, 0, 0, 0.70) 0%,
    rgba(0, 0, 0, 0.70) 52%,
    rgba(0, 0, 0, 0.70) 100%
  );
  z-index: 1;
}

/* ── Contenido ── */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-inner {
  padding: 8rem 0 4.5rem;
}

/* ── Título ── */
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.1;
  color: #efefef;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;

  text-align: center;
}

.hero-title span {
  color: var(--orange);
  font-weight: 700;
}

/* ── Descripción ── */
.hero-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(235, 235, 235, 0.5);
  max-width: 460px;
  line-height: 1.95;
  margin: 0 auto 2.4rem;}

/* ── Botones ── */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Indicadores ── */
.hero-indicators {
  position: absolute;
  bottom: 2.4rem;
  right: 3rem;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.hero-ind {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(241, 241, 241, 0.25);
  cursor: pointer;
  transition: background 0.4s, width 0.4s;
}
.hero-ind.active {
  background: rgba(241, 241, 241, 0.7);
  width: 44px;
}

/* ── Scroll hint ── */
.hero-scroll {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.6rem 3rem 2rem;
}
.hero-scroll-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(241, 241, 241, 0.35);
  animation: blinkDot 2s infinite;
}
.hero-scroll-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241, 241, 241, 0.28);
}
@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-title    { font-size: 2.4rem; }
  .hero-inner    { padding: 8rem 0 3rem; }
  .hero-scroll   { padding-left: 1.5rem; }
  .hero-indicators { right: 1.5rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
}


/* ══════════════════════════════════════
   SECCIONES GENERALES
══════════════════════════════════════ */
section { padding: 5rem 0; min-height: 100vh; display: flex; align-items: center; }
section > .container { width: 100%; }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.sec-head .tag {
  color: var(--orange);
  justify-content: center;
}
.sec-head .tag::before { background: var(--orange); }
.sec-head p { margin-top: 0.9rem; }


/* ══════════════════════════════════════
   SERVICIOS — carrusel 3D
══════════════════════════════════════ */
#servicios {
  background: #fff;
  overflow: hidden;
  padding-bottom: 4rem;
  flex-direction: column;
  justify-content: center;
}
.lcar-wrap { position: relative; width: 100%; height: 520px; perspective: 1400px; overflow: hidden; }
.lcar-track { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.lcar-card {
  position: absolute;
  width: 500px; height: 380px;
  border-radius: var(--rl);
  overflow: hidden;
  top: 50%; left: 50%;
  margin-top: -240px; margin-left: -250px;
  cursor: pointer;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1), opacity 0.7s ease, box-shadow 0.7s ease;
  backface-visibility: hidden;
}
.lcar-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lcar-over {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,43,58,0.9) 0%, rgba(28,43,58,0.1) 55%, transparent 100%);
  transition: opacity 0.5s ease;
}
.lcar-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.6rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lcar-card.active .lcar-body { opacity: 1; transform: translateY(0); }
.lcar-cat {
  display: inline-block;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--orange); color: #fff;
  padding: 0.22rem 0.75rem; border-radius: 3px; margin-bottom: 0.5rem;
}
.lcar-body h3 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 600; color: #fff; line-height: 1.2; margin-bottom: 0.4rem; }
.lcar-body p { font-size: 0.8rem; font-weight: 300; color: rgba(255,255,255,0.7); line-height: 1.6; }


/* ══════════════════════════════════════
   PROCESO
══════════════════════════════════════ */
#proceso { background: var(--bg); }
.proc-simple { display: flex; align-items: flex-start; gap: 0; }
@media(max-width:768px) {
  .proc-simple { flex-direction: column; }
  .proc-divider { width: 2px; height: 2rem; background: var(--border); margin: 0 0 0 1.2rem; }
}
.proc-step { flex: 1; text-align: center; padding: 0 1.5rem; }
.proc-step-num {
  width: 44px; height: 44px;
  background: var(--orange); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 700;
  margin: 0 auto 1rem;
}
.proc-step h4 { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.proc-step p { font-size: 0.83rem; color: var(--ink-3); line-height: 1.65; }
.proc-divider { width: 1px; background: var(--border); align-self: stretch; margin-top: 1.5rem; flex-shrink: 0; }


/* ══════════════════════════════════════
   PROYECTOS
══════════════════════════════════════ */
#proyectos { background: #fff; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media(max-width:768px) { .proj-grid { grid-template-columns: 1fr; } }
.pcard { background: var(--bg); border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
.pcard:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.09); transform: translateY(-4px); }
.pcard-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.pcard-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.pcard:hover .pcard-img { transform: scale(1.05); }
.pcard-badge { position: absolute; top: 0.8rem; left: 0.8rem; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--orange); color: #fff; padding: 0.18rem 0.6rem; border-radius: 3px; }
.pcard-info { padding: 1.2rem 1.3rem 1.4rem; }
.pcard-info h4 { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.pcard-info p { font-size: 0.8rem; color: var(--ink-3); }


/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer {
  background: #0d0d0d;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.foot-grid-simple {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
@media(max-width:768px) {
  .foot-grid-simple { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Logo en footer */
footer .logo-name { color: #f1f1f1; }
footer .logo-sub  { color: rgba(241,241,241,0.25); }
/* Logo mark — footer */
footer .logo-mark {
  background: #da5b00;
  border: none;
}

/* Descripción */
.foot-brand p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: #f1f1f1;
  line-height: 1.85;
  max-width: 280px;
  margin-top: 1.4rem;
}

/* Redes sociales */
.soc-row { display: flex; gap: 0.5rem; margin-top: 1.8rem; }
.soc-btn {
  width: 34px; height: 34px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #f1f1f1;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.22s;
}
.soc-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
}
.soc-btn svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Títulos de columna */
.foot-h {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f1f1f1;
  margin-bottom: 1.4rem;
}

/* Links */
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.foot-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: #f1f1f1;
  transition: color 0.2s;
}
.foot-links a:hover { color: rgba(255,255,255,0.75); }

/* Contacto */
.foot-contact { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.foot-contact li {
  display: flex;
  gap: 0.7rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #f1f1f1;
  line-height: 1.6;
}
.foot-contact li svg {
  width: 13px; height: 13px;
  stroke: #f1f1f1;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Bottom bar */
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.foot-bottom div {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════
   PRODUCTOS / LO QUE DISTRIBUIMOS
══════════════════════════════════════════════════════ */
#productos {
  background: #f1f1f1;
  padding: 7rem 0;
  min-height: unset;
}

/* Cabecera */
#productos .sec-head .tag {
  color: rgba(13,13,13,0.4);
  justify-content: center;
}
#productos .sec-head .tag::before {
  background: rgba(13,13,13,0.25);
}
#productos .sec-head h2 { color: #0d0d0d; }
#productos .sec-head h2 em {
  font-style: normal;
  color: #c87941;
}
#productos .sec-head p { color: rgba(13,13,13,0.45); }

/* Fila producto */
.prod-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 6rem;
  align-items: center;
}
.prod-row:last-child { margin-bottom: 0; }

/* Invertida */
.prod-row.reverse { direction: rtl; }
.prod-row.reverse > * { direction: ltr; }

/* Imagen */
.prod-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.prod-row:hover .prod-img img {
  transform: scale(1.03);
}

/* Etiqueta sobre imagen */
.prod-img-label {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(13,13,13,0.55);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.8rem;
}

/* Cuerpo de texto */
.prod-body {
  padding: 4rem;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prod-body.right {
  padding-left: 5rem;
  padding-right: 3.5rem;
}
.prod-body.left {
  padding-right: 5rem;
  padding-left: 3.5rem;
}

/* Tag numerado */
.prod-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(13,13,13,0.3);
  margin-bottom: 1.2rem;
  display: block;
}

/* Título */
.prod-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  color: #0d0d0d;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

/* Descripción */
.prod-body p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(13,13,13,0.5);
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

/* Lista */
.prod-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.prod-list li {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(13,13,13,0.55);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.prod-list li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: rgba(13,13,13,0.25);
  flex-shrink: 0;
}

/* CTA link */
.prod-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d0d0d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(13,13,13,0.2);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s;
  width: fit-content;
}
.prod-cta:hover {
  color: #c87941;
  border-color: #c87941;
}

/* Responsive */
@media (max-width: 900px) {
  .prod-row,
  .prod-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .prod-img { aspect-ratio: 16 / 9; }
  .prod-body,
  .prod-body.left,
  .prod-body.right {
    padding: 2.5rem 2rem;
  }
}

/* ══════════════════════════════════════════════════════
   PAGE HERO — hero interno para páginas interiores
══════════════════════════════════════════════════════ */
#page-hero {
  position: relative;
  height: 52vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0d0d0d;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 10s ease;
  filter: brightness(0.6);
}
#page-hero:hover .page-hero-bg { transform: scale(1); }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.85) 0%,
    rgba(8,8,8,0.3) 60%,
    transparent 100%
  );
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
}
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(241,241,241,0.45);
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.page-hero-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: rgba(241,241,241,0.3);
}
.page-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  color: #f1f1f1;
  letter-spacing: -0.02em;
}
.page-hero-title span { color: var(--orange); }


/* ══════════════════════════════════════════════════════
   NOSOTROS
══════════════════════════════════════════════════════ */
#quienes {
  background: #f1f1f1;
  min-height: unset;
  padding: 6rem 0;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
@media(max-width:900px) {
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(13,13,13,0.35);
  margin-bottom: 1.4rem;
}
.about-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: rgba(13,13,13,0.2);
  flex-shrink: 0;
}

.about-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1.6rem;
  color: #0d0d0d;
  letter-spacing: -0.02em;
}
.about-left h2 em { color: var(--orange); font-style: normal; }
.about-left p {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(13,13,13,0.52);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.about-right { position: relative; }
.about-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 20px;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-stat-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: #0d0d0d;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
@media(max-width:600px) {
  .about-stat-card { position: static; margin-top: 1rem; }
}
.about-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #f1f1f1;
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-stat-num span { font-size: 1rem; color: var(--orange); }
.about-stat-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241,241,241,0.35);
  margin-top: 0.3rem;
}
.about-stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* MISIÓN / VISIÓN / VALORES */
#mvv {
  background: #fff;
  min-height: unset;
  padding: 6rem 0;
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media(max-width:768px) { .mvv-grid { grid-template-columns: 1fr; } }

.mvv-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(13,13,13,0.07);
  transition: background 0.3s;
}
.mvv-card:last-child { border-right: none; }
.mvv-card:hover { background: #f9f9f8; }

.mvv-icon {
  width: 42px; height: 42px;
  margin-bottom: 1.6rem;
  color: rgba(13,13,13,0.3);
}
.mvv-icon svg { width: 100%; height: 100%; }
.mvv-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}
.mvv-card p {
  font-size: 0.83rem;
  font-weight: 300;
  color: rgba(13,13,13,0.5);
  line-height: 1.85;
}

/* POR QUÉ ELEGIRNOS */
#porque {
  background: #f1f1f1;
  min-height: unset;
  padding: 6rem 0;
}
#porque .sec-head h2 { color: #0d0d0d; }
#porque .sec-head h2 em { color: var(--orange); font-style: normal; }
#porque .sec-head p { color: rgba(13,13,13,0.45); }

.porque-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(13,13,13,0.08);
}
@media(max-width:900px) { .porque-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px) { .porque-grid { grid-template-columns: 1fr; } }

.porque-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(13,13,13,0.08);
  background: #fff;
  transition: background 0.25s;
}
.porque-item:last-child { border-right: none; }
.porque-item:hover { background: #fafaf9; }

.porque-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(13,13,13,0.2);
  margin-bottom: 1.4rem;
}
.porque-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.porque-item p {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(13,13,13,0.48);
  line-height: 1.85;
}


/* ══════════════════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════════════════ */
#contacto-main {
  background: #f1f1f1;
  min-height: unset;
  padding: 7rem 0;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}
@media(max-width:900px) {
  .contact-split { grid-template-columns: 1fr; gap: 3.5rem; }
}

/* Info lateral */
.contact-info h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #0d0d0d;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.contact-info h2 em { color: var(--orange); font-style: normal; }
.contact-info > p {
  font-size: 0.86rem;
  font-weight: 300;
  color: rgba(13,13,13,0.5);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 36px; height: 36px;
  background: #0d0d0d;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.6);
}
.contact-icon svg { width: 15px; height: 15px; }
.contact-item-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13,13,13,0.3);
  margin-bottom: 0.2rem;
}
.contact-item-val {
  font-size: 0.84rem;
  font-weight: 400;
  color: rgba(13,13,13,0.65);
  line-height: 1.5;
}

/* Formulario */
.contact-form-wrap {
  background: #fff;
  padding: 3rem;
}
@media(max-width:600px) { .contact-form-wrap { padding: 2rem 1.5rem; } }

.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13,13,13,0.4);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #0d0d0d;
  background: #f7f7f5;
  border: 1px solid rgba(13,13,13,0.1);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(13,13,13,0.25);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(13,13,13,0.35);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  background: #0d0d0d;
  color: #f1f1f1;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
  align-self: flex-start;
}
.form-submit svg { width: 14px; height: 14px; transition: transform 0.2s; }
.form-submit:hover { background: var(--orange); }
.form-submit:hover svg { transform: translateX(3px); }

/* ══════════════════════════════════════════════════════
   PROYECTOS
══════════════════════════════════════════════════════ */
#proyectos-main {
  background: #f1f1f1;
  min-height: unset;
  padding: 6rem 0;
}

/* Filtros */
.proy-filters {
  display: flex;
  gap: 0;
  margin-bottom: 3.5rem;
  border: 1px solid rgba(13,13,13,0.1);
  width: fit-content;
}
.proy-filter {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  background: transparent;
  color: rgba(13,13,13,0.35);
  border: none;
  border-right: 1px solid rgba(13,13,13,0.1);
  cursor: pointer;
  transition: all 0.2s;
}
.proy-filter:last-child { border-right: none; }
.proy-filter:hover { color: #0d0d0d; background: rgba(13,13,13,0.04); }
.proy-filter.active { background: #0d0d0d; color: #f1f1f1; }

/* Grid */
.proy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media(max-width:900px) { .proy-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px) { .proy-grid { grid-template-columns: 1fr; } }

/* Card destacada ocupa 2 columnas */
.proy-card.featured {
  grid-column: span 2;
}
@media(max-width:900px) { .proy-card.featured { grid-column: span 2; } }
@media(max-width:560px) { .proy-card.featured { grid-column: span 1; } }

/* Card */
.proy-card {
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.proy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

/* Imagen */
.proy-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.proy-card.featured .proy-img { aspect-ratio: 16/9; }
.proy-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.proy-card:hover .proy-img img { transform: scale(1.04); }

.proy-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.proy-card:hover .proy-overlay { opacity: 1; }
.proy-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f1f1f1; 
  border-bottom: 1px solid rgba(241,241,241,0.4);
  padding-bottom: 0.2rem;
  transition: border-color 0.2s;
}
.proy-link:hover { border-color: #f1f1f1; cursor: pointer;}

/* Info */
.proy-info { padding: 1.6rem; }

.proy-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.proy-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #0d0d0d;
  color: #f1f1f1;
  padding: 0.22rem 0.7rem;
}
.proy-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(13,13,13,0.38);
}
.proy-location svg {
  width: 11px; height: 11px;
  stroke: rgba(13,13,13,0.3);
}

.proy-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.proy-info p {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(13,13,13,0.48);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.proy-specs {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid rgba(13,13,13,0.07);
  padding-top: 1rem;
}
.proy-spec {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.proy-spec span {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13,13,13,0.28);
}
.proy-spec {
  font-size: 0.8rem;
  font-weight: 500;
  color: #0d0d0d;
}

/* ══════════════════════════════════════════════════════
   DETALLE PUNTA VELLA
══════════════════════════════════════════════════════ */
#punta-vella {
  background: #fff;
  min-height: unset;
  padding: 7rem 0;
}

.pdet-wrap {}

.pdet-head {
  max-width: 600px;
  margin-bottom: 4rem;
}
.pdet-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #0d0d0d;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}
.pdet-head h2 em { color: var(--orange); font-style: normal; }
.pdet-head p { color: rgba(13,13,13,0.45); }

.pdet-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
@media(max-width:900px) {
  .pdet-split { grid-template-columns: 1fr; gap: 3rem; }
}

/* Imágenes */
.pdet-img-main {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 0.8rem;
}
.pdet-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pdet-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.pdet-img-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Specs */
.pdet-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(13,13,13,0.08);
  margin-bottom: 2rem;
}
@media(max-width:560px) { .pdet-specs-grid { grid-template-columns: 1fr 1fr; } }

.pdet-spec {
  padding: 1.2rem 1rem;
  border-right: 1px solid rgba(13,13,13,0.08);
  text-align: center;
}
.pdet-spec:last-child { border-right: none; }
.pdet-spec-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.pdet-spec-label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13,13,13,0.3);
}

.pdet-info > p {
  font-size: 0.86rem;
  font-weight: 300;
  color: rgba(13,13,13,0.5);
  line-height: 1.9;
  margin-bottom: 1.6rem;
}

/* ══════════════════════════════════════════════════════
   MODAL DE PROYECTO
══════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.35s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(13,13,13,0.15) transparent;
}
.modal-backdrop.open .modal {
  transform: translateY(0);
}

/* Cerrar */
.modal-close {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1rem 0;
  background: #fff;
  z-index: 2;
}
.modal-close-btn {
  width: 36px; height: 36px;
  background: #0d0d0d;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.modal-close-btn:hover { background: var(--orange); }
.modal-close-btn svg {
  width: 14px; height: 14px;
  stroke: #f1f1f1;
  stroke-width: 2;
}

/* Imagen principal del modal */
.modal-hero {
  width: 100%;
  aspect-ratio: 16/8;
  overflow: hidden;
}
.modal-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Cuerpo */
.modal-body {
  padding: 2.5rem 3rem 3rem;
}
@media(max-width:600px) { .modal-body { padding: 1.8rem 1.5rem 2.5rem; } }

.modal-badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #0d0d0d;
  color: #f1f1f1;
  padding: 0.22rem 0.75rem;
  margin-bottom: 1rem;
}

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.modal-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(13,13,13,0.38);
  margin-bottom: 2rem;
}
.modal-location svg {
  width: 12px; height: 12px;
  stroke: rgba(13,13,13,0.3);
  stroke-width: 2;
  fill: none;
}

/* Specs */
.modal-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(13,13,13,0.08);
  margin-bottom: 2rem;
}
@media(max-width:560px) { .modal-specs { grid-template-columns: 1fr 1fr; } }
.modal-spec {
  padding: 1.2rem 1rem;
  border-right: 1px solid rgba(13,13,13,0.08);
  text-align: center;
}
.modal-spec:last-child { border-right: none; }
.modal-spec-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.modal-spec-label {
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13,13,13,0.3);
}

/* Split desc + lista */
.modal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
@media(max-width:660px) { .modal-split { grid-template-columns: 1fr; gap: 1.5rem; } }

.modal-desc {
  font-size: 0.86rem;
  font-weight: 300;
  color: rgba(13,13,13,0.52);
  line-height: 1.9;
}

.modal-footer {
  border-top: 1px solid rgba(13,13,13,0.07);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.modal-footer-note {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(13,13,13,0.35);
}