/* MaterialDesignIcons.com */
@font-face{
    font-family:"Material Design Icons";
    src:url("../fonts/materialdesignicons-webfont.eot?v=2.1.99");
    src:url("../fonts/materialdesignicons-webfont.eot?#iefix&v=2.1.99") format("embedded-opentype"),url("../fonts/materialdesignicons-webfont.woff2?v=2.1.99") format("woff2"),url("../fonts/materialdesignicons-webfont.woff?v=2.1.99") format("woff"),url("../fonts/materialdesignicons-webfont.ttf?v=2.1.99") format("truetype"),url("../fonts/materialdesignicons-webfont.svg?v=2.1.99#materialdesigniconsregular") format("svg");
    font-weight:normal;
    font-style:normal
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --green: #1a7a3c;
    --green-light: #2ea04f;
    --green-pale: #e8f5ed;
    --green-mid: #c5e8d0;
    --text-dark: #0f2016;
    --text-mid: #3a5244;
    --text-muted: #7a9585;
    --bg: #f7faf8;
    --white: #ffffff;
    --shadow: 0 8px 32px rgba(26,122,60,0.10);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 16px;
    --radius-sm: 10px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { 
    scroll-behavior: smooth; 
  }

  body {
    font-family: Titillium Web;
    background: #fff;
    color: var(--text-dark);
  }

  input,
  select,
  textarea {
      font-size: 16px;
  }

  .form-control{
    font-size:16px;
  }

  .mobile-input{
    font-size:16px;
  }

  .m-2 {
    margin: .5rem !important;
  }
  .start-0 {
    left: 0 !important;
  }
  .top-0 {
    top: 0 !important;
  }
  /* ===================================
     GRID SYSTEM — row / col
  =================================== */
  .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 16px;
  }
  .container-fluid {
      width: 100%;
      padding: 0 16px;
  }
  .row {
      display: flex;
      flex-wrap: wrap;
      margin: 0 -12px;
  }
  /* Base — mobile first (100% por defecto) */
  [class*="col"] {
      padding: 0 12px;
      width: 100%;
      box-sizing: border-box;
  }
  /* ===== COL sin breakpoint (siempre) ===== */
  .col-1  { width: 8.333%; }
  .col-2  { width: 16.666%; }
  .col-3  { width: 25%; }
  .col-4  { width: 33.333%; }
  .col-5  { width: 41.666%; }
  .col-6  { width: 50%; }
  .col-7  { width: 58.333%; }
  .col-8  { width: 66.666%; }
  .col-9  { width: 75%; }
  .col-10 { width: 83.333%; }
  .col-11 { width: 91.666%; }
  .col-12 { width: 100%; }

  /* ===== COL-SM — 576px ===== */
  @media (min-width: 576px) {
      .col-sm-1  { width: 8.333%; }
      .col-sm-2  { width: 16.666%; }
      .col-sm-3  { width: 25%; }
      .col-sm-4  { width: 33.333%; }
      .col-sm-5  { width: 41.666%; }
      .col-sm-6  { width: 50%; }
      .col-sm-7  { width: 58.333%; }
      .col-sm-8  { width: 66.666%; }
      .col-sm-9  { width: 75%; }
      .col-sm-10 { width: 83.333%; }
      .col-sm-11 { width: 91.666%; }
      .col-sm-12 { width: 100%; }
  }

  /* ===== COL-MD — 768px ===== */
  @media (min-width: 768px) {
      .col-md-1  { width: 8.333%; }
      .col-md-2  { width: 16.666%; }
      .col-md-3  { width: 25%; }
      .col-md-4  { width: 33.333%; }
      .col-md-5  { width: 41.666%; }
      .col-md-6  { width: 50%; }
      .col-md-7  { width: 58.333%; }
      .col-md-8  { width: 66.666%; }
      .col-md-9  { width: 75%; }
      .col-md-10 { width: 83.333%; }
      .col-md-11 { width: 91.666%; }
      .col-md-12 { width: 100%; }
  }

  /* ===== COL-LG — 992px ===== */
  @media (min-width: 992px) {
      .col-lg-1  { width: 8.333%; }
      .col-lg-2  { width: 16.666%; }
      .col-lg-3  { width: 25%; }
      .col-lg-4  { width: 33.333%; }
      .col-lg-5  { width: 41.666%; }
      .col-lg-6  { width: 50%; }
      .col-lg-7  { width: 58.333%; }
      .col-lg-8  { width: 66.666%; }
      .col-lg-9  { width: 75%; }
      .col-lg-10 { width: 83.333%; }
      .col-lg-11 { width: 91.666%; }
      .col-lg-12 { width: 100%; }
  }

  /* ===== COL-XL — 1200px ===== */
  @media (min-width: 1200px) {
      .col-xl-1  { width: 8.333%; }
      .col-xl-2  { width: 16.666%; }
      .col-xl-3  { width: 25%; }
      .col-xl-4  { width: 33.333%; }
      .col-xl-5  { width: 41.666%; }
      .col-xl-6  { width: 50%; }
      .col-xl-7  { width: 58.333%; }
      .col-xl-8  { width: 66.666%; }
      .col-xl-9  { width: 75%; }
      .col-xl-10 { width: 83.333%; }
      .col-xl-11 { width: 91.666%; }
      .col-xl-12 { width: 100%; }
  }

  /* ===== UTILIDADES ===== */
  .g-1  { gap: 4px; }
  .g-2  { gap: 8px; }
  .g-3  { gap: 16px; }
  .g-4  { gap: 24px; }
  .g-5  { gap: 32px; }

  .mb-1 { margin-bottom: 4px; }
  .mb-2 { margin-bottom: 8px; }
  .mb-3 { margin-bottom: 16px; }
  .mb-4 { margin-bottom: 24px; }
  .mb-5 { margin-bottom: 32px; }

  .align-items-center {
    align-items: center !important;
  }
  .justify-content-between {
    justify-content: space-between !important;
  }
  .d-flex {
    display: flex !important;
  }
  .mt-0 {
    margin-top: 0 !important;
  }
  .mt-1 {
    margin-top: 0.375rem !important;
  }
  .mt-2 {
    margin-top: 0.75rem !important;
  }
  .mt-3 {
    margin-top: 1.5rem !important;
  }
  .mt-4 {
    margin-top: 2.25rem !important;
  }
  .mt-5 {
    margin-top: 4.5rem !important;
  }
  .mt-auto {
    margin-top: auto !important;
  }
  .text-center{
    text-align: center !important;
  }
  .pb-4{
    padding-bottom: 1.5rem !important;
  }
  /* ===== NAVBAR ===== */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,1);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26,122,60,0.08);
    padding: 0 5%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  }
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Titillium Web;
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
  }
  .nav-logo svg { 
    width: 32px; 
    height: 32px; 
  }
  .img-fluid {
    max-width: 100%;
    height: 80px;
  }
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .fw-bold {
    font-weight: 700 !important;
  }
  .me-1 {
    margin-right: .25rem !important;
  }
  .me-2 {
    margin-right: .5rem !important;
  }
  .mz-1 {
    margin-left: .35rem !important;
  }
  .color-white{
    color: white !important;
  }
  .d-block {
    display: block !important;
  }
  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }
  .nav-links a {
    font-family: samsungsharpsans-medium, sans-serif;
    text-decoration: none;
    font-weight: 500;
    color: rgba(0,0,0,.9);
    transition: color 0.2s;
    font-size: 0.95rem;
  }
  .nav-links a:hover { 
    color: var(--green); 
  }
  .nav-links a.active {
    color: var(--green) !important;
  }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .btn-contact {
    background: #D8AA31;
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: Titillium Web;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
  }
  .btn-contact:hover { 
    background: #C0931B; 
    transform: translateY(-1px); 
  }
  .btn-primary {
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: Titillium Web;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(26,122,60,0.25);
    text-decoration: none;
  }
  .btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,122,60,0.35);
  }
  .btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--green-mid);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    font-family: Titillium Web;
    transition: all 0.2s;
    text-decoration: none;
  }
  .btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
  }
  .btn-mas-propiedades{
    font-family: Titillium Web;
    font-size: 16px;
    font-weight: 600;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    align-items: center;
    background: var(--green);
    color: var(--white);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(26,122,60,0.25);
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    min-width: 244px;
    min-height: 54px;
    justify-content: center;
  }
  .btn-mas-propiedades:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,122,60,0.35);
  }
  .nav-avatar {
    width: 38px; 
    height: 38px;
    border-radius: 50%;
    background: var(--green);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
  }
  .btn-whatsapp{
    width: 38px; 
    height: 38px;
    border-radius: 50%;
    background: var(--green);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
  }
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
  }
  /* ===== HERO ===== */
  .hero {
    min-height: 65vh;
    padding: 140px 5% 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('../img/fondo_bienes.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000 none repeat scroll 0 0;
    opacity: 0.7;
  }
  .hero-content { 
    position: relative; z-index: 2; 
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: pulse 2s infinite;
  }
  .hero-badge-subtitulo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #1a7a3c;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
  }
  .hero h1 {
    font-family: samsungsharpsans-bold;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.12;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 1.11px;
  }
  .hero p {
    font-family: AvenirLTStd-Roman;
    font-size: 1.10rem;
    color: #fff;
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 30px;
    font-weight: 300;
  }
  .display-5 {
    font-size: 3rem;
  }
  .hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 38px;
  }
  .hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .avatars-stack {
    display: flex;
  }
  .avatars-stack .av {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 2.5px solid var(--white);
    background: var(--green-mid);
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    overflow: hidden;
  }
  .avatars-stack .av:first-child { 
    margin-left: 0; 
  }
  .av-plus {
    background: var(--green) !important;
    color: var(--white) !important;
    font-size: 12px !important;
  }
  .stat-text { 
    font-size: 13px; 
    color: #fff; 
  }
  .stat-text strong { 
    display: block; 
    font-size: 16px; 
    font-weight: 600; 
    color: #fff; 
  }
  /* ===== HERO IMAGE ===== */
  .hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  .hero-img-wrap {
    width: 100%;
    max-width: 540px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-mid) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    position: relative;
  }
  .house-illustration {
    width: 90%;
    padding-bottom: 0;
    position: relative;
  }
  .house-svg { 
    width: 100%; 
    height: auto; 
  }
  .floating-card {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 99px;
    padding: 10px 16px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  .floating-card.top-right {
    top: 20%;
    right: 100px;
    animation-delay: 0.5s;
  }
  .floating-card.bottom-left {
    bottom: 20%;
    left: 100px;
    animation-delay: 1s;
  }
  .floating-card.top-right-two {
    bottom: 100px;
    right: 300px;
    animation-delay: 0.5s;
  }
  .fc-icon {
    width: 36px; height: 36px;
    border-radius: 24px;
    background-color: #D8AA31;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .fc-icon svg { 
    width: 20px; 
    height: 20px; 
  }
  .fc-title { 
    font-family: Titillium Web;
    font-size: 13px; 
    font-weight: 600; 
    color: #fff; 
    letter-spacing: 0.5px;
  }
  .fc-sub{ 
    font-size: 11px; 
    color: var(--text-muted); 
  }
  /* ===== PARTNERS ===== */
  .partners {
    padding: 40px 5%;
    display: flex;
    align-items: center;
    gap: 40px;
    overflow-x: auto;
    border-top: 1px solid var(--green-mid);
    border-bottom: 1px solid var(--green-mid);
    background: var(--white);
  }
  .partners-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
  }
  .partner-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: opacity 0.2s;
    white-space: nowrap;
  }
  .partner-logo:hover { 
    opacity: 0.9; 
  }
  .partner-logo svg { 
    width: 28px; 
    height: 28px; 
  }
  .partner-logo span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
  }

  /* ===== CARD PROPIEDADES ====== */
  .card {
    background: #f5f5f5 !important;
  }
  /* Property cards */
  .property-card{
    transition:transform .2s ease,box-shadow .2s ease;
    border: medium none;
    /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);*/
    border: 1px solid #e4e4e4;
    border-radius: 16px;
  }
  .property-img{
    height:200px;
    object-fit:cover
  }
  .price{
    color:var(--brand-red);
    font-weight:700
  }
  .text-precio{
    font-size: 23px;
    margin-bottom: 3px !important;
    font-weight: 400;
    display: flex;
    font-family: "Lexend", Sans-serif;
    color:#c08c38 !important;
  }
  .text-address{
    font-family: "Lexend", Sans-serif;
    font-size: 15px;
    color: #0C0C0F;
    font-weight: 500;
  }
  .text-area{
    color: #000;
    font-size: 14px;
    font-family: AvenirLTStd-Roman,sans-serif;
    margin-bottom: 0px !important;
  }
  .text-address-1{
    color: #000;
    font-size: 13px;
    font-family: "Lexend", Sans-serif;
    line-height: 1.5;
  }
  .text-publicacion{
    font-size: 12px;
    color: #595959;
    font-family: AvenirLTStd-Roman,sans-serif;
    margin-bottom: 0px !important;
    align-content: center;
  }
  .text-badge{
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    align-content: center;
    font-family: AvenirLTStd-Roman,sans-serif;
    background: #f7f7f7;
    color: #000;
    z-index: 999;
  }
  .text-estado-propiedad{
    color: #000;
    background-color: #fff;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    align-content: center;
    font-family: AvenirLTStd-Roman,sans-serif;
    z-index: 999;
  }
  .img-card {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
  /* Utilities */
  .rounded-2xl{
    border-radius:1rem
  }
  .property-card .img-card {
    overflow: hidden;      /* recorta lo que sobresalga */
  }
  .property-card .carousel-inner,
  .property-card .carousel-item,
  .property-card .property-img {
    border-radius: inherit;   /* hereda el mismo radio */
  }
  .position-relative {
    position: relative !important;
  }
  /* ===== PROPERTIES SECTION ===== */
  .section {
    padding: 80px 5%;
    scroll-margin-top: 100px;
  }
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
  }
  .section-label {
    font-family: samsungsharpsans-medium, sans-serif;
    font-size: 1.1rem !important;
    font-weight: 400;
    color: #1a7a3c;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .section-title {
    font-family: "Lexend", Sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #3a3a3a;
    line-height: 1.2;
  }
  .section-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.7;
    text-align: right;
    font-weight: 300;
  }
  /* ===== PROPERTY CARDS ===== */
  .properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .prop-card {
    background: #f5f5f5;
    border-radius: 16px;
    border: 1px solid #e4e4e4;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
  }
  .prop-card:hover {
    transform: translateY(-6px);
  }
  .prop-img {
    width: 100%;
    height: 200px;
    background: var(--green-mid);
    position: relative;
    overflow: hidden;
  }
  .prop-img-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .prop-badge {
    position: absolute;
    top: 12px; 
    left: 12px;
    font-size: 12px;
    font-weight: 400;
    padding: 8px 10px;
    border-radius: 0.375rem;
    font-family: AvenirLTStd-Roman,sans-serif;
    background: #f7f7f7;
    color: #000;
  }
  .prop-fav {
    position: absolute;
    top: 12px; 
    right: 12px;
    padding: 8px 10px;
    background: var(--white);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 400;
    font-family: AvenirLTStd-Roman,sans-serif;
    color: #000;
  }
  .prop-body { 
    padding: 18px 20px 20px; 
  }
  .prop-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
  }
  .prop-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
  }
  .prop-location svg { 
    width: 14px; 
    height: 14px; 
    flex-shrink: 0; 
  }
  .prop-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 14px;
  }
  .prop-price span {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
  }
  .prop-meta {
    display: flex;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid #e4e4e4;
  }
  .prop-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #222222;
    font-weight: 500;
  }
  .prop-meta-item svg { 
    width: 14px; 
    height: 14px; 
  }

  /* ======= SERVICIOS =============== */
  .bg-light{
    background-image: url("../img/fondo-disabled-section-2.png");
  }
  .area-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
  }
  .text-servicios {
    font-family: "Lexend", Sans-serif;
    font-size: 35px;
    line-height: 32px;
    color: #3a3a3a;
    text-align: left;
  }
  .area-card img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    filter: brightness(.94);
  }
  .titulo-servicios {
    color: #457f39;
    font-family: "Lexend", Sans-serif;
    font-size: 18px;
    margin-top: 14px;
    font-weight: 400;
    text-transform: uppercase;
  }
  .subtitle-servicios {
    color: #454545;
    font-family: "Lexend", Sans-serif;
    font-size: 16px;
    font-weight: 300;
    margin: 5px 0px 0px 0px;
  }

  /* =========== PORQUE ELEGIRNOS ====== */
  .paragraph-elegirnos {
    color: #454545;
    font-family: samsungsharpsans-medium, sans-serif;
    font-size: 18px;
    letter-spacing: 0.3px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 1rem;
    line-height: 25px;
  }
  .lista-elegirnos {
    color: #454545;
    font-family: samsungsharpsans-medium, sans-serif;
    font-size: 15px;
    letter-spacing: 0.3px;
  }
  .img-elegirnos-icon{
    width: 80%;
  }
  .list-unstyled {
    padding-left: 0;
    list-style: none;
  }
  ul, ol {
    padding-left: 0px !important;
  }
  .texto-success{
    color: rgba(25,135,84,1) !important;
  }
  .feature-box {
    border-radius: 1rem;
    border: 1px solid #cbd6dc;
    padding: 1.25rem;
    backdrop-filter: saturate(120%);
    box-shadow: 0 3px 8px rgba(93,115,126,.1);
  }
  .img-elegirnos-icon {
    width: 80%;
  }
  /* ===================================
   SECCIÓN AGENTES
  =================================== */
  .bg-light-asesores{
    background: #f3f7fd !important;
  }
  .agents-container {
    overflow: hidden;  /* este es el que ocultaba los dots */
    position: relative;
    touch-action: pan-y;
  }
  /* Track */
  .agents-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
  }
  /* Card */
  .agent-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0px 6px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
    min-width: calc(18% - 18px);
    flex-shrink: 0;
  }
  .agent-card:hover { transform: translateY(-2px); }
  /* Imagen — height obligatorio */
  .agent-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    height: 300px;        /* 👈 obligatorio */
  }
  .agent-img-wrap img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
  }
  .agent-card:hover .agent-img-wrap img { transform: scale(1.05); }
  /* Social hover */
  .agent-social {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
  }
  .agent-card:hover .agent-social {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  .agent-social-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--white);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s, color 0.2s;
    border: none; cursor: pointer;
  }
  .agent-name{
    font-family: "Lexend", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3a3a3a;
  }
  .agent-role {
    font-family: samsungsharpsans-medium,sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.86;
    color: #696969;
  }
  .text-agentes-destacados{
    font-family: "Lexend", Sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3a3a3a;
    line-height: 1.86;
  }
  .agent-social-btn:hover { background: var(--green); color: var(--white); }
  /* Body */
  .agent-body { padding: 14px 16px 18px; }
  /* Dots — corregido */
  .agents-dots {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 10px;
    gap: 8px;
  }
  .agents-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s;
  }
  .agents-dot.active {
    background: green;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(26,122,60,0.18);
  }
  /* Responsive */
  @media (max-width: 1024px) { .agent-card { min-width: calc(33.33% - 16px); } }
  @media (max-width: 768px)  { .agent-card { min-width: calc(50% - 12px); } }
  @media (max-width: 576px)  {
    .agent-card { min-width: 100%; }
  }
  /* ==== CONTACTO ========= */
  .bg-contacto {
    background-image: url(../img/fondo-disabled-section.png);
    width: 100%;
    background-position: center center;
    background-size: cover;
  }
  .section-title-contact{
    font-size: 56px;
    font-family: "Lexend", Sans-serif;
    font-weight: 700;
    color: #3a3a3a;
    line-height: 1.2;
    color: #1a7a3c;
  }
  /* ===== PLACEHOLDER HOUSE SVG ===== */
  .house-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--green-pale), var(--green-mid));
  }
  .house-placeholder svg { 
    width: 60%; 
    height: 60%; 
    opacity: 0.4; 
  }
  /* ===== CATEGORIES ===== */
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .cat-card-page {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    box-shadow: var(--shadow-card);
  }
  .cat-card-page:hover,
  .cat-card-page.active {
    border-color: var(--green);
    transform: translateY(-4px);
  }
  .cat-card-page.active { 
    background: var(--green-pale); 
  }
  .cat-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--green-pale);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cat-icon-wrap svg { 
    width: 28px; 
    height: 28px; 
  }
  .cat-card-page h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
  }
  .cat-card-page p {
    font-size: 11px;
    color: var(--text-muted);
  }
  /* ======= BTN WHATSAPP === */
  .div_btn_whatsapp {
    top: 150px;
    position: fixed;
    right: 0;
    z-index: 11;
    border: 0;
    box-shadow: none;
    outline: none !important;
    padding: 0;
  }
  .div_btn_whatsapp .btn_whatsapp {
    background-color: transparent;
    border: 0;
    box-shadow: none;
    outline: none !important;
    padding: 0;
  }
  /* ===== FOOTER ===== */
  .section-padding-footer {
    padding-top: 55px;
    padding-bottom: 4px;
  }
  .bgs-footer-1 {
    background-color: #005f27;
    color: #ffffff;
  }
  .texto-footer-menu{
    color: #fff;
    font-family: samsungsharpsans-bold;
    font-size: 18px !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
  }
  .navigation h6::after {
    display: block;
    height: 3px;
    font-weight: bold;
    background-color: #AE810A;
    content: " ";
    width: 50px;
    margin-top: .5rem;
    margin-bottom: 1.5rem;
  }
  .texto-pie-footer {
    font-family: AvenirLTStd-Roman;
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 1rem;
  }
  .circulo-redes a{
    border-radius: 50px;
    border: 2px solid #fff;
    background: #fff;
    display: inline-block;
    height: 35px;
    font-size: 16px;
    text-align: center;
    width: 35px;
    color: #000;
    line-height: 23px;
    text-decoration: none;
    padding: 5px 2px;
    cursor: pointer;
  }
  .circulo-redes a:hover{
    color: #fff;
    background: #AE810A;
    border: 2px solid #AE810A;
    text-decoration: none;
  }
  .wd-navigation .nav-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 21.86px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    color: #161e2d;
  }
  .wd-navigation .nav-item.active {
    background-color: #392F2D;
    color: #ffffff;
  }
  .wd-navigation .nav-item:hover{

  }
  .border-secondary {
    border-color: #fff !important;
    border-top: 1px solid;
    opacity: .25;
    margin: 1rem 0;
  }
  .footer ul li {
    line-height: 34px;
    margin-bottom: 0rem;
  }
  .text-p-footer {
    font-size: 16px;
    color: #fff !important;
  }
  .text-reset {
    text-decoration: none !important;
  }
  /* ===== MOBILE MENU ===== */
  .mobile-menu {
    position: fixed;
    top: 95px; 
    left: 0; 
    right: 0;
    background: var(--white);
    padding: 24px 5%;
    border-bottom: 1px solid var(--green-mid);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    /* animación */
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.3s ease;
  }
  /* estado visible */
  .mobile-menu.open { 
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-menu a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    border-bottom: 1px solid var(--green-pale);
  }
  #cookieBanner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 14px 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 8px rgba(93,115,126,.1),0 -4px 8px rgba(93,115,126,.1);
  }
  #cookieBanner p {
    font-size: 13px;
    color: #555;
    line-height: 1.55;
    margin: 0; flex: 1;
  }
  #cookieBanner a {
    color: #222;
    text-decoration: underline;
  }
  #cookieBanner button {
    background: #1e662e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
  }
  #cookieBanner button:hover {
    background: #17531f;
  }
