/* ==========================================================================
   Amini Properties — "Coastal Luxe" theme
   Deep navy · logo blue · champagne gold · warm ivory
   Colour and font tokens are injected from Admin → Settings → Theme.
   ========================================================================== */

:root {
  --brand: #4F6FE8;
  --accent: #C9A15A;
  --ink: #0A1628;
  --sand: #F6F2EA;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

:root {
  --ink-2: color-mix(in srgb, var(--ink) 88%, white);
  --ink-3: color-mix(in srgb, var(--ink) 75%, white);
  --brand-600: color-mix(in srgb, var(--brand) 80%, black);
  --brand-50: color-mix(in srgb, var(--brand) 8%, white);
  --accent-600: color-mix(in srgb, var(--accent) 82%, black);
  --accent-100: color-mix(in srgb, var(--accent) 16%, white);
  --paper: #ffffff;
  --text: #182234;
  --muted: #5d6879;
  --line: color-mix(in srgb, var(--ink) 11%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 18%, transparent);
  --on-ink: #f4f1ea;
  --on-ink-muted: color-mix(in srgb, #f4f1ea 68%, transparent);
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, .06), 0 2px 8px rgba(10, 22, 40, .05);
  --shadow: 0 10px 30px -12px rgba(10, 22, 40, .22);
  --shadow-lg: 0 30px 60px -20px rgba(10, 22, 40, .35);
  --container: 1240px;
  --header-h: 86px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: #fff; }

/* ------------------------------------------------------------ Typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 18px;
}
/* The arc echoes the curved base line in the Amini logo */
.eyebrow::before {
  content: ""; width: 30px; height: 9px; flex: none;
  border-top: 2px solid currentColor;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(3px);
}
.eyebrow--light { color: var(--accent); }
.section-title { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: .45em; }
.section-title--sm { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.lead { font-size: 1.1rem; color: var(--muted); }
.section--ink .lead { color: var(--on-ink-muted); }

.prose { font-size: 1.05rem; color: #2c3647; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--accent); background: var(--sand); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-display); font-size: 1.2rem; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose-sm { color: var(--muted); font-size: 1.04rem; }

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.section-head--split .section-title { margin-bottom: 0; }
.section-head__aside .lead { margin-bottom: 14px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 16px; } }

/* --------------------------------------------------------------- Buttons */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--b-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; min-height: 50px;
  border-radius: 999px; border: 1.5px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap; cursor: pointer;
}
.btn i { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover .bi-arrow-right, .btn:hover .bi-arrow-up-right { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn-primary { --b-bg: var(--brand); }
.btn-primary:hover { --b-bg: var(--brand-600); }
.btn-accent { --b-bg: var(--accent); --b-fg: var(--ink); }
.btn-accent:hover { --b-bg: color-mix(in srgb, var(--accent) 88%, white); }
.btn-outline { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-strong); }
.btn-outline:hover { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }
.btn-ghost-light { --b-bg: rgba(255,255,255,.06); --b-fg: #fff; --b-bd: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn-whatsapp { --b-bg: #25D366; --b-fg: #06331a; }
.btn-whatsapp:hover { --b-bg: #1ebe5a; }
.btn-sm { padding: 10px 18px; min-height: 40px; font-size: .86rem; }
.btn-lg { padding: 17px 32px; min-height: 58px; font-size: 1rem; }
.btn-block { width: 100%; }
@media (max-width: 600px) { .btn-block-sm { width: 100%; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand-600); }
.link-arrow:hover i { transform: translateX(4px); }

.round-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); transition: all .25s var(--ease); font-size: 1.05rem; }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.round-btn--light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; }
.round-btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-100); color: var(--accent-600); }
.chip--outline { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; }
.chip--glass { background: rgba(10,22,40,.55); color: #fff; backdrop-filter: blur(8px); }
.is-live { background: #e5f6ec; color: #16693c; }
.is-soon { background: var(--brand-50); color: var(--brand-600); }
.is-done { background: var(--accent-100); color: var(--accent-600); }
.is-sold { background: #fbe7e7; color: #a12c2c; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background .35s, box-shadow .35s, height .35s, color .35s;
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6,14,28,.55), transparent); pointer-events: none; transition: opacity .35s; }
.site-header.is-solid { background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(10,22,40,.3); --header-h: 72px; }
.site-header.is-solid::before { opacity: 0; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { height: 44px; width: auto; transition: opacity .3s; }
.brand-logo--dark { display: none; }
.site-header.is-solid .brand-logo--light { display: none; }
.site-header.is-solid .brand-logo--dark { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: .08em; text-transform: uppercase; }
.brand-text small { font-size: .62rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; margin-top: 5px; opacity: .8; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: 10px 14px; font-weight: 600; font-size: .94rem; opacity: .9; }
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 6px; border-top: 1.5px solid var(--accent); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a.is-active { opacity: 1; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; line-height: 1.2; }
.header-phone small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.header-phone__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; opacity: .9; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; position: relative; z-index: 120; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; right: 17px; }
.nav-toggle span:nth-child(3) { top: 29px; }
body.nav-open .nav-toggle { color: #fff; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
  :root { --header-h: 74px; }
}
@media (max-width: 480px) { .brand-text strong { font-size: 1.2rem; } .brand-logo { height: 38px; } }

