/*
Theme Name: BEMUS Ingenieria
Theme URI: https://bemus.com.co
Author: BEMUS Ingenieria S.A.S.
Description: Tema corporativo a medida para BEMUS Ingenieria S.A.S. Ingenieria civil, construccion, desarrollo inmobiliario y servicios inmobiliarios. Contenido editable desde el Personalizador y proyectos gestionados como tipo de contenido propio.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bemus
Tags: business, corporate, real-estate, one-page, custom-colors
*/

/* =========================================================
   BEMUS INGENIERÍA S.A.S. — hoja de estilos del tema
   1. Variables y reset
   2. Tipografía y utilidades
   3. Botones
   4. Header / Navbar
   5. Hero
   6. Servicios
   7. Proyecto destacado (Villa Paula)
   8. Modalidades
   9. Proceso
  10. Áreas
  11. Proyectos
  12. Inmobiliaria
  13. Nosotros
  14. CTA
  15. Contacto
  16. Footer
  17. Responsive
   ========================================================= */

/* ============ 1. VARIABLES Y RESET ============ */
:root {
  --orange: #EC670C;
  --orange-dark: #C9540A;
  --orange-soft: rgba(236, 103, 12, 0.10);
  --navy: #00132F;
  --navy-light: #162A48;
  --white: #FFFFFF;
  --light-gray: #F4F5F7;
  --text: #202733;
  --text-soft: #5B6472;

  --line: #E3E5EA;
  --line-dark: rgba(255, 255, 255, 0.16);

  --shadow-sm: 0 1px 2px rgba(0, 19, 47, 0.06);
  --shadow-md: 0 18px 40px rgba(0, 19, 47, 0.10);
  --shadow-lg: 0 30px 70px rgba(0, 19, 47, 0.18);

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --container: 1280px;
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* ============ 2. TIPOGRAFÍA Y UTILIDADES ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 112px 0; }
.section-alt { background-color: var(--light-gray); }

.section-head { max-width: 720px; margin-bottom: 64px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex: none;
}
.eyebrow-light { color: var(--orange); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-title-light { color: var(--white); }

.section-text {
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 18px;
  max-width: 62ch;
}
.section-text-light { color: rgba(255, 255, 255, 0.72); }

/* ============ 3. BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.28s var(--ease),
              color 0.28s var(--ease),
              border-color 0.28s var(--ease),
              transform 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}

.btn-primary {
  background-color: var(--orange);
  color: var(--white);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(236, 103, 12, 0.30);
}

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 12px 22px; font-size: 12px; }
.btn-block { width: 100%; }

/* ============ 4. HEADER / NAVBAR ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--navy);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; }
.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

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

.nav-list a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  transition: width 0.3s var(--ease);
}
.nav-list a:hover,
.nav-list a:focus-visible { color: var(--white); }
.nav-list a:hover::after,
.nav-list a:focus-visible::after { width: 100%; }

/* Botón de menú móvil */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease);
}
.nav-toggle:hover { border-color: var(--orange); }

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger { position: relative; }
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger::before { top: -6px; }
.burger::after { top: 6px; }

/* ============ 5. HERO ============ */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  background-color: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(100deg, rgba(0, 19, 47, 0.94) 0%, rgba(0, 19, 47, 0.82) 45%, rgba(22, 42, 72, 0.62) 100%),
    url('img/hero-bemus.jpg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* Retícula tipo plano arquitectónico */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 85%);
}

.hero-inner {
  max-width: 980px;
  animation: fadeUp 0.9s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
}

