/* ===== Tipografía de marca: Gotham ===== */
@font-face {
  font-family: "Gotham";
  src: url("fonts/gothamnarrow-book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("fonts/gothamnarrow-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("fonts/gotham-black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ===== Paleta de marca Patagual Home ===== */
  --clay: #ef820b;        /* Naranjo (acento principal) */
  --clay-deep: #cf6f08;   /* Naranjo oscurecido (hover) */
  --pine: #344440;        /* Verde oscuro */
  --pine-soft: #46584f;   /* Verde oscuro suavizado */
  --green-light: #809629; /* Verde claro (acento secundario) */
  --gris: #6c6c76;        /* Gris */
  --text: #34403a;        /* Texto principal */
  --muted: #5e6c60;       /* Gris tipografías */
  --ink: #26302b;         /* Verde muy oscuro (UI oscura) */
  --ink-soft: #344440;
  --sand: #ece4d5;
  --sand-deep: #d8c8af;
  --paper: #f8f4ed;
  --white: #ffffff;
  --line: rgba(52, 68, 64, 0.14);
  --line-strong: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 70px rgba(52, 68, 64, 0.14);
  --shadow-deep: 0 40px 90px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1360px;
  --serif: "Gotham", "Montserrat", system-ui, sans-serif;
  --display: "Gotham", "Montserrat", system-ui, sans-serif;
  --sans: "Gotham", "Montserrat", system-ui, sans-serif;
}

/* Títulos de mayor jerarquía (Gotham Bold, según la marca) */
.landing-title,
.section-head h2,
.somos-head h3,
.benefits-title { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
.model-card h3,
.ds-model-body h3,
.about-card h3,
.contact-card h3,
.showroom-card h3,
.info-card h4,
.fl-modal-body h3 { font-weight: 700; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(239, 130, 11, 0.08), transparent 30%),
    linear-gradient(180deg, #f4ede3 0%, #f8f4ed 30%, #f4efe7 100%);
  overflow-x: hidden;
}

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

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 6px rgba(239, 130, 11, 0.15);
}

.section-shell { padding: 1.75rem 0; }
section[id] { scroll-margin-top: 6rem; }

.tag {
  display: inline-block;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head { max-width: 760px; margin-bottom: 2.8rem; }
.section-head .tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-head p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--clay); color: var(--white); box-shadow: 0 18px 40px rgba(207, 111, 8, 0.22); }
.btn-primary:hover { background: var(--clay-deep); }
.btn-secondary { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.18); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-light:hover { box-shadow: 0 14px 32px rgba(38, 48, 43, 0.12); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--clay); color: var(--clay); }
.btn-pine { background: var(--pine); color: var(--white); box-shadow: 0 14px 32px rgba(52, 68, 64, 0.22); }
.btn-pine:hover { background: var(--pine-soft); }
.btn-ink { background: var(--ink-soft); color: var(--white); box-shadow: 0 14px 32px rgba(38, 48, 43, 0.22); }
.btn-ink:hover { background: var(--ink); }
.btn-lg { padding: 1.15rem 1.8rem; font-size: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.scrolled,
.site-header.header-solid {
  background: rgba(38, 48, 43, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--white);
}
.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--clay), #f7a83d);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.brand-text { display: none; } /* el logo (lockup) ya incluye el nombre */
.brand-text strong { font-size: 0.98rem; letter-spacing: 0.02em; }
.brand-text span {
  font-size: 0.7rem;
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav-links { display: flex; align-items: center; gap: 1.55rem; }
.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
.nav-links .nav-pill {
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.25rem auto;
  background: currentColor;
}

/* ============ LANDING HERO (maqueta principal) ============ */
.landing-hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem 0 3rem;
  background:
    linear-gradient(120deg, rgba(38, 48, 43, 0.32), rgba(38, 48, 43, 0.22)),
    url("../imagenes/principal/fabrica.jpg") center/cover;
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 5rem 5rem;
  opacity: 0.09;
  pointer-events: none;
}
.landing-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}
.landing-title-main { max-width: 100%; }
.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}
.landing-brand .brand-mark {
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.25rem;
}
.landing-brand .brand-text strong { font-size: 1.3rem; letter-spacing: 0.06em; }
.landing-brand .brand-text span { font-size: 0.78rem; letter-spacing: 0.22em; }

