/* ==========================================================================
   Premium Real Estate - public design system
   Brand colours are injected from appsettings (CompanyProfile.Theme) as
   --primary / --accent variables in _Layout, so other clients re-skin by config.
   ========================================================================== */

:root {
  --primary: #0B1B34;
  --primary-2: #16305A;
  --accent: #C9A24B;
  --accent-light: #EBD59E;
  --accent-dark: #94701F;
  --surface: #F7F4EE;

  --primary-deep: color-mix(in srgb, var(--primary) 78%, #000);
  --ink: #0E1626;
  --text: #2A3345;
  --muted: #677287;
  --line: #E8E2D6;
  --line-soft: #F0ECE4;
  --paper: #FCFBF8;
  --white: #fff;
  --success: #1F8A5B;
  --danger: #C0392B;

  --gold: linear-gradient(120deg, var(--accent-dark) 0%, var(--accent) 22%, var(--accent-light) 48%, var(--accent) 70%, var(--accent-dark) 100%);
  --gold-soft: linear-gradient(120deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent-light) 30%, transparent));

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(14, 22, 38, .05), 0 2px 8px rgba(14, 22, 38, .04);
  --shadow: 0 10px 30px -12px rgba(11, 27, 52, .18), 0 2px 6px rgba(11, 27, 52, .05);
  --shadow-lg: 0 30px 70px -20px rgba(11, 27, 52, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
  --container: 1240px;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.65; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent-light); color: var(--primary); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -0.18em; }