.dimension-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 26px;
  max-width: 640px;
}
.dim-tick {
  width: 1px;
  height: 12px;
  background-color: var(--orange);
  flex: none;
}
.dim-rule {
  height: 1px;
  background-color: rgba(236, 103, 12, 0.7);
  flex: 1 1 auto;
}
.dim-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.hero-text {
  max-width: 620px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.hero-corner {
  position: absolute;
  right: 44px;
  bottom: 44px;
  width: 120px;
  height: 120px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  opacity: 0.85;
}

/* ============ 6. SERVICIOS ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background-color: var(--orange);
  transition: width 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card:hover::after { width: 100%; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background-color: var(--orange-soft);
  color: var(--orange);
  font-size: 21px;
  margin-bottom: 26px;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.card:hover .card-icon {
  background-color: var(--orange);
  color: var(--white);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 12px;
}

.card-text {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.65;
}

.card-dark {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  box-shadow: none;
}
.card-dark .card-title { color: var(--white); }
.card-dark .card-text { color: rgba(255, 255, 255, 0.7); }
.card-dark:hover { background-color: rgba(255, 255, 255, 0.07); }

/* ============ 7. PROYECTO DESTACADO ============ */
.section-featured { background-color: var(--white); }

.featured-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

.featured-media {
  position: relative;
  margin: 0;
}
.featured-media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.featured-media::before {
  content: "";
  position: absolute;
  left: -22px;
  top: -22px;
  width: 150px;
  height: 150px;
  border-left: 3px solid var(--orange);
  border-top: 3px solid var(--orange);
  border-radius: 6px 0 0 0;
}
.featured-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 16px;
}

.featured-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.featured-subtitle {
  font-size: 19px;
  font-weight: 500;
  color: var(--orange);
  margin-top: 10px;
}

.featured-text {
  margin-top: 22px;
  color: var(--text-soft);
  max-width: 56ch;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 40px 0 34px;
  border-top: 1px solid var(--line);
}
.spec {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--line);
}
.spec-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}
.spec-label {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.price-band {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background-color: var(--navy);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  margin-bottom: 34px;
}
.price-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.price-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
}

