/* Estilos principales de la portada (index.html y en/index.html). Antes estaban dentro del HTML. */
    /* ===== VARIABLES ===== */
    :root {
      --blue:       #003087;
      --blue-mid:   #1a4db5;
      --blue-light: #2e6be0;
      --blue-pale:  #e8edf8;
      --red:        #E31837;
      --red-dark:   #b8102a;
      --gold:       #8a6832;
      --gray-100:   #f5f5f8;
      --gray-200:   #ebebf0;
      --gray-300:   #d8d8e2;
      --gray-400:   #a8a8b8;
      --gray-600:   #5a5a70;
      --gray-800:   #2a2a3a;
      --white:      #ffffff;
      --text:       #1e1e2c;
      --text-2:     #3a3a50;
      --text-3:     #6a6a80;
    }

    /* ===== RESET ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html {
      scroll-behavior: smooth;
      scrollbar-width: thin;
      scrollbar-color: var(--blue) var(--gray-300);
    }
    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: var(--gray-200); }
    ::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--gray-100);
      color: var(--text);
      overflow-x: hidden;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }

    /* ===== NAV ===== */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.3rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: background 0.4s, backdrop-filter 0.4s, padding 0.3s, box-shadow 0.4s;
    }
    nav.scrolled {
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      padding: 0.85rem 2.5rem;
      box-shadow: 0 1px 24px rgba(0,48,135,0.1);
    }
    .nav-logo { display: flex; flex-direction: column; line-height: 1; }
    .nav-logo .name {
      font-family: 'Playfair Display', serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--white);
      transition: color 0.4s;
    }
    nav.scrolled .nav-logo .name { color: var(--blue); }
    .nav-logo .brand {
      font-size: 0.6rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
      margin-top: 3px;
      transition: color 0.4s;
    }
    nav.scrolled .nav-logo .brand { color: var(--red); }

    .nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
    .nav-links a {
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.85);
      transition: color 0.3s;
      position: relative;
    }
    nav.scrolled .nav-links a { color: var(--text-2); }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0;
      width: 0; height: 1.5px;
      background: var(--red);
      transition: width 0.3s;
    }
    .nav-links a:hover::after { width: 100%; }
    .nav-links a:hover { color: var(--white); }
    nav.scrolled .nav-links a:hover { color: var(--blue); }

    .nav-cta {
      background: var(--red) !important;
      color: white !important;
      padding: 0.55rem 1.4rem;
      border-radius: 3px;
      transition: background 0.3s, transform 0.2s !important;
    }
    .nav-cta::after { display: none !important; }
    .nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); color: white !important; }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 24px; height: 2px;
      background: var(--white);
      border-radius: 1px;
      transition: background 0.4s;
    }
    nav.scrolled .hamburger span { background: var(--text); }

    /* Mobile nav */
    .nav-mobile {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--blue);
      z-index: 99;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2.5rem;
    }
    .nav-mobile.open { display: flex; }
    .nav-mobile a {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      font-weight: 700;
      color: var(--white);
      transition: color 0.3s;
    }
    .nav-mobile a:hover { color: var(--red); }
    .nav-close {
      position: absolute;
      top: 1.5rem; right: 2rem;
      font-size: 2rem;
      cursor: pointer;
      color: rgba(255,255,255,0.6);
      background: none;
      border: none;
      line-height: 1;
    }

    /* ===== HERO ===== */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: var(--blue);
      background-image: url('/assets/foto-daniel.jpg');
      background-size: cover;
      background-position: center 20%;
    }
    .hero-bg {
      position: absolute; inset: 0;
      background:
        linear-gradient(105deg, rgba(0,48,135,0.88) 0%, rgba(0,48,135,0.65) 55%, rgba(0,20,80,0.5) 100%);
    }
    .hero-grid {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 65px 65px;
      mask-image: radial-gradient(ellipse at center, black 20%, transparent 72%);
      will-change: transform;
    }
    .hero-deco {
      position: absolute;
      width: 1px;
      background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35), transparent);
      animation: deco 1.8s ease both;
    }
    .hero-deco-1 { left: 10%; top: 20%; height: 0; animation-delay: 0.8s; }
    .hero-deco-2 { right: 10%; bottom: 20%; height: 0; animation-delay: 1.1s; }
    @keyframes deco { to { height: 160px; } }

    .hero-content {
      position: relative; z-index: 2;
      text-align: center;
      max-width: 860px;
      padding: 2rem;
    }
    .hero-tag {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.7rem;
      font-size: 0.67rem;
      font-weight: 600;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.65);
      margin-bottom: 1.8rem;
      opacity: 0; transform: translateY(20px);
      animation: up 0.8s ease 0.4s forwards;
    }
    .hero-tag::before, .hero-tag::after { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,0.35); }

    .hero-name {
      font-family: 'Playfair Display', serif;
      font-size: clamp(3rem, 9vw, 7rem);
      font-weight: 700;
      line-height: 0.95;
      letter-spacing: -0.02em;
      color: var(--white);
      margin-bottom: 0.2rem;
      opacity: 0; transform: translateY(35px);
      animation: up 1s ease 0.6s forwards;
    }
    .hero-name .accent { color: var(--red); }

    .hero-role {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: clamp(1rem, 2.1vw, 1.3rem);
      color: rgba(255,255,255,0.65);
      letter-spacing: 0.06em;
      margin-bottom: 2rem;
      opacity: 0;
      animation: up 0.9s ease 0.85s forwards;
    }
    .hero-slogan {
      font-size: clamp(0.88rem, 1.8vw, 1.05rem);
      font-weight: 300;
      color: rgba(255,255,255,0.75);
      line-height: 1.9;
      max-width: 500px;
      margin: 0 auto 3rem;
      opacity: 0;
      animation: up 0.9s ease 1.05s forwards;
    }
    .hero-slogan strong { color: var(--white); font-weight: 600; }

    .hero-btns {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
      opacity: 0;
      animation: up 0.9s ease 1.25s forwards;
    }

    .btn-red {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--red);
      color: white;
      padding: 0.95rem 2.2rem;
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      border-radius: 3px;
      transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    }
    .btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(227,24,55,0.4); }

    .btn-glass {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      border: 1px solid rgba(255,255,255,0.3);
      color: var(--white);
      padding: 0.95rem 2.2rem;
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      border-radius: 3px;
      transition: border-color 0.3s, background 0.3s, transform 0.2s;
    }
    .btn-glass:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

    .hero-scroll {
      position: absolute;
      bottom: 2.5rem; left: 50%;
      transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
      opacity: 0;
      animation: up 1s ease 1.8s forwards;
    }
    .hero-scroll span { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
    .mouse { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 12px; display: flex; justify-content: center; padding-top: 7px; }
    .wheel { width: 3px; height: 6px; background: var(--red); border-radius: 2px; animation: wh 1.6s ease infinite; }
    @keyframes wh { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }
    @keyframes up { to { opacity: 1; transform: translateY(0); } }

    /* ===== STRIP ===== */
    .strip {
      background: var(--blue);
      overflow: hidden;
      height: 52px;
      display: flex;
      align-items: center;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .strip-track {
      display: flex;
      animation: mq 24s linear infinite;
      white-space: nowrap;
    }
    .strip-item {
      display: inline-flex;
      align-items: center;
      gap: 1.2rem;
      padding: 0 2.2rem;
      font-size: 0.74rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.65);
    }
    .strip-dot { width: 4px; height: 4px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
    @keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

    /* ===== SHARED ===== */
    section { padding: 7.5rem 2.5rem; }
    .container { max-width: 1180px; margin: 0 auto; }

    .tag {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      font-size: 0.64rem;
      font-weight: 700;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 0.8rem;
    }
    .tag::before { content: ''; width: 22px; height: 1.5px; background: var(--red); }

    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 700;
      line-height: 1.12;
      letter-spacing: -0.02em;
      color: var(--blue);
    }
    .section-desc {
      font-size: 0.95rem;
      font-weight: 300;
      color: var(--text-3);
      line-height: 1.9;
    }

    /* Reveal */
    .r  { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .rl { opacity: 0; transform: translateX(-48px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .rr { opacity: 0; transform: translateX(48px);  transition: opacity 0.7s ease, transform 0.7s ease; }
    .r.on, .rl.on, .rr.on { opacity: 1; transform: none; }
    .d1 { transition-delay: 0.08s; }
    .d2 { transition-delay: 0.18s; }
    .d3 { transition-delay: 0.28s; }
    .d4 { transition-delay: 0.38s; }
    .d5 { transition-delay: 0.48s; }

    /* ===== SOBRE MÍ ===== */
    #sobre-mi { background: var(--white); }

    .about-grid {
      display: grid;
      grid-template-columns: 380px 1fr;
      gap: 6rem;
      align-items: center;
    }
    .about-img-wrap { position: relative; }
    .about-photo {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      border-radius: 4px;
      box-shadow: 0 20px 60px rgba(0,48,135,0.15);
    }
    .badge {
      position: absolute;
      bottom: -1rem; right: -1rem;
      background: var(--red);
      color: white;
      padding: 1rem 1.5rem;
      border-radius: 3px;
      text-align: center;
      box-shadow: 0 8px 24px rgba(227,24,55,0.35);
    }
    .badge-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 900; letter-spacing: 0.08em; }
    .badge-sub { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; margin-top: 3px; }

    .about-quote {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 1.25rem;
      color: var(--blue-mid);
      line-height: 1.7;
      border-left: 3px solid var(--red);
      padding-left: 1.4rem;
      margin: 1.8rem 0 1.5rem;
    }
    .about-p { color: var(--text-2); line-height: 1.95; font-weight: 300; font-size: 0.93rem; margin-bottom: 1.1rem; }
    .about-p strong { color: var(--blue); font-weight: 600; }

    .about-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
    .chip {
      background: var(--blue-pale);
      border: 1px solid rgba(0,48,135,0.18);
      color: var(--blue);
      padding: 0.38rem 1rem;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      border-radius: 3px;
    }

    /* ===== SERVICIOS ===== */
    #servicios { background: var(--gray-100); }
    .services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 4rem; }
    .services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; background: var(--gray-300); border-radius: 6px; overflow: hidden; border: 1.5px solid var(--gray-300); }
    .svc {
      background: var(--white);
      padding: 3.5rem 2.5rem 3rem;
      position: relative;
      overflow: hidden;
      transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    }
    .svc::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--blue); transition: width 0.4s ease; }
    .svc:hover { background: var(--blue-pale); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,48,135,0.12); z-index: 1; }
    .svc:hover::after { width: 100%; }
    .svc-num { font-family: 'Playfair Display', serif; font-size: 4.5rem; font-weight: 700; color: rgba(0,48,135,0.07); line-height: 1; margin-bottom: 1.2rem; transition: color 0.3s; }
    .svc:hover .svc-num { color: rgba(0,48,135,0.13); }
    .svc-icon { font-size: 2.2rem; margin-bottom: 1rem; }
    .svc-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--blue); margin-bottom: 0.9rem; }
    .svc-desc { font-size: 0.86rem; color: var(--text-3); line-height: 1.85; font-weight: 300; }

    /* ===== PROPIEDADES ===== */
    #propiedades { background: var(--white); }
    .props-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 4rem; flex-wrap: wrap; }
    .props-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--blue);
      color: white;
      padding: 0.7rem 1.6rem;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border-radius: 3px;
      transition: background 0.3s, transform 0.2s;
    }
    .props-link:hover { background: var(--blue-mid); transform: translateY(-2px); }

    .props-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }

    .prop-card {
      background: var(--white);
      border-radius: 6px;
      overflow: hidden;
      border: 1px solid var(--gray-300);
      transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
      cursor: pointer;
      display: block;
      color: inherit;
    }
    .prop-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,48,135,0.13); border-color: var(--blue); }

    .prop-img {
      position: relative;
      aspect-ratio: 16/10;
      overflow: hidden;
      background: var(--gray-200);
    }
    .prop-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    .prop-card:hover .prop-img img { transform: scale(1.05); }

    .prop-badge {
      position: absolute;
      top: 0.8rem; left: 0.8rem;
      padding: 0.3rem 0.75rem;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      border-radius: 2px;
    }
    .prop-badge.venta { background: var(--blue); color: white; }
    .prop-badge.renta { background: var(--red); color: white; }
    .prop-badge.preventa { background: #8b5e3c; color: white; }

    .prop-info { padding: 1.4rem 1.5rem 1.6rem; }
    .prop-price {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--blue);
      margin-bottom: 0.3rem;
    }
    .prop-price-usd { font-size: 0.78rem; color: var(--text-3); font-weight: 400; margin-left: 0.4rem; font-family: 'Inter', sans-serif; }
    .prop-title { font-size: 0.92rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
    .prop-location { font-size: 0.8rem; color: var(--text-3); font-weight: 300; margin-bottom: 1rem; }
    .prop-location::before { content: '📍 '; }

    .prop-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; }
    .prop-meta-item { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--text-3); font-weight: 400; }
    .prop-meta-item::before { font-size: 0.85rem; }
    .prop-meta-item.rec::before { content: '🛏'; }
    .prop-meta-item.bano::before { content: '🚿'; }
    .prop-meta-item.mts::before { content: '📐'; }
    .prop-meta-item.coche::before { content: '🚗'; }

    .prop-ph-img {
      width: 100%; height: 100%;
      background: linear-gradient(135deg, var(--gray-200), var(--blue-pale));
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      color: var(--gray-400);
      font-size: 0.75rem;
      letter-spacing: 0.06em;
      text-align: center;
      padding: 1rem;
    }
    .prop-ph-img span:first-child { font-size: 2rem; opacity: 0.5; }

    /* ===== POR QUÉ YO ===== */
    #por-que { background: var(--gray-100); }
    .why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

    .features { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2.5rem; }
    .feat {
      display: flex;
      gap: 1.3rem;
      align-items: flex-start;
      padding: 1.3rem 1.5rem;
      background: var(--white);
      border-radius: 4px;
      border: 1px solid var(--gray-300);
      border-left: 3px solid transparent;
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }
    .feat:hover { border-left-color: var(--blue); transform: translateX(5px); box-shadow: 0 4px 20px rgba(0,48,135,0.08); }
    .feat-ico { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
    .feat-body h4 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 0.3rem; }
    .feat-body p { font-size: 0.84rem; color: var(--text-3); line-height: 1.75; font-weight: 300; }

    .remax-card {
      background: var(--blue);
      border-radius: 6px;
      padding: 3.5rem;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,48,135,0.25);
    }
    .remax-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--red), #ff6b6b, var(--red));
    }
    .remax-card::after {
      content: '';
      position: absolute;
      bottom: -80px; right: -80px;
      width: 220px; height: 220px;
      background: rgba(255,255,255,0.04);
      border-radius: 50%;
    }
    .remax-big { font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 900; color: white; line-height: 1; margin-bottom: 0.4rem; }
    .remax-big .slash { color: var(--red); }
    .remax-sub { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 2rem; }
    .remax-text { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.9; font-weight: 300; text-align: left; position: relative; z-index: 1; }
    .remax-text strong { color: white; font-weight: 600; }
    .remax-divider { width: 40px; height: 1px; background: rgba(255,255,255,0.2); margin: 1.5rem auto; }

    /* ===== INSTAGRAM SECTION ===== */
    #galeria { background: var(--gray-100); padding-bottom: 0; }
    .ig-head { margin-bottom: 3rem; }
    .ig-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }
    .ig-item {
      position: relative;
      aspect-ratio: 1;
      overflow: hidden;
      background: var(--gray-200);
    }
    .ig-item img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: grayscale(20%);
      transition: transform 0.5s ease, filter 0.4s ease;
    }
    .ig-item:hover img { transform: scale(1.08); filter: grayscale(0%); }
    .ig-overlay {
      position: absolute; inset: 0;
      background: rgba(0,48,135,0);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s;
    }
    .ig-item:hover .ig-overlay { background: rgba(0,48,135,0.45); }
    .ig-overlay-ico {
      font-size: 1.6rem;
      opacity: 0;
      transform: scale(0.7);
      transition: opacity 0.3s, transform 0.3s;
    }
    .ig-item:hover .ig-overlay-ico { opacity: 1; transform: scale(1); }

    .ig-item-ph {
      width: 100%; height: 100%;
      background: linear-gradient(135deg, var(--gray-200) 0%, var(--blue-pale) 100%);
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
      color: var(--gray-400);
      font-size: 0.72rem;
      letter-spacing: 0.06em;
      text-align: center;
      padding: 1rem;
    }
    .ig-item-ph span:first-child { font-size: 1.8rem; opacity: 0.4; }

    .ig-cta {
      background: var(--blue);
      padding: 2rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .ig-cta p { font-size: 0.9rem; color: rgba(255,255,255,0.75); font-weight: 300; }
    .ig-cta p strong { color: white; }
    .ig-cta a {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      border: 1px solid rgba(255,255,255,0.35);
      color: white;
      padding: 0.65rem 1.5rem;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      border-radius: 3px;
      transition: background 0.3s, border-color 0.3s;
      white-space: nowrap;
    }
    .ig-cta a:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }

    /* ===== CONTACTO ===== */
    #contacto {
      background: var(--white);
      position: relative;
    }
    #contacto::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--blue), var(--red), var(--blue));
    }
    .contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }

    .contact-items { display: flex; flex-direction: column; gap: 1.3rem; margin: 2.5rem 0; }
    .c-item { display: flex; gap: 1.2rem; align-items: flex-start; }
    .c-ico {
      width: 46px; height: 46px;
      background: var(--blue-pale);
      border: 1px solid rgba(0,48,135,0.18);
      border-radius: 3px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem; flex-shrink: 0;
    }
    .c-body label { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.3rem; }
    .c-body a, .c-body span { font-size: 0.95rem; color: var(--blue); font-weight: 500; transition: color 0.3s; }
    .c-body a:hover { color: var(--red); }

    .wa-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.8rem;
      background: #25D366;
      color: white;
      padding: 1rem 2rem;
      border-radius: 3px;
      font-size: 0.88rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
      margin-bottom: 2rem;
    }
    .wa-btn:hover { background: #20c55a; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,0.3); }

    .socials { display: flex; gap: 0.8rem; }
    .social {
      width: 46px; height: 46px;
      background: var(--gray-100);
      border: 1px solid var(--gray-300);
      border-radius: 3px;
      display: flex; align-items: center; justify-content: center;
      transition: border-color 0.3s, background 0.3s, transform 0.2s, color 0.3s;
      color: var(--text-3);
    }
    .social svg { width: 20px; height: 20px; fill: currentColor; }
    .social:hover { transform: translateY(-3px); }
    .social.ig:hover  { background: #e1306c; border-color: #e1306c; color: white; }
    .social.yt:hover  { background: #ff0000; border-color: #ff0000; color: white; }
    .social.wa:hover  { background: #25D366; border-color: #25D366; color: white; }

    .form-card {
      background: var(--gray-100);
      border: 1px solid var(--gray-300);
      border-radius: 6px;
      padding: 2.8rem;
    }
    .form-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--blue); margin-bottom: 2rem; }
    .fg { margin-bottom: 1.1rem; }
    .fg label { display: block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.45rem; }
    .fg input, .fg textarea, .fg select {
      width: 100%;
      background: var(--white);
      border: 1.5px solid var(--gray-300);
      border-radius: 3px;
      padding: 0.82rem 1rem;
      color: var(--text);
      font-family: 'Inter', sans-serif;
      font-size: 0.9rem;
      font-weight: 300;
      transition: border-color 0.3s;
      appearance: none; -webkit-appearance: none;
    }
    .fg input:focus, .fg textarea:focus, .fg select:focus { outline: none; border-color: var(--blue); }
    .fg textarea { resize: vertical; min-height: 90px; }
    .fg select { cursor: pointer; }
    .fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .form-submit {
      width: 100%;
      background: var(--blue);
      color: white;
      border: none;
      padding: 1rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      border-radius: 3px;
      cursor: pointer;
      transition: background 0.3s, transform 0.2s;
      margin-top: 0.4rem;
    }
    .form-submit:hover { background: var(--blue-mid); transform: translateY(-1px); }

    /* ===== FOOTER ===== */
    footer {
      background: var(--blue);
      padding: 2.5rem 2.5rem;
    }
    .footer-inner {
      max-width: 1180px; margin: 0 auto;
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem;
    }
    .footer-brand .fn { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: white; }
    .footer-brand .fb { font-size: 0.62rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-top: 3px; }
    .footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-align: center; line-height: 1.7; }
    .footer-right { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-align: right; line-height: 1.7; }
    .footer-right a { color: rgba(255,255,255,0.45); transition: color 0.3s; }
    .footer-right a:hover { color: white; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1000px) {
      .about-grid { grid-template-columns: 1fr; gap: 3rem; }
      .about-img-wrap { max-width: 360px; margin: 0 auto; }
      .services-grid { grid-template-columns: 1fr; }
      .services-head { flex-direction: column; align-items: flex-start; }
      .props-grid { grid-template-columns: repeat(2, 1fr); }
      .ig-grid { grid-template-columns: repeat(2, 1fr); }
      .why-layout { grid-template-columns: 1fr; gap: 3.5rem; }
      .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    }
    @media (max-width: 680px) {
      section { padding: 5rem 1.5rem; }
      nav { padding: 1rem 1.5rem; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .props-grid { grid-template-columns: 1fr; }
      .ig-grid { grid-template-columns: repeat(2, 1fr); }
      .fg-row { grid-template-columns: 1fr; }
      .footer-inner { flex-direction: column; text-align: center; }
      .footer-right { text-align: center; }
    }

    /* ===== TOURS VIRTUALES ===== */
    .tours-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; margin-top: 3rem; }
    .tour-card { border-radius: 8px; overflow: hidden; border: 1px solid var(--gray-300); box-shadow: 0 8px 32px rgba(0,48,135,0.08); }
    .tour-card-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 1.4rem 1.6rem; background: var(--blue); }
    .tour-badge { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 0.4rem; }
    .tour-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: white; margin-bottom: 0.25rem; }
    .tour-meta { font-size: 0.78rem; color: rgba(255,255,255,0.6); font-weight: 300; }
    .tour-fullscreen-btn { color: rgba(255,255,255,0.6); font-size: 1.3rem; text-decoration: none; padding: 0.3rem; transition: color 0.2s; flex-shrink: 0; margin-top: 2px; }
    .tour-fullscreen-btn:hover { color: white; }
    .tour-frame-wrap { background: #000; }

    .tours-coming { display: flex; flex-direction: column; gap: 0.9rem; }
    .tours-coming-title { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.3rem; }
    .tour-coming-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--gray-100); border-radius: 6px; border: 1px solid var(--gray-300); }
    .tour-coming-ico { font-size: 1.4rem; flex-shrink: 0; }
    .tour-coming-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }
    .tour-coming-sub { font-size: 0.75rem; color: var(--text-3); margin-top: 0.1rem; }
    .tour-coming-tag { margin-left: auto; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); background: var(--blue-pale); padding: 0.25rem 0.6rem; border-radius: 2px; white-space: nowrap; }
    .tours-note { font-size: 0.82rem; color: var(--text-3); line-height: 1.7; margin-top: 0.5rem; }
    .tours-note a { color: var(--blue); font-weight: 600; text-decoration: none; }
    .tours-note a:hover { text-decoration: underline; }

    @media (max-width: 900px) {
      .tours-grid { grid-template-columns: 1fr; }
      .tour-frame-wrap iframe { height: 320px !important; }
    }

    /* ===== YOUTUBE CARDS ===== */
    .yt-play-btn {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.25);
      transition: background 0.2s;
    }
    .yt-card:hover .yt-play-btn { background: rgba(0,0,0,0.15); }
    .yt-play-btn span {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 64px;
      height: 44px;
      background: #e31837;
      border-radius: 10px;
      color: white;
      font-size: 1.3rem;
      padding-left: 3px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
      transition: transform 0.2s, background 0.2s;
    }
    .yt-card:hover .yt-play-btn span { transform: scale(1.12); background: #c8102e; }
    .yt-card iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: none;
    }

    /* ===== SECTION-SUB ===== */
    .section-sub { font-size: 0.95rem; font-weight: 300; color: var(--text-3); line-height: 1.9; margin-top: 0.9rem; max-width: 620px; }

    /* ===== PROGRESS BAR ===== */
    #progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--red), var(--blue-light)); z-index: 201; width: 0; pointer-events: none; }

    /* ===== HERO AVAILABLE BADGE ===== */
    .hero-avail {
      position: absolute; bottom: 5.5rem; right: 2.5rem; z-index: 4;
      display: flex; align-items: center; gap: 0.55rem;
      background: rgba(255,255,255,0.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,0.2); padding: 0.45rem 1.1rem;
      border-radius: 100px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em;
      color: rgba(255,255,255,0.9); opacity: 0; animation: up 0.8s ease 2.2s forwards;
    }
    .avail-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex-shrink: 0; animation: glow-dot 2s ease-in-out infinite; }
    @keyframes glow-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); } 50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } }
    @media (max-width: 680px) { .hero-avail { display: none; } }

    /* ===== FLOAT WHATSAPP ===== */
    .float-wa {
      position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 150;
      width: 56px; height: 56px; border-radius: 50%; background: #25D366;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 24px rgba(37,211,102,0.45);
      opacity: 0; transform: translateY(12px) scale(0.85);
      transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s;
      pointer-events: none; text-decoration: none;
    }
    .float-wa.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
    .float-wa:hover { transform: scale(1.1) !important; box-shadow: 0 8px 36px rgba(37,211,102,0.6); }
    .float-wa svg { width: 26px; height: 26px; fill: white; position: relative; z-index: 1; flex-shrink: 0; }
    .float-wa-ring { position: absolute; inset: 0; border-radius: 50%; border: 2.5px solid rgba(37,211,102,0.65); animation: wa-ring 2.6s ease-out infinite; }
    @keyframes wa-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }

    /* ===== STATS BAND ===== */
    .stats-band { background: #0c1929; position: relative; overflow: hidden; }
    .stats-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(0,48,135,0.25) 0%, transparent 70%); pointer-events: none; }
    .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
    .stat-item { padding: 3.5rem 2rem 3rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.07); position: relative; overflow: hidden; transition: background 0.3s; }
    .stat-item:last-child { border-right: none; }
    .stat-item::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--red); transition: width 0.4s ease; }
    .stat-item:hover { background: rgba(255,255,255,0.03); }
    .stat-item:hover::after { width: 50%; }
    .stat-num { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 700; color: white; line-height: 1; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
    .stat-hash { color: var(--red); font-size: 55%; vertical-align: super; margin-right: 2px; }
    .stat-label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.38); font-weight: 400; line-height: 1.6; }
    @media (max-width: 720px) {
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .stat-item:nth-child(2) { border-right: none; }
      .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.07); }
      .stat-item { padding: 2.5rem 1.5rem 2rem; }
    }

    /* ===== CINEMATIC PROPERTY CARDS ===== */
    .prop-card {
      aspect-ratio: 3/4; position: relative;
      border: none !important; border-radius: 10px; overflow: hidden;
      background: var(--gray-200); box-shadow: 0 4px 24px rgba(0,0,0,0.1);
      transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s;
      display: block;
    }
    .prop-card:hover { transform: translateY(-10px) !important; box-shadow: 0 28px 64px rgba(0,0,0,0.22) !important; }
    .prop-img { position: absolute !important; inset: 0 !important; aspect-ratio: unset !important; overflow: hidden; background: var(--gray-200); }
    .prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94); }
    .prop-card:hover .prop-img img { transform: scale(1.07) !important; }
    .prop-img .prop-ph-img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
    .prop-overlay {
      position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.06) 28%, rgba(0,0,0,0.48) 55%, rgba(0,0,0,0.88) 100%);
    }
    .prop-badge { position: absolute; top: 1rem; left: 1rem; z-index: 3; }
    .prop-info { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 1.5rem 1.6rem 1.8rem; }
    .prop-price { color: white !important; font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.2rem; }
    .prop-price-usd { color: rgba(255,255,255,0.6) !important; font-size: 0.72rem; font-weight: 400; margin-left: 0.3rem; }
    .prop-title { color: rgba(255,255,255,0.88) !important; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.15rem; }
    .prop-location { color: rgba(255,255,255,0.52) !important; font-size: 0.73rem; margin-bottom: 0.85rem; }
    .prop-meta-item { color: rgba(255,255,255,0.58) !important; font-size: 0.72rem; }
    @media (max-width: 680px) { .prop-card { aspect-ratio: 4/5; } }

    /* ===== FAQ ===== */
    #faq { background: var(--gray-100); }
    .faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: 5rem; align-items: start; }
    .faq-sticky { position: sticky; top: 8rem; }
    .faq-list { border-radius: 8px; overflow: hidden; border: 1px solid var(--gray-300); background: var(--white); box-shadow: 0 4px 20px rgba(0,48,135,0.06); }
    .faq-item { border-bottom: 1px solid var(--gray-300); }
    .faq-item:last-child { border-bottom: none; }
    .faq-q {
      width: 100%; background: none; border: none; text-align: left; cursor: pointer;
      display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
      padding: 1.25rem 1.6rem;
      font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--text);
      transition: background 0.22s, color 0.22s;
    }
    .faq-q:hover { background: var(--blue-pale); color: var(--blue); }
    .faq-item.open .faq-q { background: var(--blue-pale); color: var(--blue); }
    .faq-icon {
      width: 22px; height: 22px; min-width: 22px; border-radius: 50%;
      background: var(--gray-200); display: flex; align-items: center; justify-content: center;
      font-size: 1rem; line-height: 1; font-style: normal;
      transition: transform 0.3s, background 0.22s, color 0.22s; color: var(--text-3);
    }
    .faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); color: white; }
    .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
    .faq-a-inner { padding: 0.3rem 1.6rem 1.4rem; font-size: 0.88rem; color: var(--text-3); line-height: 1.9; font-weight: 300; }
    .faq-item.open .faq-a { max-height: 300px; }
    @media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; } .faq-sticky { position: static; } }

    /* ===== FOOTER v2 ===== */
    footer { background: var(--blue); padding: 0; }
    .footer-top { padding: 3.5rem 2.5rem 3rem; }
    .footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; }
    .footer-brand-col .fn { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: white; }
    .footer-brand-col .fb { font-size: 0.62rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.45); text-transform: uppercase; margin-top: 4px; margin-bottom: 1.2rem; }
    .footer-brand-col p { font-size: 0.84rem; color: rgba(255,255,255,0.48); line-height: 1.85; max-width: 280px; }
    .footer-col-title { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.1rem; }
    .footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
    .footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.52); transition: color 0.2s; }
    .footer-links a:hover { color: white; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 2.5rem; }
    .footer-bottom-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
    .footer-copy-sm { font-size: 0.7rem; color: rgba(255,255,255,0.32); }
    .btn-top { font-size: 0.7rem; color: rgba(255,255,255,0.42); background: rgba(255,255,255,0.07); border: none; cursor: pointer; padding: 0.45rem 1rem; border-radius: 3px; font-family: 'Inter', sans-serif; transition: background 0.2s, color 0.2s; letter-spacing: 0.05em; }
    .btn-top:hover { background: rgba(255,255,255,0.15); color: white; }
    @media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; } .footer-bottom-inner { flex-direction: column; text-align: center; } }
  
    /* --- Tarjetas de propiedad: tilt 3D interactivo + brillo --- */
    .props-grid { perspective: 1500px; }
    .prop-card { transform-style: preserve-3d; }
    .prop-card.is-tilting { transition: transform .08s linear, box-shadow .3s ease !important; }
    .prop-card::after {
      content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
      border-radius:inherit; opacity:0; transition:opacity .35s ease;
      background: radial-gradient(circle at var(--sx,50%) var(--sy,28%),
                  rgba(255,255,255,0.38) 0%, rgba(255,255,255,0) 42%);
      mix-blend-mode: screen;
    }
    .prop-card:hover::after { opacity:1; }

    /* --- Recorridos: tour destacado en venta con glow animado --- */
    #tours .section-sub { margin-bottom: 0.4rem; }
    .tour-featured { position: relative; margin-top: 2.8rem; }
    .tour-featured-glow {
      position:absolute; inset:-3px; z-index:0; border-radius:16px;
      background: linear-gradient(120deg, var(--blue) 0%, var(--red) 50%, var(--blue-light) 100%);
      background-size: 220% 220%; filter: blur(30px); opacity:.34;
      animation: glowShift 9s ease-in-out infinite;
    }
    @keyframes glowShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
    .tour-featured > .tour-card { position:relative; z-index:1; }
    .tour-ribbon {
      position:absolute; top:16px; left:-3px; z-index:6;
      display:inline-flex; align-items:center; gap:.35rem;
      background:var(--red); color:#fff; font-size:.6rem; font-weight:800;
      letter-spacing:.16em; text-transform:uppercase; padding:.45rem 1.4rem .45rem 1rem;
      box-shadow:0 10px 24px rgba(227,24,55,.4);
      clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 50%, 100% 100%, 0 100%);
    }

    /* --- Profundidad premium en todas las tarjetas de tour --- */
    .tour-card { transition: transform .55s cubic-bezier(.16,1,.3,1), box-shadow .55s; will-change: transform; }
    .tour-card:hover { transform: translateY(-7px); box-shadow: 0 34px 80px rgba(0,48,135,.20); }

    /* --- Hero 3D (parallax con el mouse) --- */
    .hero { perspective: 1100px; }
    .hero-content { transform-style: preserve-3d; transition: transform .25s ease-out; }
    .hero-deco-1, .hero-deco-2 { transition: transform .3s ease-out; }

    /* --- Botones magneticos --- */
    .btn-red, .btn-glass, .nav-cta { will-change: transform; }

    /* --- Accesibilidad / touch --- */
    @media (prefers-reduced-motion: reduce) {
      .tour-featured-glow { animation:none; }
      .hero-content, .prop-card { transition:none !important; }
    }
    @media (hover: none) {
      .prop-card::after { display:none; }
    }
  
    /* Reveals cinematográficos: spring + blur (respeta delays .d1/.d2/.d3) */
    .r, .rl, .rr {
      transition-property: opacity, transform, filter;
      transition-duration: .95s;
      transition-timing-function: cubic-bezier(.16,1,.3,1);
      filter: blur(10px);
    }
    .r.on, .rl.on, .rr.on { filter: blur(0); }
    @media (prefers-reduced-motion: reduce) { .r, .rl, .rr { filter: none; } }

    /* Entrada del nav */
    @media (prefers-reduced-motion: no-preference) {
      nav { animation: mdNavIn .9s cubic-bezier(.16,1,.3,1) .15s both; }
    }
    @keyframes mdNavIn { from { transform: translateY(-110%); } to { transform: translateY(0); } }

    /* Títulos de sección: despliegue palabra por palabra (máscara) */
    .section-title.r { transform: none; filter: none; }
    .section-title .mw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
    .section-title .mwi {
      display: inline-block;
      transform: translateY(120%);
      transition: transform 1s cubic-bezier(.16,1,.3,1);
      transition-delay: calc(.1s + var(--wi, 0) * .07s);
      will-change: transform;
    }
    .section-title.on .mwi { transform: translateY(0); }
    @media (prefers-reduced-motion: reduce) { .section-title .mwi { transform: none; transition: none; } }

    /* Hero: foto con Ken Burns lento */
    .hero.has-photo { background-image: none !important; }
    .hero-photo {
      position: absolute; inset: 0;
      background-size: cover;
      background-position: center 20%;
      pointer-events: none;
      will-change: transform;
    }
    @media (prefers-reduced-motion: no-preference) {
      .hero-photo { animation: mdKen 30s ease-in-out infinite alternate; }
    }
    @keyframes mdKen { from { transform: scale(1); } to { transform: scale(1.1) translateY(-1.2%); } }

    /* Apellido con destello recorrido */
    @media (prefers-reduced-motion: no-preference) {
      .hero-name .accent {
        background: linear-gradient(115deg, var(--red) 42%, #ff96a6 50%, var(--red) 58%);
        background-size: 250% 100%;
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: mdShimmer 6s linear 2.5s infinite;
      }
    }
    @keyframes mdShimmer { 0% { background-position: 130% 0; } 100% { background-position: -30% 0; } }

    /* Auroras de color en el hero */
    .md-aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; z-index: 1; will-change: transform; }
    .md-a1 { width: 44vw; height: 44vw; left: -12vw; top: -10vw; background: radial-gradient(circle, rgba(227,24,55,.4), transparent 65%); animation: mdA1 16s ease-in-out infinite alternate; }
    .md-a2 { width: 38vw; height: 38vw; right: -10vw; bottom: -8vw; background: radial-gradient(circle, rgba(46,107,224,.55), transparent 65%); animation: mdA2 19s ease-in-out infinite alternate; }
    @keyframes mdA1 { to { transform: translate(9vw, 7vh) scale(1.25); } }
    @keyframes mdA2 { to { transform: translate(-8vw, -6vh) scale(1.18); } }

    /* Indicador de scroll en el hero */
    .md-hint {
      position: absolute; left: 50%; bottom: 2.1rem; transform: translateX(-50%);
      z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .55rem;
      color: rgba(255,255,255,.55); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
      pointer-events: none; opacity: 0; animation: mdHintIn 1s ease 2.4s forwards;
    }
    .md-hint .line { width: 1px; height: 44px; background: rgba(255,255,255,.22); position: relative; overflow: hidden; }
    .md-hint .line::after { content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--red); animation: mdDrop 2s cubic-bezier(.76,0,.24,1) infinite; }
    @keyframes mdDrop { 0% { top: -50%; } 100% { top: 110%; } }
    @keyframes mdHintIn { to { opacity: 1; } }
    @media (prefers-reduced-motion: reduce) { .md-hint { display: none; } }

    /* Propiedades: revelado de cortina (imagen sube desde abajo) */
    @media (prefers-reduced-motion: no-preference) {
      .prop-card.r .prop-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.25s cubic-bezier(.16,1,.3,1) .15s; }
      .prop-card.r.on .prop-img { clip-path: inset(0 0 0 0); }
    }

    /* Botones: barrido de brillo */
    .btn-red, .nav-cta { position: relative; overflow: hidden; }
    .btn-red::before, .nav-cta::before {
      content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%;
      background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
      transform: skewX(-22deg); transition: left .7s ease; pointer-events: none;
    }
    .btn-red:hover::before, .nav-cta:hover::before { left: 125%; }

    /* Cursor personalizado (solo desktop) */
    @media (hover: hover) and (pointer: fine) {
      html.md-cursor, html.md-cursor * { cursor: none !important; }
      .md-dot {
        position: fixed; z-index: 10000; width: 8px; height: 8px; border-radius: 50%;
        background: var(--red); pointer-events: none; transform: translate(-50%,-50%);
        transition: opacity .25s;
      }
      .md-ring {
        position: fixed; z-index: 9999; width: 38px; height: 38px; border-radius: 50%;
        border: 1.5px solid rgba(227,24,55,.7); pointer-events: none; transform: translate(-50%,-50%);
        transition: width .3s, height .3s, opacity .25s, background .3s, border-color .3s;
      }
      .md-ring.md-hov { width: 64px; height: 64px; background: rgba(227,24,55,.1); border-color: rgba(227,24,55,.35); }
      .md-dot.md-hide, .md-ring.md-hide { opacity: 0; }
    }

    /* Distintivo "360 Tour" en tarjeta de propiedad con recorrido */
    .prop-tour-flag {
      position: absolute; top: 1rem; right: 1rem; z-index: 3;
      display: inline-flex; align-items: center; gap: .3rem;
      background: rgba(0,0,0,.55);
      -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,.35);
      color: #fff; font-size: .58rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      padding: 4px 9px; border-radius: 20px; pointer-events: none;
    }
    .prop-tour-flag::before { content: '\2B1A'; font-size: .7rem; }

    /* Sello RENTADA sobre un recorrido ya cerrado */
    .tour-card.is-rented .tour-frame-wrap { position: relative; }
    .tour-rented-seal {
      position: absolute; z-index: 5; top: 50%; left: 50%;
      transform: translate(-50%,-50%) rotate(-11deg);
      border: 3px solid var(--red); color: var(--red);
      background: rgba(255,255,255,.93);
      font-size: clamp(1rem,2.4vw,1.5rem); font-weight: 800;
      letter-spacing: .22em; text-transform: uppercase;
      padding: .5rem 1.5rem; border-radius: 6px;
      box-shadow: 0 10px 34px rgba(0,0,0,.28);
      pointer-events: none; white-space: nowrap;
    }
    .tour-rented-note {
      display: inline-flex; align-items: center; gap: .35rem;
      background: var(--red); color: #fff;
      font-size: .6rem; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; padding: 2px 8px; border-radius: 20px;
    }

    /* Grano cinematográfico sutil (solo desktop) */
    @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
      .md-grain {
        position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .045;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
        background-size: 180px 180px;
      }
    }
  
    /* --- Tarjeta destacada a lo ancho (Terreno Ojos Negros) --- */
    .prop-card.prop-destacada { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
    .prop-destacada .prop-overlay {
      background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 42%, rgba(0,0,0,0) 72%),
                  linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 50%);
    }
    .prop-destacada .prop-info { max-width: 600px; padding: 2.2rem 2.4rem; }
    .prop-destacada .prop-price { font-size: 2.3rem; }
    .prop-destacada .prop-title { font-size: 1.02rem; }
    .prop-destacada .prop-meta-item.ver { color: #f3d68d !important; font-weight: 600; }
    .prop-tour-flag {
      position: absolute; top: 1rem; right: 1rem; z-index: 3;
      background: #d9a441; color: #0d0c0b; border-radius: 3px; padding: 0.35rem 0.75rem;
      font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    }
    @media (max-width: 900px) {
      .prop-card.prop-destacada { aspect-ratio: 16 / 10; }
      .tour-frame-wrap iframe.tour-alto { height: min(78vh, 600px) !important; min-height: 480px; }
    }
    @media (max-width: 680px) {
      .prop-card.prop-destacada { aspect-ratio: 4 / 5; }
      .prop-destacada .prop-info { padding: 1.5rem 1.6rem 1.8rem; }
      .prop-destacada .prop-price { font-size: 1.7rem; }
    }
  

/* ===== Auditoría SEO 12-nov-2026 ===== */
.feat-body h3 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 0.3rem; }
.section-title.titulo-largo { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.nap { font-style: normal; font-size: 0.8rem; line-height: 1.75; color: rgba(255,255,255,0.6); margin-top: 1rem; }
.nap a { color: rgba(255,255,255,0.88); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Portada compacta (12-nov-2026): menos espacio, secciones combinadas ===== */
section { padding: 5.5rem 2.5rem; }
.props-head, .services-head { margin-bottom: 2.6rem; }
.props-grid .prop-card:not(.prop-destacada) { aspect-ratio: 4 / 5; }
.svc { padding-top: 2rem; padding-bottom: 2rem; }
.svc-num { font-size: 3.2rem; margin-bottom: .6rem; }

/* Sobre mí: misión + quién soy + por qué elegirme */
.sobre-v2 { background: var(--white); }
.sobre-cab { max-width: 780px; margin-bottom: 2.4rem; }
.sobre-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.sobre-mision {
  margin: 0; padding: 2rem 2.2rem;
  background: var(--gray-100); border-left: 3px solid var(--red); border-radius: 0 14px 14px 0;
}
.sobre-mision .decl-texto {
  color: var(--blue); font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: clamp(1.4rem, 2.3vw, 2.05rem); line-height: 1.28; letter-spacing: -.02em;
}
.sobre-mision .decl-texto .w.acento.lit { color: var(--red); }
.sobre-mision .decl-firma { margin-top: 1.3rem; font-size: .85rem; color: var(--text-3); }
.sobre-mision .decl-firma b { display: block; color: var(--text); font-weight: 600; }
.sobre-texto .about-chips { margin-top: 1.2rem; }
.razones-tag { margin-top: 3rem; }
.sobre-v2 .features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: .6rem; }
.sobre-v2 .feat:hover { transform: translateY(-3px); }

/* Tours: un visor con pestañas */
.tours-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.8rem 0 1.2rem; }
.tour-tab {
  display: inline-flex; flex-direction: column; gap: .15rem; min-width: 190px;
  padding: .8rem 1.1rem; border-radius: 12px; border: 1px solid var(--gray-300); background: #fff;
  transition: border-color .25s, background .25s, transform .25s;
}
.tour-tab b { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--blue); }
.tour-tab span { font-size: .76rem; font-weight: 600; color: var(--text-3); }
.tour-tab:hover { border-color: var(--blue); transform: translateY(-2px); }
.tour-tab.activo { background: var(--blue); border-color: var(--blue); }
.tour-tab.activo b, .tour-tab.activo span { color: #fff; }
.tour-visor .tour-card-header { align-items: center; gap: 1rem; }
.tour-acciones { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.tour-link {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,.4); padding: .45rem .95rem; border-radius: 3px;
}
.tour-link[hidden] { display: none; }
.tours-nota { margin-top: 1.2rem; font-size: .86rem; color: var(--text-3); line-height: 1.7; }
.tours-nota a { color: var(--blue); font-weight: 600; }

/* Videos y redes */
.videos-v2 { background: var(--blue); color: #fff; }
.videos-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.videos-cab p { max-width: 430px; font-size: .95rem; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.72); }
.videos-v2 .tag { color: rgba(255,255,255,.6); }
.videos-v2 .tag::before { background: rgba(255,255,255,.6); }
.videos-v2 .section-title { color: #fff; }
.videos-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.videos-redes { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 2rem; }
.videos-redes p { flex-basis: 100%; font-size: .84rem; color: rgba(255,255,255,.65); }
.videos-redes p strong { color: #fff; }

@media (max-width: 1000px) {
  .sobre-v2 .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  section { padding: 4rem 1.25rem; }
  .sobre-mision { padding: 1.5rem 1.4rem; }
  .sobre-v2 .features { grid-template-columns: 1fr; }
  .tours-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -1.25rem; margin-right: -1.25rem; padding: 0 1.25rem .4rem; }
  .tour-tab { flex-shrink: 0; min-width: 165px; scroll-snap-align: start; }
  .tour-visor .tour-card-header { flex-wrap: wrap; }
}

/* Celular: propiedades y servicios se deslizan de lado (antes: 7 tarjetas apiladas = 4 pantallas) */
.carrusel-guia { display: none; }
@media (max-width: 680px) {
  .props-grid, .services-grid {
    display: flex; gap: .9rem; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-left: 1.25rem; overscroll-behavior-x: contain;
    margin: 0 -1.25rem; padding: .2rem 1.25rem .9rem; scrollbar-width: none; perspective: none;
  }
  .props-grid::-webkit-scrollbar, .services-grid::-webkit-scrollbar { display: none; }
  .props-grid > .prop-item, .props-grid > .prop-card { flex: 0 0 84%; scroll-snap-align: start; }
  .props-grid > .prop-item.prop-item-destacada { grid-column: auto; }
  .props-grid .r, .services-grid .r { opacity: 1; transform: none; filter: none; }
  .services-grid { background: none; border: 0; border-radius: 0; }
  .services-grid > .svc {
    flex: 0 0 80%; scroll-snap-align: start; translate: none !important;
    border: 1.5px solid var(--gray-300); border-radius: 10px; padding: 1.6rem 1.5rem 1.7rem;
  }
  .services-grid .svc-num { font-size: 2.6rem; }
  .carrusel-guia { display: flex; align-items: center; gap: .9rem; margin-top: .3rem; }
  .carrusel-guia.quieta { display: none; }
  .carrusel-barra { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--gray-300); overflow: hidden; }
  .carrusel-barra i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 3px; background: var(--blue); transition: width .2s; }
  .carrusel-texto { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
  .sobre-v2 .feat { padding: 1rem 1.2rem; }
}
@media (max-width: 680px) {
  .footer-top { padding: 2.8rem 1.25rem 2.4rem; }
  .footer-grid { gap: 2rem; }
  .footer-grid > div:nth-child(2) .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
}
@media (max-width: 1000px) { .services-head .section-desc { text-align: left !important; } }