/* ------------------------------------------------------------------ type */
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.12; }
h1, h2, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
em.gold, h1 em, h2 em, .hero-title em {
  font-style: italic; font-weight: 500;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.lead { font-size: 1.14rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.on-dark .eyebrow { color: var(--accent-light); }

/* ------------------------------------------------------------------ layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.bg-surface { background: var(--surface); }
.bg-paper { background: var(--paper); }
.bg-dark { background: var(--primary); color: #C8D1E0; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.on-dark { color: #C8D1E0; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 52px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 680px; }
.section-head .lead { margin: 14px 0 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --b: var(--primary); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .92rem;
  letter-spacing: .02em; transition: all .3s var(--ease); white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(4px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--primary) 60%, transparent); }
.btn-gold { background: var(--gold); background-size: 200% 100%; color: var(--primary-deep); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent-dark) 70%, transparent); }
.btn-gold:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-ghost-light { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--accent-light); color: var(--accent-light); }
.btn-whatsapp { background: #1FAF55; color: #fff; }
.btn-whatsapp:hover { background: #189447; }
.btn-sm { height: 42px; padding: 0 18px; font-size: .85rem; }
.btn-lg { height: 60px; padding: 0 34px; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); font-size: .92rem; }
.link-arrow .ic { transition: transform .3s var(--ease); color: var(--accent-dark); }
.link-arrow:hover .ic { transform: translateX(5px); }
.on-dark .link-arrow { color: var(--accent-light); }

/* ------------------------------------------------------------------ header */
.topbar { background: var(--primary-deep); color: #9FAABD; font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 24px; }
.topbar a:hover { color: var(--accent-light); }
.topbar-info, .topbar-social { display: flex; gap: 22px; align-items: center; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ic { color: var(--accent); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: all .35s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 8px 30px -18px rgba(11,27,52,.25); }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; }
.has-hero .topbar + .site-header { top: 40px; }
.has-hero .site-header.scrolled { top: 0; background: color-mix(in srgb, var(--primary) 94%, transparent); backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.06); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.brand .logo-light { display: none; }
.has-hero .brand .logo-dark { display: none; }
.has-hero .brand .logo-light { display: block; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 600; font-size: .9rem; color: var(--ink);
  background: none; border: 0; border-radius: 999px; transition: color .2s;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li > a.active { color: var(--accent-dark); }
.has-hero .menu > li > a, .has-hero .menu > li > button { color: rgba(255,255,255,.9); }
.has-hero .menu > li > a:hover, .has-hero .menu > li > button:hover, .has-hero .menu > li > a.active { color: var(--accent-light); }
.menu .ic-chev { width: 14px; height: 14px; transition: transform .25s; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); min-width: 250px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: all .25s var(--ease); border: 1px solid var(--line-soft);
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.menu > li:hover .dropdown, .menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu > li:hover .ic-chev { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-size: .9rem; font-weight: 600; }
.dropdown a small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; margin-top: 2px; }
.dropdown a .ic { color: var(--accent-dark); margin-top: 3px; }
.dropdown a:hover { background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .88rem; color: var(--ink); white-space: nowrap; }
.nav-phone .ring { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent-dark); }
.has-hero .nav-phone { color: #fff; }
.has-hero .nav-phone .ring { border-color: rgba(255,255,255,.25); color: var(--accent-light); }
.nav-phone small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.has-hero .nav-phone small { color: rgba(255,255,255,.6); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); place-items: center; }
.has-hero .burger { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--primary); color: #fff; padding: 22px 24px 40px;
  transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-menu.open { transform: none; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-menu-head img { height: 44px; }
.mobile-menu .close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: none; color: #fff; display: grid; place-items: center; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu nav a:hover { color: var(--accent-light); }
.mobile-menu nav .sub { font-family: var(--font-sans); font-size: 1rem; padding-left: 14px; color: #B9C3D4; }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: clamp(720px, 100svh, 980px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--primary-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg, color-mix(in srgb, var(--primary-deep) 94%, transparent) 0%, color-mix(in srgb, var(--primary) 78%, transparent) 42%, color-mix(in srgb, var(--primary) 20%, transparent) 75%, transparent 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--primary-deep) 85%, transparent) 0%, transparent 35%);
}
.hero::after { /* fine architectural line pattern */
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .07; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 120px 120px; mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero-inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 80px); padding-bottom: 150px; width: 100%; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: .8rem; letter-spacing: .06em; color: #DDE3EE; margin-bottom: 28px; }
.hero-kicker b { background: var(--gold); color: var(--primary-deep); padding: 4px 12px; border-radius: 999px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.hero-title { color: #fff; max-width: 860px; font-size: clamp(2.9rem, 6.6vw, 5.6rem); line-height: 1.02; margin-bottom: 26px; font-weight: 500; }
.hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: #C3CCDB; max-width: 600px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.search-panel {
  position: relative; z-index: 3; margin-top: -86px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 10px; border: 1px solid var(--line-soft);
}
.search-tabs { display: flex; gap: 4px; padding: 6px 6px 0; }
.search-tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .86rem; color: var(--muted); }
.search-tabs button.active { background: var(--primary); color: #fff; }
.search-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 0; align-items: stretch; padding: 8px; }
.sf { padding: 12px 20px; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.sf:nth-last-child(2) { border-right: 0; }
.sf label { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 4px; display: flex; gap: 6px; align-items: center; }
.sf input, .sf select { border: 0; padding: 4px 0; font: inherit; font-weight: 600; color: var(--ink); background: transparent; outline: none; width: 100%; appearance: none; font-size: .98rem; text-overflow: ellipsis; }
.sf select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23677287' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; padding-right: 18px; cursor: pointer; }
.search-fields .btn { height: auto; min-height: 64px; border-radius: 18px; padding: 0 30px; }

.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; border-top: 1px solid rgba(255,255,255,.1); background: linear-gradient(0deg, rgba(0,0,0,.18), transparent); }
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stat { padding: 22px 0 112px; border-right: 1px solid rgba(255,255,255,.08); padding-left: 24px; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; font-weight: 600; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #A9B4C6; }

/* ------------------------------------------------------------------ property card */
.pcard { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; display: flex; flex-direction: column; position: relative; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.pcard-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.07); }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,15,31,.62) 0%, rgba(7,15,31,0) 46%); }
.pcard-badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.badge-dark { background: color-mix(in srgb, var(--primary-deep) 78%, transparent); color: #fff; backdrop-filter: blur(6px); }
.badge-gold { background: var(--gold); color: var(--primary-deep); }
.badge-light { background: rgba(255,255,255,.92); color: var(--ink); }
.badge-status-UnderOffer { background: #F5E6C4; color: #7A5A12; }
.badge-status-Sold, .badge-status-Rented { background: #F3D6D2; color: #8B2A1E; }
.badge-status-OffPlan { background: #DCE7F7; color: #1C3F78; }
.pcard-price { position: absolute; left: 18px; bottom: 14px; z-index: 2; color: #fff; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.pcard-price small { font-family: var(--font-sans); font-size: .74rem; font-weight: 600; opacity: .85; margin-left: 4px; }
.pcard-media .photos { position: absolute; right: 14px; bottom: 14px; z-index: 2; color: #fff; font-size: .75rem; font-weight: 600; display: flex; gap: 5px; align-items: center; background: rgba(0,0,0,.35); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.pcard-body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-loc { display: flex; gap: 6px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.pcard-loc .ic { color: var(--accent-dark); }
.pcard h3 { font-family: var(--font-sans); font-size: 1.06rem; font-weight: 700; line-height: 1.35; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--text); font-weight: 600; }
.specs span { display: inline-flex; align-items: center; gap: 7px; }
.specs .ic { color: var(--muted); width: 17px; height: 17px; }
.pcard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.pcard-foot .ref { letter-spacing: .08em; }

.pcard.list { flex-direction: row; }
.pcard.list .pcard-media { width: 42%; aspect-ratio: auto; min-height: 250px; }
.pcard.list .pcard-body { padding: 26px; }

/* ------------------------------------------------------------------ spotlight */
.spotlight { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--primary); box-shadow: var(--shadow-lg); margin-bottom: 36px; }
.spotlight-media { position: relative; min-height: 480px; overflow: hidden; }
.spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.spotlight:hover .spotlight-media img { transform: scale(1.04); }
.spotlight-media .badge { position: absolute; top: 22px; left: 22px; }
.spotlight-body { padding: clamp(32px, 4vw, 56px); color: #C8D1E0; display: flex; flex-direction: column; justify-content: center; position: relative; }
.spotlight-body::before { content: ""; position: absolute; top: 0; left: 0; width: 120px; height: 2px; background: var(--gold); }
.spotlight-body h3 { font-family: var(--font-display); font-weight: 500; color: #fff; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.12; margin-bottom: 14px; }
.spotlight-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; margin: 8px 0 22px; }
.spotlight .specs { border-top-color: rgba(255,255,255,.12); color: #E3E8F1; margin: 6px 0 30px; padding-top: 18px; }
.spotlight .specs .ic { color: var(--accent-light); }

/* ------------------------------------------------------------------ categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/3.6; display: flex; align-items: flex-end; color: #fff; background: var(--primary-2); isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,15,31,.88) 0%, rgba(7,15,31,.15) 60%); transition: background .4s; }
.cat:hover img { transform: scale(1.08); }
.cat:hover::before { background: linear-gradient(0deg, color-mix(in srgb, var(--primary) 92%, transparent) 0%, rgba(7,15,31,.25) 70%); }
.cat-body { padding: 24px; width: 100%; }
.cat .ic-wrap { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--accent-light); margin-bottom: 16px; backdrop-filter: blur(6px); }
.cat h3 { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.65rem; margin: 0 0 2px; }
.cat span { font-size: .82rem; color: #C3CCDB; display: flex; justify-content: space-between; align-items: center; }

/* ------------------------------------------------------------------ services */
.service { padding: 36px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-soft); position: relative; overflow: hidden; transition: all .45s var(--ease); }
.service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service:hover::after { transform: scaleX(1); }
.service .num { position: absolute; top: 26px; right: 30px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--line); line-height: 1; transition: color .4s; }
.service:hover .num { color: var(--accent-light); }
.service .ic-wrap { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--gold-soft); color: var(--accent-dark); margin-bottom: 26px; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.service .ic-wrap .ic { width: 26px; height: 26px; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }
.bg-dark .service { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.bg-dark .service p { color: #A9B4C6; }
.bg-dark .service .num { color: rgba(255,255,255,.08); }

/* ------------------------------------------------------------------ about / split */
.frame { position: relative; }
.frame img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/4.4; object-fit: cover; position: relative; z-index: 1; }
.frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--accent); border-radius: var(--radius-lg); opacity: .6; }
.frame .floating-card { position: absolute; z-index: 2; left: -36px; bottom: 44px; background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: center; max-width: 290px; }
.frame .floating-card strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--primary); }
.frame .floating-card span { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.checklist { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checklist li .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--accent-light); flex-shrink: 0; margin-top: 1px; }
.checklist li .tick .ic { width: 14px; height: 14px; }
.checklist li small { display: block; font-weight: 500; color: var(--muted); font-size: .9rem; }

/* ------------------------------------------------------------------ projects */
.project-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line-soft); transition: all .45s var(--ease); display: flex; flex-direction: column; position: relative; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-card .media { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.project-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-card:hover .media img { transform: scale(1.06); }
.project-card .media .badge { position: absolute; top: 16px; left: 16px; }
.project-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-card h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; margin-bottom: 6px; }
.project-card h3 a::after { content: ""; position: absolute; inset: 0; }
.progress { margin-top: auto; padding-top: 18px; }
.progress-top { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; letter-spacing: .04em; }
.progress-top b { color: var(--ink); }
.progress-bar { height: 6px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--gold); border-radius: 99px; width: 0; transition: width 1.6s var(--ease); }
.in-view .progress-bar span, .progress-bar.static span { width: var(--w); }