.mobile-nav { position: fixed; inset: 0; z-index: 110; background: var(--ink); color: #fff; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; overflow-y: auto; }
.mobile-nav::before { content: ""; position: absolute; width: 140vw; height: 140vw; left: -20vw; bottom: -110vw; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); pointer-events: none; }
body.nav-open { overflow: hidden; }
body.nav-open .mobile-nav { visibility: visible; opacity: 1; }
body.nav-open .site-header { background: transparent; box-shadow: none; color: #fff; backdrop-filter: none; }
body.nav-open .site-header .brand-logo--light { display: block; }
body.nav-open .site-header .brand-logo--dark { display: none; }
.mobile-nav__panel { position: relative; min-height: 100%; padding: calc(var(--header-h) + 24px) 24px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mobile-nav nav a { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.4rem); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease), color .2s; transition-delay: calc(var(--i) * 50ms + 100ms); }
.mobile-nav nav a i { font-size: 1.1rem; color: var(--accent); }
.mobile-nav nav a.is-active { color: var(--accent); }
body.nav-open .mobile-nav nav a { opacity: 1; transform: none; }
.mobile-nav__contact { display: grid; gap: 14px; }
.mobile-nav__contact > a:not(.btn) { display: flex; gap: 12px; align-items: center; color: var(--on-ink-muted); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: all .25s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateY(-3px); }
.socials--dark a { border-color: var(--line-strong); color: var(--ink); }