.landing-title {
  font-family: var(--serif);
  margin: 0 auto 2.6rem;
  font-weight: 600;
  text-shadow: 0 2px 16px rgba(18, 25, 22, 0.45);
}
.landing-sub { text-shadow: 0 1px 10px rgba(18, 25, 22, 0.5); }
.landing-title-main {
  display: block;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.landing-title-sub {
  display: block;
  margin-top: 0.6rem;
  font-size: clamp(1.1rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
}

.landing-sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  font-weight: 400;
  margin: -1.4rem auto 1.8rem;
  letter-spacing: 0.01em;
}
.route-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1080px;
  margin: 0 auto 3.2rem;
}
.route-button {
  display: grid;
  gap: 0.6rem;
  align-content: space-between;
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: var(--white);
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.route-button:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.09); }
.route-button .route-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--white);
  font-weight: 600;
}
.route-button .route-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.route-button .route-cta {
  display: inline-block;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(207, 111, 8, 0.26);
}
.route-button:hover .route-cta { background: var(--clay-deep); }

/* Franja de 4 beneficios */
.benefits-strip {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  padding: 2rem 1.8rem;
  border-radius: var(--radius-xl);
  background: rgba(38, 48, 43, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
}
.benefits-title {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.benefit {
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.4rem 0.5rem;
}
.benefit-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: rgba(239, 130, 11, 0.22);
  color: #f7bd7a;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.benefit-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.benefit-value {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.benefit-sub {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ============ HERO B2C/B2B (páginas internas) ============ */
.hero {
  position: relative;
  min-height: 72vh;
  padding: 9rem 0 4rem;
  background:
    linear-gradient(120deg, rgba(38, 48, 43, 0.88), rgba(38, 48, 43, 0.76)),
    url("../PROYECTOS%20DESARROLLADOS/BANDURRIAS%202.jpg") center/cover;
  color: var(--white);
  overflow: hidden;
}
.hero.b2b {
  background:
    linear-gradient(115deg, rgba(38, 48, 43, 0.82), rgba(52, 68, 64, 0.72)),
    url("../PROYECTOS%20DESARROLLADOS/BANDURRIAS%201.jpg") center/cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto auto -12rem -6rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 130, 11, 0.34), transparent 70%);
  filter: blur(10px);
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 1.2rem 0 1.4rem;
  max-width: 16ch;
}
.hero-copy p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin: 2rem 0 0;
}

/* ============ MODELOS B2C: carrusel + detalle ============ */
.models-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #111;
  box-shadow: var(--shadow-deep);
  aspect-ratio: 16 / 8;
  max-height: 560px;
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.4, 1);
}
.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-contain .carousel-slide img {
  object-fit: contain;
  background: #f5f0ea;
}
.wide-container {
  width: min(1500px, calc(100% - 2rem));
  margin: 0 auto;
}
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}
.carousel-caption {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  z-index: 2;
  color: var(--white);
  max-width: 30rem;
}
.carousel-caption .mini-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #f7bd7a;
  font-weight: 700;
  display: block;
  margin-bottom: 0.55rem;
}
.carousel-caption h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.carousel-caption p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.94rem;
}
.carousel-controls {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  gap: 0.55rem;
  z-index: 3;
}
.carousel-controls button {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.42);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.carousel-controls button:hover { background: rgba(0, 0, 0, 0.72); }
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 3;
}
.carousel-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots button.active {
  background: var(--clay);
  transform: scale(1.4);
}

