* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #d4af37;
  --green: #35d57a;
  --dark: #1f2430;
  --text: #3f4a63;
  --white: #ffffff;
  --soft: #f4eeee;
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f3f3f3;
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}


/* HERO */
.hero {
  width: 100%;
  min-height: calc(100vh - 110px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 38, 30, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

.hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: 62px;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 60px;
}
.hero {
  width: 100%;
  min-height: calc(100vh - 110px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: heroFade 70s linear infinite;
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 28, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

@keyframes heroFade {
  0% { opacity: 0; }
  2% { opacity: 1; }
  6% { opacity: 1; }
  8% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-slide:nth-child(1) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 1.jpg");
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 2.jpg");
  animation-delay: 5s;
}

.hero-slide:nth-child(3) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 3.jpg");
  animation-delay: 10s;
}

.hero-slide:nth-child(4) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 4.jpg");
  animation-delay: 15s;
}

.hero-slide:nth-child(5) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 5.jpg");
  animation-delay: 20s;
}

.hero-slide:nth-child(6) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 6.jpg");
  animation-delay: 25s;
}

.hero-slide:nth-child(7) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 7.jpg");
  animation-delay: 30s;
}

.hero-slide:nth-child(8) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 8.jpg");
  animation-delay: 35s;
}

.hero-slide:nth-child(9) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 9.jpg");
  animation-delay: 40s;
}

.hero-slide:nth-child(10) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 10.jpg");
  animation-delay: 45s;
}

.hero-slide:nth-child(11) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 11.jpg");
  animation-delay: 50s;
}

.hero-slide:nth-child(12) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 12.jpg");
  animation-delay: 55s;
}

.hero-slide:nth-child(13) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 13.jpg");
  animation-delay: 60s;
}

.hero-slide:nth-child(14) {
  background-image: url("../Elementos_Graficos/Inicio-diapositivas/Imagen\ 14.jpg");
  animation-delay: 65s;
}

/* =========================
   BUSCADOR HERO INICIO
========================= */

.property-search {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 42px;
  padding: 0 20px;
}

.search-wrapper {
  width: 100%;
  max-width: 1040px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(12, 14, 39, 0.22);
  backdrop-filter: blur(8px);
}

.search-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #eef2f7;
  border-bottom: 1px solid #dde4ef;
}

.search-tab {
  position: relative;
  height: 82px;
  border: none;
  background: transparent;
  font-size: 19px;
  font-weight: 700;
  color: #132142;
  cursor: pointer;
  transition: all 0.25s ease;
}

.search-tab:hover {
  background: rgba(20, 67, 117, 0.05);
}

.search-tab.active {
  background: #ffffff;
  color: #144375;
  box-shadow: inset 0 -4px 0 #d4af37;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 22px;
  align-items: end;
  padding: 30px 34px 18px;
}

.search-field {
  text-align: left;
}

.search-field label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #144375;
}

.search-select-wrap {
  position: relative;
}

.search-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #203a69;
  border-bottom: 2px solid #203a69;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.search-field select {
  width: 100%;
  height: 62px;
  border: 1px solid #cfd8e6;
  border-radius: 18px;
  padding: 0 52px 0 20px;
  font-size: 18px;
  font-weight: 500;
  color: #0c1635;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.search-field select:hover {
  border-color: #b7c6dc;
}

.search-field select:focus {
  border-color: #144375;
  box-shadow: 0 0 0 5px rgba(20, 67, 117, 0.10);
  transform: translateY(-1px);
}

.search-field select option {
  color: #0c1635;
  background: #ffffff;
}

.search-button {
  height: 62px;
  min-width: 170px;
  padding: 0 34px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #144375 0%, #0c0e27 100%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(20, 67, 117, 0.25);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(20, 67, 117, 0.32);
  filter: brightness(1.03);
}

.search-button:active {
  transform: translateY(0);
}

.search-helper-text {
  padding: 0 34px 28px;
  font-size: 15px;
  line-height: 1.6;
  color: #5f6c86;
  text-align: left;
  text-transform: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .search-panel {
    grid-template-columns: 1fr;
    padding: 26px 24px 14px;
  }

  .search-button {
    width: 100%;
    min-width: 100%;
  }

  .search-helper-text {
    padding: 0 24px 24px;
  }
}

@media (max-width: 640px) {
  .search-wrapper {
    border-radius: 22px;
  }

  .search-tab {
    height: 68px;
    font-size: 17px;
  }

  .search-field select {
    height: 58px;
    font-size: 17px;
    border-radius: 16px;
  }

  .search-button {
    height: 58px;
    font-size: 20px;
    border-radius: 16px;
  }
}
/* =========================
   CIUDADES HOME
========================= */

.home-cities {
    padding: 80px 0;
    background: #f5f6f8;
}

.home-cities-container {
    width: min(1280px, 92%);
    margin: 0 auto;
}

.home-cities-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.home-cities-header h2 {
    font-size: 38px;
    color: #0C0E27;
    margin-bottom: 14px;
    font-weight: 700;
}

.home-cities-header p {
    font-size: 18px;
    color: #5e6b85;
    line-height: 1.7;
}

/* GRID */

.home-cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* TARJETAS */

.city-card {
    position: relative;
    height: 340px;
    border-radius: 22px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: 0 20px 45px rgba(12, 14, 39, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 55px rgba(12, 14, 39, 0.18);
}

.city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */

.city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(12,14,39,0.85) 0%,
        rgba(12,14,39,0.35) 50%,
        rgba(12,14,39,0.05) 100%
    );
}

/* CONTENIDO */

.city-content {
    position: absolute;
    bottom: 26px;
    left: 26px;
    right: 26px;
    color: #ffffff;
}

.city-content h3 {
    font-size: 32px;
    margin-bottom: 6px;
    font-weight: 700;
}

.city-content p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

/* RESPONSIVE */

@media (max-width: 1000px) {

    .home-cities-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 650px) {

    .home-cities-grid {
        grid-template-columns: 1fr;
    }

    .city-card {
        height: 300px;
    }

}
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* HEADER */
.header {
  width: 100%;
  background: #0C0E27;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-container {
  width: 100%;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 220px;
  height: auto;
  display: block;
}

/* NAV */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 42px;
}

.menu>li {
  position: relative;
}

.menu>li>a {
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  transition: 0.3s ease;
}

.menu>li>a:hover {
  color: #d6a323;
}

/* SUBMENU */
.submenu {
  position: absolute;
  top: 42px;
  left: 0;
  list-style: none;
  min-width: 250px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s ease;
  z-index: 999;
}

.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 14px 22px;
  color: #144375;
  text-decoration: none;
  font-size: 16px;
  transition: 0.2s ease;
}

.submenu li a:hover {
  background: #f5f7fb;
  color: #d6a323;
}

/* BOTON */
.cta {
  flex-shrink: 0;
}

.tasacion-btn {
  display: inline-block;
  background: #39d67d;
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  padding: 16px 28px;
  border-radius: 6px;
  transition: 0.3s ease;
}

.tasacion-btn:hover {
  background: #2fc46f;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .header-container {
    padding: 16px 24px;
    gap: 20px;
  }

  .menu {
    gap: 24px;
  }

  .menu>li>a {
    font-size: 15px;
  }

  .logo img {
    width: 180px;
  }

  .tasacion-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* filtros */

.listing-page {
  background: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 60px;
}

.listing-hero {
  background: linear-gradient(135deg, #0C0E27, #144375);
  padding: 70px 40px;
  color: white;
}

.listing-hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.page-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #d6a323;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.listing-hero h1 {
  font-size: 48px;
  margin-bottom: 14px;
}

.listing-hero p {
  font-size: 18px;
  max-width: 760px;
  line-height: 1.6;
}

.listing-layout {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: start;
}

.filters-sidebar {
  align-self: start;
}