/* ============ 8. MODALIDADES ============ */
.modes {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.mode {
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.mode:hover { transform: translateY(-5px); }

.mode-house {
  background-color: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.mode-house:hover { box-shadow: var(--shadow-md); }

.mode-invest {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.mode-invest .mode-title { color: var(--white); }
.mode-invest .mode-text { color: rgba(255, 255, 255, 0.76); }
.mode-mark {
  position: absolute;
  right: 32px;
  bottom: 28px;
  font-size: 64px;
  color: var(--orange);
  opacity: 0.28;
  line-height: 1;
}

.mode-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.mode-text {
  margin-top: 14px;
  color: var(--text-soft);
  max-width: 46ch;
}

.mode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.mode-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  color: var(--text);
}
.mode-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.modes-action {
  margin-top: 48px;
  text-align: center;
}

/* ============ 9. PROCESO ============ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step {
  position: relative;
  padding: 34px 34px 0 0;
  border-top: 2px solid var(--line);
}
.step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--orange);
  transform: rotate(45deg);
}
.step-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin: 18px 0 10px;
}
.step-text {
  font-size: 15.5px;
  color: var(--text-soft);
  max-width: 34ch;
}

/* ============ 10. ÁREAS ============ */
.section-areas {
  background-color: var(--navy-light);
  background-image: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
}

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.area {
  padding: 46px 44px 46px 0;
  border-right: 1px solid var(--line-dark);
  padding-right: 44px;
  position: relative;
  transition: background-color 0.35s var(--ease);
}
.area:not(:first-child) { padding-left: 44px; }
.area:last-child { border-right: none; }
.area::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  transition: width 0.45s var(--ease);
}
.area:hover::before { width: 72px; }

.area-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.area-tag {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.area-text {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
}

/* ============ 11. PROYECTOS ============ */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--navy);
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.project:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-main {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 560px;
}

.project-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.project-main:hover .project-img { transform: scale(1.05); }

.project-info {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 36px 34px;
  background: linear-gradient(to top, rgba(0, 19, 47, 0.92) 12%, rgba(0, 19, 47, 0) 100%);
  color: var(--white);
}

.project-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.project-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.project-place {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}
.project-state {
  display: inline-block;
  margin-top: 16px;
  padding: 7px 14px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.project-soon {
  background-color: var(--white);
  border: 1px dashed #C9CEDA;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.project-soon .project-info {
  background: none;
  color: var(--text);
  padding: 30px;
}
.project-soon .project-title { color: var(--navy); font-size: 22px; }

/* ============ 12. INMOBILIARIA ============ */
.section-realestate {
  background-color: var(--navy);
  position: relative;
  overflow: hidden;
}
.section-realestate::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

/* ============ 13. NOSOTROS ============ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-media::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 130px;
  height: 130px;
  border-right: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  border-radius: 0 0 6px 0;
}

.about-quote {
  margin: 32px 0;
  padding: 22px 26px;
  background-color: var(--light-gray);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.about-tags li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.about-tags li i { color: var(--orange); font-size: 14px; }
.about-tags li:hover { border-color: var(--orange); color: var(--navy); }

/* ============ 14. CTA ============ */
.cta {
  padding: 110px 0;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(0, 19, 47, 0.94), rgba(0, 19, 47, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 90px);
}
.cta-inner { text-align: center; max-width: 760px; }
.container.cta-inner { margin: 0 auto; }

.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}
.cta-text {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

/* ============ 15. CONTACTO ============ */
.contact-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9AA2B1; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

.contact-info {
  background-color: var(--navy);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  color: var(--white);
  margin-top: 40px;
}
.contact-info-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 28px;
}
.contact-list { display: grid; gap: 24px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }

.contact-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background-color: rgba(236, 103, 12, 0.16);
  color: var(--orange);
  font-size: 16px;
}
.contact-data { display: flex; flex-direction: column; }
.contact-data strong {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.contact-data a,
.contact-data span {
  font-size: 15.5px;
  color: var(--white);
  transition: color 0.25s var(--ease);
}
.contact-data a:hover { color: var(--orange); }
.contact-data em {
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.contact-note {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============ 16. FOOTER ============ */
.site-footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-logo { height: 40px; width: auto; object-fit: contain; }
.footer-desc {
  margin-top: 20px;
  max-width: 34ch;
  font-size: 15.5px;
}
.social {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 15px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social a:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a {
  font-size: 15.5px;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.footer-col a:hover { color: var(--orange); padding-left: 5px; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  padding-bottom: 30px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============ 17. RESPONSIVE ============ */
@media (max-width: 1080px) {
  .section { padding: 88px 0; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-inner,
  .about-inner { grid-template-columns: 1fr; gap: 52px; }
  .featured-media img { height: 460px; }
  .about-media img { height: 420px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step { padding-right: 28px; }
  .areas { grid-template-columns: 1fr; }
  .area {
    padding: 34px 0;
    border-right: none;
    border-bottom: 1px solid var(--line-dark);
  }
  .area:not(:first-child) { padding-left: 0; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .project-main { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { margin-top: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 74px; }
  :root { --header-h: 74px; }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--navy);
    border-bottom: 1px solid var(--line-dark);
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), padding 0.3s var(--ease), visibility 0.3s;
  }
  .main-nav.is-open {
    max-height: 620px;
    opacity: 1;
    visibility: visible;
    padding: 10px 28px 28px;
  }
  .nav-toggle[aria-expanded="true"] .burger { background-color: transparent; }
  .nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list li { border-bottom: 1px solid var(--line-dark); }
  .nav-list a { display: block; padding: 15px 0; font-size: 15px; }
  .nav-list a::after { display: none; }
  .nav-cta {
    margin-top: 22px;
    width: 100%;
    padding: 15px 22px;
  }

  .hero { padding: 110px 0 90px; min-height: auto; }
  .hero-corner { display: none; }
  .dim-label { white-space: normal; }
  .modes { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .cards-grid,
  .cards-grid-3 { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .mode { padding: 34px 26px; }
  .mode-list { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .project-main { grid-column: span 1; min-height: 340px; }
  .form { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
  .contact-info { padding: 34px 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .featured-media::before { left: -10px; top: -10px; width: 90px; height: 90px; }
  .about-media::after { right: -10px; bottom: -10px; width: 90px; height: 90px; }
}

/* Accesibilidad: movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============ 18. WORDPRESS E INTERACCIONES JS ============ */

/* Utilidades del núcleo de WordPress */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed !important;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 20px;
  background-color: var(--orange);
  color: var(--white);
  z-index: 999;
}

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* Estado del header al hacer scroll */
.site-header {
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}
.site-header.is-scrolled {
  background-color: rgba(0, 19, 47, 0.97);
  box-shadow: 0 10px 30px rgba(0, 19, 47, 0.28);
  backdrop-filter: saturate(150%) blur(6px);
}
.site-header.is-scrolled .brand-logo,
.site-header.is-scrolled .footer-logo { height: 34px; }
.brand-logo { transition: height 0.35s var(--ease); }

/* Enlace activo del menú */
.nav-list .current-menu-item > a,
.nav-list .is-active > a {
  color: var(--white);
}
.nav-list .current-menu-item > a::after,
.nav-list .is-active > a::after { width: 100%; }

/* Marca en texto cuando no hay logo cargado */
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--white);
}
.brand-text span { color: var(--orange); }

/* Revelado al hacer scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.no-js [data-reveal],
.reveal-off [data-reveal] {
  opacity: 1;
  transform: none;
}

/* Contadores escalonados dentro de una misma cuadrícula */
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* Formulario insertado por shortcode (Contact Form 7, WPForms, etc.) */
.form-shortcode { margin-top: 40px; }
.form-shortcode input[type="text"],
.form-shortcode input[type="tel"],
.form-shortcode input[type="email"],
.form-shortcode select,
.form-shortcode textarea {
  width: 100%;
  padding: 15px 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 16px;
  margin-top: 8px;
}
.form-shortcode label {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.form-shortcode input[type="submit"] {
  background-color: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 16px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.28s var(--ease);
}
.form-shortcode input[type="submit"]:hover { background-color: var(--orange-dark); }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--white);
  font-size: 26px;
  box-shadow: 0 10px 26px rgba(0, 19, 47, 0.25);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.04); }

/* Aviso editorial visible solo para administradores */
.bemus-notice {
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text-soft);
  background-color: var(--orange-soft);
}

/* Tarjeta de proyecto enlazada (CPT) */
.project-link {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  min-height: inherit;
  color: inherit;
}

/* Imagen destacada en entradas y proyectos */
.single-thumb { margin: 48px auto 0; }
.single-thumb-img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.cta-actions-left { justify-content: flex-start; }

/* Paginación */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.pagination .page-numbers:hover,
.pagination .current {
  border-color: var(--orange);
  color: var(--orange);
}

/* =========================================================
   19. PÁGINAS INTERNAS, PROYECTOS Y PROPIEDADES
   ========================================================= */

/* ---------- Encabezado interno ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  background-image: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: calc(var(--header-h) + 76px) 0 84px;
}
.page-hero .hero-grid-lines { z-index: 0; }
.page-hero-inner { position: relative; z-index: 1; max-width: 860px; }

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
}
.page-hero-text {
  margin-top: 18px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.76);
  max-width: 60ch;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.crumbs a { transition: color 0.25s var(--ease); }
.crumbs a:hover { color: var(--orange); }
.crumbs-current { color: var(--orange); }

/* ---------- Botón secundario claro ---------- */
.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ---------- Cabecera de sección con acción a la derecha ---------- */
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

/* ---------- Enlaces de tarjeta y de área ---------- */
.card-link,
.area-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap 0.3s var(--ease);
}
.card-link:hover,
.area-link:hover { gap: 15px; }
.area-link { color: var(--orange); }

/* ---------- Contenido del editor ---------- */
.entry-content {
  max-width: 760px;
  font-size: 17px;
}
.entry-content h2,
.entry-content h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 44px 0 16px;
}
.entry-content h2 { font-size: 30px; }
.entry-content h3 { font-size: 21px; }
.entry-content h2:first-child,
.entry-content h3:first-child { margin-top: 0; }
.entry-content p { margin-bottom: 20px; color: var(--text-soft); }
.entry-content ul,
.entry-content ol { margin: 0 0 24px 0; display: grid; gap: 10px; }
.entry-content ul li {
  position: relative;
  padding-left: 24px;
}
.entry-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.entry-content ol { counter-reset: item; }
.entry-content ol li {
  counter-increment: item;
  padding-left: 34px;
  position: relative;
}
.entry-content ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
}
.entry-content a { color: var(--orange); text-decoration: underline; }
.entry-content img { border-radius: var(--radius-lg); margin: 24px 0; }
.entry-content blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  background-color: var(--light-gray);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
}
.entry-content .wp-block-gallery img { margin: 0; }
.alignwide { max-width: 1080px; }
.aligncenter { margin-left: auto; margin-right: auto; }

.single-thumb { margin: 0 0 40px; padding: 0; }
.single-thumb-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- Ficha de proyecto / propiedad ---------- */
.section-project { padding-top: 72px; }

.specs-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin: 0 0 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--white);
}
.specs-bar .spec {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: none;
}
.specs-bar .spec:last-child { border-right: none; }
.spec-icon {
  display: block;
  color: var(--orange);
  font-size: 17px;
  margin-bottom: 12px;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
}

.project-aside { position: sticky; top: calc(var(--header-h) + 24px); }

.project-box {
  background-color: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
}
.box-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.box-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.2;
  margin: 6px 0 20px;
  color: var(--white);
}
.box-line {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}
.box-line i { color: var(--orange); width: 16px; }
.project-box .btn { margin-top: 18px; }
.project-box .btn-outline {
  color: var(--white);
  border-color: var(--line-dark);
}
.project-box .btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.project-state-solo {
  display: inline-block;
  margin: 0 0 26px;
}