/* ----------------------------------------------------------------- Toasts */
.toasts { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 300; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); border-left: 4px solid var(--brand); animation: toastIn .45s var(--ease); font-size: .95rem; }
.toast i { font-size: 1.2rem; }
.toast--success { border-color: #1f9d55; } .toast--success i { color: #1f9d55; }
.toast--error { border-color: #d64545; } .toast--error i { color: #d64545; }
.toast span { flex: 1; }
.toast button { background: none; border: 0; font-size: 1.3rem; line-height: 1; opacity: .5; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; min-height: clamp(680px, 100svh, 1080px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 8s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade { background:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 88%, transparent) 0%, color-mix(in srgb, var(--ink) 55%, transparent) 45%, transparent 80%),
    linear-gradient(0deg, color-mix(in srgb, var(--ink) 85%, transparent) 0%, transparent 40%); z-index: 1; }
.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
.hero__content { display: grid; max-width: 760px; }
.hero__text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease), visibility .9s; }
.hero__text.is-active { opacity: 1; visibility: visible; transform: none; }
.hero__title { font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 1.04; letter-spacing: -.01em; color: #fff; margin-bottom: 22px; font-weight: 400; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 560px; color: rgba(255,255,255,.82); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__pager { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.hero__pager button { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: rgba(255,255,255,.55); font-weight: 700; font-size: .8rem; letter-spacing: .1em; padding: 4px 0; }
.hero__pager i { display: block; width: 26px; height: 1.5px; background: currentColor; transition: width .4s var(--ease); }
.hero__pager button.is-active { color: #fff; }
.hero__pager button.is-active i { width: 54px; background: var(--accent); }
@media (max-width: 860px) { .hero__pager { top: auto; bottom: 0; right: 24px; transform: none; display: flex; } .hero__pager span { display: none; } }

.hero__search-wrap { position: relative; z-index: 3; padding-bottom: 56px; }
.search-panel { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; background: rgba(255,255,255,.97); border-radius: calc(var(--radius-lg) + 4px); padding: 10px; box-shadow: var(--shadow-lg); color: var(--ink); max-width: 980px; }
.search-panel__field { padding: 8px 20px; border-right: 1px solid var(--line); display: grid; }
.search-panel__field label { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.search-panel__field label i { color: var(--accent-600); }
.search-panel select { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 1.02rem; color: var(--ink); padding: 4px 0; outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230A1628' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; padding-right: 22px; }
.search-panel__field:nth-child(3) { border-right: 0; }
.search-panel__btn { border-radius: var(--radius-lg); min-height: 64px; padding: 0 30px; font-size: 1rem; }
@media (max-width: 860px) {
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-panel__field { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .search-panel__field:first-child { grid-column: 1 / -1; }
  .search-panel__field:nth-child(3) { border-bottom: 1px solid var(--line); }
  .search-panel__btn { grid-column: 1 / -1; margin-top: 8px; min-height: 54px; }
  .hero__search-wrap { padding-bottom: 64px; }
}
.hero__scroll { position: absolute; left: 50%; bottom: 18px; z-index: 3; width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; transform: translateX(-50%); display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Arc used under page heroes — echoes the logo base line */
.hero-arc { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(26px, 4vw, 60px); z-index: 2; fill: var(--paper); }

/* ------------------------------------------------------------- Page hero */
.page-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: slowZoom 16s ease-out forwards; }
@keyframes slowZoom { to { transform: scale(1); } }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 92%, transparent) 0%, color-mix(in srgb, var(--ink) 55%, transparent) 55%, color-mix(in srgb, var(--ink) 70%, transparent) 100%); }
.page-hero--plain .page-hero__shade { background: radial-gradient(ellipse at 80% 0%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 60%); }
.page-hero__inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(70px, 8vw, 110px); }
.page-hero__title { font-size: clamp(2.3rem, 5vw, 4rem); color: #fff; max-width: 900px; margin-bottom: 14px; font-weight: 400; }
.page-hero__sub { font-size: 1.15rem; max-width: 640px; color: rgba(255,255,255,.8); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-size: .65rem; opacity: .6; }
.crumbs [aria-current] { color: #fff; }

/* ----------------------------------------------------------------- Stats */
.stats { padding: 56px 0; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { padding: 8px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__icon { font-size: 1.4rem; color: var(--accent-600); display: block; margin-bottom: 8px; }
.stat__value { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--ink); display: flex; align-items: baseline; gap: 2px; }
.stat__value em { font-style: normal; color: var(--accent-600); font-size: .7em; }
.stat__label { margin: 10px 0 0; color: var(--muted); font-weight: 600; font-size: .95rem; }
.stats--band { background: var(--ink); border: 0; }
.stats--band .stat { border-color: rgba(255,255,255,.12); }
.stats--band .stat__value { color: #fff; }
.stats--band .stat__label { color: var(--on-ink-muted); }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat { padding: 0 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ----------------------------------------------------------- About intro */
.about-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-collage { position: relative; padding: 0 12% 12% 0; }
.about-collage__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.about-collage__main img { width: 100%; height: 100%; object-fit: cover; }
.about-collage__small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); }
.about-collage__small img { width: 100%; height: 100%; object-fit: cover; }
.est-badge { position: absolute; left: -26px; top: 36px; width: 128px; height: 128px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.est-badge svg { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); animation: spin 22s linear infinite; }
.est-badge text { font-size: 8.4px; font-weight: 700; letter-spacing: .22em; fill: var(--accent); font-family: var(--font-body); }
.est-badge span { font-family: var(--font-display); font-size: 1.45rem; text-align: center; line-height: 1; }
.est-badge small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.founder { display: flex; align-items: center; gap: 16px; padding: 18px 0; margin: 10px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--accent); }
.founder strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.founder small { color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
@media (max-width: 900px) { .about-intro__grid { grid-template-columns: 1fr; } .est-badge { left: 8px; top: 8px; width: 108px; height: 108px; } }

/* ------------------------------------------------------- Property cards */
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.p-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .p-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .p-grid, .p-grid--3 { grid-template-columns: 1fr; } }
.p-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.p-card__media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sand); }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.06); }
.p-card__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(10,22,40,.45), transparent); }
.p-card__status { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 13px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.p-card__num { position: absolute; right: 18px; bottom: 10px; z-index: 1; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: rgba(255,255,255,.92); }
.p-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.p-card__loc { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--accent-600); letter-spacing: .04em; margin-bottom: 8px; }
.p-card__title { font-size: 1.55rem; margin-bottom: 6px; }
.p-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); }
.p-card:hover .p-card__title a { background-size: 100% 1.5px; }
.p-card__tag { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.p-card__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 14px 0; margin: 0 0 18px; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); font-size: .9rem; font-weight: 600; color: #3a4557; }
.p-card__facts i { color: var(--brand); margin-right: 6px; }
.p-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-card__price small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-card__price strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--ink); }
.p-card__go { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 1.15rem; transition: background .3s, transform .4s var(--ease); }
.p-card:hover .p-card__go { background: var(--accent); color: var(--ink); transform: rotate(45deg); }