.filters-box {
  position: sticky;
  top: 110px;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.filters-box h3 {
  font-size: 24px;
  margin-bottom: 22px;
  color: #0C0E27;
}

.filter-group {
  margin-bottom: 18px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #144375;
}

.filter-group select,
.filter-group input {
  width: 100%;
  height: 48px;
  border: 1px solid #d9dfe8;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
}

.filter-checks {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.filter-checks label {
  font-size: 15px;
  color: #333;
}

.filter-button {
  width: 100%;
  height: 52px;
  background: #d6a323;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-button:hover {
  background: #b78813;
}

.listing-results {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.listing-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.listing-topbar h2 {
  font-size: 28px;
  color: #0C0E27;
}

.listing-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.listing-sort label {
  font-weight: 600;
  color: #144375;
}

.listing-sort select {
  height: 44px;
  border: 1px solid #d9dfe8;
  border-radius: 10px;
  padding: 0 14px;
}

.property-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.property-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.property-info {
  padding: 26px 26px 26px 0;
}

.property-badge {
  display: inline-block;
  background: rgba(12, 14, 39, 0.08);
  color: #144375;
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  padding: 8px 14px;
  margin-bottom: 14px;
}

.alquiler-badge {
  color: #0C0E27;
}

.property-info h3 {
  font-size: 34px;
  line-height: 1.2;
  color: #273753;
  margin-bottom: 12px;
}

.property-location {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 18px;
}

.property-price {
  font-size: 40px;
  font-weight: 800;
  color: #0C0E27;
  margin-bottom: 18px;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.property-features span {
  background: #f2f4f7;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: #334155;
}

.property-description {
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 20px;
}

.property-link {
  display: inline-block;
  padding: 12px 22px;
  background: #144375;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.3s ease;
}

.property-link:hover {
  background: #0C0E27;
}

@media (max-width: 1100px) {
  .listing-layout {
    grid-template-columns: 1fr;
  }

  .filters-box {
    position: static;
  }

  .property-card {
    grid-template-columns: 1fr;
  }

  .property-info {
    padding: 24px;
  }
}

.zone-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.zone-chip {
  border: none;
  background: #eef3f8;
  color: #144375;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.zone-chip:hover {
  background: #d6a323;
  color: #ffffff;
}

.zone-chip.active {
  background: #0C0E27;
  color: #ffffff;
}

.zona-texto {
  margin-top: 12px;
  font-size: 14px;
}

.zona-texto span {
  color: #144375;
  font-weight: 700;
}

/* ============================= */
/* PAGINA SERVICIOS PROFESIONAL */
/* ============================= */

.services-page,
.service-detail-page {
  background: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 60px;
}

/* HERO SERVICIOS */
.services-hero-premium {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #41536f;
  background-image:
    linear-gradient(120deg, rgba(12, 14, 39, 0.88), rgba(20, 67, 117, 0.65)),
    url("../Elementos_Graficos/Servicios/imagen-servicios.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.services-hero-premium-overlay {
  display: none;
}

.services-hero-premium-content {
  position: relative;
  z-index: 2;
  width: min(1400px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  color: #ffffff;
  padding: 90px 0;
}

.services-hero-left {
  max-width: 780px;
}

.page-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d6a323;
  margin-bottom: 22px;
  padding-bottom: 6px;
  border-bottom: 2px solid #d6a323;
}

.services-hero-left h1 {
  font-size: 72px;
  line-height: 1.03;
  letter-spacing: -1.6px;
  margin-bottom: 26px;
  color: #ffffff;
  max-width: 780px;
}

.services-hero-left p {
  font-size: 20px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  margin-bottom: 34px;
}

.services-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-main-btn,
.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 16px;
  transition: 0.25s ease;
}

.hero-main-btn {
  background: #d6a323;
  color: #ffffff;
}

.hero-main-btn:hover {
  background: #bb8d13;
}

.hero-secondary-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.services-hero-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}

.hero-info-card {
  width: 260px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px 24px;
  backdrop-filter: blur(4px);
}

.hero-info-number {
  display: block;
  font-size: 54px;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-info-label {
  display: block;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* RESTO DE LA PAGINA */
.services-section,
.service-detail-section,
.service-cta-section,
.service-benefits {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 30px;
}

.services-intro {
  margin-bottom: 28px;
}

.services-intro h2 {
  font-size: 34px;
  color: #0C0E27;
  margin-bottom: 12px;
}

.services-intro p {
  max-width: 820px;
  color: #475569;
  line-height: 1.7;
  font-size: 17px;
}

.services-grid-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card-page {
  display: block;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  transition: 0.3s ease;
  border: 1px solid rgba(20, 67, 117, 0.08);
  overflow: hidden;
}

.service-card-page:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.10);
}

.service-card-image {
  height: 250px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-content {
  padding: 26px;
}

.service-card-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.service-mini-tag {
  background: rgba(214, 163, 35, 0.12);
  color: #d6a323;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.service-card-page h3 {
  font-size: 30px;
  color: #0C0E27;
  margin-bottom: 14px;
}

.service-card-page p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-link-text {
  color: #144375;
  font-weight: 700;
  font-size: 15px;
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-box {
  background: #ffffff;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.benefit-box h3 {
  color: #0C0E27;
  font-size: 23px;
  margin-bottom: 10px;
}

.benefit-box p {
  color: #475569;
  line-height: 1.7;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.service-detail-main,
.service-box,
.service-cta-box {
  background: #ffffff;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.service-detail-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
  margin-bottom: 24px;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-detail-main h2 {
  font-size: 34px;
  color: #0C0E27;
  margin-bottom: 16px;
}

.service-detail-main p {
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 18px;
}

.service-list {
  padding-left: 20px;
}

.service-list li {
  margin-bottom: 12px;
  color: #334155;
  font-size: 16px;
  line-height: 1.6;
}

.service-box h3 {
  font-size: 24px;
  color: #0C0E27;
  margin-bottom: 12px;
}

.service-box p {
  color: #475569;
  line-height: 1.7;
  font-size: 16px;
}

.service-cta-box {
  text-align: center;
}

.service-cta-box h2 {
  font-size: 34px;
  color: #0C0E27;
  margin-bottom: 12px;
}

.service-cta-box p {
  color: #475569;
  font-size: 17px;
  margin-bottom: 22px;
}

.service-cta-btn {
  display: inline-block;
  background: #144375;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 24px;
  font-weight: 700;
  transition: 0.3s ease;
}

.service-cta-btn:hover {
  background: #0C0E27;
}

@media (max-width: 1100px) {

  .services-hero-premium-content,
  .services-grid-page,
  .service-benefits-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .services-hero-right {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-info-card {
    width: 220px;
  }

  .services-hero-left h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .services-hero-premium {
    min-height: auto;
  }

  .services-hero-premium-content {
    padding: 60px 0;
  }

  .services-hero-left h1 {
    font-size: 38px;
  }

  .services-hero-left p {
    font-size: 17px;
  }

  .hero-info-card {
    width: 100%;
  }

  .services-section,
  .service-detail-section,
  .service-cta-section,
  .service-benefits {
    padding: 0 20px;
  }
}

/* ============================= */
/* PAGINAS DE CADA SERVICIO */
/* ============================= */

.service-detail-page {
  background: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 60px;
}

.service-detail-hero {
  background: linear-gradient(135deg, #0C0E27, #144375);
  color: #ffffff;
  padding: 80px 40px;
}

.service-detail-content {
  max-width: 1200px;
  margin: 0 auto;
}

.service-detail-content h1 {
  font-size: 50px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.service-detail-content p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
}

.service-detail-section {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 30px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.service-detail-main,
.service-box {
  background: #ffffff;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.service-detail-main h2 {
  font-size: 32px;
  color: #0C0E27;
  margin-bottom: 16px;
}

.service-detail-main p {
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 18px;
}

.service-list {
  padding-left: 20px;
}

.service-list li {
  margin-bottom: 12px;
  color: #334155;
  font-size: 16px;
  line-height: 1.6;
}

.service-box h3 {
  font-size: 24px;
  color: #0C0E27;
  margin-bottom: 12px;
}

.service-box p {
  color: #475569;
  line-height: 1.7;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .services-grid-page {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* SERVICIOS - HERO PARTIDO */
/* ============================= */

.service-split-page {
  background: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 60px;
}

.service-split-hero {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  border-radius: 0;
  min-height: 520px;
}

.service-split-left {
  background: #144375;
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 60px;
}

.service-split-inner {
  max-width: 540px;
}

.service-kicker {
  display: inline-block;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 4px solid #ffffff;
}

.service-split-left h1 {
  font-size: 60px;
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 24px;
}

.service-split-left p {
  font-size: 22px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.service-split-right {
  min-height: 520px;
}

.service-split-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-content-section,
.service-bottom-cta {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 30px;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.service-content-main,
.service-info-box,
.service-bottom-cta-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.service-content-main h2 {
  font-size: 34px;
  color: #0C0E27;
  margin-bottom: 18px;
}

.service-content-main p {
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 18px;
}

.service-list {
  padding-left: 20px;
}

.service-list li {
  margin-bottom: 12px;
  color: #334155;
  font-size: 16px;
  line-height: 1.7;
}

.service-content-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-info-box h3 {
  font-size: 25px;
  color: #0C0E27;
  margin-bottom: 14px;
}

.service-info-box p {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
}

.service-bottom-cta-box {
  text-align: center;
}

.service-bottom-cta-box h2 {
  font-size: 36px;
  color: #0C0E27;
  margin-bottom: 12px;
}

.service-bottom-cta-box p {
  font-size: 17px;
  color: #475569;
  margin-bottom: 22px;
}

.service-bottom-btn {
  display: inline-block;
  background: #144375;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.3s ease;
}

.service-bottom-btn:hover {
  background: #0C0E27;
}

@media (max-width: 1100px) {
  .service-split-hero {
    grid-template-columns: 1fr;
  }

  .service-split-left {
    padding: 40px 30px;
  }

  .service-split-left h1 {
    font-size: 42px;
  }

  .service-split-left p {
    font-size: 18px;
  }

  .service-split-right {
    min-height: 320px;
  }

  .service-content-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   TASACIÓN GRATUITA PRO
========================= */

/* =========================
   TASACIÓN GRATUITA PRO
========================= */

.tasacion-page {
  background: #f5f6f8;
  color: #0f1c3f;
}

.tasacion-hero-pro {
  padding: 70px 0 40px;
  background:
    radial-gradient(circle at top left, rgba(216, 236, 244, 0.9), transparent 28%),
    linear-gradient(180deg, #f5f6f8 0%, #eef2f5 100%);
}

.tasacion-hero-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.tasacion-breadcrumb {
  font-size: 14px;
  color: #5e6b85;
  margin-bottom: 18px;
}

.tasacion-copy h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  margin-bottom: 22px;
  color: #0b1740;
  letter-spacing: -1.5px;
}

.tasacion-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #33415f;
  margin-bottom: 34px;
  max-width: 640px;
}

.tasacion-copy-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 28, 63, 0.06);
  border-radius: 22px;
  padding: 22px 24px;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(15, 28, 63, 0.05);
}

.tasacion-mini-icon {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: #99dde8;
  margin-top: 8px;
  flex-shrink: 0;
}

.tasacion-copy-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #0b1740;
}

.tasacion-copy-box p {
  font-size: 17px;
  line-height: 1.7;
  color: #33415f;
}

.tasacion-form-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 34px;
  border: 1px solid rgba(15, 28, 63, 0.08);
  box-shadow: 0 22px 60px rgba(15, 28, 63, 0.12);
  backdrop-filter: blur(8px);
}

.tasacion-form-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b1740;
  background: #d9ecf4;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.tasacion-form-top h2 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #0b1740;
}

.tasacion-form-top p {
  font-size: 16px;
  line-height: 1.6;
  color: #5b6782;
  margin-bottom: 22px;
}

.tasacion-form-pro input,
.tasacion-form-pro textarea {
  width: 100%;
  border: 1px solid #e4e8ef;
  background: #f8fafc;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 16px;
  color: #0f1c3f;
  margin-bottom: 14px;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.tasacion-form-pro input:focus,
.tasacion-form-pro textarea:focus {
  border-color: #99dde8;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(153, 221, 232, 0.18);
}

.tasacion-form-pro textarea {
  min-height: 120px;
  resize: vertical;
}

.tasacion-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tasacion-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #44516f;
  margin: 8px 0 22px;
}

.tasacion-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #0f1c3f;
}

.tasacion-submit-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 700;
  background: #0b1740;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(11, 23, 64, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.tasacion-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(11, 23, 64, 0.28);
  background: #142255;
}

.tasacion-section {
  padding: 90px 0;
  background: #f5f6f8;
}

.tasacion-section-alt {
  padding-top: 70px;
}

.tasacion-two-col {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.tasacion-two-col.reverse {
  grid-template-columns: 1fr 1fr;
}

.tasacion-section-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #d9ecf4;
  color: #0b1740;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tasacion-text-block h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1.2px;
  color: #0b1740;
}

.tasacion-text-block .lead {
  font-size: 21px;
  line-height: 1.6;
  color: #223152;
  margin-bottom: 18px;
}

.tasacion-text-block p {
  font-size: 18px;
  line-height: 1.8;
  color: #40506f;
  margin-bottom: 14px;
}

.tasacion-image-block {
  position: relative;
}

.tasacion-image-block .tasacion-image-placeholder {
  min-height: 560px;
  border-radius: 34px;
  background: #eaf1f5;
  border: 1px solid rgba(15, 28, 63, 0.08);
  box-shadow: 0 18px 50px rgba(15, 28, 63, 0.12);
  overflow: hidden;
}

.tasacion-image-block .tasacion-image-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

.floating-note {
  position: absolute;
  top: 28px;
  left: 28px;
  max-width: 270px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 28, 63, 0.06);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 16px 40px rgba(15, 28, 63, 0.12);
  backdrop-filter: blur(8px);
}

.floating-note strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
  color: #0b1740;
}

.floating-note p {
  font-size: 15px;
  line-height: 1.5;
  color: #4a5673;
}

.tasacion-benefits {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 30px 0 95px;
}

.tasacion-benefits-header {
  max-width: 700px;
  margin-bottom: 40px;
}

.tasacion-benefits-header h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  margin-bottom: 14px;
  color: #0b1740;
  letter-spacing: -1px;
}

.tasacion-benefits-header p {
  font-size: 18px;
  line-height: 1.7;
  color: #51607c;
}

.tasacion-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.benefit-card {
  background: #d9ecf4;
  border-radius: 28px;
  padding: 30px;
  min-height: 220px;
  box-shadow: 0 14px 36px rgba(15, 28, 63, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(15, 28, 63, 0.12);
}

.benefit-icon {
  width: 28px;
  height: 2px;
  background: #0b1740;
  margin-bottom: 14px;
}

.benefit-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 2px;
  background: #0b1740;
}

.benefit-card h3 {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #0b1740;
}

.benefit-card p {
  font-size: 18px;
  line-height: 1.7;
  color: #33415f;
}

.tasacion-cta-final {
  padding: 0 0 100px;
}

.tasacion-cta-box {
  width: min(1200px, 92%);
  margin: 0 auto;
  background: linear-gradient(135deg, #0b1740 0%, #16255e 100%);
  color: #ffffff;
  border-radius: 34px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 20px 50px rgba(11, 23, 64, 0.24);
}

.tasacion-cta-box .tasacion-section-tag {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.tasacion-cta-box h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  margin-bottom: 10px;
}

.tasacion-cta-box p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 650px;
}

.tasacion-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 18px 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1740;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tasacion-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1100px) {

  .tasacion-hero-inner,
  .tasacion-two-col,
  .tasacion-two-col.reverse {
    grid-template-columns: 1fr;
  }

  .tasacion-image-block .tasacion-image-placeholder {
    min-height: 440px;
  }

  .tasacion-image-block .tasacion-image-placeholder img {
    min-height: 440px;
  }

  .tasacion-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .tasacion-hero-pro {
    padding: 42px 0 24px;
  }

  .tasacion-copy h1 {
    font-size: 42px;
  }

  .tasacion-subtitle,
  .tasacion-text-block .lead,
  .benefit-card p,
  .tasacion-benefits-header p,
  .tasacion-cta-box p,
  .tasacion-text-block p {
    font-size: 16px;
  }

  .tasacion-form-card {
    padding: 24px;
    border-radius: 24px;
  }

  .tasacion-form-top h2 {
    font-size: 28px;
  }

  .tasacion-form-row {
    grid-template-columns: 1fr;
  }

  .tasacion-section {
    padding: 64px 0;
  }

  .tasacion-image-block .tasacion-image-placeholder {
    min-height: 300px;
    border-radius: 24px;
  }

  .tasacion-image-block .tasacion-image-placeholder img {
    min-height: 300px;
  }

  .floating-note {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }

  .tasacion-benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card h3 {
    font-size: 24px;
  }

  .tasacion-cta-box {
    padding: 28px;
    border-radius: 24px;
  }
}

/* =========================
   CONTACTO PROFESIONAL
========================= */
/* =========================
   CONTACTO PROFESIONAL
========================= */

.contact-page {
  background: #f5f6f8;
  color: #0f1c3f;
}

.contact-hero {
  padding: 70px 0 40px;
  background:
    radial-gradient(circle at top left, rgba(217, 236, 244, 0.95), transparent 28%),
    linear-gradient(180deg, #f5f6f8 0%, #eef2f5 100%);
}

.contact-hero-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.contact-breadcrumb {
  font-size: 14px;
  color: #5e6b85;
  margin-bottom: 18px;
}

.contact-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #d9ecf4;
  color: #0b1740;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.contact-tag-light {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.contact-hero-copy h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  margin-bottom: 22px;
  color: #0b1740;
  letter-spacing: -1.5px;
}

.contact-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #33415f;
  margin-bottom: 34px;
  max-width: 650px;
}

.contact-highlights {
  display: grid;
  gap: 18px;
}

.contact-highlight-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 28, 63, 0.06);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(15, 28, 63, 0.05);
  backdrop-filter: blur(6px);
}