.projects-even { grid-template-columns: repeat(3, 1fr); }
.projects-even .project { min-height: 330px; }

/* ---------- Tarjetas de propiedad ---------- */
.properties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.property {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.property:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.property-link { display: block; height: 100%; }

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--light-gray);
  overflow: hidden;
}
.property-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.property:hover .property-img { transform: scale(1.05); }

.property-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #C2C8D4;
  font-size: 40px;
}

.property-badge,
.property-status {
  position: absolute;
  top: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.property-badge {
  left: 16px;
  background-color: var(--orange);
  color: var(--white);
}
.property-status {
  right: 16px;
  background-color: rgba(0, 19, 47, 0.88);
  color: var(--white);
}

.property-body { padding: 26px 24px 28px; }
.property-type {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.property-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 8px 0 6px;
}
.property-place {
  font-size: 14.5px;
  color: var(--text-soft);
}
.property-place i { color: var(--orange); margin-right: 5px; }

.property-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-soft);
}
.property-mini i { color: var(--navy); margin-right: 5px; }

.property-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
}

/* ---------- Filtros ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.filters-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.filters-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-right: 4px;
}
.filter {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.filter:hover { border-color: var(--orange); color: var(--orange); }
.filter.is-on {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ---------- Estado vacío ---------- */
.empty-state {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 64px 30px;
  border: 1px dashed #C9CEDA;
  border-radius: var(--radius-lg);
}
.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--orange-soft);
  color: var(--orange);
  font-size: 24px;
  margin-bottom: 22px;
}
.empty-state .card-text { margin-bottom: 26px; }

