/* ==========================================================================
   GESTLAND & GESTLAND ADVISORY - ESTILO CORPORATIVO VISUAL & ORGÁNICO
   Basado en la web original de GestLand con curvas suaves y elementos fotográficos
   Tipografía oficial: Montserrat | Colores: #23423C, #D4BA74, #ede8e0, #0e0e0e
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&display=swap');

:root {
  /* Variables oficiales de gestland.es */
  --contrast: #0e0e0e;        /* Texto principal / carbón oscuro */
  --contrast-2: #23423C;      /* Verde corporativo GestLand */
  --contrast-3: #D4BA74;      /* Dorado / Ocre corporativo GestLand Advisory */
  --base: #ede8e0;            /* Fondo cálido / crema suave */
  --base-2: #f6f4ee;          /* Crema piedra caliza */
  --base-3: #FFFFFF;          /* Blanco puro */
  --accent: #763B28;          /* Teja rústica */

  --text-muted: #555555;
  --border-soft: #dfdbd2;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.28s ease-in-out;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: #ffffff;
  color: var(--contrast);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------------------------------
   BARRA SUPERIOR DE CONTACTO (Sobria y elegante)
   -------------------------------------------------------------------------- */
.top-contact-bar {
  background-color: #142d25;
  color: #d9e3de;
  font-size: 13px;
  padding: 9px 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-brand-claim {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #d9e3de;
}

.top-links {
  display: flex;
  gap: 20px;
}

.top-links a {
  color: #d9e3de;
  transition: var(--transition);
}

.top-links a:hover {
  color: var(--contrast-3);
}

/* --------------------------------------------------------------------------
   CABECERA PRINCIPAL VISUAL (Verde corporativo elegante con logo cream/gold)
   -------------------------------------------------------------------------- */
.main-header {
  background: linear-gradient(180deg, #1f4037 0%, #17332b 100%);
  border-bottom: 1px solid rgba(212, 186, 116, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.site-logo-link {
  display: flex;
  align-items: center;
}

.site-logo-img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--base); /* #ede8e0 - crema suave */
  padding: 10px 4px;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--contrast-3); /* #D4BA74 - dorado */
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--contrast-3);
  border-radius: 2px;
}

/* GESTLAND ADVISORY EN EL MENÚ */
.nav-link.nav-advisory-btn {
  background-color: rgba(212, 186, 116, 0.18);
  color: var(--contrast-3);
  border: 1px solid var(--contrast-3);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.07em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-link.nav-advisory-btn:hover,
.nav-link.nav-advisory-btn.active {
  background-color: var(--contrast-3);
  color: #0e0e0e;
  border-color: var(--contrast-3);
  box-shadow: 0 4px 14px rgba(212, 186, 116, 0.35);
}

.nav-link.nav-advisory-btn::after {
  display: none;
}

.btn-contact-header {
  background-color: var(--contrast-3);
  color: #0e0e0e;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 11px 24px;
  border-radius: 30px;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-contact-header:hover {
  background-color: #ffffff;
  color: var(--contrast-2);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--contrast-3);
}

/* --------------------------------------------------------------------------
   CABECERA VISUAL FOTOGRÁFICA (Con luz natural, sobria y curvas orgánicas)
   -------------------------------------------------------------------------- */
.hero-visual-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #ffffff;
  /* Imagen panorámica de la dehesa extremeña con más luz natural */
  background: linear-gradient(180deg, rgba(16, 38, 30, 0.50) 0%, rgba(12, 28, 23, 0.68) 100%), url('../img/primavera-encinas-full.jpg') center center/cover no-repeat;
  padding: 95px 0 160px;
  text-align: center;
  overflow: hidden;
}

.hero-visual-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-pretitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--contrast-3);
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-title-strong {
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.hero-subtitle-text {
  font-size: clamp(16.5px, 2vw, 20px);
  color: #f6f3ed;
  max-width: 860px;
  margin: 0 auto 36px;
  line-height: 1.62;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* Dos accesos principales con el mismo peso visual */
.hero-actions-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-hero-tech,
.btn-hero-adv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 36px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  min-width: 260px;
}

.btn-hero-tech {
  background-color: var(--contrast-2);
  color: #ffffff;
  border: 1.5px solid rgba(212, 186, 116, 0.6);
}

.btn-hero-tech:hover {
  background-color: #142a23;
  border-color: var(--contrast-3);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.btn-hero-adv {
  background-color: var(--contrast-3);
  color: #0e0e0e;
  border: 1.5px solid var(--contrast-3);
}

.btn-hero-adv:hover {
  background-color: #e5cd8d;
  color: #0e0e0e;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 186, 116, 0.4);
}

/* --------------------------------------------------------------------------
   SISTEMA DE FORMAS Y CURVAS ORGÁNICAS (Web original de GestLand)
   -------------------------------------------------------------------------- */
.shape-curve-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
  pointer-events: none;
}

.shape-curve-bottom svg {
  display: block;
  width: 100%;
  height: 70px;
  fill: #ffffff;
}

.shape-curve-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
  pointer-events: none;
}