/* ------------------------------------------------------------ Why us */
.why__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.why::before { content: ""; position: absolute; right: -20vw; top: -30%; width: 70vw; height: 70vw; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 12%, transparent); pointer-events: none; }
.why__media { position: relative; }
.why__media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.why__floating { position: absolute; right: -24px; bottom: 36px; display: flex; gap: 14px; align-items: center; background: #fff; color: var(--ink); padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 280px; }
.why__floating i { font-size: 1.8rem; color: var(--accent-600); }
.why__floating strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.why__floating small { color: var(--muted); font-size: .85rem; line-height: 1.4; display: block; }
.why__list { display: grid; gap: 8px; margin-top: 12px; }
.why__item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.why__item:last-child { border-bottom: 0; }
.why__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); transition: all .3s; }
.why__item:hover .why__icon { background: var(--accent); color: var(--ink); }
.why__item h3 { font-size: 1.35rem; margin-bottom: 6px; }
.why__item p { color: var(--on-ink-muted); margin: 0; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } .why__floating { right: 12px; } }

/* --------------------------------------------------------------- Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; border-top: 1.5px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
.step { position: relative; text-align: center; padding: 0 8px; transition-delay: var(--d, 0ms); }
.step__icon { position: relative; z-index: 1; width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); box-shadow: 0 0 0 8px var(--paper); transition: all .35s var(--ease); }
.section--sand .step__icon { box-shadow: 0 0 0 8px var(--sand); }
.step:hover .step__icon { background: var(--ink); color: var(--accent); border-color: var(--ink); transform: translateY(-4px); }
.step__num { position: absolute; top: -6px; left: calc(50% + 18px); z-index: 2; font-size: .72rem; font-weight: 800; background: var(--accent); color: var(--ink); padding: 3px 8px; border-radius: 999px; letter-spacing: .06em; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; text-align: left; gap: 0 18px; }
  .step__icon { grid-row: span 2; margin: 0; width: 58px; height: 58px; }
  .step__num { left: 40px; }
}

/* ---------------------------------------------------------- Testimonials */
.testimonials { overflow: hidden; }
.t-slider { max-width: 900px; margin: 0 auto; }
.t-track { display: grid; }
.t-card { grid-area: 1 / 1; margin: 0; text-align: center; opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.t-card.is-active { opacity: 1; visibility: visible; transform: none; }
.t-card__mark { font-size: 4rem; line-height: 1; color: var(--accent); display: block; margin-bottom: 4px; }
.stars { color: var(--accent); display: inline-flex; gap: 4px; margin-bottom: 18px; }
.t-card blockquote { margin: 0 auto 28px; font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.4; color: var(--ink); max-width: 820px; font-weight: 400; }
.t-card figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.t-card figcaption img, .avatar-initial { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.avatar-initial { display: grid; place-items: center; background: var(--ink); color: var(--accent); font-family: var(--font-display); font-size: 1.4rem; }
.avatar-initial--lg { width: 100%; height: 100%; border-radius: 0; font-size: 5rem; }
.t-card figcaption strong { display: block; font-size: 1.05rem; color: var(--ink); }
.t-card figcaption small { color: var(--muted); }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.t-dots { display: flex; gap: 8px; }
.t-dots button { width: 9px; height: 9px; border-radius: 9px; padding: 0; border: 0; background: var(--line-strong); transition: all .35s var(--ease); }
.t-dots button.is-active { width: 30px; background: var(--accent); }

/* -------------------------------------------------------------- Mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; grid-auto-flow: dense; }
.mosaic__item:nth-child(8n) { grid-column: span 2; }
.mosaic__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.mosaic__item:nth-child(8n+1) { grid-row: span 2; }
.mosaic__item:nth-child(8n+4) { grid-column: span 2; }
.mosaic__item:nth-child(8n+6) { grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.mosaic__item:hover img { transform: scale(1.07); opacity: .75; }
.mosaic__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 700; font-size: .88rem; opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.mosaic__item:hover .mosaic__cap { opacity: 1; transform: none; }
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .mosaic__item:nth-child(8n+4), .mosaic__item:nth-child(8n) { grid-column: auto; } }

/* ------------------------------------------------------------------ Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__media .chip { position: absolute; left: 14px; top: 14px; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.post-card__title { font-size: 1.32rem; margin-bottom: 10px; }
.post-card__title a:hover { color: var(--brand-600); }
.post-card__excerpt { color: var(--muted); font-size: .95rem; flex: 1; }
.post-card .link-arrow { align-self: flex-start; }

.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--ink); color: var(--on-ink); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; }
.post-feature__media { min-height: 360px; }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.post-feature h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: #fff; margin: 14px 0; }
.post-feature h2 a:hover { color: var(--accent); }
.post-feature p { color: var(--on-ink-muted); }
.post-feature .post-card__meta { color: var(--on-ink-muted); }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } .post-feature__media { min-height: 240px; } }

.blog-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.search-inline { position: relative; min-width: 260px; }
.search-inline i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-inline input { width: 100%; padding: 12px 16px 12px 42px; border: 1.5px solid var(--line-strong); border-radius: 999px; font: inherit; background: #fff; }
.search-inline input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }

.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips-filter--links { margin-bottom: 0; }
.chips-filter button, .chips-filter a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink); transition: all .25s; }
.chips-filter span { font-size: .75rem; background: var(--sand); padding: 2px 8px; border-radius: 999px; color: var(--muted); }
.chips-filter .is-active, .chips-filter button:hover, .chips-filter a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips-filter .is-active span { background: var(--accent); color: var(--ink); }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a { min-width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); font-weight: 700; }
.pager a.is-active, .pager a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Post page */
.post-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.post-hero__inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(80px, 9vw, 120px); max-width: 980px; }
.post-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: #fff; font-weight: 400; }
.post-hero__meta { display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,.78); font-weight: 600; font-size: .92rem; margin: 0; }
.post-hero__meta i { margin-right: 8px; color: var(--accent); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.post-lede { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.5; color: var(--ink); padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.share-row > span { font-weight: 700; margin-right: 8px; }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: #fff; }
.aside-box--ink { background: var(--ink); color: var(--on-ink); border: 0; position: relative; overflow: hidden; }
.aside-box--ink::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; bottom: -150px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); }
.aside-box--ink h3 { color: #fff; font-size: 1.5rem; }
.aside-box--ink p { color: var(--on-ink-muted); }
.aside-box h4 { font-size: 1.15rem; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini-list a { display: flex; gap: 14px; align-items: center; }
.mini-list img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; flex: none; }
.mini-list strong { display: block; font-size: .98rem; line-height: 1.3; }
.mini-list small { color: var(--muted); font-size: .82rem; }
.mini-list a:hover strong { color: var(--brand-600); }
@media (max-width: 980px) { .post-layout { grid-template-columns: 1fr; } .post-aside { position: static; } }

/* ------------------------------------------------------------- CTA band */
.cta-band { padding: clamp(60px, 7vw, 100px) 0 0; position: relative; z-index: 2; margin-bottom: -120px; }
.cta-card { position: relative; overflow: hidden; border-radius: calc(var(--radius-lg) + 8px); background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; isolation: isolate; box-shadow: var(--shadow-lg); }
.cta-card__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--ink) 96%, transparent) 30%, color-mix(in srgb, var(--ink) 70%, transparent)); }
.cta-card::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 0 0 60px color-mix(in srgb, var(--accent) 5%, transparent); }
.cta-card h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; }
.cta-card p { color: var(--on-ink-muted); max-width: 560px; margin: 0; font-size: 1.08rem; }
.cta-card__actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; } .cta-card__actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------------------------------------------------------------- Footer */
.site-footer { position: relative; background: var(--ink); color: var(--on-ink-muted); padding: 190px 0 0; overflow: hidden; }
body:not(:has(.cta-band)) .site-footer { padding-top: 90px; }
.footer-arc { position: absolute; left: 50%; top: 260px; width: 180vw; height: 180vw; transform: translateX(-50%); border-radius: 50%; border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin: 20px 0 24px; max-width: 340px; }
.brand--footer { color: #fff; }
.brand--footer img { height: 50px; width: auto; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { transition: color .2s, padding .3s var(--ease); }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 3px; }
.footer-newsletter { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-newsletter h4 { margin-bottom: 6px; }
.footer-newsletter p { margin: 0; }
.newsletter-form { display: flex; gap: 10px; background: rgba(255,255,255,.06); padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); position: relative; }
.newsletter-form input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 18px; font: inherit; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form .form-status { position: absolute; top: 100%; left: 18px; margin-top: 8px; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 26px 0 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.footer-bottom p { margin: 0; display: flex; gap: 10px; }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-newsletter { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } .newsletter-form { flex-direction: column; border-radius: var(--radius-lg); } .newsletter-form input[type=email] { padding: 12px 14px; } }

/* WhatsApp floating button */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 18px 0 16px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 800; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-fab i { font-size: 1.6rem; }
.wa-fab:hover { transform: translateY(-3px) scale(1.02); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 640px) { .wa-fab span { display: none; } .wa-fab { width: 58px; padding: 0; justify-content: center; } }
.page-property .wa-fab { bottom: 90px; }
@media (min-width: 981px) { .page-property .wa-fab { bottom: 20px; } }

/* ------------------------------------------------------------- Property */
.prop-head { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 40px) 0 150px; position: relative; overflow: hidden; }
.prop-head::after { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -500px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.prop-head__row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.prop-head__chips { display: flex; gap: 8px; margin-bottom: 16px; }
.prop-head__title { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 400; margin-bottom: 10px; }
.prop-head__loc { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.8); font-weight: 600; margin: 0; font-size: 1.05rem; }
.prop-head__loc i { color: var(--accent); }
.prop-head__price { text-align: right; }
.prop-head__price small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); }
.prop-head__price strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); color: var(--accent); line-height: 1.1; margin-bottom: 12px; }
.prop-head__tools { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 700px) { .prop-head__price { text-align: left; } .prop-head__tools { justify-content: flex-start; } }