/* ---------- Responsive de las nuevas piezas ---------- */
@media (max-width: 1080px) {
  .project-layout { grid-template-columns: 1fr; gap: 48px; }
  .project-aside { position: static; }
  .properties,
  .projects-even { grid-template-columns: repeat(2, 1fr); }
  .specs-bar .spec { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .page-hero { padding: 118px 0 66px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 22px; }
}

@media (max-width: 720px) {
  .properties,
  .projects-even { grid-template-columns: 1fr; }
  .specs-bar { grid-template-columns: repeat(2, 1fr); }
  .specs-bar .spec { padding: 20px 18px; }
  .project-box { padding: 28px 24px; }
  .filters { gap: 20px; }
}

/* =========================================================
   20. OPCIONES DE COMPRA, GALERÍA Y PLANO
   ========================================================= */

.block-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 24px;
}

/* ---------- Opciones de compra ---------- */
.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.options-1 { grid-template-columns: minmax(0, 520px); }
.options-2 { grid-template-columns: repeat(2, 1fr); }

.option {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px 34px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.option::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background-color: var(--orange);
  transition: width 0.45s var(--ease);
}
.option:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.option:hover::before { width: 100%; }

.option-lead {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.option-lead .option-title,
.option-lead .option-price { color: var(--white); }
.option-lead .option-text { color: rgba(255, 255, 255, 0.75); }
.option-lead .option-list li { color: rgba(255, 255, 255, 0.88); }
.option-lead .option-list { border-top-color: var(--line-dark); }
.option-lead .option-note {
  background-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
}

.option-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.option-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-top: 14px;
  line-height: 1.1;
}
.option-usd,
.box-usd,
.price-list-usd {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-top: 6px;
}
.option-lead .option-usd { color: var(--orange); }