.shape-curve-top svg {
  display: block;
  width: 100%;
  height: 70px;
  transform: rotate(180deg);
  fill: #ffffff;
}

/* Modificadores de color para que la curva enlace exactamente con el fondo */
.fill-white svg { fill: #ffffff !important; }
.fill-base svg { fill: var(--base) !important; }         /* #ede8e0 */
.fill-base2 svg { fill: var(--base-2) !important; }     /* #f6f4ee */
.fill-green svg { fill: var(--contrast-2) !important; } /* #23423C */
.fill-darkgreen svg { fill: #17332b !important; }

/* --------------------------------------------------------------------------
   LOS DOS BLOQUES CLAROS VISUALES (Con foto ampliada y curvas suaves)
   -------------------------------------------------------------------------- */
.dual-blocks-section {
  padding: 50px 0 90px;
  background-color: #ffffff;
  position: relative;
}

.dual-blocks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.dual-card-visual {
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(223, 219, 210, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.dual-card-visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.dual-card-visual.technical {
  border-top: none;
}

.dual-card-visual.advisory {
  border-top: none;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
}

.dual-card-img-header {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.dual-card-img-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dual-card-visual:hover .dual-card-img-header img {
  transform: scale(1.06);
}

.dual-card-badge-floating {
  position: absolute;
  bottom: 14px;
  left: 18px;
  background-color: rgba(15, 34, 28, 0.92);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dual-card-visual.advisory .dual-card-badge-floating {
  background-color: rgba(212, 186, 116, 0.96);
  color: #0e0e0e;
}

.dual-card-body {
  padding: 30px 30px 20px;
  flex-grow: 1;
}

.dual-card-body h2 {
  font-size: 25px;
  font-weight: 800;
  color: var(--contrast);
  margin-bottom: 4px;
}

.dual-card-body .card-subtitle {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.dual-card-quote {
  background-color: var(--base-2);
  border: 1px solid rgba(223, 219, 210, 0.8);
  padding: 16px 20px;
  border-radius: 16px;
  margin-bottom: 22px;
  font-size: 14.5px;
  font-weight: 500;
  font-style: italic;
  color: var(--contrast);
  position: relative;
}

.dual-card-visual.technical .dual-card-quote {
  background-color: rgba(35, 66, 60, 0.05);
  border-color: rgba(35, 66, 60, 0.15);
}

.dual-card-visual.advisory .dual-card-quote {
  background-color: rgba(212, 186, 116, 0.1);
  border-color: rgba(212, 186, 116, 0.3);
}

.dual-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: #333333;
}

.dual-card-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.55;
}

.dual-card-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.dual-card-visual.technical .dual-card-list li::before {
  color: var(--contrast-2);
}

.dual-card-visual.advisory .dual-card-list li::before {
  color: #a88939;
}

.dual-card-footer {
  padding: 20px 30px 30px;
}

.btn-pill-action {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 13px 22px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-pill-technical {
  background-color: var(--contrast-2);
  color: #ffffff;
}

.btn-pill-technical:hover {
  background-color: #142a23;
  color: #ffffff;
}

.btn-pill-advisory {
  background-color: var(--contrast-3);
  color: #0e0e0e;
}

.btn-pill-advisory:hover {
  background-color: #c4a962;
  color: #0e0e0e;
}

/* --------------------------------------------------------------------------
   LAS 3 TARJETAS ORIGINALES (Con curvas suaves y fotos de campo)
   -------------------------------------------------------------------------- */
.original-cards-section {
  padding: 85px 0 105px;
  background-color: var(--base-2);
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-pretitle {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--contrast-2);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--contrast);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cards-triptych-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card-triptych {
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(223, 219, 210, 0.8);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.card-triptych:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.card-triptych-img-wrap {
  height: 240px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  position: relative;
}

.card-triptych-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-triptych:hover .card-triptych-img-wrap img {
  transform: scale(1.06);
}

.card-triptych-body {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-triptych h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--contrast-2);
  margin-bottom: 12px;
}

.card-triptych.advisory-card h3 {
  color: #9c7b2c;
}

.card-triptych p {
  font-size: 14px;
  color: #444444;
  line-height: 1.65;
  margin-bottom: 24px;
}

.gb-button-pill {
  display: inline-block;
  background-color: var(--contrast-2);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 24px;
  border-radius: 50px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gb-button-pill:hover {
  background-color: #142a23;
  color: #ffffff;
}

.card-triptych.advisory-card .gb-button-pill {
  background-color: var(--contrast-3);
  color: #0e0e0e;
}

.card-triptych.advisory-card .gb-button-pill:hover {
  background-color: #c4a962;
  color: #0e0e0e;
}

/* --------------------------------------------------------------------------
   SECCIÓN INSTITUCIONAL CON COMPOSICIÓN VISUAL (Fotos de Extremadura)
   -------------------------------------------------------------------------- */
.institutional-section {
  padding: 95px 0;
  background-color: #ffffff;
  position: relative;
}

.institutional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.institutional-content h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  color: var(--contrast);
  line-height: 1.3;
  margin-bottom: 22px;
}

.institutional-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--contrast-2);
  margin-top: 24px;
  margin-bottom: 10px;
}

.institutional-content p {
  font-size: 14.5px;
  color: #444444;
  line-height: 1.68;
}

/* Composición fotográfica enriquecida de 3 imágenes con curvas y sombras suaves */
.photo-collage-wrap {
  position: relative;
  min-height: 480px;
}

.photo-collage-main {
  width: 82%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.photo-collage-sub {
  position: absolute;
  top: 40px;
  right: 0;
  width: 50%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  border: 5px solid #ffffff;
  z-index: 2;
}

.photo-collage-third {
  position: absolute;
  bottom: 0;
  left: 30px;
  width: 52%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  border: 5px solid #ffffff;
  z-index: 3;
}

/* --------------------------------------------------------------------------
   TABLA: CÓMO TRABAJAN JUNTAS LAS DOS ÁREAS (Curvas y elegancia)
   -------------------------------------------------------------------------- */
.matrix-section {
  padding: 90px 0;
  background-color: var(--base-2);
  position: relative;
}

.table-matrix-wrap {
  background-color: #ffffff;
  border: 1px solid rgba(223, 219, 210, 0.8);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.table-matrix {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table-matrix th {
  padding: 20px 24px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--border-soft);
}

.table-matrix th.th-need {
  width: 25%;
  background-color: #eae5dc;
  color: var(--contrast);
}

.table-matrix th.th-tech {
  width: 37.5%;
  background-color: var(--contrast-2);
  color: #ffffff;
}

.table-matrix th.th-adv {
  width: 37.5%;
  background-color: #17332b;
  color: var(--contrast-3);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.table-matrix td {
  padding: 22px 24px;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid #eae6de;
  vertical-align: top;
}

.table-matrix tr:last-child td {
  border-bottom: none;
}

.table-matrix td.td-need {
  font-weight: 700;
  font-size: 15px;
  color: var(--contrast);
  background-color: #fcfbf9;
}

.table-matrix td strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.table-matrix td.td-tech strong {
  color: var(--contrast-2);
}

.table-matrix td.td-adv strong {
  color: #9c7b2c;
}

.patrimony-callout {
  margin-top: 36px;
  background-color: #ffffff;
  border: 1px solid rgba(212, 186, 116, 0.45);
  border-radius: 20px;
  padding: 26px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.patrimony-callout h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--contrast);
  margin-bottom: 8px;
}

.patrimony-callout p {
  font-size: 14.5px;
  color: #444444;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   BANNER CTA VERDE ORIGINAL CON CURVAS Y FONDO VISUAL
   -------------------------------------------------------------------------- */
.cta-banner-original {
  /* Fondo fotográfico con dehesa y degradado verde bosque */
  background: linear-gradient(rgba(24, 52, 43, 0.88), rgba(15, 34, 28, 0.94)), url('../img/primavera-encinas-full.jpg') center center/cover no-repeat;
  color: #ffffff;
  padding: 95px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-original p {
  font-size: clamp(18px, 2.3vw, 24px);
  font-weight: 600;
  line-height: 1.55;
  max-width: 920px;
  margin: 0 auto 28px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.btn-cta-gold {
  background-color: var(--contrast-3);
  color: #0e0e0e;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 36px;
  border-radius: 50px;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.btn-cta-gold:hover {
  background-color: #ffffff;
  color: var(--contrast-2);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   FORMULARIO UNIFICADO
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 95px 0;
  background-color: #ffffff;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  background-color: var(--base-2);
  border: 1px solid rgba(223, 219, 210, 0.8);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
}

.contact-info-side {
  background: linear-gradient(180deg, #1f4037 0%, #17332b 100%);
  color: #ffffff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 28px 0 0 28px;
}

.contact-info-side h3 {
  font-size: 23px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.contact-info-side p {
  font-size: 14.5px;
  color: #d2ded7;
  line-height: 1.65;
  margin-bottom: 28px;
}

.contact-data-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-data-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--contrast-3);
  margin-bottom: 4px;
}

.contact-data-item span, .contact-data-item a {
  font-size: 14.5px;
  color: #ffffff;
}

.contact-form-side {
  padding: 48px 40px;
  background-color: #ffffff;
  border-radius: 0 28px 28px 0;
}

/* ==========================================================================
   SELECTOR DE INTENCIÓN (TÉCNICA vs ADVISORY / COMPRAVENTA)
   Ajuste de contraste solicitado: Fondo amarillo semitransparente y letra en verde oscuro
   al mantener seleccionado o activo
   ========================================================================== */
.intent-selector-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background-color: var(--base-2);
  padding: 8px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(223, 219, 210, 0.9);
}

.tab-intent {
  padding: 14px 16px;
  border: 2px solid transparent;
  border-radius: 12px;
  background-color: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease-in-out;
  outline: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.tab-intent strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #17332b;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.tab-intent span {
  display: block;
  font-size: 12px;
  color: #555555;
  line-height: 1.35;
  transition: color 0.2s ease;
}

/* Hover en estado no activo */
.tab-intent:not(.active):hover {
  background-color: rgba(235, 195, 60, 0.12);
  border-color: rgba(156, 123, 44, 0.35);
}

.tab-intent:not(.active):hover strong {
  color: #17332b;
}

/* --- ESTADO SELECCIONADO / MANTENIDO PULSADO (:active) --- */
/* Letra en verde oscuro (#17332b) y fondo amarillo semitransparente */
.tab-intent.active,
.tab-intent:active,
.tab-intent.active.tech,
.tab-intent.active.adv,
.tab-intent.active:hover,
.tab-intent.active:active,
.tab-intent.active:focus {
  background-color: rgba(235, 195, 60, 0.25) !important;
  box-shadow: 0 3px 12px rgba(156, 123, 44, 0.15) !important;
}

.tab-intent.active strong,
.tab-intent:active strong,
.tab-intent.active.tech strong,
.tab-intent.active.adv strong,
.tab-intent.active:hover strong,
.tab-intent.active:active strong,
.tab-intent.active:focus strong {
  color: #17332b !important;
  font-weight: 800 !important;
}

.tab-intent.active span,
.tab-intent:active span,
.tab-intent.active.tech span,
.tab-intent.active.adv span,
.tab-intent.active:hover span,
.tab-intent.active:active span,
.tab-intent.active:focus span {
  color: #23423c !important;
  font-weight: 600 !important;
}

/* Indicador de borde para diferenciar Técnica vs Advisory */
.tab-intent.active.tech {
  border-color: #17332b !important;
  border-left: 5px solid #17332b !important;
}

.tab-intent.active.adv {
  border-color: #9c7b2c !important;
  border-left: 5px solid #9c7b2c !important;
}

/* Menús desplegables (select y options) */
select.form-control {
  background-color: #ffffff;
  color: #17332b;
  font-weight: 600;
  cursor: pointer;
}

select.form-control option {
  background-color: #ffffff;
  color: #17332b;
  padding: 8px 12px;
  font-size: 14px;
}

select.form-control option:checked,
select.form-control option:hover,
select.form-control option:focus,
select.form-control option:active {
  background-color: rgba(235, 195, 60, 0.3) !important;
  color: #17332b !important;
  font-weight: 700;
}

/* Selección de texto general */
::selection {
  background-color: rgba(235, 195, 60, 0.35);
  color: #17332b;
}
::-moz-selection {
  background-color: rgba(235, 195, 60, 0.35);
  color: #17332b;
}

.form-control {
  border-radius: 12px;
}

.btn-submit-contact {
  border-radius: 50px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--contrast);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #c9c3b8;
  border-radius: var(--radius-sm);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--contrast-2);
}

.btn-form-submit {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--contrast-2);
  color: #ffffff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-form-submit:hover {
  background-color: #142a23;
}

/* --------------------------------------------------------------------------
   PIE DE PÁGINA (Idéntico a gestland.es)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #162a1e;
  color: #aebdb4;
  padding: 65px 0 25px;
  font-size: 14px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo-text {
  font-size: 13px;
  color: #d1ded7;
  margin-top: 10px;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--contrast-3);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #aebdb4;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #798a80;
}

.footer-bottom a {
  color: #aebdb4;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .dual-blocks-grid {
    grid-template-columns: 1fr;
  }
  .cards-triptych-grid {
    grid-template-columns: 1fr;
  }
  .institutional-grid {
    grid-template-columns: 1fr;
  }
  .photo-collage-sub {
    position: static;
    width: 100%;
    margin-top: 16px;
    border: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .table-matrix {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 600px) {
  .top-contact-bar {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}
