*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --font-heading: 'Urbanist', system-ui, sans-serif;
      --font-body: 'Epilogue', system-ui, sans-serif;
      --background: #f8f6f2;
      --foreground: #2a2318;
      --card: #ffffff;
      --card-foreground: #2a2318;
      --primary-foreground: #faf8f5;
      --muted-foreground: #7a6f60;
      --border: #e8e2d8;
      --gold: #b8923a;
      --gold-light: #d4b86a;
      --warm: #f4f0e8;
      --warm-dark: #1e1a14;
      --green-whatsapp: #25D366;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background: var(--background);
      color: var(--foreground);
      -webkit-font-smoothing: antialiased;
      line-height: 1.6;
    }

    h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }

    img { display: block; max-width: 100%; height: auto; }

    /* ========== HEADER ========== */
    .header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 50;
      transition: all 0.5s ease;
      padding: 1.25rem 0;
    }
    .header.scrolled {
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      padding: 0.75rem 0;
    }
    .header-inner {
      max-width: 80rem; margin: 0 auto; padding: 0 1.5rem;
      display: flex; align-items: center; justify-content: space-between;
    }
    .logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
    .logo-vista { color: var(--primary-foreground); transition: color 0.5s; }
    .header.scrolled .logo-vista { color: var(--foreground); }
    .logo-real { color: var(--gold); }

    .nav-desktop { display: none; align-items: center; gap: 2rem; }
    .nav-link {
      background: none; border: none; cursor: pointer;
      font-family: var(--font-heading); font-size: 0.8rem; font-weight: 500;
      text-transform: uppercase; letter-spacing: 0.08em;
      color: var(--primary-foreground); transition: color 0.3s;
    }
    .nav-link:hover { color: var(--gold); }
    .header.scrolled .nav-link { color: var(--foreground); }
    .header.scrolled .nav-link:hover { color: var(--gold); }

    .mobile-toggle {
      display: flex; background: none; border: none; cursor: pointer;
      color: var(--primary-foreground); padding: 0.5rem;
    }
    .header.scrolled .mobile-toggle { color: var(--foreground); }

    .mobile-menu {
      display: none; flex-direction: column; padding: 1rem 1.5rem;
      background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
      border-top: 1px solid var(--border);
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu .nav-link { color: var(--foreground); text-align: left; padding: 0.75rem 0; }

    @media (min-width: 768px) {
      .nav-desktop { display: flex; }
      .mobile-toggle { display: none; }
    }

    /* ========== HERO ========== */
    .hero {
      position: relative; height: 100vh; width: 100%; overflow: hidden;
    }
    .hero-slide {
      position: absolute; inset: 0; opacity: 0;
      transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
      transform: scale(1.05);
    }
    .hero-slide.active { opacity: 1; transform: scale(1); }
    .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
    .hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1));
    }
    .hero-content {
      position: absolute; inset: 0; display: flex; align-items: center;
      justify-content: center; padding: 1.5rem; z-index: 2;
    }
    .hero-text {
      text-align: center; max-width: 56rem;
      opacity: 0; transform: translateY(40px);
      transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
    }
    .hero-text.active { opacity: 1; transform: translateY(0); }
    .hero-text h1 {
      font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 700;
      color: var(--primary-foreground); line-height: 1.1; letter-spacing: -0.02em;
    }
    .hero-text p {
      margin-top: 1.5rem; font-size: clamp(1rem, 2vw, 1.25rem);
      color: rgba(250,248,245,0.8); max-width: 40rem; margin-left: auto; margin-right: auto;
    }
    .hero-cta {
      display: inline-flex; align-items: center; margin-top: 2.5rem;
      padding: 1rem 2rem; background: var(--gold); color: var(--warm-dark);
      font-family: var(--font-heading); font-weight: 600; font-size: 0.8rem;
      text-transform: uppercase; letter-spacing: 0.15em;
      border: none; border-radius: 9999px; cursor: pointer;
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
      transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
      text-decoration: none;
    }
    .hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }

    .hero-arrow {
      position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
      background: rgba(250,248,245,0.1); backdrop-filter: blur(4px);
      border: none; border-radius: 50%; padding: 0.75rem;
      color: var(--primary-foreground); cursor: pointer;
      transition: background 0.3s;
    }
    .hero-arrow:hover { background: rgba(250,248,245,0.2); }
    .hero-arrow.left { left: 1rem; }
    .hero-arrow.right { right: 1rem; }
    @media (min-width: 768px) {
      .hero-arrow.left { left: 2rem; }
      .hero-arrow.right { right: 2rem; }
    }
    .hero-arrow svg { width: 24px; height: 24px; }

    .hero-dots {
      position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
      display: flex; gap: 0.75rem; z-index: 3;
    }
    .hero-dot {
      height: 0.5rem; border-radius: 9999px; border: none; cursor: pointer;
      transition: all 0.5s; background: rgba(250,248,245,0.4); width: 0.5rem;
    }
    .hero-dot.active { width: 2.5rem; background: var(--gold); }

    /* ========== SECTIONS COMMON ========== */
    .section { padding: 6rem 1.5rem; }
    @media (min-width: 768px) { .section { padding: 8rem 1.5rem; } }
    .section-inner { max-width: 80rem; margin: 0 auto; }
    .section-label {
      font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold);
    }
    .section-title {
      margin-top: 1rem; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700;
      color: var(--foreground); line-height: 1.15;
    }

    .section-subtitle {
      margin-top: 0.5rem; font-size: clamp(1.75rem, 4vw, 1.75rem); font-weight: 300;
      color: var(--foreground); line-height: 1.15;
    }

    .section-subtitle2 {
      margin-top: 0.5rem; font-size: clamp(1.5rem, 4vw, 1.5rem); font-weight: 300;
      color: var(--foreground); line-height: 1.15;
    }

    .section-subtitle3 {
      margin-top: 0.5rem; font-size: clamp(1.25rem, 4vw, 1.25rem); font-weight: 300;
      color: var(--foreground); line-height: 1.15;
    }



    /* Scroll animations */
    .reveal {
      opacity: 0; transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* ========== CONCEPT ========== */
    .concept { text-align: center; }
    .concept-inner { max-width: 56rem; margin: 0 auto; }
    .concept h2 {
      margin-top: 1.5rem; font-size: clamp(1.75rem, 4vw, 3.5rem); font-weight: 300;
      line-height: 1.2; color: var(--foreground);
    }
    .concept h2 em { font-weight: 600; font-style: italic; color: var(--gold); }
    .concept p {
      margin-top: 2rem; font-size: clamp(1rem, 1.5vw, 1.25rem);
      line-height: 1.8; color: var(--muted-foreground); max-width: 48rem; margin-left: auto; margin-right: auto;
    }
    .concept-divider {
      margin-top: 3rem; display: flex; align-items: center; justify-content: center; gap: 2rem;
      color: var(--muted-foreground);
    }
    .concept-divider .line { height: 1px; width: 4rem; background: var(--border); }
    .concept-divider span { font-family: var(--font-heading); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; }

    /* ========== FEATURES ========== */
    .features { background: var(--warm); }
    .features-grid {
      margin-top: 3rem; display: grid; gap: 1.5rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
    .feature-card {
      background: var(--card); border-radius: 1rem; padding: 2rem;
      border: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,0.04);
      transition: box-shadow 0.5s, transform 0.3s;
    }
    .feature-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
    .feature-icon {
      width: 3.5rem; height: 3.5rem; border-radius: 0.75rem;
      background: rgba(184,146,58,0.1); display: flex; align-items: center;
      justify-content: center; margin-bottom: 1.5rem; color: var(--gold);
      transition: background 0.3s;
    }
    .feature-card:hover .feature-icon { background: rgba(184,146,58,0.2); }
    .feature-card h3 {
      font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
      color: var(--foreground); margin-bottom: 0.75rem;
    }
    .feature-card p { font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }

    /* ========== GALLERY ========== */
    .gallery-grid {
      margin-top: 3rem; display: grid; gap: 1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
    .gallery-item {
      position: relative; overflow: hidden; border-radius: 1rem; cursor: pointer;
    }
    .gallery-item img {
      width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3;
      transition: transform 0.7s ease;
    }
    .gallery-item:hover img { transform: scale(1.1); }
    .gallery-item-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
      opacity: 0; transition: opacity 0.5s;
      display: flex; align-items: flex-end; padding: 1.5rem;
    }
    .gallery-item:hover .gallery-item-overlay { opacity: 1; }
    .gallery-item-overlay span {
      font-family: var(--font-heading); color: var(--primary-foreground);
      font-size: 0.875rem; font-weight: 500;
    }
    @media (min-width: 768px) {
      .gallery-item.span-2 { grid-column: span 2; grid-row: span 2; }
      .gallery-item.col-span-2 { grid-column: span 2; }
    }

    /* ========== LOCATION ========== */
    .location { background: var(--warm); }
    .location-grid {
      display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
    }
    @media (min-width: 1024px) { .location-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
    .location p {
      margin-top: 1.5rem; font-size: 1.1rem; line-height: 1.8; color: var(--muted-foreground);
    }
    .location-points {
      margin-top: 2.5rem; display: grid; grid-template-columns: 1fr;
      gap: 1rem;
    }
    @media (min-width: 640px) { .location-points { grid-template-columns: 1fr 1fr; } }
    .location-point {
      display: flex; align-items: center; gap: 0.75rem;
    }
    .location-point-icon {
      width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; flex-shrink: 0;
      background: rgba(184,146,58,0.1); display: flex; align-items: center;
      justify-content: center; color: var(--gold);
    }
    .location-point span { font-size: 0.875rem; color: var(--foreground); }
    .location-img { border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
    .location-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

    /* ========== CONTACT ========== */
    .contact { background: var(--warm-dark); }
    .contact .section-title { color: var(--primary-foreground); }
    .contact p { color: rgba(250,248,245,0.6); font-size: 1.1rem; max-width: 40rem; margin: 1rem auto 0; }
    .contact-form {
      margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem;
    }
    @media (min-width: 640px) { .contact-form { grid-template-columns: 1fr 1fr; } }
    .contact-input {
      border-radius: 0.75rem; border: 1px solid rgba(250,248,245,0.1);
      background: rgba(250,248,245,0.05); padding: 1rem 1.25rem;
      color: var(--primary-foreground); font-family: var(--font-body); font-size: 1rem;
      transition: all 0.3s; outline: none;
    }
    .contact-input::placeholder { color: rgba(250,248,245,0.3); }
    .contact-input:focus { border-color: rgba(184,146,58,0.5); box-shadow: 0 0 0 3px rgba(184,146,58,0.15); }
    .contact-submit-wrap { grid-column: 1 / -1; margin-top: 0.5rem; }
    .contact-submit {
      display: inline-flex; align-items: center; gap: 0.75rem;
      padding: 1rem 2.5rem; background: var(--gold); color: var(--warm-dark);
      font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem;
      text-transform: uppercase; letter-spacing: 0.15em;
      border: none; border-radius: 9999px; cursor: pointer;
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
      transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
    }
    .contact-submit:hover { background: var(--gold-light); transform: translateY(-2px); }
    .contact-submit svg { width: 18px; height: 18px; }

    /* ========== FOOTER ========== */
    .footer { background: var(--foreground); padding: 4rem 1.5rem; }
    .footer-inner { max-width: 80rem; margin: 0 auto; }
    .footer-grid {
      display: grid; grid-template-columns: 1fr; gap: 3rem;
    }
    @media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
    .footer .logo { font-size: 1.5rem; }
    .footer-desc { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: rgba(250,248,245,0.5); max-width: 18rem; }
    .footer-heading {
      font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 1rem;
    }
    .footer-link {
      display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem;
      color: rgba(250,248,245,0.6); text-decoration: none; margin-bottom: 0.75rem;
      transition: color 0.3s;
    }
    .footer-link:hover { color: var(--gold); }
    .footer-link svg { width: 16px; height: 16px; flex-shrink: 0; }
    .footer-socials { display: flex; gap: 1rem; }
    .footer-social {
      width: 2.5rem; height: 2.5rem; border-radius: 50%;
      background: rgba(250,248,245,0.05); display: flex; align-items: center;
      justify-content: center; color: rgba(250,248,245,0.5);
      text-decoration: none; transition: all 0.3s;
    }
    .footer-social:hover { background: rgba(184,146,58,0.2); color: var(--gold); }
    .footer-social svg { width: 18px; height: 18px; }
    .footer-bottom {
      margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(250,248,245,0.1);
      text-align: center; font-size: 0.75rem; color: rgba(250,248,245,0.3);
    }

    /* ========== WHATSAPP ========== */
    .whatsapp {
      position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
      width: 3.5rem; height: 3.5rem; border-radius: 50%;
      background: var(--green-whatsapp); color: #fff;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 20px rgba(37,211,102,0.4);
      transition: transform 0.3s, box-shadow 0.3s;
      text-decoration: none;
    }
    .whatsapp:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
    .whatsapp svg { width: 28px; height: 28px; }


    .map-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.map-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.nombre-casa {
  font-size: 1.4em;
  display: inline-block;
  margin-bottom: 8px;
}