.prop-gallery { margin-top: -110px; position: relative; z-index: 2; }
.gallery-mosaic { display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.gm-item { position: relative; overflow: hidden; background: var(--sand); }
.gm-item.is-hidden { display: none; }
.gm-item:first-child { grid-row: span 2; }
.gm-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gm-item:hover img { transform: scale(1.05); }
.gallery-mosaic--1 { grid-template-columns: 1fr; grid-template-rows: 520px; }
.gallery-mosaic--2 { grid-template-columns: 2fr 1fr; }
.gallery-mosaic--2 .gm-item:nth-child(2) { grid-row: span 2; }
.gallery-mosaic--3 { grid-template-columns: 2fr 1fr; }
.gm-more { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 65%, transparent); color: #fff; font-weight: 800; font-size: 1.05rem; gap: 8px; backdrop-filter: blur(2px); }
.gm-more i { margin-right: 6px; }
@media (max-width: 760px) {
  .gallery-mosaic, .gallery-mosaic--3, .gallery-mosaic--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 130px; }
  .gm-item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gm-item:nth-child(n+4) { display: none; }
  .gm-item:nth-child(3) .gm-more, .gallery-mosaic .gm-item:nth-child(3)::after { display: grid; }
  .gallery-mosaic--2 .gm-item:nth-child(2) { grid-row: auto; grid-column: 1 / -1; }
}