.model-detail {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 1.4rem;
}
.model-detail.alt { background: linear-gradient(180deg, #fffaf2 0%, #f4eee4 100%); }
.model-detail-gallery {
  position: relative;
  overflow: hidden;
  min-height: 16rem;
  border-top-right-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}
.model-detail-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.model-detail-gallery img:hover { transform: scale(1.02); }
.model-detail-body { display: grid; gap: 1rem; align-content: start; padding: 2rem; }
.model-detail-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}
.model-detail-body p { color: var(--muted); line-height: 1.8; }
.model-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.model-spec {
  padding: 0.7rem 0.9rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.model-spec strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.25rem;
}
.model-spec span { font-weight: 700; color: var(--text); }
.plantas-note {
  padding: 0.9rem 1rem;
  background: rgba(239, 130, 11, 0.08);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

/* Rutas en landing se mantienen legado */
.routes { position: relative; margin-top: -4.5rem; z-index: 2; }
.route-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.1rem; }
.route-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid;
  gap: 1.2rem;
}
.route-card h3 { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.route-card p { color: var(--muted); line-height: 1.75; }
.route-card ul { list-style: none; display: grid; gap: 0.8rem; }
.route-card li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--text);
  line-height: 1.6;
}
.route-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.model-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 35px rgba(38, 48, 43, 0.05);
  display: grid;
  gap: 1rem;
  overflow: hidden;
}
.model-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-md);
}
.model-card .label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--clay);
}
.model-card .label::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}
.model-card h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.02; }
.model-meta { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.model-meta span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.model-card p { color: var(--muted); line-height: 1.72; font-size: 0.95rem; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.info-card {
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  background: #f3ece1;
  border: 1px solid rgba(38, 48, 43, 0.08);
  display: grid;
  gap: 0.85rem;
}
.info-card h4 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.05; }
.info-card p, .info-card li { color: var(--muted); line-height: 1.7; font-size: 0.92rem; }
.info-card ul { list-style: none; display: grid; gap: 0.5rem; }
.info-card li::before { content: "• "; color: var(--clay); font-weight: 700; }

.showroom-grid, .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.showroom-card, .news-card {
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.95rem;
}
.showroom-card h3, .news-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.05;
}
.showroom-card p, .news-card p { color: var(--muted); line-height: 1.76; font-size: 0.96rem; }
.contact-map-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}
.showroom-map {
  position: relative;
  display: block;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 16rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.showroom-map iframe {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  border: 0;
  display: block;
  pointer-events: none;
}
.showroom-map-cta {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--clay);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(38, 48, 43, 0.2);
}

.small-list { list-style: none; display: grid; gap: 0.55rem; }
.small-list li { color: var(--muted); line-height: 1.7; font-size: 0.95rem; }
.small-list strong { color: var(--text); }