@media (max-width: 600px) {
  #cookieBanner {
    flex-direction: column;
    align-items: flex-start;
  }
  #cookieBanner button { width: 100%; }
}

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 768px) {
    .nav-links, .nav-avatar { display: none; }
    .hamburger { display: flex; }
    .text-agentes-destacados {
      line-height: 1;
      margin-bottom: 20px;
    }
    .section-title-contact{
      font-size: 50px;
    }

    .hero {
      grid-template-columns: 1fr;
      padding-top: 95px;
      text-align: center;
      min-height: 70vh;
    }
    .hero-visual { 
      order: -1; 
    }
    .hero-img-wrap { 
      max-width: 320px; 
      margin: 0 auto; 
    }
    .hero-btns { 
      justify-content: center; 
    }
    .hero-stats { 
      justify-content: center; 
    }
    .hero p { 
      margin: 0 auto 36px; 
      font-size: 0.98rem;
    }
    .floating-card.top-right { 
      right: 0; 
      top: 5%; 
      display:none;
    }
    .floating-card.bottom-left { 
      left: 0; 
      display:none;
    }
    .section-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
    .section-desc { 
      text-align: left; 
    }
    .properties-grid { 
      grid-template-columns: 1fr; 
    }
    .categories-grid { 
      grid-template-columns: repeat(2, 1fr); 
    }
    .footer-grid { 
      grid-template-columns: 1fr; gap: 24px; 
    }
    .footer-bottom { 
      flex-direction: column; gap: 8px; text-align: center; 
    }
    .partners { 
      gap: 24px; 
    }
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important;
    }
    .mobile-input{
      font-size: 16px;
    }
  }
  @media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { 
      font-size: 40px; 
      letter-spacing: 1.12px;
    }
  }
  /* ===== ANIMATIONS ===== */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* ── Loader Buzón ── */
  #loaderBuzon {
      position:   fixed;
      inset:      0;
      z-index:    99999;
      background: rgba(0, 0, 0, 0.5);
      display:    flex;
      align-items:     center;
      justify-content: center;
  }

  .loader-buzon-box {
      background:    #fff;
      border-radius: 12px;
      padding:       28px 36px;
      display:       flex;
      flex-direction: column;
      align-items:   center;
      gap:           14px;
  }

  .loader-buzon-spinner {
      width:        42px;
      height:       42px;
      border:       4px solid #e0e0e0;
      border-top:   4px solid #1e662e;
      border-radius: 50%;
      animation:    girarLoader 0.7s linear infinite;
  }

  @keyframes girarLoader {
      to { transform: rotate(360deg); }
  }

  .loader-buzon-texto {
      font-size:   14px;
      color:       #555;
      margin:      0;
      font-family: AvenirLTStd-Roman, sans-serif;
  }
  /* ── Alerta Buzón ── */
  .alerta-buzon-overlay {
      position:        fixed;
      inset:           0;
      z-index:         999999;
      background:      rgba(0, 0, 0, 0.60);
      display:         flex;
      align-items:     center;
      justify-content: center;
      padding:         16px;
  }

  .alerta-buzon-box {
      background:    #fff;
      border-radius: 12px;
      padding:       28px 24px 24px;
      max-width:     360px;
      width:         100%;
      text-align:    center;
  }

  .alerta-buzon-icono {
      width:         44px;
      height:        44px;
      border-radius: 50%;
      display:       flex;
      align-items:   center;
      justify-content: center;
      font-size:     20px;
      font-weight:   700;
      margin:        0 auto 14px;
  }

  .alerta-buzon-titulo {
      font-size:     16px;
      font-weight:   700;
      color:         #222;
      margin-bottom: 8px;
  }

  .alerta-buzon-texto {
      font-size:     14px;
      color:         #555;
      margin-bottom: 20px;
      line-height:   1.5;
  }

  .alerta-buzon-btn {
      padding:       10px 28px;
      color:         #fff;
      border:        none;
      border-radius: 50px;
      font-size:     14px;
      font-weight:   600;
      cursor:        pointer;
      transition:    opacity 0.2s;
  }
  .alerta-buzon-btn:hover { opacity: 0.85; }
  /* ----- Modal Precalificar ---- */
  #modalPrecalificacion {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .img-modal-alertas{
    width: 100px;
  }
  body.modal-open{
    overflow:hidden !important;
    touch-action:none;
  }
  .modal{
    overflow-y:auto;
    position:fixed;
  }
  .modal-dialog{
    margin:1rem auto;
  }
  .modal-body{
    max-height:85vh;
    overflow-y:auto;
  }
  .modal input,
  .modal select,
  .modal textarea{
    font-size:16px;
  }

  /* ================================================
   FIX RESPONSIVE — 1366x768 con escala 125%
   Cubre el rango 992px – 1199px
   ================================================ */