.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 1080px) { .prop-layout { grid-template-columns: 1fr; } }
.key-facts { list-style: none; margin: 0 0 40px; padding: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; background: var(--sand); border-radius: var(--radius-lg); }
.key-facts li { display: flex; gap: 12px; align-items: center; padding: 14px; background: #fff; border-radius: var(--radius); }
.key-facts i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); font-size: 1.1rem; flex: none; }
.key-facts small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.key-facts span { font-weight: 800; color: var(--ink); line-height: 1.3; }
.prop-block { padding: 36px 0; border-bottom: 1px solid var(--line); }
.prop-block:first-of-type { padding-top: 0; }
.prop-block:last-child { border-bottom: 0; }
.block-title { font-size: 1.8rem; margin-bottom: 22px; }
.prop-tagline { font-family: var(--font-display); font-size: 1.35rem; color: var(--accent-600); margin-bottom: 10px; }

.units { display: grid; gap: 10px; }
.unit { display: grid; grid-template-columns: 1fr auto auto auto; gap: 22px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s; }
.unit:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.unit__name strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.unit__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.unit__meta i { color: var(--brand); margin-right: 5px; }
.unit__avail { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #16693c; background: #e5f6ec; padding: 5px 10px; border-radius: 999px; }
.unit.is-sold .unit__avail { background: #fbe7e7; color: #a12c2c; }
.unit.is-sold { opacity: .7; }
.unit__price { text-align: right; }
.unit__price small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.unit__price strong { font-size: 1.1rem; color: var(--ink); white-space: nowrap; }
@media (max-width: 640px) { .unit { grid-template-columns: 1fr auto; gap: 10px 14px; } .unit__avail { justify-self: end; } .unit__price { text-align: left; } }

.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.amenities li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--sand); font-weight: 600; color: var(--ink); }
.amenities i { font-size: 1.25rem; color: var(--accent-600); }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.highlights li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.highlights span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent); flex: none; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .3s; }
.plan:hover { box-shadow: var(--shadow); }
.plan img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.plan span { display: flex; justify-content: space-between; padding: 12px 14px; font-weight: 700; font-size: .9rem; }
.ratio-16x9 { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.ratio-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-frame--tall { aspect-ratio: auto; height: 380px; }

.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.calc__inputs { display: grid; gap: 18px; }
.calc__inputs label { display: flex; justify-content: space-between; }
.calc__inputs output { font-weight: 800; color: var(--brand-600); }
.calc input[type=range] { width: 100%; accent-color: var(--brand); }
.calc__result { background: var(--ink); color: var(--on-ink); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.calc__result > small { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); }
.calc__result > strong { font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; color: var(--accent); line-height: 1.2; margin: 6px 0 18px; }
.calc__result dl { margin: 0; display: grid; gap: 10px; }
.calc__result dl div { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.calc__result dt { color: var(--on-ink-muted); }
.calc__result dd { margin: 0; font-weight: 700; color: #fff; }
.calc__note { font-size: .8rem; color: var(--on-ink-muted); margin: 16px 0 0; }
@media (max-width: 700px) { .calc { grid-template-columns: 1fr; } }

.prop-aside { position: sticky; top: calc(var(--header-h) + 20px); scroll-margin-top: calc(var(--header-h) + 20px); }
.aside-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.aside-card__head { background: var(--ink); color: #fff; padding: 22px 24px; position: relative; overflow: hidden; }
.aside-card__head::after { content: ""; position: absolute; right: -60px; top: -100px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.aside-card__head small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); }
.aside-card__head strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--accent); }
.aside-card__head span { display: block; font-size: .88rem; color: var(--on-ink-muted); }
.aside-card .enquiry-form { padding: 22px 24px 8px; }
.aside-card__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 24px 24px; }
.aside-card__quick .btn { min-height: 46px; padding: 10px; }
@media (max-width: 1080px) { .prop-aside { position: static; } }