.option-text {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--text-soft);
}
.option-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.option-list li {
  position: relative;
  padding-left: 23px;
  font-size: 15px;
  color: var(--text);
}
.option-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.option-note {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background-color: var(--orange-soft);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
}
.option-note i { color: var(--orange); margin-top: 3px; }

.option .btn { margin-top: auto; margin-top: 26px; }

/* ---------- Lista de precios en la portada ---------- */
.price-list {
  display: grid;
  gap: 1px;
  margin: 36px 0 34px;
  background-color: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.price-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 18px 22px;
  background-color: var(--white);
}
.price-list-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  flex: 1 1 120px;
}
.price-list-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}
.price-list-usd { margin: 0; }

/* ---------- Galería ---------- */
.gallery-block { margin-bottom: 64px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--light-gray);
}
.gallery-item-lead { grid-column: span 3; }
.gallery-item a { display: block; position: relative; }
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item-lead img { aspect-ratio: 16 / 9; }
.gallery-item:hover img { transform: scale(1.04); }

.gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(0, 19, 47, 0.78);
  color: var(--white);
  font-size: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover .gallery-zoom,
.plano-link:hover .gallery-zoom {
  opacity: 1;
  transform: none;
}

/* ---------- Plano ---------- */
.plano-block { margin-top: 56px; }
.plano-link {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--light-gray);
}
.plano-link img {
  width: 100%;
  height: auto;
  display: block;
}

.section-head-spaced { margin-top: 24px; }

@media (max-width: 1080px) {
  .options,
  .options-2 { grid-template-columns: repeat(2, 1fr); }
  .option-lead { grid-column: span 2; }
}

@media (max-width: 720px) {
  .options,
  .options-1,
  .options-2 { grid-template-columns: 1fr; }
  .option-lead { grid-column: span 1; }
  .option { padding: 30px 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-lead { grid-column: span 2; }
  .price-list li { padding: 16px 18px; }
}

/* =========================================================
   21. BLOQUE DESTACADO DE LA PORTADA (imagen + miniaturas)
   ========================================================= */

.featured-visual {
  display: grid;
  gap: 14px;
  align-content: start;
}

.featured-media img {
  height: clamp(300px, 34vw, 470px);
}

.featured-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.featured-thumbs li { margin: 0; }
.featured-thumbs a {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--light-gray);
}
.featured-thumbs img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}
.featured-thumbs a:hover img {
  transform: scale(1.06);
  opacity: 0.92;
}

@media (max-width: 1080px) {
  .featured-media img { height: clamp(280px, 46vw, 420px); }
}

@media (max-width: 720px) {
  .featured-thumbs { gap: 10px; }
  .featured-media img { height: 260px; }
}

/* =========================================================
   22. VIDEO, PLANOS MÚLTIPLES Y GALERÍA ARRIBA
   ========================================================= */

/* ---------- Video del proyecto ---------- */
.section-video {
  background-color: var(--navy);
  background-image: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
}
.video-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.video-head { margin-bottom: 0; max-width: 480px; }

.video-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #000;
  box-shadow: var(--shadow-lg);
}
.video-frame iframe,
.video-frame video,
.video-frame embed,
.video-frame object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-frame > * { max-width: 100%; }

/* Reel vertical: 9/16 y ancho contenido para que no se dispare de alto */
.video-vertical {
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin-left: auto;
}
.video-horizontal { aspect-ratio: 16 / 9; }

/* Los oEmbed de YouTube y Vimeo llegan envueltos */
.video-frame .wp-embed-aspect-16by9,
.video-frame .wp-block-embed__wrapper {
  position: absolute;
  inset: 0;
}

/* ---------- Planos (uno o varios) ---------- */
.planos-grid { display: grid; gap: 18px; }
.planos-multi { grid-template-columns: repeat(2, 1fr); }

.plano-item { margin: 0; }
.plano-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ---------- Galería colocada arriba ---------- */
.section-gallery-top { padding-bottom: 0; }
.section-gallery-top .gallery-block { margin-bottom: 0; }

@media (max-width: 900px) {
  .video-inner { grid-template-columns: 1fr; gap: 36px; }
  .video-vertical { margin: 0 auto; }
  .video-head { max-width: none; }
  .planos-multi { grid-template-columns: 1fr; }
}
