/* =============================================================
   Lone Star & Sun Rentals — premium stylesheet
   ============================================================= */

:root {
  --bg: #0d0b14;
  --bg-soft: #15121f;
  --surface: #1b1726;
  --surface-2: #221d31;
  --text: #f4f1ea;
  --muted: #b6afc4;
  --line: rgba(255, 255, 255, 0.08);

  --sun-1: #ff8a3d;
  --sun-2: #ff5d73;
  --gold: #ffd27d;
  --teal: #43d6c4;
  --violet: #7b6cff;

  --grad-warm: linear-gradient(120deg, #ff8a3d 0%, #ff5d73 55%, #b14cff 110%);
  --grad-warm-soft: linear-gradient(120deg, rgba(255,138,61,.18), rgba(177,76,255,.18));

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 18px 50px -12px rgba(255, 93, 115, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { width: min(1180px, 92vw); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Animated background orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.orb-1 { width: 480px; height: 480px; background: var(--sun-1); top: -120px; left: -80px; animation: float1 18s var(--ease) infinite; }
.orb-2 { width: 420px; height: 420px; background: var(--violet); bottom: -120px; right: -60px; animation: float2 22s var(--ease) infinite; }
.orb-3 { width: 360px; height: 360px; background: var(--sun-2); top: 40%; left: 55%; animation: float3 26s var(--ease) infinite; }
@keyframes float1 { 50% { transform: translate(120px, 80px) scale(1.15); } }
@keyframes float2 { 50% { transform: translate(-100px, -60px) scale(1.1); } }
@keyframes float3 { 50% { transform: translate(-80px, 70px) scale(0.9); } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-warm); z-index: 1000; transition: width 0.1s linear; box-shadow: 0 0 12px rgba(255, 93, 115, 0.7); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.85em 1.6em; border-radius: 100px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s; position: relative; overflow: hidden; white-space: nowrap; }
.btn-sm { padding: 0.6em 1.15em; font-size: 0.85rem; }
.btn-lg { padding: 1.05em 2em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-warm); color: #fff; box-shadow: var(--shadow-glow); background-size: 160% 160%; }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); background-position: 100% 0; box-shadow: 0 24px 60px -10px rgba(255, 93, 115, 0.6); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-130%); transition: transform 0.7s var(--ease); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.12); border-color: rgba(255,255,255,.2); }

/* ---------- Navbar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; padding: 1.1rem 0; transition: all 0.4s var(--ease); }
.nav.scrolled { padding: 0.65rem 0; background: rgba(13, 11, 20, 0.72); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.brand-mark { color: var(--gold); font-size: 1.1em; animation: spinStar 8s linear infinite; display: inline-block; }
@keyframes spinStar { to { transform: rotate(360deg); } }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--muted); transition: color 0.3s; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad-warm); transition: width 0.3s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-controls { display: flex; align-items: center; gap: 0.8rem; }
.lang-toggle { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0.85rem; border-radius: 100px; border: 1px solid var(--line); font-weight: 700; font-size: 0.85rem; background: rgba(255,255,255,.05); transition: all 0.3s; }
.lang-toggle:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 30px; }
.hamburger span { height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: all 0.35s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; z-index: 1; }
.hero-bg { position: absolute; inset: -5%; background: radial-gradient(1100px 600px at 70% 10%, rgba(255, 138, 61, 0.35), transparent 60%), radial-gradient(900px 600px at 10% 90%, rgba(123, 108, 255, 0.32), transparent 60%), url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=80") center/cover; filter: saturate(1.05); will-change: transform; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,11,20,.55) 0%, rgba(13,11,20,.78) 60%, var(--bg) 100%); z-index: -1; }
.hero-grain { position: absolute; inset: 0; opacity: 0.05; z-index: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-inner { position: relative; z-index: 2; padding-top: 6rem; text-align: center; }
.hero-badge { display: inline-block; padding: 0.55rem 1.1rem; border-radius: 100px; background: rgba(255,255,255,.08); border: 1px solid var(--line); backdrop-filter: blur(8px); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 1.8rem; color: var(--gold); }
.hero-title { font-family: var(--font-head); font-weight: 900; line-height: 1.02; font-size: clamp(2.7rem, 7vw, 5.6rem); letter-spacing: -0.02em; }
.hero-title .line { display: block; }
.hero-title .line:nth-child(2) { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { max-width: 620px; margin: 1.5rem auto 2.4rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.6rem; justify-content: center; margin-top: 3.4rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-suffix { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--sun-1); margin-top: -1.6rem; }
.stat-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.4rem; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; z-index: 3; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 4px; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 6.5rem 0; z-index: 1; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.4rem; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun-1); margin-bottom: 0.9rem; }
.section-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.08; }
.section-lead { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 0.6rem; justify-content: center; margin-bottom: 2.6rem; flex-wrap: wrap; }
.filter { padding: 0.6rem 1.4rem; border-radius: 100px; border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; color: var(--muted); background: rgba(255,255,255,.03); transition: all 0.3s var(--ease); }
.filter:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
.filter.active { background: var(--grad-warm); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }

/* ---------- Property grid (BIGGER cards) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 2.2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s; transition-delay: var(--d, 0ms); }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: rgba(255,138,61,.4); }

/* ---------- Carousel (swipeable) ---------- */
.carousel { position: relative; overflow: hidden; background: #000; }
.card .carousel { aspect-ratio: 3 / 2; }
.carousel-track { display: flex; height: 100%; transition: transform 0.45s var(--ease); touch-action: pan-y; cursor: grab; }
.carousel-track.dragging { transition: none; cursor: grabbing; }
.carousel-slide { min-width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(13,11,20,.55); backdrop-filter: blur(8px); color: #fff; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s, background 0.3s, transform 0.3s; z-index: 3; }
.carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: var(--sun-2); }
.carousel-btn.prev { left: 12px; } .carousel-btn.next { right: 12px; }
.carousel-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); transition: all 0.3s; cursor: pointer; }
.carousel-dots span.active { background: #fff; width: 20px; border-radius: 4px; }
.carousel-count { position: absolute; top: 12px; right: 12px; padding: 0.3rem 0.65rem; border-radius: 100px; background: rgba(13,11,20,.6); backdrop-filter: blur(8px); font-size: 0.75rem; font-weight: 700; z-index: 3; }

.badge { position: absolute; top: 14px; left: 14px; padding: 0.35rem 0.8rem; border-radius: 100px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; backdrop-filter: blur(8px); z-index: 4; }
.is-available { background: rgba(67, 214, 196, 0.92); color: #06231f; }
.is-pending { background: rgba(255, 210, 125, 0.92); color: #3a2a00; }
.is-rented { background: rgba(255, 93, 115, 0.92); color: #2a0008; }
.card-state { position: absolute; bottom: 14px; left: 14px; padding: 0.35rem 0.7rem; border-radius: 8px; background: rgba(13,11,20,.6); backdrop-filter: blur(8px); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; z-index: 3; }
.card-body { padding: 1.7rem; }
.card-price { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--text); }
.card-price span { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.card-title { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; margin-top: 0.3rem; }
.card-city { color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; }
.card-specs { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: 1.1rem 0; padding: 0.9rem 0; border-block: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.card-desc { color: var(--muted); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-actions { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.card-actions .btn { flex: 1; }
.empty-note { text-align: center; color: var(--muted); margin-top: 2rem; font-size: 1.05rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; transition: transform 0.4s var(--ease), border-color 0.4s; position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-warm); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.step:hover { transform: translateY(-8px); border-color: rgba(255,138,61,.35); }
.step:hover::before { transform: scaleX(1); }
.step-num { font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.9; }
.step h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; margin: 0.6rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Apply (2-col with sticky sidebar) ---------- */
.apply-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.6rem; align-items: start; }
.apply-aside { position: sticky; top: 100px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.aside-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.aside-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.aside-card:hover .aside-media img { transform: scale(1.05); }
.aside-flag { position: absolute; top: 12px; left: 12px; padding: 0.35rem 0.8rem; border-radius: 100px; background: var(--grad-warm); color: #fff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.aside-body { padding: 1.5rem; }
.aside-body h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; }
.aside-addr { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.aside-price { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; margin-top: 0.5rem; color: var(--text); }
.aside-price span { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.aside-urgency { display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0; padding: 0.6rem 0.9rem; border-radius: var(--radius-sm); background: rgba(255,93,115,.12); border: 1px solid rgba(255,93,115,.25); font-size: 0.85rem; font-weight: 600; color: #ffb3bf; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun-2); box-shadow: 0 0 0 0 rgba(255,93,115,.7); animation: pulse 1.8s infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,93,115,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,93,115,0); } 100% { box-shadow: 0 0 0 0 rgba(255,93,115,0); } }
.aside-trust { list-style: none; display: grid; gap: 0.55rem; margin: 1rem 0; font-size: 0.9rem; color: var(--text); }
.aside-social { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.stars { color: var(--gold); letter-spacing: 2px; }
.aside-fee { padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: var(--grad-warm-soft); border: 1px solid rgba(255,138,61,.3); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; font-size: 0.8rem; color: var(--muted); }
.aside-fee strong { font-family: var(--font-head); font-size: 1.7rem; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.aside-fee-note { width: 100%; }

/* ---------- Multi-step form ---------- */
.apply-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.form-progress { margin-bottom: 1.8rem; }
.form-progress-bar { height: 6px; border-radius: 100px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.form-progress-bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 16%); background: var(--grad-warm); border-radius: 100px; transition: width 0.5s var(--ease); }
.form-steps-dots { display: flex; justify-content: space-between; margin-top: 0.7rem; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.fstep { border: none; animation: fadeStep 0.4s var(--ease); }
@keyframes fadeStep { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.fstep-title { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 0.85rem 1rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sun-1); box-shadow: 0 0 0 3px rgba(255,138,61,.2); background: var(--surface); }
.field textarea { resize: vertical; }
.yn-grid { display: grid; gap: 0.6rem; margin-bottom: 0.8rem; }
.yn { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); font-size: 0.92rem; cursor: pointer; transition: border-color 0.3s; }
.yn:hover { border-color: rgba(255,138,61,.3); }
.yn input { width: 20px; height: 20px; accent-color: var(--sun-2); flex-shrink: 0; }
.yn-hint { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.2rem; }
.fee-explain { font-size: 0.86rem; line-height: 1.5; color: var(--text); background: var(--grad-warm-soft); border: 1px solid rgba(255,138,61,.3); border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; margin-bottom: 1.2rem; }
.checkbox { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 1rem; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.checkbox input { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--sun-1); flex-shrink: 0; }
.form-nav { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.form-nav .btn { flex: 1; }
#prevStep { flex: 0 0 auto; }
.btn-pay { flex: 1; }
.form-hint { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: transform 0.4s var(--ease), border-color 0.4s; display: flex; flex-direction: column; gap: 0.7rem; }
.blog-card:hover { transform: translateY(-8px); border-color: rgba(255,138,61,.35); }
.blog-tag { align-self: flex-start; padding: 0.3rem 0.8rem; border-radius: 100px; background: var(--grad-warm-soft); border: 1px solid rgba(255,138,61,.3); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); }
.blog-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.25; }
.blog-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.blog-more { font-weight: 700; font-size: 0.9rem; color: var(--sun-1); transition: gap 0.3s; }
.blog-card:hover .blog-more { color: var(--sun-2); }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.about-text p { color: var(--muted); margin-top: 1rem; }
.contact-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.contact-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.2rem; border-radius: 100px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-weight: 600; font-size: 0.9rem; transition: all 0.3s; }
.contact-pill:hover { transform: translateY(-3px); border-color: rgba(255,138,61,.4); background: rgba(255,138,61,.1); }
.about-card { perspective: 1000px; }
.about-card-inner { background: var(--grad-warm); border-radius: var(--radius); padding: 2.6rem; color: #fff; box-shadow: var(--shadow-glow); transition: transform 0.5s var(--ease); transform-style: preserve-3d; }
.about-card:hover .about-card-inner { transform: rotateY(-6deg) rotateX(4deg); }
.about-emoji { font-size: 3rem; display: block; margin-bottom: 1rem; }
.about-card-inner p { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.about-cite { display: block; margin-top: 1rem; font-weight: 600; opacity: 0.9; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 3rem 0; position: relative; z-index: 1; }
.footer-inner { text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.footer-tag { color: var(--muted); margin-top: 0.6rem; }
.footer-copy { color: var(--muted); font-size: 0.85rem; margin-top: 1.2rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.toast[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 4, 9, 0.7); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-card { position: relative; z-index: 2; width: min(860px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transform: translateY(30px) scale(0.97); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s; }
.modal.open .modal-card { transform: translateY(0) scale(1); opacity: 1; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 6; width: 40px; height: 40px; border-radius: 50%; background: rgba(13,11,20,.6); backdrop-filter: blur(8px); font-size: 1.6rem; line-height: 1; transition: all 0.3s; }
.modal-close:hover { background: var(--sun-2); transform: rotate(90deg); }
.modal-carousel .carousel { aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; }
.modal-body { padding: 2rem; }
.modal-body .badge { position: static; display: inline-block; margin-bottom: 0.8rem; }
.modal-body h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; }
.modal-city { color: var(--muted); margin: 0.3rem 0 1rem; }
.modal-desc { color: var(--muted); margin: 1.2rem 0 1.8rem; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 1200; padding: 1rem 1.5rem; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow); opacity: 0; transition: all 0.3s var(--ease); max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.warn { border-color: rgba(255, 210, 125, 0.5); }

/* ---------- Article (blog post pages) ---------- */
.article { position: relative; z-index: 1; padding: 8rem 0 4rem; }
.article-inner { width: min(760px, 92vw); margin-inline: auto; }
.article-back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); font-weight: 600; font-size: 0.9rem; margin-bottom: 1.6rem; transition: color 0.3s; }
.article-back:hover { color: var(--sun-1); }
.article .blog-tag { display: inline-block; margin-bottom: 1rem; }
.article h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
.article-meta { color: var(--muted); font-size: 0.9rem; margin: 0.8rem 0 2.2rem; }
.article-body { font-size: 1.05rem; color: #d9d4e3; }
.article-body h2 { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; margin: 2.2rem 0 0.8rem; color: var(--text); }
.article-body h3 { font-weight: 700; font-size: 1.15rem; margin: 1.6rem 0 0.5rem; color: var(--text); }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.3rem; display: grid; gap: 0.5rem; }
.article-body strong { color: var(--text); }
.article-cta { margin-top: 2.6rem; padding: 1.8rem; border-radius: var(--radius); background: var(--grad-warm-soft); border: 1px solid rgba(255,138,61,.3); text-align: center; }
.article-cta h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 1rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Sort dropdown ---------- */
.filters-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.filters-bar .filters { margin-bottom: 0; }
.sort-wrap { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.sort-wrap select { padding: 0.55rem 0.9rem; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-family: inherit; font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: border-color 0.3s; }
.sort-wrap select:focus { outline: none; border-color: var(--sun-1); }

/* ---------- Map ---------- */
.map-block { max-width: 720px; margin: 0 auto 3.2rem; transition: max-width 0.45s var(--ease); }
.map-block.expanded { max-width: 1180px; }
.map-head { text-align: center; margin-bottom: 1.2rem; }
.map-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.map-lead { color: var(--muted); margin-top: 0.4rem; }
.map-shell { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map { height: 260px; width: 100%; z-index: 1; transition: height 0.45s var(--ease); }
.map-block.expanded .map { height: 520px; }
.map-overlay { position: absolute; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; gap: 0.4rem; background: rgba(13,11,20,.28); color: #fff; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; backdrop-filter: blur(1px); transition: background 0.3s; cursor: pointer; }
.map-overlay:hover { background: rgba(13,11,20,.42); }
.map-overlay span { background: var(--grad-warm); padding: 0.55rem 1.1rem; border-radius: 100px; box-shadow: var(--shadow-glow); }
.map-collapse { position: absolute; top: 12px; right: 12px; z-index: 500; padding: 0.45rem 0.85rem; border-radius: 100px; background: rgba(13,11,20,.7); backdrop-filter: blur(8px); color: #fff; font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; gap: 0.3rem; transition: background 0.3s; }
.map-collapse:hover { background: var(--sun-2); }
.leaflet-container { background: #14222b; font-family: var(--font-body); }
.price-pin { display: inline-block; transform: translateX(-50%); background: var(--grad-warm); color: #fff; font-weight: 800; font-size: 0.68rem; padding: 0.18rem 0.5rem; border-radius: 100px; box-shadow: 0 4px 12px -3px rgba(255,93,115,.7); white-space: nowrap; border: 1.5px solid #fff; cursor: pointer; transition: transform 0.15s; }
.price-pin:hover { transform: translateX(-50%) scale(1.12); z-index: 600; }
.price-pin.muted { background: #6a6580; box-shadow: none; }
.price-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #fff; }
.leaflet-popup-content-wrapper { background: var(--surface); color: var(--text); border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.leaflet-popup-tip { background: var(--surface); }
.leaflet-popup-content { margin: 0; width: 240px !important; }
.map-pop img { width: 100%; height: 130px; object-fit: cover; border-radius: 14px 14px 0 0; }
.map-pop-body { padding: 0.8rem 0.9rem 0.9rem; }
.map-pop-body strong { font-family: var(--font-head); font-size: 1.25rem; }
.map-pop-body strong span { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.map-pop-body h4 { font-size: 0.98rem; margin: 0.15rem 0; font-weight: 700; }
.map-pop-body p { color: var(--muted); font-size: 0.82rem; margin-bottom: 0.6rem; }
.map-pop-actions { display: flex; gap: 0.5rem; }
.map-pop-actions .btn { flex: 1; padding: 0.5em 0.6em; font-size: 0.78rem; }

/* ---------- Sticky mobile Apply CTA ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; display: none; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); background: rgba(13,11,20,.9); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transition: transform 0.4s var(--ease); }
.mobile-cta.hide { transform: translateY(120%); }
.mobile-cta .btn { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .apply-grid { grid-template-columns: 1fr; }
  .apply-aside { position: static; }
  .about-wrap { grid-template-columns: 1fr; gap: 2.4rem; }
}
@media (max-width: 760px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
  .footer { padding-bottom: 5rem; }
  .filters-bar { justify-content: center; }
  .map { height: 380px; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; padding: 2rem; gap: 1.6rem; background: rgba(20, 17, 30, 0.96); backdrop-filter: blur(20px); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform 0.45s var(--ease); z-index: 950; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .hamburger { display: flex; z-index: 960; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.6rem; }
  .apply-form { padding: 1.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