/* ------------------------------------------------------------------ investment */
.invest-band { position: relative; overflow: hidden; }
.invest-band::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); pointer-events: none; }
.invest-card { padding: 34px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); position: relative; transition: all .4s var(--ease); display: flex; flex-direction: column; }
.invest-card:hover { background: rgba(255,255,255,.07); border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-4px); }
.invest-card .type { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-light); font-weight: 700; }
.invest-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; color: #fff; margin: 12px 0 10px; }
.invest-card h3 a::after { content: ""; position: absolute; inset: 0; }
.invest-card p { color: #A9B4C6; font-size: .94rem; }
.invest-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; margin-top: auto; }
.invest-metrics div { background: color-mix(in srgb, var(--primary) 92%, #fff); padding: 14px 16px; }
.invest-metrics small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #8F9BB0; }
.invest-metrics strong { font-family: var(--font-display); font-size: 1.5rem; color: #fff; font-weight: 600; }
.invest-metrics strong.gold-text { color: transparent; }

.invest-card-light { background: #fff; border-color: var(--line-soft); }
.invest-card-light h3 { color: var(--ink); }
.invest-card-light p { color: var(--muted); }
.invest-card-light .type { color: var(--accent-dark); }
.invest-card-light .invest-metrics { background: var(--line-soft); }
.invest-card-light .invest-metrics div { background: var(--paper); }
.invest-card-light .invest-metrics strong { color: var(--ink); }
.invest-card-light:hover { background: #fff; box-shadow: var(--shadow); }

/* ------------------------------------------------------------------ CEO */
.ceo { display: grid; grid-template-columns: 420px 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.arch { position: relative; }
.arch-frame { border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--primary); position: relative; z-index: 1; }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.arch::before { content: ""; position: absolute; inset: -14px; border-radius: 234px 234px 34px 34px; border: 1px solid var(--accent); opacity: .7; }
.arch .sig { position: absolute; z-index: 2; bottom: -22px; left: 50%; transform: translateX(-50%); background: #fff; padding: 14px 26px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; text-align: center; }
.arch .sig strong { display: block; color: var(--ink); font-size: .95rem; }
.arch .sig span { font-size: .76rem; color: var(--accent-dark); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.quote-mark { width: 64px; height: 64px; color: var(--accent); opacity: .9; margin-bottom: 18px; }
.ceo blockquote { margin: 0 0 28px; font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.25; color: var(--ink); font-weight: 500; font-style: italic; }

/* ------------------------------------------------------------------ testimonials */
.testimonial { padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-soft); }
.testimonial .stars { color: var(--accent); display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: var(--ink); font-style: italic; }
.testimonial .who { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.testimonial .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: var(--accent-light); display: grid; place-items: center; font-weight: 700; }

/* ------------------------------------------------------------------ blog */
.post-card { display: flex; flex-direction: column; position: relative; }
.post-card .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10.5; background: var(--surface); margin-bottom: 20px; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .media img { transform: scale(1.06); }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: 10px; font-weight: 600; letter-spacing: .04em; }
.post-meta .cat-chip { color: var(--accent-dark); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.post-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.18; margin-bottom: 10px; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h3 { color: var(--primary-2); }
.post-card p { color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------------ CTA + newsletter */
.cta-band { border-radius: var(--radius-lg); background: var(--primary); padding: clamp(40px, 6vw, 76px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
.cta-band::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; padding: 1px; background: var(--gold); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #B9C3D4; margin: 0; }
.newsletter-form { display: flex; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 7px; border-radius: 999px; }
.newsletter-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 18px; font: inherit; outline: none; }
.newsletter-form input::placeholder { color: #8F9BB0; }
.form-note { margin-top: 12px; font-size: .84rem; min-height: 1.2em; }
.form-note.ok { color: #7DDBA6; }
.form-note.err { color: #FFB4A8; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--primary-deep); color: #9AA6BA; padding-top: 90px; font-size: .93rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 60px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a:hover { color: var(--accent-light); }
.footer-brand img { height: 54px; margin-bottom: 22px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .ic { color: var(--accent); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #DCE2EC; transition: all .3s; }
.socials a:hover { background: var(--gold); color: var(--primary-deep); border-color: transparent; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 24px 0; display: flex; justify-content: space-between; gap: 18px; font-size: .82rem; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 22px; }

/* ------------------------------------------------------------------ inner page hero */
.page-hero { position: relative; background: var(--primary); color: #fff; padding: calc(var(--header-h) + 70px) 0 80px; overflow: hidden; isolation: isolate; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, color-mix(in srgb, var(--primary-deep) 95%, transparent) 20%, color-mix(in srgb, var(--primary) 65%, transparent)); z-index: -1; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 90px 90px; mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; margin-bottom: 14px; }
.page-hero p { color: #B9C3D4; max-width: 640px; font-size: 1.1rem; margin: 0; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: #8F9BB0; margin-bottom: 22px; letter-spacing: .06em; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent-light); }
.crumbs .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* ------------------------------------------------------------------ listing */
.listing { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.filters h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.filters h3 a { font-size: .8rem; color: var(--accent-dark); font-weight: 600; }
.filter-group { margin-bottom: 18px; }
.filter-group > label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 8px; display: block; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-row input { display: none; }
.pill-row label { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .84rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.pill-row input:checked + label { background: var(--primary); color: #fff; border-color: var(--primary); }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.results-bar .count { font-weight: 600; color: var(--ink); }
.results-bar .count b { font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); }
.results-tools { display: flex; gap: 10px; align-items: center; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.view-toggle a { width: 38px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.view-toggle a.active { background: var(--primary); color: #fff; }
.filter-toggle { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--surface); font-size: .82rem; font-weight: 600; color: var(--ink); }
.chip a { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--muted); }
.chip a:hover { color: var(--danger); }

.empty { text-align: center; padding: 70px 24px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--paper); }
.empty .ic { width: 46px; height: 46px; color: var(--accent); margin: 0 auto 16px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; background: #fff; }
.pagination a:hover { border-color: var(--accent); color: var(--accent-dark); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ------------------------------------------------------------------ details */
.detail-top { padding: 34px 0 0; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin: 18px 0 28px; flex-wrap: wrap; }
.detail-head h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 600; margin: 10px 0 8px; max-width: 820px; }
.detail-head .loc { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.detail-head .loc .ic { color: var(--accent-dark); }
.detail-price { text-align: right; }
.detail-price .amount { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 600; color: var(--primary); line-height: 1; }
.detail-price .amount small { font-family: var(--font-sans); font-size: .9rem; color: var(--muted); font-weight: 600; }
.detail-price .alt { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-outline { border: 1px solid var(--line); color: var(--ink); background: #fff; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.gallery button { border: 0; padding: 0; position: relative; overflow: hidden; background: var(--surface); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.gallery button:hover img { transform: scale(1.05); filter: brightness(.92); }
.gallery.count-1 { grid-template-columns: 1fr; }
.gallery.count-2 { grid-template-columns: 2fr 1fr; }
.gallery.count-2 button:nth-child(2) { grid-row: span 2; }
.gallery.count-3 button:nth-child(2), .gallery.count-3 button:nth-child(3) { grid-column: span 2; }
.gallery .gallery-all { position: absolute; right: 18px; bottom: 18px; z-index: 2; grid-row: auto; padding: 0 20px; overflow: visible; }
.gallery-all.btn { height: 44px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }

.detail-layout { display: grid; grid-template-columns: 1fr 390px; gap: 48px; align-items: start; margin-top: 44px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; margin-bottom: 44px; }
.fact { background: #fff; box-shadow: 1px 1px 0 var(--line-soft); padding: 20px 22px; display: flex; gap: 14px; align-items: center; }
.fact .ic { width: 26px; height: 26px; color: var(--accent-dark); }
.fact small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.fact strong { color: var(--ink); font-size: 1rem; }
.detail-section { margin-bottom: 48px; }
.detail-section > h2 { font-size: 2rem; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.detail-section > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prose { color: var(--text); font-size: 1.04rem; line-height: 1.8; }
.prose p { margin-bottom: 1.2em; }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--ink); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.amenity { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-soft); font-weight: 600; font-size: .92rem; color: var(--ink); }
.amenity .ic { color: var(--accent-dark); }
.video-wrap { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); aspect-ratio: 16/8; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; }
.share-row a, .share-row button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); transition: all .25s; }
.share-row a:hover, .share-row button:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }

.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.contact-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-soft); box-shadow: var(--shadow); overflow: hidden; }
.contact-card-head { background: var(--primary); padding: 22px 24px; display: flex; gap: 14px; align-items: center; color: #fff; position: relative; }
.contact-card-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); }
.contact-card-head .avatar { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.2); }
.contact-card-head .avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.contact-card-head strong { display: block; color: #fff; }
.contact-card-head small { color: #A9B4C6; font-size: .8rem; }
.contact-card-body { padding: 22px 24px 26px; }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.tabs { display: flex; background: var(--surface); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 999px; font-weight: 700; font-size: .86rem; color: var(--muted); transition: all .25s; }
.tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .35s var(--ease); }
.trust-card { padding: 20px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-soft); display: flex; gap: 14px; font-size: .88rem; color: var(--muted); }
.trust-card .ic { width: 28px; height: 28px; color: var(--accent-dark); }
.trust-card strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* ------------------------------------------------------------------ forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .8rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.field label .opt { color: var(--muted); font-weight: 500; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .95rem;
  color: var(--ink); transition: border-color .2s, box-shadow .2s; outline: none; appearance: none;
}
.field textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; }
.field select, select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23677287' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.field .field-validation-error, .field .err { color: var(--danger); font-size: .8rem; font-weight: 600; }
.input-validation-error { border-color: var(--danger) !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio-cards input { display: none; }
.radio-cards label { padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .85rem; font-weight: 700; text-align: center; cursor: pointer; transition: all .2s; display: flex; gap: 8px; justify-content: center; align-items: center; }
.radio-cards input:checked + label { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, #fff); color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-soft); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-section-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--ink); margin: 10px 0 18px; display: flex; gap: 14px; align-items: center; }
.form-section-title .step { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--accent-light); font-family: var(--font-sans); font-size: .85rem; font-weight: 700; display: grid; place-items: center; }
/* <label class="dropzone"> is inline by default; it must be a block or the dashed box wraps each line of text. */
.dropzone { display: block; width: 100%; border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: var(--radius); padding: 34px 24px; text-align: center; background: var(--paper); cursor: pointer; transition: all .2s; position: relative; }
.dropzone:hover, .dropzone.drag, .dropzone:focus-within { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, #fff); }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone .ic { display: block; box-sizing: content-box; width: 26px; height: 26px; padding: 15px; margin: 0 auto 14px; border-radius: 50%; color: var(--accent-dark); background: color-mix(in srgb, var(--accent) 14%, #fff); transition: transform .2s; }
.dropzone:hover .ic, .dropzone.drag .ic { transform: translateY(-2px); }
.dropzone strong { display: block; font-size: 1.02rem; color: var(--ink); margin-bottom: 4px; }
.dropzone .small { display: block; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-top: 14px; }
.thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; }
.alert-box { padding: 16px 18px; border-radius: 12px; font-size: .92rem; font-weight: 600; display: flex; gap: 12px; align-items: flex-start; }
.alert-ok { background: #E7F6EE; color: #17633F; }
.alert-err { background: #FBEAE7; color: #8B2A1E; }
.success-state { text-align: center; padding: 24px 6px; }
.success-state .ring { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--gold); color: var(--primary-deep); animation: pop .5s var(--ease); }
.success-state .ring .ic { width: 32px; height: 32px; }
.success-state h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ------------------------------------------------------------------ contact page */
.contact-tiles { display: grid; gap: 14px; }
.contact-tile { display: flex; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-soft); align-items: center; transition: all .3s var(--ease); }
.contact-tile:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateX(4px); }
.contact-tile .ic-wrap { width: 54px; height: 54px; border-radius: 16px; background: var(--primary); color: var(--accent-light); display: grid; place-items: center; flex-shrink: 0; }
.contact-tile small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.contact-tile strong { color: var(--ink); }

/* ------------------------------------------------------------------ values / misc */
.value-card { padding: 30px; border-top: 1px solid var(--line); }
.value-card .n { font-family: var(--font-display); color: var(--accent); font-size: 1.1rem; font-weight: 600; letter-spacing: .1em; }
.value-card h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; margin: 6px 0 10px; }
.value-card p { color: var(--muted); margin: 0; }
.mv-card { padding: 40px; border-radius: var(--radius-lg); background: var(--primary); color: #B9C3D4; position: relative; overflow: hidden; }
.mv-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); }
.mv-card h3 { color: #fff; font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.mv-card .ic { width: 34px; height: 34px; color: var(--accent-light); margin-bottom: 18px; }
.mv-card.light { background: var(--surface); color: var(--muted); }
.mv-card.light h3 { color: var(--ink); }
.mv-card.light .ic { color: var(--accent-dark); }
.ceo-letter { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.7; color: var(--ink); }
.ceo-letter p:first-of-type::first-letter { float: left; font-size: 4.6em; line-height: .85; padding: 6px 12px 0 0; font-weight: 600; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.signature { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.signature strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); font-style: italic; font-weight: 600; display: block; }
.signature span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.stat-row div { background: #fff; padding: 20px; }
.stat-row small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.stat-row strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,10,20,.96); display: none; flex-direction: column; }
.lightbox.open { display: flex; animation: fadeIn .3s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; color: #fff; font-size: .9rem; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 80px; min-height: 0; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; user-select: none; }
.lb-btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; transition: all .2s; }
.lb-btn:hover { background: var(--gold); color: var(--primary-deep); border-color: transparent; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-strip { display: flex; gap: 8px; padding: 16px 24px 22px; overflow-x: auto; justify-content: center; }
.lb-strip img { width: 84px; height: 60px; object-fit: cover; border-radius: 6px; opacity: .45; cursor: pointer; transition: opacity .2s; flex-shrink: 0; }
.lb-strip img.active { opacity: 1; outline: 2px solid var(--accent); outline-offset: 2px; }

/* ------------------------------------------------------------------ floating + consent */
.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #1FAF55; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,175,85,.6); transition: transform .3s var(--ease); }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FAF55; animation: pulse 2.4s infinite; }
.float-wa:hover { transform: scale(1.06); }
.float-wa .ic { width: 30px; height: 30px; }
.float-wa .tip { position: absolute; right: 74px; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: all .3s; pointer-events: none; }
.float-wa:hover .tip { opacity: 1; transform: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 59; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.consent { position: fixed; left: 22px; bottom: 22px; z-index: 70; max-width: 420px; background: var(--primary); color: #B9C3D4; padding: 22px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .88rem; display: none; border: 1px solid rgba(255,255,255,.08); }
.consent.show { display: block; animation: fadeUp .5s var(--ease); }
.consent strong { color: #fff; display: block; margin-bottom: 6px; font-size: .95rem; }
.consent a { color: var(--accent-light); text-decoration: underline; }
.consent .actions { display: flex; gap: 8px; margin-top: 14px; }

/* ------------------------------------------------------------------ animation */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
.hero .anim { animation: fadeUp 1.1s var(--ease) both; }
.hero .anim-2 { animation-delay: .15s; } .hero .anim-3 { animation-delay: .3s; } .hero .anim-4 { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1320px) { .nav-phone { display: none; } }
@media (max-width: 1180px) {
  .menu, .nav-phone { display: none; }
  .burger { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .sf { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .search-fields .btn { grid-column: 1 / -1; margin-top: 8px; min-height: 56px; }
}
@media (max-width: 1024px) {
  .grid-4, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .ceo, .cta-band, .spotlight { grid-template-columns: 1fr; }
  .ceo .arch { max-width: 380px; margin: 0 auto 30px; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(380px, 92vw); z-index: 110; border-radius: 0; transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto; }
  .filters.open { transform: none; box-shadow: var(--shadow-lg); }
  .filter-toggle { display: inline-flex; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .spotlight-media { min-height: 340px; }
  .frame .floating-card { left: 16px; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .has-hero .topbar + .site-header { top: 0; }
  .brand img { height: 40px; }
  .nav-actions .btn-gold { display: none; }
  .nav { gap: 12px; }
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat { aspect-ratio: 3/3.8; }
  .cat-body { padding: 16px; }
  .cat h3 { font-size: 1.3rem; }
  .hero-inner { padding-bottom: 210px; padding-top: calc(var(--header-h) + 50px); }
  .hero-stats .container { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 16px 0 16px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-stat:nth-child(odd) { padding-left: 0; }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat strong { font-size: 1.8rem; }
  .hero-stats { position: relative; }
  .hero { flex-direction: column; justify-content: flex-end; min-height: auto; }
  .hero-inner { padding-bottom: 40px; }
  .search-panel { margin-top: 24px; }
  .search-fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
  .gallery.count-2 button:nth-child(2) { grid-row: auto; grid-column: span 2; }
  .detail-price { text-align: left; }
  .pcard.list { flex-direction: column; }
  .pcard.list .pcard-media { width: 100%; min-height: 0; aspect-ratio: 4/3; }
  .lb-stage { padding: 0 10px; }
  .lb-prev, .lb-next { top: auto; bottom: -70px; }
  .section-head { margin-bottom: 36px; }
  .float-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .stat-row { grid-template-columns: 1fr; }
  .frame::before { inset: 16px -12px -16px 12px; }
  .radio-cards { grid-template-columns: 1fr; }
}

/* grid children must be allowed to shrink (prevents horizontal overflow on phones) */
.cta-band > *, .listing > *, .split > *, .detail-layout > *, .ceo > *, .spotlight > * { min-width: 0; }
.results-tools { flex-wrap: wrap; }
@media (max-width: 760px) {
  .newsletter-form { flex-direction: column; border-radius: 20px; padding: 8px; }
  .newsletter-form input { height: 48px; }
  .newsletter-form .btn { width: 100%; }
  .results-bar { align-items: flex-start; }
  .results-tools select.input { min-width: 0 !important; flex: 1; }
  .results-tools form { flex: 1; }
}

/* spinner shown in a form button while it is sending */
.btn-spinner { display: inline-block; width: 1em; height: 1em; border: .15em solid currentColor; border-right-color: transparent; border-radius: 50%; animation: btnspin .7s linear infinite; vertical-align: -.15em; margin-right: 6px; }
@keyframes btnspin { to { transform: rotate(360deg); } }