.contact-icon-dot {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: #99dde8;
  margin-top: 8px;
  flex-shrink: 0;
}

.contact-highlight-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #0b1740;
}

.contact-highlight-card p {
  font-size: 17px;
  line-height: 1.7;
  color: #33415f;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 30px;
  padding: 34px;
  border: 1px solid rgba(15, 28, 63, 0.08);
  box-shadow: 0 22px 60px rgba(15, 28, 63, 0.12);
}

.contact-form-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b1740;
  background: #d9ecf4;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.contact-form-top h2 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #0b1740;
}

.contact-form-top p {
  font-size: 16px;
  line-height: 1.6;
  color: #5b6782;
  margin-bottom: 22px;
}

.contact-form-pro input,
.contact-form-pro select,
.contact-form-pro textarea {
  width: 100%;
  border: 1px solid #e4e8ef;
  background: #f8fafc;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 16px;
  color: #0f1c3f;
  margin-bottom: 14px;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.contact-form-pro input:focus,
.contact-form-pro select:focus,
.contact-form-pro textarea:focus {
  border-color: #99dde8;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(153, 221, 232, 0.18);
}

.contact-form-pro textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #44516f;
  margin: 8px 0 22px;
}

.contact-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #0f1c3f;
}

.contact-submit-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 700;
  background: #0b1740;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(11, 23, 64, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(11, 23, 64, 0.28);
  background: #142255;
}

