:root {
    --sand: #F5EFE6; --sand-dark: #EAE0D0;
    --ocean: #1A5F7A; --ocean-light: #2E8BB5; --ocean-pale: #D4EBF5;
    --coral: #E07B54; --white: #FFFDF9; --ink: #1C2B35; --ink-light: #4A5F6B; --gold: #C9973A;
    --font-display: 'Fraunces', serif; --font-body: 'Outfit', sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font-body); background: var(--white); color: var(--ink); overflow-x: hidden; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 4rem; transition: all 0.4s ease; }
  nav.scrolled { background: rgba(255,253,249,0.96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(26,95,122,0.12); padding: 0.8rem 4rem; }
  .nav-logo { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; color: var(--white); letter-spacing: 0.04em; text-decoration: none; transition: color 0.3s; }
  nav.scrolled .nav-logo { color: var(--ocean); }
  .nav-links { display: flex; gap: 2.5rem; align-items: center; }
  .nav-links a { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.3s; }
  nav.scrolled .nav-links a { color: var(--ink-light); }
  .nav-links a:hover { color: var(--white); }
  nav.scrolled .nav-links a:hover { color: var(--ocean); }
  .btn-nav { background: var(--coral); color: var(--white) !important; padding: 0.55rem 1.4rem; border-radius: 2px; font-weight: 500 !important; transition: background 0.3s, transform 0.2s !important; }
  .btn-nav:hover { background: #C96840 !important; transform: translateY(-1px); }

  /* HERO */
  .hero { height: 100vh; min-height: 680px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; background: linear-gradient(160deg, #0a3347 0%, #1A5F7A 40%, #2E8BB5 80%, #4AAFD4 100%); }
  .wave-lines { position: absolute; bottom: 0; left: 0; right: 0; height: 180px; overflow: hidden; }
  .wave-lines svg { position: absolute; bottom: 0; width: 200%; animation: waveMove 12s linear infinite; }
  .wave-lines svg:nth-child(2) { animation-duration: 18s; animation-delay: -6s; opacity: 0.5; }
  @keyframes waveMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  .hero-content { position: relative; z-index: 2; padding: 5rem 2rem 2rem; }
  .hero-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; border-top: 1px solid rgba(255,255,255,0.25); border-bottom: 1px solid rgba(255,255,255,0.25); padding: 0.4rem 1.2rem; animation: fadeUp 0.8s ease both; }
  .hero-brand { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem; animation: fadeUp 0.7s ease both; }
  .hero-brand img { height: 64px; width: auto; filter: brightness(0) invert(1); }
  .hero-brand-name { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.75); font-weight: 400; }
  .hero-opening { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; background: rgba(224,123,84,0.18); border: 1px solid rgba(224,123,84,0.5); border-radius: 2px; padding: 0.35rem 0.9rem; font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.9); font-weight: 400; animation: fadeUp 0.75s ease 0.05s both; }
  .hero-opening::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); display: inline-block; animation: pulse-dot 1.8s ease-in-out infinite; }
  @keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.7); } }
  .hero h1 { font-family: var(--font-display); font-size: clamp(3.2rem, 8vw, 6.5rem); font-weight: 300; color: var(--white); line-height: 1.05; animation: fadeUp 0.9s ease 0.15s both; }
  .hero h1 em { font-style: italic; color: rgba(255,255,255,0.7); }
  .hero-sub { margin-top: 1.2rem; font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; animation: fadeUp 1s ease 0.3s both; }
  .hero-ctas { display: flex; gap: 1rem; justify-content: center; margin-top: 2.5rem; animation: fadeUp 1s ease 0.45s both; flex-wrap: wrap; }
  .hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; animation: fadeIn 1s ease 1s both; }
  .hero-scroll span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
  .scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.3); animation: scrollPulse 2s ease infinite; }
  @keyframes scrollPulse { 0%,100%{transform:scaleY(1);opacity:0.3} 50%{transform:scaleY(1.3);opacity:0.8} }
  @keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
  @keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

  /* BUTTONS */
  .btn-primary { background: var(--coral); color: var(--white); padding: 0.9rem 2.4rem; border-radius: 2px; border: none; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; cursor: pointer; text-decoration: none; transition: background 0.3s, transform 0.2s, box-shadow 0.3s; box-shadow: 0 4px 20px rgba(224,123,84,0.35); display: inline-block; }
  .btn-primary:hover { background: #C96840; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(224,123,84,0.45); }
  .btn-ghost { background: transparent; color: var(--white); padding: 0.9rem 2.4rem; border-radius: 2px; border: 1px solid rgba(255,255,255,0.4); font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; cursor: pointer; text-decoration: none; transition: all 0.3s; display: inline-block; }
  .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
  .btn-outline { display: inline-block; border: 1.5px solid var(--ocean); color: var(--ocean); padding: 0.85rem 2.5rem; border-radius: 2px; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; text-decoration: none; cursor: pointer; background: transparent; transition: all 0.3s; }
  .btn-outline:hover { background: var(--ocean); color: var(--white); }

  /* STATS BAR */
  .stats-bar { background: var(--ocean); display: flex; justify-content: center; }
  .stat-item { flex: 1; max-width: 280px; padding: 2rem 2.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-right: none; }
  .stat-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 300; color: var(--white); line-height: 1; }
  .stat-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 0.4rem; }

  /* BOOKING BAR */
  .booking-section { background: var(--sand); padding: 3.5rem 4rem; position: relative; }
  .booking-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--ocean), var(--coral)); }
  .booking-inner { max-width: 1100px; margin: 0 auto; }
  .booking-title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; color: var(--ink); margin-bottom: 1.8rem; text-align: center; }
  .booking-title span { color: var(--ocean); }
  .booking-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; align-items: end; background: var(--white); border-radius: 4px; padding: 1.5rem; box-shadow: 0 4px 40px rgba(26,95,122,0.1); }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-group label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-light); font-weight: 500; }
  .form-group input, .form-group select { border: 1px solid var(--sand-dark); border-radius: 2px; padding: 0.75rem 1rem; font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); background: transparent; outline: none; transition: border-color 0.2s; }
  .form-group input:focus, .form-group select:focus { border-color: var(--ocean); }
  .btn-search { background: var(--ocean); color: var(--white); padding: 0.75rem 2.2rem; border-radius: 2px; border: none; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.3s, transform 0.2s; height: 48px; }
  .btn-search:hover { background: #143F55; transform: translateY(-1px); }

  /* SECTION SHARED */
  .section { padding: 6rem 4rem; }
  .section-inner { max-width: 1280px; margin: 0 auto; }
  .section-header { text-align: center; margin-bottom: 3.5rem; }
  .section-tag { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ocean); font-weight: 500; display: block; margin-bottom: 0.8rem; }
  .section-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; color: var(--ink); line-height: 1.15; }
  .section-desc { font-size: 1rem; color: var(--ink-light); font-weight: 300; max-width: 560px; margin: 1rem auto 0; line-height: 1.7; }

  /* APARTMENTS */
  .apts-section { background: var(--white); }

  /* Search + filter bar */
  /* ── FILTER SYSTEM ── */
  .apts-toolbar { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.75rem; flex-wrap: wrap; }
  .apts-search { flex: 1; min-width: 200px; position: relative; }
  .apts-search input { width: 100%; border: none; border-radius: 50px; padding: 0.75rem 1.2rem 0.75rem 2.8rem; font-family: var(--font-body); font-size: 0.88rem; color: var(--ink); background: var(--white); outline: none; transition: box-shadow 0.2s; box-shadow: 0 2px 12px rgba(26,95,122,0.08); }
  .apts-search input:focus { box-shadow: 0 2px 20px rgba(26,95,122,0.18); }
  .apts-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; stroke: var(--ink-light); fill: none; stroke-width: 2; pointer-events: none; }
  .apts-count { font-size: 0.78rem; color: var(--ink-light); white-space: nowrap; letter-spacing: 0.06em; }
  .filter-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
  .filter-row-label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-light); font-weight: 500; min-width: 90px; }
  .filter-btn { border: 1.5px solid transparent; background: var(--white); border-radius: 50px; padding: 0.45rem 1.1rem; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-light); cursor: pointer; transition: all 0.2s; white-space: nowrap; box-shadow: 0 1px 6px rgba(26,95,122,0.07); }
  .filter-btn:hover { border-color: var(--ocean); color: var(--ocean); box-shadow: 0 2px 12px rgba(26,95,122,0.12); }
  .filter-btn.active { background: var(--ocean); color: white; border-color: var(--ocean); box-shadow: 0 3px 14px rgba(26,95,122,0.25); font-weight: 500; }

  /* Grid */
  .apts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5px; }
  .apt-card { position: relative; overflow: hidden; cursor: pointer; background: var(--white); border-radius: 3px; box-shadow: 0 2px 14px rgba(26,95,122,0.08); display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
  .apt-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(26,95,122,0.16); }
  .apt-photo-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; flex-shrink: 0; }
  .apt-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
  .apt-card:hover .apt-photo-wrap img { transform: scale(1.05); }
  /* Gradient fallbacks when no photo */
  .apt-photo-wrap[data-color="0"] { background: linear-gradient(135deg,#1A5F7A,#4AAFD4); }
  .apt-photo-wrap[data-color="1"] { background: linear-gradient(135deg,#E07B54,#C96840); }
  .apt-photo-wrap[data-color="2"] { background: linear-gradient(135deg,#1C4B5A,#3A8FA8); }
  .apt-photo-wrap[data-color="3"] { background: linear-gradient(135deg,#2D6A4F,#74C69D); }
  .apt-photo-wrap[data-color="4"] { background: linear-gradient(135deg,#5C4A8A,#9B80C5); }
  .apt-photo-wrap[data-color="5"] { background: linear-gradient(135deg,#8B4513,#D2691E); }
  .apt-photo-wrap[data-color="6"] { background: linear-gradient(135deg,#1A3A5C,#2E6DA4); }
  .apt-photo-wrap[data-color="7"] { background: linear-gradient(135deg,#3D5A3E,#6A9B6B); }
  .apt-photo-wrap[data-color="8"] { background: linear-gradient(135deg,#6B3A5A,#A8618D); }
  .apt-photo-wrap[data-color="9"] { background: linear-gradient(135deg,#4A3520,#8B6340); }
  .apt-photo-wrap[data-color="10"] { background: linear-gradient(135deg,#1A5A4A,#2E9A7A); }
  .apt-photo-wrap[data-color="11"] { background: linear-gradient(135deg,#5A2A1A,#A05A30); }
  .apt-info { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.2rem; background: var(--white); }
  .apt-badge { position: absolute; top: 0.7rem; left: 0.7rem; background: var(--coral); color: var(--white); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 1px; font-weight: 500; z-index: 2; }
  .apt-badge.new { background: var(--ocean); }
  .apt-city-tag { position: absolute; top: 0.7rem; right: 0.7rem; background: rgba(10,30,45,0.55); backdrop-filter: blur(4px); color: rgba(255,255,255,0.9); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 1px; z-index: 2; }
  .apt-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; color: var(--ink); line-height: 1.2; }
  .apt-address { font-size: 0.7rem; color: var(--ink-light); letter-spacing: 0.02em; }
  .apt-feats-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.35rem; }
  .apt-feat { font-size: 0.67rem; color: var(--ink-light); display: inline-flex; align-items: center; gap: 0.22rem; background: var(--sand); padding: 0.18rem 0.48rem; border-radius: 20px; letter-spacing: 0.03em; }
  .apt-cta { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.5rem; background: var(--coral); color: var(--white); padding: 0.42rem 1rem; border-radius: 1px; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; font-weight: 500; align-self: flex-start; transition: background 0.2s; }
  .apt-cta:hover { background: #C96840; }

  /* Pagination */
  .apts-pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; }
  .page-btn { width: 38px; height: 38px; border: 1.5px solid var(--sand-dark); background: transparent; border-radius: 2px; font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-light); cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
  .page-btn:hover, .page-btn.active { border-color: var(--ocean); color: var(--ocean); background: var(--ocean-pale); }
  .page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
  .page-dots { color: var(--ink-light); font-size: 0.9rem; padding: 0 0.3rem; }

  /* EXPERIENCE */
  .exp-section { background: var(--sand); }
  .exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .exp-map-bg { width: 100%; height: 420px; border-radius: 3px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
  .exp-map-bg::before { content: ''; position: absolute; inset: 0; background: url("https://cdn.krbo.eu/10tosea/contents/1186187b0bde40229cd8f1ab604588b5.jpg") center/cover no-repeat; }
  .exp-map-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,30,45,0.65) 0%, rgba(10,30,45,0.15) 60%, transparent 100%); }
  .exp-map-label { position: relative; z-index: 2; text-align: center; color: var(--white); }
  .exp-map-label p { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; }
  .exp-map-label h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; margin-top: 0.3rem; }
  .exp-float-card { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--white); padding: 1.2rem 1.6rem; border-radius: 3px; box-shadow: 0 8px 40px rgba(26,95,122,0.15); min-width: 180px; }
  .exp-float-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 300; color: var(--ocean); }
  .exp-float-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-light); margin-top: 0.2rem; }
  .exp-content .section-tag, .exp-content .section-title { text-align: left; }
  .exp-content .section-title { font-size: 2.6rem; }
  .exp-content .section-desc { text-align: left; margin: 0; }
  .exp-points { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
  .exp-point { display: flex; gap: 1.2rem; align-items: flex-start; }
  .exp-point-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--ocean-pale); border-radius: 2px; display: flex; align-items: center; justify-content: center; }
  .exp-point-icon svg { width: 20px; height: 20px; stroke: var(--ocean); fill: none; stroke-width: 1.5; }
  .exp-point-text h4 { font-size: 0.95rem; font-weight: 500; color: var(--ink); }
  .exp-point-text p { font-size: 0.88rem; color: var(--ink-light); line-height: 1.6; margin-top: 0.2rem; font-weight: 300; }

  /* TESTIMONIALS */
  .test-section { background: var(--ocean); overflow: hidden; }
  .test-section .section-tag { color: rgba(255,255,255,0.5); }
  .test-section .section-title { color: var(--white); }
  .test-track-wrap { overflow: hidden; margin-top: 3rem; }
  .test-track { display: flex; gap: 1.5rem; animation: trackScroll 30s linear infinite; width: max-content; }
  .test-track:hover { animation-play-state: paused; }
  @keyframes trackScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  .test-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 3px; padding: 2rem; width: 360px; flex-shrink: 0; transition: background 0.3s; }
  .test-card:hover { background: rgba(255,255,255,0.12); }
  .test-stars { color: var(--gold); font-size: 0.9rem; }
  .test-text { font-family: var(--font-display); font-size: 1.15rem; font-weight: 300; color: rgba(255,255,255,0.9); line-height: 1.6; margin-top: 0.8rem; font-style: italic; }
  .test-author { margin-top: 1.2rem; display: flex; align-items: center; gap: 0.8rem; }
  .test-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; color: rgba(255,255,255,0.7); }
  .test-name { font-size: 0.82rem; font-weight: 500; color: var(--white); }
  .test-country { font-size: 0.72rem; color: rgba(255,255,255,0.45); }




  /* FOOTER */
  footer { background: var(--ink); padding: 4rem 4rem 2rem; }
  .footer-grid { max-width: 1200px; margin: 0 auto; }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .footer-brand .logo-text { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--white); }
  .footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; margin-top: 0.8rem; max-width: 260px; font-weight: 300; }
  .footer-contact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
  .footer-contact a { font-size: 0.85rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
  .footer-contact a:hover { color: var(--white); }
  .footer-col h5 { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1.2rem; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
  .footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; font-weight: 300; }
  .footer-col ul a:hover { color: var(--white); }
  .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
  .footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
  .footer-legal { display: flex; gap: 1.5rem; }
  .footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
  .footer-legal a:hover { color: rgba(255,255,255,0.6); }

  /* MODAL */
  .modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,25,35,0.7); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .modal-overlay.active { opacity: 1; pointer-events: all; }
  .modal { background: var(--white); border-radius: 4px; overflow: hidden; max-width: 560px; width: 100%; transform: scale(0.95) translateY(20px); transition: transform 0.3s ease; box-shadow: 0 30px 80px rgba(10,25,35,0.3); }
  .modal-overlay.active .modal { transform: scale(1) translateY(0); }
  .modal-header { background: var(--ocean); padding: 2rem; position: relative; }
  .modal-header h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; color: var(--white); }
  .modal-apt-name { color: rgba(255,255,255,0.7); font-size: 1rem; margin-top: 0.2rem; font-family: var(--font-display); }
  .modal-header p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin-top: 0.3rem; }
  .modal-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.15); border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; color: var(--white); font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
  .modal-close:hover { background: rgba(255,255,255,0.25); }
  .modal-body { padding: 2rem; }
  .modal-booking-note { background: var(--sand); border-radius: 3px; padding: 1.2rem 1.5rem; font-size: 0.88rem; color: var(--ink-light); line-height: 1.6; border-left: 3px solid var(--ocean); }
  .modal-booking-note strong { color: var(--ink); }
  .modal-btn-wrap { margin-top: 1.5rem; }
  .modal-btn-wrap a { display: block; text-align: center; }

  /* ANIMATIONS */
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }




  .nav-logo-img { display:flex; align-items:center; text-decoration:none; }
  #navLogoImg { height: 52px; width: auto; transition: all 0.4s; object-fit: contain;
    /* On dark hero: use brightness trick to show white version */
    filter: brightness(0) invert(1);
  }
  nav.scrolled #navLogoImg { 
    height: 44px;
    filter: none; /* Show original colors on white nav */
  }

  /* LANGUAGE TOGGLE */
  .lang-toggle { display: flex; gap: 0.3rem; align-items: center; }
  .lang-btn { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); padding: 0.25rem 0.55rem; border-radius: 2px; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.1em; cursor: pointer; transition: all 0.2s; }
  nav.scrolled .lang-btn { border-color: rgba(26,95,122,0.3); color: var(--ink-light); }
  .lang-btn.active, .lang-btn:hover { background: var(--coral); border-color: var(--coral); color: var(--white) !important; }
  [data-lang] { display: none; }
  .lang-es [data-lang="es"], .lang-en [data-lang="en"], .lang-sv [data-lang="sv"], .lang-fr [data-lang="fr"], .lang-de [data-lang="de"], .lang-it [data-lang="it"] { display: block; }
  span[data-lang] { display: none; }
  .lang-es span[data-lang="es"], .lang-en span[data-lang="en"], .lang-sv span[data-lang="sv"], .lang-fr span[data-lang="fr"], .lang-de span[data-lang="de"], .lang-it span[data-lang="it"] { display: inline; }

  /* WIDGET KROSSBOOKING */
  .widget-section { background: var(--sand); }
  .widget-inner { max-width: 520px; margin: 0 auto; padding: 0 1.5rem 4rem; }
  .kross-container { margin-top: 2rem; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 24px rgba(26,95,122,0.10); }
  .kross-container:empty { min-height: 140px; background: rgba(255,255,255,0.5); }
  .booking-fallback { margin-top: 1.2rem; padding: 1rem 1.1rem; border: 1px solid rgba(26,95,122,0.12); border-radius: 4px; background: rgba(255,255,255,0.78); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .booking-fallback[hidden] { display: none !important; }
  .booking-fallback p { font-size: 0.92rem; color: var(--ink-light); line-height: 1.6; }
  @media (max-width: 600px) {
    .widget-inner { padding: 0 1rem 3rem; }
    .booking-fallback { align-items: flex-start; flex-direction: column; }
  }


  /* Mobile nav actions */
  .mobile-nav-actions { display: none; }
  .mobile-lang-btn { background: transparent; border: 1px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.8); padding: 0.25rem 0.5rem; border-radius: 2px; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.1em; cursor: pointer; transition: all 0.2s; }
  nav.scrolled .mobile-lang-btn { border-color: rgba(26,95,122,0.3); color: var(--ink-light); }
  .mobile-lang-btn.active { background: var(--coral); border-color: var(--coral); color: white; }
  .mobile-book-btn { background: var(--coral); color: white; padding: 0.4rem 0.9rem; border-radius: 2px; font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; text-decoration: none; white-space: nowrap; }

  /* ── APT TABLE ── */
  .apt-table-wrap { margin-top: 2rem; }

  /* Filter bar */
  .apt-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.5rem;
    background: #f4f9fc;
    border: 1px solid #d0e4ed;
    border-radius: 12px;
    padding: 1.4rem 1.8rem;
    margin-bottom: 1.2rem;
  }
  .apt-filter-group { display: flex; flex-direction: column; gap: 0.5rem; }
  .apt-filter-search { flex: 1; min-width: 180px; }
  .apt-filter-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a9aaa;
    font-weight: 700;
  }
  .apt-chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .apt-chip {
    font-family: var(--font-body);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.9rem;
    border: 1px solid #b8d0da;
    border-radius: 50px;
    background: #fff;
    color: #4a6a7a;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
  }
  .apt-chip:hover { border-color: var(--ocean); color: var(--ocean); }
  .apt-chip.active { background: var(--ocean); border-color: var(--ocean); color: #fff; font-weight: 600; }
  .th-select, .th-input {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: #2a4a5a;
    background: #fff;
    border: 1px solid #b8d0da;
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    width: 100%;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
  }
  .th-select:focus, .th-input:focus { border-color: var(--ocean); }
  .th-select:hover, .th-input:hover { border-color: #7ab0c0; }
  .th-input::placeholder { color: #aaa; }

  /* Dropdown filtros en header */
  .th-filter-btn {
    background: none;
    border: 1px solid #b8d0da;
    border-radius: 4px;
    color: #5a7a88;
    cursor: pointer;
    padding: 0.1rem 0.3rem;
    font-size: 0.7rem;
    line-height: 1;
    transition: all 0.15s;
    flex-shrink: 0;
  }
  .th-filter-btn:hover, .th-filter-btn.active { background: var(--ocean); border-color: var(--ocean); color: #fff; }
  .th-drop {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #fff;
    border: 1px solid #c8dfe8;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    box-shadow: 0 6px 24px rgba(26,95,122,0.12);
    z-index: 100;
    white-space: normal;
  }
  .th-drop.open { display: block; }
  .apt-search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #b8d0da;
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    transition: border-color 0.2s;
  }
  .apt-search-box:focus-within { border-color: var(--ocean); }
  .apt-search-box svg { opacity: 0.5; flex-shrink: 0; color: #4a6a7a; }
  .apt-search-box input {
    background: none;
    border: none;
    outline: none;
    color: #222;
    font-family: var(--font-body);
    font-size: 0.84rem;
    width: 100%;
  }
  .apt-search-box input::placeholder { color: #aac; }

  /* Result bar */
  .apt-result-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0 0.8rem;
    gap: 1rem;
  }
  .apt-result-count {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--ocean);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .apt-result-hint {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    font-style: italic;
  }

  /* Table scroll container */
  .apt-table-scroll {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.07);
  }
  .apt-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 0.85rem;
  }
  .apt-table thead tr {
    background: rgba(97,206,188,0.08);
    border-bottom: 1px solid rgba(97,206,188,0.2);
  }
  .apt-table th {
    padding: 1rem 1.1rem;
    text-align: left;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    white-space: nowrap;
    user-select: none;
  }
  .apt-table th.sortable { cursor: pointer; }
  .apt-table th.sortable:hover { color: var(--ocean); }
  .apt-table th svg { vertical-align: middle; margin-right: 4px; opacity: 0.6; }
  .sort-icon { margin-left: 4px; opacity: 0.35; font-size: 0.7rem; }
  .sort-icon.asc::after { content: '↑'; }
  .sort-icon.desc::after { content: '↓'; }
  .sort-icon.asc, .sort-icon.desc { opacity: 1; color: var(--ocean); }

  .apt-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: background 0.15s;
  }
  .apt-table tbody tr:last-child { border-bottom: none; }
  .apt-table tbody tr:hover { background: rgba(97,206,188,0.06); }
  .apt-table tbody tr:hover .apt-row-cta { opacity: 1; }
  .apt-table td {
    padding: 0.9rem 1.1rem;
    vertical-align: middle;
    color: rgba(255,255,255,0.85);
  }
  .col-name { min-width: 160px; }
  .col-type { min-width: 90px; }
  .col-num { text-align: center; min-width: 80px; }
  .col-terraza { min-width: 120px; }
  .col-action { min-width: 100px; text-align: right; }

  /* Name cell */
  .apt-row-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    display: block;
  }
  .apt-row-addr {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
    display: block;
  }

  /* Type badge */
  .apt-type-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    font-size: 0.65rem;
    letter-spacing: 0.07em;
    font-weight: 700;
    text-transform: uppercase;
  }
  .apt-type-studio { background: rgba(255,196,100,0.12); color: #ffc464; border: 1px solid rgba(255,196,100,0.25); }
  .apt-type-apt { background: rgba(97,206,188,0.1); color: var(--ocean); border: 1px solid rgba(97,206,188,0.2); }

  /* Numeric cells */
  .apt-row-num {
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .apt-row-num svg { opacity: 0.45; }

  /* Terraza cell */
  .apt-terraza-yes {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--ocean);
    font-weight: 600;
  }
  .apt-terraza-yes svg { opacity: 0.7; }
  .apt-terraza-no {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
  }

  /* CTA */
  .apt-row-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--ocean);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.42rem 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
    white-space: nowrap;
  }
  .apt-row-cta:hover { background: #4ab8a6; }

  /* Empty state */
  .apt-empty {
    text-align: center;
    padding: 3.5rem 1rem;
    color: rgba(255,255,255,0.3);
  }
  .apt-empty svg { margin-bottom: 1rem; opacity: 0.3; }
  .apt-empty p { font-size: 0.9rem; }

  /* ── RESPONSIVE ── */

  /* Tablet */
  @media (max-width: 1200px) {
    .apts-grid { grid-template-columns: repeat(3,1fr); }
  }

  @media (max-width: 1024px) {
    nav, nav.scrolled { padding: 1rem 2rem; }
    .section { padding: 4rem 2rem; }
    .booking-section { padding: 3rem 2rem; }
    .exp-grid { grid-template-columns: 1fr; gap: 3rem; }
    .exp-float-card { right: 1rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    footer { padding: 3rem 2rem 1.5rem; }
    .apts-toolbar { flex-wrap: wrap; gap: 0.5rem; }
    .filter-row { gap: 0.4rem; }
    .filter-row-label { min-width: 80px; }
  }

  /* Mobile */
  @media (max-width: 768px) {
    /* Nav — hamburger hidden, show lang toggle only */
    .nav-links { display: none; }
    nav #navLogoImg { height: 38px; }

    /* Hero */
    .hero { min-height: 100svh; }
    .hero h1 { font-size: 2.6rem; line-height: 1.1; }
    .hero-sub { font-size: 0.92rem; padding: 0 1rem; }
    .hero-ctas { flex-direction: column; align-items: center; gap: 0.75rem; }
    .hero-ctas a { width: 100%; max-width: 280px; text-align: center; }

    /* Stats */
    .stats-bar { flex-wrap: wrap; }
    .stat-item { width: 50%; max-width: none; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1.4rem 1rem; }
    .stat-num { font-size: 2.2rem; }

    /* Booking form */
    .booking-section { padding: 2.5rem 1.5rem; }
    .booking-title { font-size: 1.5rem; margin-bottom: 1.2rem; }
    .booking-form { grid-template-columns: 1fr; padding: 1.2rem; gap: 0.8rem; }
    .booking-form .btn-search { width: 100%; height: 44px; }

    /* Filters */
    .apts-toolbar { padding: 0; gap: 0.4rem; }
    .filter-row { gap: 0.35rem; }
    .filter-row-label { font-size: 0.62rem; min-width: 70px; }
    .filter-btn { padding: 0.5rem 0.8rem; font-size: 0.75rem; }
    .apts-count { width: 100%; text-align: left; padding-top: 0.2rem; }

    /* Grid */
    .apts-grid { grid-template-columns: repeat(2,1fr); gap: 1px; }
    .apt-name { font-size: 1rem; }
    .apt-address { font-size: 0.65rem; }
    .apt-features { gap: 0.5rem; }

    /* Pagination */
    .apts-pagination { gap: 0.3rem; flex-wrap: wrap; }
    .page-btn { width: 34px; height: 34px; font-size: 0.78rem; }

    /* Experience */
    .exp-grid { grid-template-columns: 1fr; gap: 2rem; }
    .exp-map-bg { height: 280px; }
    .exp-float-card { bottom: -1rem; right: 0.5rem; padding: 0.9rem 1.2rem; min-width: 140px; }
    .exp-float-num { font-size: 1.8rem; }
    .exp-content .section-title { font-size: 2rem; }
    .exp-points { gap: 1.2rem; }

    /* Services */

    /* Section padding */
    .section { padding: 3.5rem 1.5rem; }
    .section-title { font-size: 2rem; }
    .section-desc { font-size: 0.92rem; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.8rem; }
    .footer-legal { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    footer { padding: 2.5rem 1.5rem 1.5rem; }
  }

  @media (max-width: 768px) {
    .apt-filters { padding: 1rem; gap: 1rem 1.5rem; }
    .apt-table th, .apt-table td { padding: 0.8rem 0.75rem; }
    .apt-result-hint { display: none; }
    .apt-row-cta { opacity: 1; }
    .col-action { display: none; }
  }
  @media (max-width: 480px) {
    .apt-filters { padding: 0.9rem; }
    .apt-chip { font-size: 0.7rem; padding: 0.32rem 0.7rem; }
    .apt-table { font-size: 0.8rem; }
    .apt-row-name { font-size: 0.82rem; }
    .col-terraza { display: none; }
  }
  @media (max-width: 480px) {
    nav, nav.scrolled { padding: 0.8rem 1.2rem; }
    .hero h1 { font-size: 2.1rem; }
    .hero-tag { font-size: 0.62rem; padding: 0.3rem 0.8rem; }
    .apts-grid { grid-template-columns: 1fr; }
    .apt-card { aspect-ratio: 4/3; }
    .stats-bar { }
    .stat-item { width: 50%; padding: 1.2rem 0.8rem; }
    .stat-num { font-size: 2rem; }
    .booking-form { padding: 1rem; }
    .section { padding: 3rem 1.2rem; }
    .btn-primary, .btn-ghost { padding: 0.8rem 1.8rem; font-size: 0.78rem; }
    .section-title { font-size: 1.8rem; }
    .test-card { width: 280px; }
    .test-text { font-size: 1rem; }
    .exp-content .section-title { font-size: 1.8rem; }
    .apts-toolbar { gap: 0.35rem; }
    .filter-btn { padding: 0.45rem 0.65rem; font-size: 0.7rem; }
  }

  /* Mobile nav — show lang toggle inline */
  @media (max-width: 768px) {
    nav { justify-content: space-between; }
    .mobile-nav-actions { display: flex !important; align-items: center; gap: 0.6rem; }
  }