/* ============ B2B: overlay hero ============ */
.hero-overlay-text {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: var(--white);
}
.hero-overlay-text em {
  display: block;
  font-style: normal;
  color: #f7bd7a;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.enterprise {
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(239, 130, 11, 0.18), transparent 28%),
    linear-gradient(180deg, #162020 0%, #0f1515 100%);
}
.enterprise .section-head .tag { color: #dfb189; }
.enterprise .section-head h2, .enterprise .section-head p { color: var(--white); }
.enterprise .section-head p { color: rgba(255, 255, 255, 0.7); }

.why-industrial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.why-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.why-card h3 { font-family: var(--serif); font-size: 1.8rem; line-height: 1.05; margin-bottom: 1rem; }
.why-card p { color: var(--muted); line-height: 1.8; margin-bottom: 0.9rem; }

/* ============ PROYECTOS CON POP-UP ============ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(38, 48, 43, 0.2);
}
.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.project-body { padding: 1.35rem; display: grid; gap: 0.85rem; align-content: start; }
.project-body .tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
}
.project-body h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1; }
.project-body p { color: var(--muted); line-height: 1.7; font-size: 0.92rem; }

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 12, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  z-index: 1000;
  padding: 2rem;
  overflow-y: auto;
}
.lightbox.open { display: grid; place-items: center; }
.lightbox-inner {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 1000px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: var(--shadow-deep);
}
.lightbox-head {
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.lightbox-head h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.lightbox-head p { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.lightbox-close {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
}
.lightbox-body {
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
  overflow-y: auto;
}
.lightbox-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}
.lightbox-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ============ DS49/DS19 ============ */
.ds-section {
  background:
    radial-gradient(circle at top right, rgba(52, 68, 64, 0.1), transparent 30%),
    linear-gradient(180deg, #f3ece1 0%, #e8dccb 100%);
}
.ds-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.2rem;
}
.ds-intro h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}
.ds-intro p { color: var(--text); line-height: 1.85; font-size: 1.02rem; }
.ds-badges { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.1rem; }
.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.85rem;
}
.ds-badge::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--clay);
}
.ds-models {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.ds-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.ds-fullwidth {
  width: calc(100% - 3rem);
  margin: 0 auto;
}
.ds-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.ds-text .tag { display: inline-block; margin-bottom: 0.7rem; }
.ds-text h2 { margin-bottom: 1.1rem; }
.ds-text p { line-height: 1.85; }
.ds-text p + p { margin-top: 0.9rem; }
.ds-text .route-actions { margin-top: 1.2rem; }
.ds-two-col .ds-layout { gap: 1.4rem; }
.ds-two-col .ds-model > img { aspect-ratio: 16 / 7; }
@media (max-width: 900px) {
  .ds-two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 860px) {
  .ds-layout { grid-template-columns: 1fr; gap: 1.6rem; }
}
.ds-model {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.ds-model img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ds-carousel {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
.ds-carousel .carousel-track { height: 100%; }
.ds-carousel .carousel-slide::after { display: none; }
.ds-carousel .carousel-slide img { aspect-ratio: auto; height: 100%; }
.ds-model-body { padding: 1.6rem; display: grid; gap: 0.8rem; }
.ds-model-body .tag { color: var(--clay); }
.ds-model-body h3 { font-family: var(--serif); font-size: 1.8rem; line-height: 1.02; }
.ds-model-body p { color: var(--muted); line-height: 1.75; }

/* ============ FAQ ============ */
.faq-grid { display: grid; gap: 0.8rem; max-width: 900px; }
.faq-item {
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--clay); }
.faq-item summary {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--clay);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ============ NOSOTROS / TRABAJA CON NOSOTROS ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 1.4rem;
}
.about-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-card h3 {
  font-family: var(--serif);
  font-size: 2.15rem;
  line-height: 1.02;
  margin-bottom: 1rem;
}
.about-card p { color: var(--muted); line-height: 1.82; }
.about-points { margin-top: 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.about-points div {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #f0e7da;
  border: 1px solid rgba(239, 130, 11, 0.16);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.about-points div:hover {
  background: #eaddcb;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(207, 111, 8, 0.14);
}
.about-points strong { display: block; margin-bottom: 0.3rem; }
.about-visual {
  min-height: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(38, 48, 43, 0.2), rgba(38, 48, 43, 0.25)),
    url("../PROYECTOS%20DESARROLLADOS/LOMAS%20DE%20PUYARAL%201%20(2).jpg") center/cover;
}
.about-video {
  padding: 0;
  overflow: hidden;
  min-height: 100%;
}
.about-video iframe {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  display: block;
  border: 0;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.job-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 35px rgba(38, 48, 43, 0.05);
}
.job-card h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.job-card p { color: var(--muted); line-height: 1.7; font-size: 0.93rem; margin-bottom: 0.9rem; }

/* ============ CONTACTO ============ */
.contact-shell {
  background:
    radial-gradient(circle at top right, rgba(239, 130, 11, 0.18), transparent 22%),
    linear-gradient(180deg, #f1e8db 0%, #ede3d3 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.contact-card {
  padding: 1.7rem;
  display: grid;
  gap: 0.9rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-card h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.contact-card p { color: var(--muted); line-height: 1.75; }
.contact-card .small { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* ============ FOOTER ============ */
.footer {
  padding: 2.4rem 0 3rem;
  background: #101616;
  color: rgba(255, 255, 255, 0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}
.footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.96);
}
.footer p, .footer a {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  text-decoration: none;
}
.footer-links { display: grid; gap: 0.45rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .route-buttons { grid-template-columns: 1fr; max-width: 520px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-intro, .ds-models, .why-industrial, .about-grid, .model-detail {
    grid-template-columns: 1fr;
  }
  .project-grid, .contact-grid, .info-grid, .showroom-grid, .news-grid, .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .model-detail-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; min-height: 14rem; }
  .model-detail-gallery img:first-child { grid-row: auto; min-height: 14rem; }
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1.25rem;
    left: 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(38, 48, 43, 0.96);
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-deep);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; }

  .hero { padding-top: 8rem; }
  .landing-hero { padding-top: 7rem; }
  .landing-title-main { white-space: normal; font-size: clamp(1.8rem, 8vw, 3rem); }

  .benefits-grid, .model-grid, .project-grid, .footer-grid,
  .contact-grid, .info-grid, .showroom-grid, .news-grid, .jobs-grid,
  .contact-map-layout, .about-points {
    grid-template-columns: 1fr;
  }
  .showroom-map { min-height: 18rem; }

  .carousel-caption { left: 1rem; right: 1rem; bottom: 4.2rem; }
  .carousel-caption h3 { font-size: 1.6rem; }

  .route-card, .about-card, .contact-card, .model-detail, .why-card {
    padding: 1.45rem;
  }
  .section-shell { padding: 1.75rem 0; }
}

/* ============ SOLUCIONES A MEDIDA · texto + imagen ============ */
.soluciones-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: stretch;
}
.itpy-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 9rem;
  gap: 0.8rem;
  align-self: stretch;
}
.itpy-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.itpy-tile:first-child,
.itpy-tile:last-child { grid-column: 1 / -1; }
.itpy-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.itpy-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 48, 43, 0) 55%, rgba(38, 48, 43, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.itpy-tile:hover img { transform: scale(1.07); }
.itpy-tile:hover::after { opacity: 1; }
@media (max-width: 900px) {
  .itpy-bento { grid-auto-rows: 8rem; }
}
.soluciones-layout .section-head { margin-bottom: 0; max-width: none; }
.soluciones-media {
  align-self: stretch;
  min-height: 24rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.soluciones-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.soluciones-media:hover img { transform: scale(1.04); }

.soluciones-config {
  align-self: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: center;
}
.config-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--text);
}
.config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.config-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: #f0e7da;
  border: 1px solid rgba(239, 130, 11, 0.16);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.config-item::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}