.contact-info-section {
  padding: 80px 0;
}

.contact-info-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-info-left h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  margin-bottom: 18px;
  color: #0b1740;
  letter-spacing: -1px;
}

.contact-info-lead {
  font-size: 19px;
  line-height: 1.7;
  color: #42506d;
  margin-bottom: 28px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-info-box {
  background: #ffffff;
  border: 1px solid rgba(15, 28, 63, 0.06);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 28, 63, 0.05);
}

.contact-info-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0b1740;
}

.contact-info-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5874;
}

.contact-map-card {
  position: relative;
}

.contact-map-placeholder {
  min-height: 460px;
  border-radius: 34px;
  background: #eaf1f5;
  border: 1px solid rgba(15, 28, 63, 0.08);
  box-shadow: 0 18px 50px rgba(15, 28, 63, 0.12);
  overflow: hidden;
}

.contact-map-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contact-services-section {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 10px 0 90px;
}

.contact-services-inner {
  width: 100%;
}

.contact-services-header {
  max-width: 720px;
  margin-bottom: 34px;
}

.contact-services-header h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  margin-bottom: 14px;
  color: #0b1740;
  letter-spacing: -1px;
}

.contact-services-header p {
  font-size: 18px;
  line-height: 1.7;
  color: #51607c;
}

.contact-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-service-card {
  background: #d9ecf4;
  border-radius: 28px;
  padding: 30px;
  min-height: 220px;
  box-shadow: 0 14px 36px rgba(15, 28, 63, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(15, 28, 63, 0.12);
}

.contact-service-icon {
  width: 28px;
  height: 2px;
  background: #0b1740;
  margin-bottom: 14px;
}

.contact-service-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 2px;
  background: #0b1740;
}

.contact-service-card h3 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #0b1740;
}

.contact-service-card p {
  font-size: 18px;
  line-height: 1.7;
  color: #33415f;
}

.contact-cta-final {
  padding: 0 0 100px;
}

.contact-cta-box {
  width: min(1200px, 92%);
  margin: 0 auto;
  background: linear-gradient(135deg, #0b1740 0%, #16255e 100%);
  color: #ffffff;
  border-radius: 34px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 20px 50px rgba(11, 23, 64, 0.24);
}

.contact-cta-box h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  margin-bottom: 10px;
}

.contact-cta-box p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 650px;
}

.contact-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 18px 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1740;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1100px) {

  .contact-hero-inner,
  .contact-info-inner {
    grid-template-columns: 1fr;
  }

  .contact-map-placeholder {
    min-height: 360px;
  }

  .contact-map-placeholder img {
    min-height: 360px;
  }

  .contact-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 42px 0 24px;
  }

  .contact-hero-copy h1 {
    font-size: 42px;
  }

  .contact-subtitle,
  .contact-highlight-card p,
  .contact-info-lead,
  .contact-services-header p,
  .contact-service-card p,
  .contact-cta-box p {
    font-size: 16px;
  }

  .contact-form-card {
    padding: 24px;
    border-radius: 24px;
  }

  .contact-form-top h2 {
    font-size: 28px;
  }

  .contact-info-grid,
  .contact-services-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-placeholder {
    min-height: 280px;
    border-radius: 24px;
  }

  .contact-map-placeholder img {
    min-height: 280px;
  }

  .contact-service-card h3 {
    font-size: 24px;
  }

  .contact-cta-box {
    padding: 28px;
    border-radius: 24px;
  }
}

/* =================================
   SOBRE NOSOTROS
================================= */

.about-page {
  background: #f5f6f8;
  color: #0f1c3f;
}

/* HERO */

.about-hero {
  padding: 80px 0 40px;
  background:
    linear-gradient(180deg, #f5f6f8 0%, #eef2f5 100%);
  border-bottom: 1px solid #e1e5ea;
}

.about-hero-inner {
  width: min(1200px, 92%);
  margin: auto;
}

/* HERO */

.about-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-image: url("../Elementos_Graficos/Imagenes/sobre-nosotros-hero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 15, 45, 0.72) 0%,
    rgba(7, 15, 45, 0.58) 35%,
    rgba(7, 15, 45, 0.40) 65%,
    rgba(7, 15, 45, 0.25) 100%
  );
  z-index: 1;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 80px 0;
  color: #ffffff;
}

.about-breadcrumb {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 16px;
}

.about-hero-tag {
  display: inline-block;
  margin-bottom: 26px;
  padding-bottom: 8px;
  border-bottom: 2px solid #9dd9e8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.about-hero h1 {
  max-width: 760px;
  font-size: 78px;
  line-height: 0.98;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: #ffffff;
}

.about-subtitle {
  max-width: 720px;
  font-size: 21px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}


/* INTRO */

.about-intro {
  padding: 80px 0;
  background: #ffffff;
}