@media (max-width: 1199px) {

    /* ── Navbar ── */
    .nav-links {
        gap: 18px;
    }
    .nav-links a {
        font-size: 0.85rem;
    }
    .btn-contact {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* ── Hero ── */
    .hero {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
        min-height: 60vh;
    }
    .hero-visual {
        display: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        margin: 0 auto 24px;
        font-size: 1rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }

    /* ── Cards propiedades ── */
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prop-card {
        width: 100%;
    }

    /* ── Sección elegir / features ── */
    .col-lg-5 {
        width: 100%;
    }
    .col-lg-7 {
        width: 100%;
    }
    .lista-elegirnos {
        margin-bottom: 1.5rem;
    }

    /* ── Feature boxes (iconos) ── */
    .feature-box {
        padding: 1rem 0.5rem;
    }
    .img-elegirnos-icon {
        width: 48px;
        height: 48px;
    }

    /* ── Footer ── */
    .footer .col-md-4 {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .footer .col-md-2 {
        width: 50%;
    }
    .bgs-footer-1 .row {
        flex-wrap: wrap;
    }
    .circulo-redes {
        margin-bottom: 1rem;
    }

}

/* ================================================
   FIX ADICIONAL — 1024px (tablets landscape)
   ================================================ */
@media (max-width: 1024px) {

    /* ── Navbar → mostrar hamburguesa ── */
    .nav-links {
        display: none;
    }
    .nav-right .btn-contact {
        display: none;
    }
    .hamburger {
        display: flex;
    }

    /* ── Cards propiedades ── */
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* ── Footer columnas ── */
    .footer .col-md-2 {
        width: 50%;
        margin-bottom: 1rem;
    }

    /* ── Párrafo elegirnos ── */
    .paragraph-elegirnos {
        font-size: 15px;
        line-height: 1.6;
    }
}