.config-item:hover {
  background: #eaddcb;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(207, 111, 8, 0.12);
}

@media (max-width: 900px) {
  .soluciones-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .soluciones-media { min-height: 16rem; }
}
@media (max-width: 480px) {
  .config-grid { grid-template-columns: 1fr; }
}

/* ============ SOMOS · bento interactivo ============ */
.somos-head { text-align: center; max-width: 1000px; margin: 0 auto 2rem; }
.somos-head .tag { display: inline-block; margin-bottom: 0.7rem; }
.somos-head h3 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.somos-head p {
  position: relative;
  color: var(--pine);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
  max-width: 620px;
  margin: 1.4rem auto 0;
  padding-top: 1.3rem;
  letter-spacing: 0.01em;
}
.somos-head p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 3px;
  border-radius: 999px;
  background: var(--clay);
}

.somos-intro {
  margin: 0 auto 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: stretch;
}
.somos-intro-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.somos-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.somos-intro-text {
  display: grid;
  gap: 1.05rem;
  align-content: center;
}
.somos-intro p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}
.somos-intro .somos-claim {
  color: var(--text);
  font-weight: 700;
  font-size: 1.08rem;
  margin-top: 0.3rem;
}
@media (max-width: 900px) {
  .somos-intro { grid-template-columns: 1fr; gap: 1.5rem; }
}

.somos-bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-auto-rows: 13.5rem;
  gap: 1rem;
}
.somos-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 13.5rem;
  box-shadow: var(--shadow);
}
.somos-tile--lg { grid-row: span 2; }
.somos-tile-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.somos-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(38, 48, 43, 0) 28%, rgba(38, 48, 43, 0.88) 100%);
}
.somos-tile:hover .somos-tile-media { transform: scale(1.06); }
.somos-tile-content { padding: 1.5rem; color: var(--white); width: 100%; }
.somos-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f7bd7a;
  margin-bottom: 0.5rem;
}
.somos-tile h4 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.08; margin-bottom: 0.4rem; }
.somos-tile p { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; line-height: 1.55; }
.somos-stat .count {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}
.somos-cubes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  width: 7.5rem;
  margin-bottom: 0.7rem;
}
.somos-cubes span {
  aspect-ratio: 1;
  border-radius: 3px;
  background: #f7bd7a;
  transform: scale(0.35);
  opacity: 0.4;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s ease;
}
.somos-tile:hover .somos-cubes span { transform: scale(1); opacity: 1; }
.somos-cubes span:nth-child(1) { transition-delay: 0s; }
.somos-cubes span:nth-child(2) { transition-delay: 0.04s; }
.somos-cubes span:nth-child(3) { transition-delay: 0.08s; }
.somos-cubes span:nth-child(4) { transition-delay: 0.12s; }
.somos-cubes span:nth-child(5) { transition-delay: 0.16s; }
.somos-cubes span:nth-child(6) { transition-delay: 0.2s; }
.somos-cubes span:nth-child(7) { transition-delay: 0.1s; }
.somos-cubes span:nth-child(8) { transition-delay: 0.14s; }
.somos-cubes span:nth-child(9) { transition-delay: 0.18s; }
.somos-cubes span:nth-child(10) { transition-delay: 0.22s; }
.somos-cubes span:nth-child(11) { transition-delay: 0.26s; }
.somos-cubes span:nth-child(12) { transition-delay: 0.3s; }

.somos-video {
  margin: 1rem auto 0;
  max-width: 820px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.somos-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

@media (max-width: 820px) {
  .somos-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .somos-tile { min-height: 13rem; }
  .somos-tile--lg { grid-row: span 1; }
}

/* ============ Pop-up Family Lodge ============ */
.fl-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.fl-modal.open { display: flex; }
.fl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 48, 43, 0.72);
  backdrop-filter: blur(5px);
}
.fl-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
  display: grid;
  grid-template-columns: 320px 1fr;
  animation: flPop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