.about-intro-inner {
  width: min(1200px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-tag {
  display: inline-block;
  padding: 0 0 6px 0;
  background: none;
  border-radius: 0;
  border-bottom: 2px solid #99dde8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.about-intro-text h2 {
  font-size: 48px;
  margin-bottom: 18px;
}

.about-intro-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #44516f;
  margin-bottom: 18px;
}

.about-intro-image {
  width: 420px;
  height: 420px;
  overflow: hidden;
  margin: 0 auto;
  background: none;
  border: 1px solid #e1e5ea;
  border-radius: 0;
  box-shadow: none;
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transform: scale(1.03);
}


/* VALORES */

.about-values {
  padding: 80px 0;
  background: #f5f6f8;
  border-top: 1px solid #e1e5ea;
  border-bottom: 1px solid #e1e5ea;
}

.about-values-inner {
  width: min(1200px, 92%);
  margin: auto;
}

.about-values-header {
  max-width: 700px;
  margin-bottom: 40px;
}

.about-values-header h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.about-values-header p {
  font-size: 18px;
  color: #4e5a75;
  line-height: 1.7;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  border-top: 1px solid #d9dee5;
}

.about-value-card {
  background: none;
  border-radius: 0;
  padding: 28px 0;
  transition: .2s;
  border-bottom: 1px solid #d9dee5;
  box-shadow: none;
}

.about-value-card:hover {
  transform: none;
  box-shadow: none;
}

.about-value-icon {
  width: 26px;
  height: 2px;
  background: #0b1740;
  border-radius: 0;
  margin-bottom: 16px;
}

.about-value-card h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.about-value-card p {
  font-size: 17px;
  line-height: 1.7;
  color: #33415f;
}


/* LINKS */

.about-links {
  padding: 80px 0;
  background: #ffffff;
}

.about-links-inner {
  width: min(1200px, 92%);
  margin: auto;
}

.about-links-header {
  max-width: 700px;
  margin-bottom: 40px;
}

.about-links-header h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.about-links-header p {
  font-size: 18px;
  color: #4e5a75;
}

.about-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.about-link-card {
  background: #ffffff;
  border-radius: 0;
  padding: 34px;
  text-decoration: none;
  color: #0b1740;
  border: 1px solid #dfe4ea;
  transition: .25s;
  display: block;
  box-shadow: none;
}

.about-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.about-link-icon {
  width: 24px;
  height: 2px;
  background: #0b1740;
  border-radius: 0;
  margin-bottom: 20px;
}

.about-link-card h3 {
  font-size: 32px;
  margin-bottom: 10px;
}

.about-link-card p {
  font-size: 18px;
  line-height: 1.6;
  color: #495572;
  margin-bottom: 16px;
}

.about-link-btn {
  font-weight: 700;
  font-size: 15px;
}


/* CTA */

.about-cta {
  padding: 0 0 100px;
  background: #ffffff;
}

.about-cta-inner {
  width: min(1200px, 92%);
  margin: auto;
  background: #0b1740;
  border-radius: 0;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: white;
}

.about-tag-light {
  background: none;
  color: white;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

.about-cta-inner h2 {
  font-size: 42px;
  margin-bottom: 8px;
}

.about-cta-inner p {
  font-size: 18px;
  opacity: .85;
  max-width: 500px;
}

.about-cta-btn {
  background: white;
  color: #0b1740;
  padding: 16px 26px;
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  transition: .25s;
  border: 1px solid white;
}

.about-cta-btn:hover {
  transform: none;
  background: transparent;
  color: white;
}


/* RESPONSIVE */

@media (max-width: 900px) {
  .about-hero {
    min-height: 500px;
    background-position: center center;
  }

  .about-hero-inner {
    padding: 60px 0;
  }

  .about-intro-inner {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-links-grid {
    grid-template-columns: 1fr;
  }

  .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-hero h1 {
    font-size: 46px;
    line-height: 1.05;
  }

  .about-subtitle {
    font-size: 18px;
    line-height: 1.7;
  }

  .about-intro-text h2 {
    font-size: 34px;
  }

  .about-values-header h2,
  .about-links-header h2 {
    font-size: 34px;
  }

  .about-intro-image {
    width: 100%;
    max-width: 420px;
    height: 420px;
  }
}

/* ==============
   NUESTRO EQUIPO
================= */

.team-page {
  background: #f7f7f5;
  color: #0f1c3f;
}

/* HERO */
.team-hero-simple {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 120px 0 110px;
  overflow: hidden;
  background:
    linear-gradient(rgba(10, 22, 58, 0.58), rgba(10, 22, 58, 0.68)),
    url("../Elementos_Graficos/Imagenes/Imagen-hero-equipo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.team-hero-simple-inner {
  width: min(1100px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-left: 40px;
}

.team-hero-left {
  max-width: 720px;
  margin-left: 60px;
}

.team-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.team-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b1740;
  margin-bottom: 18px;
  padding-bottom: 6px;
  border-bottom: 2px solid #99dde8;
}

.team-hero-simple .team-tag {
  color: #ffffff;
  border-bottom: 2px solid rgba(153, 221, 232, 0.95);
}

.team-hero-simple h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -1.4px;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
}

.team-subtitle {
  font-size: 20px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
  margin-bottom: 0;
}

.team-hero-simple h1,
.team-subtitle,
.team-breadcrumb,
.team-hero-simple .team-tag {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

/* INTRO */
.team-intro-modern {
  padding: 90px 0 70px;
  background: #ffffff;
}

.team-intro-modern-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.team-intro-modern-text h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  margin-bottom: 18px;
  color: #0b1740;
  letter-spacing: -1px;
}

.team-intro-modern-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #48546f;
  margin-bottom: 16px;
}

.team-intro-modern-boxes {
  display: grid;
  gap: 0;
  border-top: 1px solid #dde2e8;
}

.team-info-box {
  padding: 26px 0;
  border-bottom: 1px solid #dde2e8;
  background: transparent;
  box-shadow: none;
}

.team-info-icon {
  width: 36px;
  height: 2px;
  background: #0b1740;
  margin-bottom: 16px;
}

.team-info-box h3 {
  font-size: 25px;
  margin-bottom: 10px;
  color: #0b1740;
}

.team-info-box p {
  font-size: 17px;
  line-height: 1.75;
  color: #4d5973;
  max-width: 460px;
}

/* RESEÑAS GOOGLE */
.team-reviews-section {
  padding: 85px 0;
  background: #f3f4f2;
  border-top: 1px solid #e3e6ea;
  border-bottom: 1px solid #e3e6ea;
}

.team-reviews-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.team-reviews-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.team-reviews-header h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin-bottom: 18px;
  color: #0b1740;
  letter-spacing: -1px;
}

.team-reviews-lead {
  font-size: 20px;
  line-height: 1.7;
  color: #2f3d5a;
  margin-bottom: 0;
}

.team-reviews-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.team-rating-box {
  background: #ffffff;
  border: 1px solid rgba(15, 28, 63, 0.08);
  box-shadow: 0 12px 30px rgba(15, 28, 63, 0.05);
  padding: 22px 24px;
  min-width: 250px;
}

.team-rating-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a6782;
  margin-bottom: 8px;
}

.team-rating-box strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  color: #0b1740;
  margin-bottom: 8px;
}

.team-rating-box span:last-child {
  font-size: 16px;
  color: #4d5973;
}

.team-google-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b1740;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 16px 24px;
  border: 1px solid #0b1740;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.team-google-link:hover {
  background: transparent;
  color: #0b1740;
}

.team-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-review-card {
  background: #ffffff;
  border: 1px solid rgba(15, 28, 63, 0.08);
  box-shadow: 0 12px 30px rgba(15, 28, 63, 0.05);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.team-review-loading,
.team-review-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #4d5973;
}

.team-review-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-review-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
  background: #d9ecf4;
  flex-shrink: 0;
}

.team-review-avatar-fallback {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #d9ecf4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1740;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.team-review-author h3 {
  font-size: 20px;
  margin-bottom: 4px;
  color: #0b1740;
  line-height: 1.2;
}

.team-review-meta {
  font-size: 14px;
  color: #62708a;
  line-height: 1.5;
}

.team-review-stars {
  font-size: 18px;
  letter-spacing: 2px;
  color: #0b1740;
  font-weight: 700;
}

.team-review-text {
  font-size: 16px;
  line-height: 1.8;
  color: #42506b;
}

.team-review-footer a {
  font-size: 14px;
  font-weight: 700;
  color: #0b1740;
  text-decoration: none;
}

.team-review-footer a:hover {
  text-decoration: underline;
}

/* CTA FINAL */
.team-cta {
  padding: 90px 0 100px;
  background: #ffffff;
}

.team-cta-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  background: #0b1740;
  color: #ffffff;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.team-tag-light {
  color: #ffffff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

.team-cta-inner h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.08;
  margin-bottom: 10px;
  letter-spacing: -0.8px;
}

.team-cta-inner p {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
  max-width: 560px;
}

.team-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0b1740;
  padding: 16px 26px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #ffffff;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.team-cta-btn:hover {
  background: transparent;
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 950px) {
  .team-hero-simple {
    min-height: 68vh;
    padding: 100px 0 90px;
    background-position: center;
  }

  .team-intro-modern-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .team-reviews-grid {
    grid-template-columns: 1fr;
  }

  .team-reviews-lead,
  .team-review-text,
  .team-rating-box span:last-child,
  .team-review-meta {
    font-size: 16px;
  }

  .team-hero-simple {
    min-height: auto;
    padding: 72px 0 64px;
    background-position: center;
  }


  .team-hero-simple h1 {
    font-size: 42px;
  }

  .team-subtitle,
.team-intro-modern-text p,
.team-info-box p,
.team-cta-inner p {
    font-size: 16px;
}

  .team-info-box h3 {
    font-size: 22px;
}

  .team-cta-inner {
    padding: 28px;
  }
}

/* =========================
   DONDE ESTAMOS
========================= */

.location-page {
  background: #f7f7f5;
  color: #0f1c3f;
}


.location-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 120px 0 110px;
  overflow: hidden;

  background:
    linear-gradient(rgba(10, 22, 58, 0.58), rgba(10, 22, 58, 0.68)),
    url("../Elementos_Graficos/Imagenes/imagen-local.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.location-hero-inner {
  width: min(1100px, 92%);
  margin: auto;
  position: relative;
  z-index: 2;
}

.location-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.location-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(153, 221, 232, 0.95);
  padding-bottom: 6px;
  margin-bottom: 18px;
  display: inline-block;
  color: #ffffff;
}

.location-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -1.3px;
  margin-bottom: 18px;
  color: #ffffff;
  max-width: 760px;
}

.location-subtitle {
  font-size: 20px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
}

.location-breadcrumb,
.location-tag,
.location-hero h1,
.location-subtitle {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}


/* CONTENIDO */

.location-content {
  padding: 90px 0;
}

.location-content-inner {
  width: min(1200px, 92%);
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.location-info h2 {
  font-size: 44px;
  margin-bottom: 14px;
}

.location-lead {
  font-size: 19px;
  margin-bottom: 30px;
  color: #2f3d5a;
}

.location-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.location-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #0b1740;
}

.location-item p {
  font-size: 16px;
  color: #4b5874;
  line-height: 1.6;
}



/* MAPA */

.location-map {
  width: 100%;
}