.mobile-actions { display: none; }
@media (max-width: 980px) {
  .mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: 0 -8px 24px -10px rgba(10,22,40,.25); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 6px; }
  .mobile-actions a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px; border-radius: 10px; font-size: .78rem; font-weight: 700; color: var(--ink); }
  .mobile-actions i { font-size: 1.2rem; }
  .mobile-actions a.is-primary { background: var(--ink); color: #fff; }
  .page-property .site-footer { padding-bottom: 76px; }
}

/* ----------------------------------------------------------------- Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form--compact .form-grid { grid-template-columns: 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border-radius: var(--radius); border: 1.5px solid var(--line-strong); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #d64545; }
.field-error { color: #c23434; font-size: .82rem; font-weight: 600; }
.enquiry-form--compact .field input, .enquiry-form--compact .field select, .enquiry-form--compact .field textarea { padding: 11px 14px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 20px; }
.enquiry-form--compact .form-foot { flex-direction: column; align-items: stretch; margin-top: 14px; }
.enquiry-form--compact .form-foot .btn { width: 100%; }
.form-note { margin: 0; font-size: .84rem; color: var(--muted); }
.form-note i { color: #1f9d55; margin-right: 4px; }
.form-status:empty { display: none; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; }
.form-status.is-ok { background: #e5f6ec; color: #16693c; }
.form-status.is-err { background: #fdecec; color: #a12c2c; }
.newsletter-form .form-status { background: none; padding: 0; }
.newsletter-form .form-status.is-ok { color: #7ee2a5; }
.newsletter-form .form-status.is-err { color: #ffadad; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading i { animation: spin 1s linear infinite; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--sand); padding: 4px; border-radius: 999px; margin-bottom: 16px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px 8px; border-radius: 999px; font-size: .84rem; font-weight: 700; cursor: pointer; color: var(--muted); transition: all .25s; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); }

/* ------------------------------------------------------------- Filter bar */
.filter-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 8px; margin-top: -90px; position: relative; z-index: 3; }
.filter-bar__field { padding: 8px 18px; border-right: 1px solid var(--line); }
.filter-bar__field:last-of-type { border-right: 0; }
.filter-bar label { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.filter-bar select { width: 100%; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); padding: 4px 0; outline: none; cursor: pointer; }
@media (max-width: 900px) { .filter-bar { grid-template-columns: 1fr 1fr; } .filter-bar__field { border-right: 0; border-bottom: 1px solid var(--line); } }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 32px 0 24px; color: var(--muted); }
.results-bar p { margin: 0; }
.results-bar strong { color: var(--ink); font-size: 1.1rem; }

.empty-state { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty-state > i { font-size: 3rem; color: var(--accent); }
.empty-state h3 { margin-top: 12px; }
.empty-state p { color: var(--muted); max-width: 480px; margin: 0 auto 20px; }
.empty-state .btn-row { justify-content: center; }

/* ------------------------------------------------------------ About page */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; box-shadow: var(--shadow-lg); }
.est-chip { position: absolute; right: -18px; bottom: 32px; background: var(--accent); color: var(--ink); padding: 18px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }
.est-chip span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.est-chip strong { font-family: var(--font-display); font-weight: 500; font-size: 2.2rem; line-height: 1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } .est-chip { right: 12px; } }

.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.12); background: linear-gradient(160deg, rgba(255,255,255,.05), transparent); }
.mv-card__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-size: 1.5rem; margin-bottom: 22px; }
.mv-card h3 { font-size: 1.8rem; }
.mv-card p { color: var(--on-ink-muted); font-size: 1.08rem; margin: 0; }
@media (max-width: 760px) { .mv__grid { grid-template-columns: 1fr; } }

.icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.icon-card { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: all .35s var(--ease); }
.icon-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.icon-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); font-size: 1.4rem; margin-bottom: 20px; }
.icon-card h3 { font-size: 1.3rem; }
.icon-card p { color: var(--muted); margin: 0; }

.timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.timeline__year { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-600); line-height: 1.2; }
.timeline strong { color: var(--ink); display: block; margin-bottom: 2px; }
.timeline p { margin: 0; color: var(--muted); font-size: .95rem; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.team-grid--1 { max-width: 880px; margin: 0 auto; grid-template-columns: 1fr; }
.team-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.team-grid--1 .team-card { display: grid; grid-template-columns: 340px 1fr; }
.team-card__photo { aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--sand); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.team-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.team-card__role { color: var(--accent-600); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.team-card p { color: var(--muted); }
.team-card__links { display: flex; gap: 8px; }
.team-card__links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); }
.team-card__links a:hover { background: var(--ink); color: #fff; }
@media (max-width: 700px) { .team-grid--1 .team-card { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { position: relative; padding: 34px 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: all .4s var(--ease); transition-delay: var(--d, 0ms); }
.service-card::before { content: ""; position: absolute; inset: auto -30% -70% auto; width: 260px; height: 260px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .6s var(--ease); z-index: 0; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { color: var(--on-ink); border-color: var(--ink); background: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: var(--on-ink-muted); }
.service-card:hover .link-arrow { color: #fff; }
.service-card__num { position: absolute; right: 24px; top: 20px; font-family: var(--font-display); font-size: 2.6rem; color: var(--line-strong); line-height: 1; }
.service-card__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-100); color: var(--accent-600); font-size: 1.5rem; margin-bottom: 24px; transition: all .3s; }
.service-card:hover .service-card__icon { background: var(--accent); color: var(--ink); }
.service-card h3 { font-size: 1.4rem; transition: color .3s; }
.service-card p { color: var(--muted); transition: color .3s; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: all .3s var(--ease); font-size: .9rem; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq__body { padding: 0 50px 22px 0; color: var(--muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-intro { position: static; } }

/* --------------------------------------------------------------- Gallery */
.masonry { columns: 3 300px; column-gap: 14px; }
.masonry__item { display: block; break-inside: avoid; margin-bottom: 14px; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.masonry__item img { width: 100%; transition: transform 1s var(--ease); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item.is-filtered { display: none; }
.masonry__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-weight: 700; font-size: .86rem; background: linear-gradient(0deg, rgba(10,22,40,.75), transparent); opacity: 0; transition: opacity .3s; }
.masonry__item:hover .masonry__cap { opacity: 1; }

/* --------------------------------------------------------------- Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -130px; position: relative; z-index: 3; margin-bottom: 64px; }
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; word-break: break-word; }
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-size: 1.25rem; margin-bottom: 16px; }
.contact-card__icon--wa { background: #25D366; color: #fff; }
.contact-card small { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-size: 1.05rem; color: var(--ink); }
.contact-card > span:last-child:not(.contact-card__icon) { color: var(--muted); font-size: .9rem; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: 1fr 1fr; margin-top: -60px; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-main { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; scroll-margin-top: calc(var(--header-h) + 20px); }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.contact-side { display: grid; gap: 20px; }
.follow-card { background: var(--sand); border-radius: var(--radius-lg); padding: 28px; }
.follow-card p { color: var(--muted); }
@media (max-width: 900px) { .contact-main { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- 404 */
.not-found { padding: calc(var(--header-h) + 90px) 0 110px; text-align: center; }
.not-found img { margin: 0 auto 10px; opacity: .9; }
.not-found__code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--accent); margin: 0; }
.not-found p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }

/* -------------------------------------------------------------- Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5, 11, 22, .95); display: grid; place-items: center; animation: fadeIn .3s; }
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__stage { margin: 0; max-width: 92vw; max-height: 86vh; display: grid; justify-items: center; gap: 12px; }
.lightbox__stage img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 8px; animation: lbIn .4s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lightbox__stage figcaption { color: rgba(255,255,255,.8); font-weight: 600; }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 1.2rem; display: grid; place-items: center; transition: all .25s; }
.lightbox__close:hover, .lightbox__nav:hover { background: #fff; color: var(--ink); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 32px; left: 28px; color: rgba(255,255,255,.7); font-weight: 700; letter-spacing: .1em; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 20px; transform: none; } }

/* ------------------------------------------------------------ Reveal FX */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.no-motion *, .no-motion *::before, .no-motion *::after { transition: none !important; animation: none !important; }