@keyframes flPop {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.fl-modal-media { position: relative; padding: 1.4rem 0 0 1.4rem; }
.fl-modal-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
.fl-modal-body {
  padding: 2.2rem 2.2rem 2.2rem 1.6rem;
  overflow-y: auto;
  max-height: 90vh;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.fl-modal-body .tag { color: var(--clay); margin-bottom: 0.1rem; }
.fl-modal-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.fl-modal-body p { color: var(--muted); line-height: 1.8; }
.fl-modal-body p:first-of-type { color: var(--text); }
.fl-modal-card::-webkit-scrollbar { width: 8px; }
.fl-modal-card::-webkit-scrollbar-thumb {
  background: rgba(38, 48, 43, 0.18);
  border-radius: 999px;
}
.fl-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(38, 48, 43, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}
.fl-modal-close:hover { background: #fff; transform: rotate(90deg); }
@media (max-width: 720px) {
  .fl-modal-card {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }
  .fl-modal-media { padding: 1.2rem 1.2rem 0; }
  .fl-modal-body {
    padding: 1.4rem 1.4rem 1.8rem;
    overflow: visible;
    max-height: none;
  }
}

/* ============ Botón flotante de WhatsApp ============ */
.wsp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.1rem 0.7rem 0.8rem;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(38, 48, 43, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wsp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(38, 48, 43, 0.34);
}
.wsp-float svg {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
  fill: #fff;
}
@media (max-width: 600px) {
  .wsp-float { right: 1rem; bottom: 1rem; padding: 0.7rem; }
  .wsp-float .wsp-text { display: none; }
}

/* Grid de contacto a 2 columnas en escritorio, 1 sola columna en móvil */
.contact-grid--two { grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) {
  .contact-grid--two { grid-template-columns: 1fr; }
}

/* Tarjetas de proyecto no clickeables (index) */
.project-card--static { cursor: default; }
.project-card--static:hover { transform: none; box-shadow: var(--shadow); }

/* Carrusel dentro de tarjetas de proyecto (Casos reales) */
.project-carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-carousel .carousel-track { height: 100%; }
.project-carousel .carousel-slide::after { display: none; }
.project-carousel .carousel-slide img {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Título de la sección Somos (index): destacado + subtítulo */
.somos-head h3 .somos-title-main {
  display: block;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.somos-head h3 .somos-title-sub {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Título dividido: parte destacada + subtítulo pequeño */
.split-main {
  display: block;
  text-transform: uppercase;
  line-height: 1.02;
}
.split-sub {
  display: block;
  margin-top: 0.4rem;
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ============ Formulario Trabaja con nosotros ============ */
.cv-form {
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.cv-field { display: grid; gap: 0.45rem; }
.cv-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.cv-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cv-field input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(239, 130, 11, 0.15);
}
.cv-field input[type="file"] {
  padding: 0.6rem 0.7rem;
  background: var(--white);
  cursor: pointer;
}
.cv-form button { margin-top: 1.4rem; }
.cv-msg {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}
.cv-msg.ok { display: block; color: var(--pine); }
.cv-msg.error { display: block; color: #b3261e; }
@media (max-width: 640px) {
  .cv-grid { grid-template-columns: 1fr; }
  .cv-form { padding: 1.5rem; }
}

/* Página Trabaja con nosotros: contenido centrado */
#trabaja .section-head { text-align: center; margin-left: auto; margin-right: auto; }
#trabaja .cv-form { margin-left: auto; margin-right: auto; text-align: center; }
#trabaja .cv-field { text-align: left; }

/* ============ Sección Redes sociales (Instagram) ============ */
.redes-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.redes-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  margin: 0;
}
.redes-head .btn { margin-top: 0.6rem; }
.redes-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 340px;
  margin: 0.9rem auto 0;
}
.redes-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(38, 48, 43, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.redes-social a:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 14px 30px rgba(38, 48, 43, 0.26); }
.redes-social svg { width: 1.85rem; height: 1.85rem; }
.redes-social .soc-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.redes-social .soc-fb { background: #1877f2; }
.redes-social .soc-in { background: #0a66c2; }
.ig-feed {
  max-width: 1080px;
  margin: 1.6rem auto 0;
}
.ig-feed:empty { margin: 0; }
.ig-feed iframe { width: 100%; border: 0; }