.location-map {
  width: 100%;
}

.location-map-frame {
  width: 100%;
  height: 380px;
  border: 1px solid #d9dee5;
  display: block;
}



/* CTA */

.location-cta {
  padding: 80px 0 100px;
}

.location-cta-inner {
  width: min(1200px, 92%);
  margin: auto;

  background: #0b1740;
  color: white;

  padding: 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.location-tag-light {
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

.location-cta-inner h2 {
  font-size: 40px;
  margin-bottom: 8px;
}

.location-cta-inner p {
  font-size: 18px;
  opacity: .85;
}

.location-cta-btn {
  background: white;
  color: #0b1740;
  padding: 16px 26px;
  text-decoration: none;
  font-weight: 700;
}



/* RESPONSIVE */

@media (max-width:900px) {

  .location-content-inner {
    grid-template-columns: 1fr;
  }

  .location-details {
    grid-template-columns: 1fr;
  }

  .location-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .location-hero {
    min-height: auto;
    padding: 80px 0 70px;
  }
}

/* =========================
   TRABAJA CON NOSOTROS
========================= */

.careers-hero{
    padding: 130px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(12, 14, 39, 0.62), rgba(12, 14, 39, 0.68)),
        url("../Elementos_Graficos/Imagenes/traba-con-nosotros.jpg") center center / cover no-repeat;
}

.careers-container{
    max-width: 920px;
    margin: auto;
}

.careers-hero h1{
font-family:'Montserrat', sans-serif;
font-weight:700;
font-size:52px;
color:rgba(255, 255, 255, 0.88);;
margin-bottom:20px;
letter-spacing:-1px;
}

.careers-hero p{
    font-size: 18px;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    max-width: 720px;
    margin: auto;
    text-shadow: 0 3px 16px rgba(0,0,0,0.18);
}

.careers-form-section{
    padding: 80px 20px 120px;
    background: linear-gradient(180deg, #f7f8fc 0%, #eef2f7 100%);
}

.careers-form{
    background: rgba(255,255,255,0.94);
    padding: 42px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(10, 20, 40, 0.10);
    border: 1px solid rgba(20, 67, 117, 0.08);
    backdrop-filter: blur(8px);
    animation: careersFadeUp 0.7s ease;
}

@keyframes careersFadeUp{
    from{
        opacity: 0;
        transform: translateY(24px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

.form-row{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group{
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.form-group label{
    margin-bottom: 8px;
    font-weight: 600;
    color: #144375;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea{
    border: 1px solid #d8deea;
    border-radius: 14px;
    padding: 14px 15px;
    font-size: 15px;
    color: #0C0E27;
    background: #ffffff;
    transition: all 0.25s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-group textarea{
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    outline: none;
    border-color: #144375;
    box-shadow: 0 0 0 4px rgba(20,67,117,0.12);
    transform: translateY(-1px);
}

/* SUBIR CV BONITO */
.file-upload-group input[type="file"]{
    display: none;
}

.file-upload-box{
    border: 1.5px dashed #b9c7dc;
    border-radius: 16px;
    background: #f8fbff;
    padding: 22px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.file-upload-box:hover{
    border-color: #144375;
    background: #f2f7fd;
    box-shadow: 0 8px 18px rgba(20,67,117,0.08);
}

.file-upload-box strong{
    display: block;
    font-size: 16px;
    color: #144375;
    margin-bottom: 6px;
}

.file-upload-box span{
    font-size: 14px;
    color: #5d6983;
}

.careers-btn{
    margin-top: 24px;
    padding: 16px 30px;
    border: none;
    background: #144375;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(20,67,117,0.20);
}

.careers-btn:hover{
    background: #0C0E27;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(12,14,39,0.24);
}

/* RESPONSIVE */
@media(max-width:768px){

    .careers-hero{
        padding: 90px 20px 60px;
    }

    .careers-hero h1{
        font-size: 36px;
    }

    .careers-hero p{
        font-size: 16px;
    }

    .form-row{
        flex-direction: column;
    }

    .careers-form{
        padding: 28px;
        border-radius: 18px;
    }
}

/* ========================
   FOOTER
======================== */

.footer {
    background: #0C0E27;
    color: #ffffff;
    padding-top: 60px;
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 20px 50px;
}

.footer-col h4 {
    margin-bottom: 16px;
    font-size: 18px;
    color: #d6a323;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: 0.25s ease;
}

.footer-col ul li a:hover {
    color: #d6a323;
}

.footer-brand img {
    width: 180px;
    height: auto;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    color: #cfd3e3;
    max-width: 320px;
}

.footer-col p {
    font-size: 15px;
    color: #cfd3e3;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* REDES SOCIALES */
.footer-social {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social a {
    font-size: 14px;
    color: #cfd3e3;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 7px 12px;
    border-radius: 8px;
    transition: 0.25s ease;
}

.footer-social a:hover {
    background: #d6a323;
    color: #0C0E27;
    border-color: #d6a323;
}

/* BOTÓN MAPA */
.footer-map {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #d6a323;
    padding: 9px 14px;
    border-radius: 8px;
    transition: 0.25s ease;
}

.footer-map:hover {
    background: #d6a323;
    color: #0C0E27;
}

/* PARTE INFERIOR */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    max-width: 1200px;
    margin: auto;
}

.footer-bottom p {
    font-size: 14px;
    color: #cfd3e3;
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-legal a {
    color: #cfd3e3;
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s ease;
}

.footer-legal a:hover {
    color: #d6a323;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto 16px;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* =========================
   PÁGINAS LEGALES
========================= */

.legal-page {
    background: #f5f6f8;
    color: #0f1c3f;
}

.legal-hero {
    padding: 100px 20px 50px;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f6 100%);
    text-align: center;
}

.legal-container {
    width: min(950px, 92%);
    margin: 0 auto;
}

.legal-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    margin-bottom: 14px;
    color: #0b1740;
}

.legal-hero p {
    font-size: 18px;
    line-height: 1.7;
    color: #51607c;
    max-width: 700px;
    margin: 0 auto;
}

.legal-content-section {
    padding: 30px 0 90px;
}

.legal-box {
    background: #ffffff;
    border: 1px solid rgba(15, 28, 63, 0.08);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 12px 34px rgba(15, 28, 63, 0.06);
}

.legal-box h2 {
    font-size: 28px;
    margin: 28px 0 12px;
    color: #0b1740;
}

.legal-box h2:first-child {
    margin-top: 0;
}

.legal-box h3 {
    font-size: 20px;
    margin: 18px 0 8px;
    color: #144375;
}

.legal-box p,
.legal-box li {
    font-size: 17px;
    line-height: 1.8;
    color: #44516f;
}

.legal-box ul {
    padding-left: 22px;
    margin: 10px 0 14px;
}

.legal-box a {
    color: #144375;
    text-decoration: none;
    font-weight: 600;
}

.legal-box a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 80px 20px 40px;
    }

    .legal-box {
        padding: 24px;
        border-radius: 18px;
    }

    .legal-box p,
    .legal-box li {
        font-size: 16px;
    }
}
/* =========================
   HEADER PÁGINAS LEGALES
========================= */

.header {
    width: 100%;
    background: #0C0E27;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-container {
    width: 100%;
    padding: 18px 40px;
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 220px;
    height: auto;
    display: block;
}

nav {
    display: flex;
    justify-content: center;
}

.menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu > li > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: 0.25s ease;
}

.menu > li > a:hover {
    color: #d6a323;
}

.header-container::after {
    content: "";
    display: block;
    width: 220px;
}

@media (max-width: 900px) {
    .header-container {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px 20px;
    }

    .logo {
        justify-content: center;
    }

    .header-container::after {
        display: none;
    }

    .menu {
        gap: 24px;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .logo img {
        width: 180px;
    }

    .menu li a {
        font-size: 15px;
    }
}

/* =========================
   COOKIE MODAL PREMIUM
========================= */

.cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.cookie-modal {
    width: min(560px, 92vw);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 28, 63, 0.08);
    border-radius: 24px;
    padding: 34px 32px;
    box-shadow: 0 24px 60px rgba(15, 28, 63, 0.18);
    text-align: center;
    animation: cookieFadeUp 0.35s ease;
}

.cookie-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #d9ecf4;
    color: #0b1740;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-modal h3 {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #0b1740;
    letter-spacing: -0.8px;
}

.cookie-text {
    font-size: 17px;
    line-height: 1.75;
    color: #44516f;
    margin-bottom: 12px;
}

.cookie-text-small {
    font-size: 15px;
    color: #5d6983;
    margin-bottom: 24px;
}

.cookie-text-small a {
    color: #144375;
    text-decoration: none;
    font-weight: 600;
}

.cookie-text-small a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cookie-btn {
    min-width: 170px;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cookie-btn-primary {
    border: none;
    background: #144375;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(20, 67, 117, 0.18);
}

.cookie-btn-primary:hover {
    background: #0C0E27;
    transform: translateY(-2px);
}

.cookie-btn-secondary {
    border: 1px solid #d7dfeb;
    background: #f7f9fc;
    color: #0b1740;
}

.cookie-btn-secondary:hover {
    background: #eef2f7;
    transform: translateY(-2px);
}

@keyframes cookieFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    .cookie-modal {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .cookie-modal h3 {
        font-size: 26px;
    }

    .cookie-text {
        font-size: 16px;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* Estado inicial: botón desactivado */
.contact-form-pro .form-submit,
.careers-form .form-submit,
.tasacion-form-pro .form-submit {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Cuando la casilla está marcada, el botón se activa */
.contact-form-pro:has(.privacy-check:checked) .form-submit,
.careers-form:has(.privacy-check:checked) .form-submit,
.tasacion-form-pro:has(.privacy-check:checked) .form-submit {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.whatsapp-float{
position: fixed;
bottom: 22px;
right: 22px;
width: 64px;
height: 64px;
background: transparent;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
transition: transform .25s ease;
}

.whatsapp-float:hover{
transform: scale(1.1);
}

.whatsapp-float img{
width: 64px;
height: 64px;
}
 .whatsapp-float{
position: fixed;
bottom: 22px;
right: 22px;

width: 60px;
height: 60px;

background: white;
border-radius: 50%;

display: flex;
align-items: center;
justify-content: center;

box-shadow: 0 8px 20px rgba(0,0,0,0.25);

z-index: 9999;
transition: transform .25s ease;
}

.whatsapp-float:hover{
transform: scale(1.08);
}

.whatsapp-float img{
width: 38px;
height: 38px;
}

/* =========================
   FICHA DE INMUEBLE
========================= */

.property-detail-page {
    background: #f5f6f8;
    color: #0f1c3f;
    padding: 40px 0 70px;
}

.property-detail-container {
    width: min(1280px, 92%);
    margin: 0 auto;
}

.property-detail-breadcrumb {
    font-size: 14px;
    color: #5f6b84;
    margin-bottom: 22px;
}

.property-detail-breadcrumb a {
    color: #5f6b84;
    text-decoration: none;
}

.property-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.property-detail-top {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
}

.property-gallery-card,
.property-summary-card,
.property-section-card,
.property-related-card {
    background: #ffffff;
    border: 1px solid rgba(15, 28, 63, 0.06);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(15, 28, 63, 0.06);
}

.property-gallery-card {
    padding: 18px;
}

.property-slider {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #eef2f6;
}

.property-slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 16;
}

.property-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.property-slide.active {
    display: block;
}

.property-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: rgba(12, 24, 63, 0.72);
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s ease;
}

.property-slider-arrow:hover {
    background: rgba(12, 24, 63, 0.92);
}

.property-slider-prev {
    left: 16px;
}

.property-slider-next {
    right: 16px;
}

.property-summary-card {
    padding: 30px 30px 26px;
    position: sticky;
    top: 110px;
}

.property-badge-detail {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.property-badge-sale {
    background: #e9eef7;
    color: #143e74;
}

.property-badge-rent {
    background: #d8f0e7;
    color: #1e7b5b;
}

.property-detail-title {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    color: #0c183f;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.property-detail-location {
    font-size: 18px;
    color: #5d6983;
    margin-bottom: 18px;
}

.property-detail-price {
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1;
    font-weight: 800;
    color: #0b1538;
    margin-bottom: 22px;
    letter-spacing: -1.6px;
}

.property-detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.property-detail-features span {
    padding: 11px 16px;
    border-radius: 14px;
    background: #f1f4f8;
    color: #223256;
    font-size: 15px;
    font-weight: 600;
}

.property-detail-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #33476b;
    margin-bottom: 24px;
}

.property-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-detail-btn,
.property-detail-btn-alt {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    padding: 14px 22px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.property-detail-btn {
    background: #144375;
    color: #ffffff;
    border: none;
}

.property-detail-btn:hover {
    background: #0c0e27;
    transform: translateY(-2px);
}

.property-detail-btn-alt {
    background: #eef3f9;
    color: #143e74;
    border: 1px solid #d7dfeb;
}

.property-detail-btn-alt:hover {
    background: #e4ecf6;
    transform: translateY(-2px);
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 28px;
    margin-top: 30px;
}

.property-section-card {
    padding: 30px;
}

.property-section-card h2 {
    font-size: 30px;
    line-height: 1.15;
    color: #0c183f;
    margin-bottom: 18px;
    letter-spacing: -0.7px;
}

.property-section-card p {
    font-size: 17px;
    line-height: 1.85;
    color: #394a6d;
    margin-bottom: 14px;
}

.property-data-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.property-data-item {
    padding: 16px 18px;
    border-radius: 16px;
    background: #f6f8fb;
    border: 1px solid #e7edf5;
}

.property-data-item strong {
    display: block;
    color: #0c183f;
    font-size: 14px;
    margin-bottom: 6px;
}

.property-data-item span {
    color: #44516e;
    font-size: 16px;
}

/* =========================
   INMUEBLES RELACIONADOS
========================= */

.property-related {
    margin-top: 34px;
}

.property-related-header {
    margin-bottom: 18px;
}

.property-related-header h2 {
    font-size: 34px;
    line-height: 1.1;
    color: #0c183f;
    letter-spacing: -0.8px;
}

.property-related-slider {
    position: relative;
    overflow: hidden;
}

.property-related-viewport {
    width: 100%;
    overflow: hidden;
}

.property-related-track {
    display: flex;
    gap: 22px;
    width: max-content;
    will-change: transform;
}

.property-related-card {
    width: 390px;
    min-width: 390px;
    flex: 0 0 390px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #ffffff;
    border: 1px solid rgba(15, 28, 63, 0.06);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(15, 28, 63, 0.06);
}

.property-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(15, 28, 63, 0.08);
}

.property-related-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: #eef2f6;
}

.property-related-content {
    padding: 20px;
}

.property-related-content h3 {
    font-size: 24px;
    line-height: 1.2;
    color: #0c183f;
    margin-bottom: 10px;
}

.property-related-content p {
    font-size: 16px;
    line-height: 1.75;
    color: #4a5876;
    margin-bottom: 10px;
}

.property-related-price {
    font-size: 30px;
    font-weight: 800;
    color: #0b1538;
    letter-spacing: -0.8px;
}

.property-related-empty {
    font-size: 16px;
    color: #4a5876;
    padding: 18px 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .property-detail-top,
    .property-detail-grid {
        grid-template-columns: 1fr;
    }

    .property-summary-card {
        position: static;
    }

    .property-related-card {
        width: 320px;
        min-width: 320px;
        flex: 0 0 320px;
    }
}

@media (max-width: 700px) {
    .property-gallery-card,
    .property-summary-card,
    .property-section-card {
        padding: 20px;
        border-radius: 22px;
    }

    .property-data-list {
        grid-template-columns: 1fr;
    }

    .property-detail-title {
        font-size: 34px;
    }

    .property-detail-price {
        font-size: 44px;
    }

    .property-slider-arrow {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .property-slider-prev {
        left: 10px;
    }

    .property-slider-next {
        right: 10px;
    }

    .property-related-card {
        width: 280px;
        min-width: 280px;
        flex: 0 0 280px;
    }
}

/* =========================
   PAGINAS EN PREPARACION MOMENTANEO HASTA QUE HAYA MADRIID Y 
========================= */

.listing-placeholder-page {
  background: #f5f6f8;
  min-height: 100vh;
}

/* Usa el hero general que ya tienes en .listing-hero */
.listing-placeholder-hero {
  padding: 70px 40px;
  color: #ffffff;
}

.listing-placeholder-section {
  padding: 36px 20px 90px;
  background: #f5f6f8;
}

.listing-placeholder-box {
  width: min(900px, 92%);
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(12, 14, 39, 0.06);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(12, 14, 39, 0.08);
  padding: 52px 42px;
  text-align: center;
}

.listing-placeholder-badge {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eef3f9;
  color: #144375;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.listing-placeholder-box h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  color: #0c0e27;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}

.listing-placeholder-box p {
  font-size: 18px;
  line-height: 1.8;
  color: #52627d;
  max-width: 680px;
  margin: 0 auto 14px;
}

.listing-placeholder-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.listing-placeholder-btn,
.listing-placeholder-btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.listing-placeholder-btn {
  background: #144375;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(20, 67, 117, 0.18);
}

.listing-placeholder-btn:hover {
  background: #0c0e27;
  transform: translateY(-2px);
}

.listing-placeholder-btn-alt {
  background: #eef3f9;
  color: #144375;
  border: 1px solid #d7dfeb;
}

.listing-placeholder-btn-alt:hover {
  background: #e4ecf6;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .listing-placeholder-hero {
    padding: 56px 20px;
  }

  .listing-placeholder-box {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .listing-placeholder-box p {
    font-size: 16px;
  }

  .listing-placeholder-actions {
    flex-direction: column;
  }

  .listing-placeholder-btn,
  .listing-placeholder-btn-alt {
    width: 100%;
  }
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, #f5f6f8 0%, #eef2f5 100%);
}

.error-box {
  width: min(680px, 92%);
  background: #ffffff;
  border: 1px solid rgba(12, 14, 39, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(12, 14, 39, 0.08);
  padding: 48px 34px;
  text-align: center;
}

.error-badge {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eef3f9;
  color: #144375;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.error-box h1 {
  font-size: clamp(34px, 5vw, 54px);
  color: #0c0e27;
  margin-bottom: 16px;
  line-height: 1.08;
}

.error-box p {
  font-size: 18px;
  line-height: 1.8;
  color: #52627d;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.error-btn,
.error-btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.error-btn {
  background: #144375;
  color: #ffffff;
}

.error-btn:hover {
  background: #0c0e27;
  transform: translateY(-2px);
}

.error-btn-alt {
  background: #eef3f9;
  color: #144375;
  border: 1px solid #d7dfeb;
}

.error-btn-alt:hover {
  background: #e4ecf6;
  transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE GLOBAL MOVIL - CLAUDIU HOMES
   PEGAR AL FINAL DE STYLE.CSS
========================================================= */

/* --------- BASE --------- */
html, body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

body.menu-open {
  overflow: hidden;
}

/* --------- BOTON MENU MOVIL --------- */
.mobile-menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: all 0.25s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: 0.25s ease;
}

.header.menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.header.menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------- TOGGLE SUBMENUS MOVIL --------- */
.submenu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  border-radius: 10px;
  position: absolute;
  right: 0;
  top: 4px;
}

.submenu-toggle::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.dropdown.submenu-open .submenu-toggle::before {
  transform: rotate(-135deg);
}

/* --------- AJUSTES GENERALES TABLET --------- */
@media (max-width: 1100px) {
  .listing-layout,
  .property-detail-top,
  .property-detail-grid,
  .contact-hero-inner,
  .contact-services-grid,
  .services-grid-page {
    grid-template-columns: 1fr !important;
  }

  .filters-box,
  .property-summary-card {
    position: static !important;
    top: auto !important;
  }
}

/* --------- MENU MOVIL + ESTRUCTURA --------- */
@media (max-width: 1024px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-container {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px 18px !important;
  }

  .header-container::after {
    display: none !important;
  }

  .logo {
    justify-content: flex-start !important;
  }

  .logo img {
    width: 170px !important;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  nav {
    display: none !important;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: stretch !important;
  }

  .cta {
    display: none !important;
    grid-column: 1 / -1;
    width: 100%;
  }

  .header.menu-open nav {
    display: flex !important;
  }

  .header.menu-open .cta {
    display: block !important;
  }

  .menu {
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
    background: #111634;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 10px !important;
    margin-top: 6px !important;
  }

  .menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
  }

  .menu > li:last-child {
    border-bottom: none;
  }

  .menu > li > a {
    display: block;
    width: 100%;
    padding: 14px 44px 14px 8px;
    font-size: 16px !important;
  }

  .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .submenu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none;
    min-width: 100%;
    background: #0c0e27 !important;
    box-shadow: none !important;
    border-radius: 14px;
    margin: 0 0 10px;
    padding: 8px 0 !important;
  }

  .dropdown.submenu-open .submenu {
    display: block;
  }

  .submenu li a {
    color: #dfe6f2 !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
  }

  .tasacion-btn {
    display: flex !important;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    border-radius: 14px !important;
    padding: 15px 18px !important;
  }
}

/* --------- TABLET / MOVIL GENERAL --------- */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 56px 16px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 42px !important;
    line-height: 1.1;
    margin-bottom: 14px;
  }

  .hero-content p,
  .hero-subtitle {
    font-size: 18px !important;
    line-height: 1.5;
    margin-bottom: 28px !important;
  }

  .search-wrapper {
    border-radius: 22px !important;
  }

  .search-panel {
    grid-template-columns: 1fr !important;
    padding: 22px 18px 14px !important;
    gap: 16px !important;
  }

  .search-field {
    min-width: 100% !important;
  }

  .search-button {
    width: 100%;
    min-width: 100%;
  }

  .search-helper-text {
    padding: 0 18px 20px !important;
    font-size: 13px !important;
  }

  .home-cities-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .listing-hero {
    padding: 48px 20px !important;
  }

  .listing-hero h1 {
    font-size: 34px !important;
    line-height: 1.15;
  }

  .listing-hero p {
    font-size: 16px !important;
    line-height: 1.6;
  }

  .listing-layout {
    margin-top: 24px !important;
    padding: 0 16px !important;
    gap: 20px !important;
  }

  .filters-box {
    padding: 20px !important;
    border-radius: 18px !important;
  }

  .listing-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px !important;
  }

  .listing-topbar h2 {
    font-size: 24px !important;
  }

  .listing-sort {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .listing-sort select {
    width: 100%;
  }

  .property-card {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    border-radius: 18px !important;
  }

  .property-image img {
    min-height: 240px !important;
  }

  .property-info {
    padding: 20px !important;
  }

  .property-info h3 {
    font-size: 28px !important;
    line-height: 1.2;
  }

  .property-location {
    font-size: 16px !important;
  }

  .property-price {
    font-size: 32px !important;
    line-height: 1.1;
  }

  .property-description {
    font-size: 16px !important;
  }

  .property-link {
    width: 100%;
    text-align: center;
  }

  .property-detail-page {
    padding: 26px 0 60px !important;
  }

  .property-detail-container {
    width: min(100%, 94%) !important;
  }

  .property-detail-breadcrumb {
    font-size: 13px !important;
    line-height: 1.6;
    word-break: break-word;
  }

  .property-gallery-card,
  .property-summary-card,
  .property-section-card {
    padding: 20px !important;
    border-radius: 22px !important;
  }

  .property-slider-track {
    aspect-ratio: 4 / 3 !important;
  }

  .property-detail-title {
    font-size: 34px !important;
  }

  .property-detail-price {
    font-size: 42px !important;
  }

  .property-detail-lead,
  .property-section-card p {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  .property-data-list {
    grid-template-columns: 1fr !important;
  }

  .property-related-header h2 {
    font-size: 28px !important;
  }

  .property-related-card {
    width: 82vw !important;
    min-width: 82vw !important;
    flex: 0 0 82vw !important;
  }

  .contact-hero,
  .contact-section,
  .listing-placeholder-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .footer {
    padding-top: 46px !important;
  }

  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 16px !important;
  }

  .footer-brand p {
    margin: 0 auto !important;
  }

  .footer-social,
  .footer-legal {
    justify-content: center !important;
  }

  .footer-map {
    display: inline-flex;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --------- MOVIL PEQUEÑO --------- */
@media (max-width: 600px) {
  .hero {
    padding: 44px 14px !important;
  }

  .hero-content h1 {
    font-size: 30px !important;
  }

  .hero-content p,
  .hero-subtitle {
    font-size: 16px !important;
  }

  .search-tab {
    font-size: 16px !important;
    height: 62px !important;
  }

  .search-field label {
    font-size: 13px !important;
  }

  .search-field select {
    height: 56px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
  }

  .search-button {
    height: 56px !important;
    border-radius: 16px !important;
    font-size: 18px !important;
  }

  .page-tag {
    font-size: 12px !important;
  }

  .listing-hero h1 {
    font-size: 30px !important;
  }

  .listing-topbar h2 {
    font-size: 22px !important;
  }

  .property-image img {
    min-height: 210px !important;
  }

  .property-info h3 {
    font-size: 24px !important;
  }

  .property-price {
    font-size: 28px !important;
  }

  .property-features {
    gap: 8px !important;
  }

  .property-features span {
    font-size: 13px !important;
    padding: 7px 10px !important;
  }

  .property-detail-title {
    font-size: 28px !important;
  }

  .property-detail-price {
    font-size: 34px !important;
  }

  .property-slider-arrow {
    width: 42px !important;
    height: 42px !important;
    font-size: 20px !important;
  }

  .property-related-card {
    width: 86vw !important;
    min-width: 86vw !important;
    flex: 0 0 86vw !important;
  }

  .whatsapp-float {
    width: 56px !important;
    height: 56px !important;
    right: 14px !important;
    bottom: 14px !important;
  }
}