/* SOW Real Estates — Design System Foundations (Fluent Snippets)
   Colors & fonts are NOT defined here — they reference Elementor Global
   Colors / Global Fonts (single source of truth). This snippet provides only
   token aliases (pointing at Elementor globals), spacing/radii/shadows/motion,
   base element styles, and component/utility classes. */

/* SOW Real Estates — Color Tokens
 * SOURCE OF TRUTH = Elementor Global Colors (Site Settings → Global Colors).
 * No brand colors are defined here: every brand token references an Elementor
 * global CSS variable (var(--e-global-color-<id>)). Tints/grays without a global
 * are DERIVED from those Elementor globals via color-mix() — still no brand hex.
 */

body {
  /* ---- Brand globals (mapped to Elementor) ---- */
  --g-teal:        var(--e-global-color-primary);     /* Teal  #06BCC8 */
  --g-teal-hover:  var(--e-global-color-4f6eb55);     /* Teal Hover #0596A0 */
  --g-teal-soft:   var(--e-global-color-36e5f6e);     /* Teal Soft #CDF2F4 */
  --g-magenta:     var(--e-global-color-secondary);   /* Magenta #AB0C91 */
  --g-magenta-soft:var(--e-global-color-e5112ad);     /* Magenta Soft #EECEE9 */
  --g-yellow:      var(--e-global-color-accent);       /* Yellow #F3E507 */
  --g-ink:         var(--e-global-color-text);         /* Ink #1A1A1A */
  --g-night:       var(--e-global-color-1355e8a);     /* Night #0F1115 */
  --g-mist:        var(--e-global-color-c474c27);     /* Mist #F5F5F5 */
  --g-text-body:   var(--e-global-color-0327e48);     /* Text Body #34363C */
  --g-text-muted:  var(--e-global-color-9b7f736);     /* Text Muted #6E727B */
  --g-border:      var(--e-global-color-bb9dbf7);     /* Border Subtle #E6E7EA */

  /* ---- Teal ramp (base from Elementor; steps derived) ---- */
  --teal-50:  var(--g-teal-soft);
  --teal-100: color-mix(in srgb, var(--g-teal) 45%, #fff);
  --teal-200: color-mix(in srgb, var(--g-teal) 62%, #fff);
  --teal-300: color-mix(in srgb, var(--g-teal) 80%, #fff);
  --teal-400: var(--g-teal);
  --teal-500: var(--g-teal-hover);
  --teal-600: color-mix(in srgb, var(--g-teal) 70%, #000);
  --teal-700: color-mix(in srgb, var(--g-teal) 48%, #000);

  /* ---- Yellow ramp ---- */
  --yellow-50:  color-mix(in srgb, var(--g-yellow) 22%, #fff);
  --yellow-400: var(--g-yellow);
  --yellow-500: color-mix(in srgb, var(--g-yellow) 80%, #000);
  --yellow-700: color-mix(in srgb, var(--g-yellow) 40%, #000);

  /* ---- Magenta ramp ---- */
  --magenta-50:  var(--g-magenta-soft);
  --magenta-300: color-mix(in srgb, var(--g-magenta) 70%, #fff);
  --magenta-400: var(--g-magenta);
  --magenta-500: color-mix(in srgb, var(--g-magenta) 80%, #000);
  --magenta-600: color-mix(in srgb, var(--g-magenta) 60%, #000);

  /* ---- Neutrals ---- */
  --white: #fff;
  --ink:   var(--g-ink);
  --night: var(--g-night);
  --mist:  var(--g-mist);

  /* Derived neutral grays (from Elementor Text Muted) */
  --gray-100: color-mix(in srgb, var(--g-text-muted) 12%, #fff);
  --gray-200: color-mix(in srgb, var(--g-text-muted) 20%, #fff);
  --gray-300: color-mix(in srgb, var(--g-text-muted) 35%, #fff);
  --gray-400: color-mix(in srgb, var(--g-text-muted) 60%, #fff);
  --gray-500: var(--g-text-muted);
  --gray-600: color-mix(in srgb, var(--g-text-muted) 70%, #000);
  --gray-700: color-mix(in srgb, var(--g-text-muted) 55%, #000);

  /* ===== Semantic aliases ===== */
  --color-primary:        var(--g-teal);
  --color-primary-hover:  var(--g-teal-hover);
  --color-primary-active: var(--teal-600);
  --color-primary-soft:   var(--g-teal-soft);

  --color-accent:         var(--g-magenta);
  --color-accent-hover:   var(--magenta-500);
  --color-accent-soft:    var(--g-magenta-soft);

  --color-highlight:      var(--g-yellow);
  --color-highlight-soft: var(--yellow-50);

  --text-strong:   var(--g-ink);
  --text-body:     var(--g-text-body);
  --text-muted:    var(--g-text-muted);
  --text-on-dark:  var(--white);
  --text-on-dark-muted: color-mix(in srgb, var(--g-text-muted) 65%, #fff);
  --text-on-brand: var(--white);

  --surface-page:    var(--white);
  --surface-muted:   var(--g-mist);
  --surface-card:    var(--white);
  --surface-dark:    var(--g-night);
  --surface-dark-2:  color-mix(in srgb, var(--g-night) 90%, #fff);

  --border-subtle:  var(--g-border);
  --border-default: var(--gray-200);
  --border-strong:  var(--gray-300);
  --border-on-dark: rgba(255,255,255,0.12);

  /* Status badge colors */
  --status-selling-bg:   var(--teal-50);
  --status-selling-fg:   var(--teal-700);
  --status-ongoing-bg:   var(--yellow-50);
  --status-ongoing-fg:   var(--yellow-700);
  --status-completed-bg: var(--magenta-50);
  --status-completed-fg: var(--magenta-600);
  --status-offplan-bg:   var(--gray-100);
  --status-offplan-fg:   var(--gray-700);

  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--g-teal) 45%, transparent);
}

/* SOW Real Estates — Typography Tokens
 * SOURCE OF TRUTH = Elementor Global Fonts (Site Settings → Global Fonts).
 * Font family and the fluid clamp() sizes reference Elementor global vars.
 * Weights / line-heights / letter-spacing remain as scale constants.
 */

body {
  /* Family — from Elementor "Text" global typography No family name hardcoded — comes from Elementor. */
  --font-sans:    var(--e-global-typography-text-font-family, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
  --font-sans-sc: var(--font-sans);   /* SC/CD widths consolidated to single family */
  --font-sans-cd: var(--font-sans);

  /* Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Fluid type scale — references Elementor Global Fonts font-size vars */
  --title-1: var(--e-global-typography-e2c75c6-font-size);
  --title-2: var(--e-global-typography-722620b-font-size);
  --title-3: var(--e-global-typography-b41a238-font-size);
  --title-4: var(--e-global-typography-af1292c-font-size);
  --title-5: var(--e-global-typography-2e52d34-font-size);
  --title-6: var(--e-global-typography-cb9f74f-font-size);
  --title-7: var(--e-global-typography-9aef13d-font-size);
  --sub-heading: var(--e-global-typography-d465c5a-font-size);
  --body-big: var(--e-global-typography-b5cd3cf-font-size);
  --body: var(--e-global-typography-34a0f22-font-size, 1rem);
  --body-small: var(--e-global-typography-e1c57c6-font-size, 0.875rem);

  /* Line heights (unitless) */
  --lh-t1: 1.1;  --lh-t2: 1.15; --lh-t3: 1.2;  --lh-t4: 1.25;
  --lh-t5: 1.3;  --lh-t6: 1.35; --lh-t7: 1.4;
  --lh-subheading: 1.4; --lh-body-big: 1.5; --lh-body: 1.6; --lh-body-small: 1.6;

  /* Letter spacing */
  --ls-tight: -0.02em; --ls-snug: -0.01em; --ls-normal: 0; --ls-eyebrow: 0.14em;
}

/* SOW Real Estates — Spacing, Radius, Shadow, Layout & Motion Tokens */

body {
  /* Spacing scale (4px base) */
  --space-1: 0.25rem;  /*  4px */
  --space-2: 0.5rem;   /*  8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.5rem;   /* 24px */
  --space-6: 2rem;     /* 32px */
  --space-7: 3rem;     /* 48px */
  --space-8: 4rem;     /* 64px */
  --space-9: 6rem;     /* 96px */
  --space-10: 8rem;    /* 128px */

  /* Section rhythm (fluid) */
  --section-y: clamp(4rem, 2.5rem + 6vw, 7.5rem); /* @kind spacing */
  --container-max: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 2.5rem); /* @kind spacing */

  /* Radii — rounded but restrained */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows — soft, low-contrast */
  --shadow-xs: 0 1px 2px rgba(15,17,21,0.05);
  --shadow-sm: 0 2px 8px rgba(15,17,21,0.06);
  --shadow-md: 0 10px 30px rgba(15,17,21,0.08);
  --shadow-lg: 0 24px 60px rgba(15,17,21,0.12);
  --shadow-brand: 0 16px 40px rgba(6,188,200,0.22);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --dur-fast: 0.18s; /* @kind other */
  --dur: 0.3s; /* @kind other */
  --dur-slow: 0.55s; /* @kind other */

  /* Image aspect ratios (consistent treatment) */
  --ratio-card: 4 / 3; /* @kind other */
  --ratio-wide: 16 / 9; /* @kind other */
  --ratio-portrait: 3 / 4; /* @kind other */

  /* Z layers */
  --z-header: 100; /* @kind other */
  --z-overlay: 200; /* @kind other */
  --z-modal: 300; /* @kind other */
}

/* SOW Real Estates — Base: reset, document defaults, element typography, layout utilities */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--teal-100); color: var(--ink); }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-xs); }

/* ===== Headings mapped to the fluid scale ===== */
h1, .t1 { font-size: var(--title-1); line-height: var(--lh-t1); font-weight: var(--fw-bold); color: var(--text-strong); letter-spacing: var(--ls-tight); }
h2, .t2 { font-size: var(--title-2); line-height: var(--lh-t2); font-weight: var(--fw-bold); color: var(--text-strong); letter-spacing: var(--ls-tight); }
h3, .t3 { font-size: var(--title-3); line-height: var(--lh-t3); font-weight: var(--fw-semibold); color: var(--text-strong); letter-spacing: var(--ls-snug); }
h4, .t4 { font-size: var(--title-4); line-height: var(--lh-t4); font-weight: var(--fw-semibold); color: var(--text-strong); }
h5, .t5 { font-size: var(--title-5); line-height: var(--lh-t5); font-weight: var(--fw-semibold); color: var(--text-strong); }
h6, .t6 { font-size: var(--title-6); line-height: var(--lh-t6); font-weight: var(--fw-semibold); color: var(--text-strong); }
.t7 { font-size: var(--title-7); line-height: var(--lh-t7); font-weight: var(--fw-semibold); }

/* Display: condensed width for big statements */
.display {
  font-family: var(--font-sans-cd);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
}

.lead, .sub-heading { font-size: var(--sub-heading); line-height: var(--lh-subheading); font-weight: var(--fw-regular); color: var(--text-muted); }
.body-big { font-size: var(--body-big); line-height: var(--lh-body-big); }
.body-small, small { font-size: var(--body-small); line-height: var(--lh-body-small); }

p { text-wrap: pretty; }

/* Eyebrow — Title 7, uppercase, tracked, teal */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-sans-sc);
  font-size: var(--title-7);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; display: inline-block; }
.eyebrow.no-rule::before { display: none; }
.eyebrow.on-dark { color: var(--teal-300); }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.bg-muted { background: var(--surface-muted); }
.bg-dark { background: var(--surface-dark); color: var(--text-on-dark); }
.bg-dark .lead, .bg-dark .body-big { color: var(--text-on-dark-muted); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 { color: var(--white); }

.stack > * + * { margin-top: var(--space-4); }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 48ch; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

.grid { display: grid; gap: var(--space-6); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.flow-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.between { justify-content: space-between; }

/* Section header block */
.section-head { max-width: 64ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: var(--space-3); }
.section-head p { margin-top: var(--space-4); color: var(--text-muted); font-size: var(--body-big); line-height: var(--lh-body-big); }

/* Consistent image media frame */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--gray-100); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.ratio-card { aspect-ratio: var(--ratio-card); }
.media.ratio-wide { aspect-ratio: var(--ratio-wide); }
.media.ratio-portrait { aspect-ratio: var(--ratio-portrait); }

.divider { height: 1px; background: var(--border-subtle); border: 0; }
.bg-dark .divider { background: var(--border-on-dark); }

/* Visually hidden (a11y) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Color utilities */
.text-teal { color: var(--color-primary); }
.text-magenta { color: var(--color-accent); }
.text-muted { color: var(--text-muted); }

/* SOW Real Estates — Component CSS (shared, maps 1:1 to Elementor widgets) */

/* ===== Buttons ===== */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  line-height: 1;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-brand); }
.btn:active { transform: translateY(0); background: var(--color-primary-active); box-shadow: none; }
.btn svg { width: 1.1em; height: 1.1em; }

.btn-accent { --btn-bg: var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-hover); box-shadow: 0 16px 40px rgba(171,12,145,0.22); }

.btn-highlight { --btn-bg: var(--color-highlight); --btn-fg: var(--ink); }
.btn-highlight:hover { background: var(--yellow-500); box-shadow: 0 16px 40px rgba(243,229,7,0.3); }

.btn-secondary { --btn-bg: transparent; --btn-fg: var(--text-strong); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: none; }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary-soft); transform: none; box-shadow: none; }

.btn-on-dark { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn-on-dark:hover { background: var(--teal-50); }
.btn-outline-dark { --btn-bg: transparent; --btn-fg: var(--white); border-color: var(--border-on-dark); }
.btn-outline-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); box-shadow: none; }

.btn-sm { padding: 0.6rem 1.1rem; font-size: var(--body-small); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* Text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: var(--fw-semibold); color: var(--color-primary); transition: gap var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { color: var(--color-primary-hover); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ===== Badges & tags ===== */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: var(--fw-semibold);
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: var(--radius-pill);
  background: var(--gray-100); color: var(--gray-700);
  font-family: var(--font-sans-sc);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.no-dot::before { display: none; }
.badge-selling { background: var(--status-selling-bg); color: var(--status-selling-fg); }
.badge-ongoing { background: var(--status-ongoing-bg); color: var(--status-ongoing-fg); }
.badge-completed { background: var(--status-completed-bg); color: var(--status-completed-fg); }
.badge-offplan { background: var(--status-offplan-bg); color: var(--status-offplan-fg); }

.tag { display: inline-flex; align-items: center; font-size: var(--body-small); font-weight: var(--fw-medium); color: var(--text-muted); padding: 0.3rem 0.75rem; border: 1px solid var(--border-default); border-radius: var(--radius-pill); background: var(--white); transition: all var(--dur) var(--ease-out); }
.tag:hover, .tag.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }

/* ===== Cards ===== */
.card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }

/* Property card */
.property-card { display: flex; flex-direction: column; height: 100%; }
.property-card .media { border-radius: 0; aspect-ratio: 3/4; }
.property-card .media img { transition: transform var(--dur-slow) var(--ease-out); }
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.property-card:hover .media img { transform: scale(1.06); }
.property-card .media .badge { position: absolute; top: var(--space-3); left: var(--space-3); background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); }
.property-card .pc-fav { position: absolute; top: var(--space-3); right: var(--space-3); width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; color: var(--ink); border: 0; cursor: pointer; transition: all var(--dur) var(--ease-out); }
.property-card .pc-fav:hover { background: var(--color-accent); color: var(--white); }
.property-card .pc-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.property-card .pc-type-row { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.property-card .pc-type { font-size: 0.72rem; font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); font-family: var(--font-sans-sc); }
.property-card .pc-sep { color: var(--border-strong); font-size: var(--body-small); }
.property-card .pc-price { font-size: var(--title-6); font-weight: var(--fw-bold); color: var(--text-strong); letter-spacing: var(--ls-snug); margin-top: var(--space-1); }
.property-card .pc-title { font-size: var(--title-6); font-weight: var(--fw-bold); color: var(--text-strong); line-height: 1.25; }
.property-card .pc-desc { font-size: var(--body-small); color: var(--text-muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.property-card .pc-meta { display: flex; align-items: center; gap: 0.4rem; color: var(--text-muted); font-size: var(--body-small); }
.property-card .pc-meta svg { width: 1em; height: 1em; color: var(--color-primary); flex: none; }
.property-card .pc-foot { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); font-size: var(--body-small); color: var(--text-muted); }

/* Agent card */
.agent-card { text-align: center; padding: var(--space-6) var(--space-5) var(--space-5); }
.agent-card .agent-photo { width: 124px; height: 124px; border-radius: 50%; margin: 0 auto var(--space-4); overflow: hidden; background: var(--gray-100); box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--teal-100); }
.agent-card .agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-card .agent-name { font-size: var(--title-6); font-weight: var(--fw-bold); color: var(--text-strong); }
.agent-card .agent-role { color: var(--color-primary); font-weight: var(--fw-semibold); font-size: var(--body-small); margin-top: 2px; }
.agent-card .agent-bio { color: var(--text-muted); font-size: var(--body-small); margin-top: var(--space-3); }
.agent-card .agent-contact { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-4); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-default); background: var(--white); color: var(--ink); cursor: pointer; transition: all var(--dur) var(--ease-out); }
.icon-btn:hover { background: var(--color-primary); color: var(--white); border-color: var(--color-primary); transform: translateY(-2px); }
.icon-btn svg { width: 1.1em; height: 1.1em; }

/* Feature / value card */
.feature-card { padding: var(--space-6); height: 100%; }
.feature-card .feature-ico { width: 56px; height: 56px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-primary); margin-bottom: var(--space-4); }
.feature-card .feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: var(--title-6); margin-bottom: var(--space-2); }
.feature-card p { color: var(--text-muted); }

/* Stat */
.stat .stat-num { font-family: var(--font-sans-cd); font-size: var(--title-1); font-weight: var(--fw-bold); line-height: 1; letter-spacing: var(--ls-tight); color: var(--white); }
.stat .stat-num .suffix { color: var(--teal-300); }
.stat .stat-label { margin-top: var(--space-3); color: var(--text-on-dark-muted); font-size: var(--body-small); }

/* ===== Forms ===== */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: var(--body-small); font-weight: var(--fw-semibold); color: var(--text-strong); }
.field .req { color: var(--color-accent); }
.input, .select, .textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-default); border-radius: var(--radius-sm);
  background: var(--white); color: var(--text-strong);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: var(--gray-400); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: var(--focus-ring); }
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E727B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem; padding-right: 2.6rem; }
.check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--body-small); color: var(--text-body); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--color-primary); flex: none; }

/* ===== Accordion (FAQ) ===== */
.accordion-item { border-bottom: 1px solid var(--border-subtle); }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; background: none; border: 0; cursor: pointer; text-align: left; font-size: var(--title-7); font-weight: var(--fw-semibold); color: var(--text-strong); transition: color var(--dur) var(--ease-out); }
.accordion-trigger:hover { color: var(--color-primary); }
.accordion-icon { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1.5px solid var(--border-default); display: grid; place-items: center; transition: all var(--dur) var(--ease-out); }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; width: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease-out); }
.accordion-icon::after { transform: rotate(90deg); }
.accordion-item.open .accordion-icon { background: var(--color-primary); color: var(--white); border-color: var(--color-primary); }
.accordion-item.open .accordion-icon::after { transform: rotate(0); opacity: 0; }
.accordion-panel { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-out); }
.accordion-panel-inner { padding-bottom: var(--space-5); color: var(--text-muted); max-width: 70ch; }

/* ===== Testimonial ===== */
.testimonial-card { background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); width: 420px; flex: none; }
.testimonial-card .quote-mark { font-size: 3rem; line-height: 0.6; color: var(--teal-200); font-weight: var(--fw-bold); }
.testimonial-card blockquote { font-size: 1.0625rem; line-height: 1.65; color: var(--text-body); margin: var(--space-3) 0 var(--space-5); }
.testimonial-card .t-author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-card .t-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; font-weight: var(--fw-bold); flex: none; }
.testimonial-card .t-name { font-weight: var(--fw-semibold); color: var(--text-strong); font-size: var(--body-small); }
.testimonial-card .t-meta { font-size: 0.8125rem; color: var(--text-muted); }

/* ===== Marquee ===== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: var(--space-5); width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--space-3))); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Pill filter group ===== */
.filter-group { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ===== Insight (blog) card ===== */
.insight-card { display: flex; flex-direction: column; height: 100%; }
.insight-card .media img { transition: transform var(--dur-slow) var(--ease-out); }
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.insight-card:hover .media img { transform: scale(1.05); }
.insight-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.insight-meta { display: flex; align-items: center; gap: var(--space-3); font-size: var(--body-small); color: var(--text-muted); }
.insight-title { font-size: var(--title-6); font-weight: var(--fw-semibold); line-height: 1.3; }
.insight-title a:hover { color: var(--color-primary); }
.insight-body p { color: var(--text-muted); font-size: var(--body-small); flex: 1; }
.insight-card .link-arrow { margin-top: auto; }

/* ===== Feature list (checks) ===== */
.check-list { display: flex; flex-direction: column; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.check-list .ci { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; }
.check-list .ci svg { width: 15px; height: 15px; stroke-width: 3; }

/* ===== Stat band ===== */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-7) var(--space-6); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-4); } }

/* ===== Pull quote (CEO) ===== */
.pullquote { font-size: var(--title-3); line-height: 1.3; font-weight: var(--fw-medium); color: var(--text-strong); letter-spacing: var(--ls-snug); }
.pullquote .q-accent { color: var(--color-accent); }
.bg-dark .pullquote { color: var(--white); }

/* ===== Icon base sizing ===== */
.icon { display: inline-flex; }
.icon svg { width: 1em; height: 1em; }

/* Status pill color mapping (heading widget [data-status] attribute -> status tokens) */
.elementor-widget.badge[data-status] { background-color: var(--status-offplan-bg) !important; color: var(--status-offplan-fg) !important; }
.elementor-widget.badge[data-status] .elementor-heading-title { color: var(--status-offplan-fg) !important; }
.elementor-widget.badge[data-status="Selling"] { background-color: var(--status-selling-bg) !important; }
.elementor-widget.badge[data-status="Selling"] .elementor-heading-title { color: var(--status-selling-fg) !important; }
.elementor-widget.badge[data-status="Ongoing"] { background-color: var(--status-ongoing-bg) !important; }
.elementor-widget.badge[data-status="Ongoing"] .elementor-heading-title { color: var(--status-ongoing-fg) !important; }
.elementor-widget.badge[data-status="Completed"] { background-color: var(--status-completed-bg) !important; }
.elementor-widget.badge[data-status="Completed"] .elementor-heading-title { color: var(--status-completed-fg) !important; }
.elementor-widget.badge[data-status="Off-Plan"] { background-color: var(--status-offplan-bg) !important; }
.elementor-widget.badge[data-status="Off-Plan"] .elementor-heading-title { color: var(--status-offplan-fg) !important; }

/* Gallery more-photos overlay tile */
.sow-gallery-more-overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:var(--surface-dark); color:#fff; font-weight:var(--fw-bold); font-size:1rem; text-decoration:none; cursor:pointer; z-index:2; }

/* FacetWP pill filter styling */
.facetwp-facet { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.facetwp-radio, .facetwp-checkbox {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: var(--radius-pill, 999px);
  border: 1.5px solid var(--border-default, #DDDEE1);
  background: var(--white, #fff); color: var(--text-strong, #1A1A1A);
  font-size: 0.85rem; font-weight: 500; cursor: pointer;
  transition: all 0.2s ease; margin: 0;
}
.facetwp-radio:hover, .facetwp-checkbox:hover { background: var(--color-primary, #06BCC8); color: #fff; border-color: var(--color-primary, #06BCC8); }
.facetwp-radio.checked, .facetwp-checkbox.checked { background: var(--color-primary, #06BCC8); color: #fff; border-color: var(--color-primary, #06BCC8); }
.facetwp-radio.disabled, .facetwp-checkbox.disabled { opacity: 0.4; cursor: not-allowed; }
.facetwp-checkbox .facetwp-counter { color: var(--text-muted, #6E727B); font-size: 0.8em; }
.facetwp-checkbox.checked .facetwp-counter, .facetwp-checkbox:hover .facetwp-counter { color: rgba(255,255,255,0.85); }
.facetwp-type-slider, .facetwp-type-slider .facetwp-slider-wrap { width: 100% !important; }
.facetwp-slider { width: 100% !important; flex: none; height: 4px; background: var(--border-default, #DDDEE1); border-radius: 4px; }
.facetwp-slider .noUi-base, .facetwp-slider .noUi-origin { width: 100% !important; }
.facetwp-slider .noUi-connects { position: absolute; width: 100%; height: 100%; overflow: hidden; z-index: 0; }
.facetwp-slider .noUi-connect { background: var(--color-primary, #06BCC8); position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: 0; height: 100%; }
.facetwp-slider .noUi-handle { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--color-primary, #06BCC8); cursor: pointer; top: -6px; box-shadow: none; }
.facetwp-slider .noUi-handle::before, .facetwp-slider .noUi-handle::after { display: none; }
/* Form success message — one consistent style for every Elementor form on the site */
.elementor-message.elementor-message-success {
    background: var(--e-global-color-36e5f6e, #CDF2F4);
    color: var(--e-global-color-358c417, #012628);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-weight: 600;
}

.facetwp-slider-label { font-size: 0.85rem; color: var(--text-strong, #1A1A1A); margin-top: 6px; display: block; }
.facetwp-counts { font-size: 0.95rem; }
.facetwp-counts strong { font-weight: 700; color: var(--text-strong, #1A1A1A); }
.facetwp-sort-select, .facetwp-sort select {
  padding: 8px 14px; border-radius: var(--radius-sm, 8px);
  border: 1.5px solid var(--border-default, #DDDEE1);
  background: #fff; color: var(--text-strong, #1A1A1A); font-size: 0.9rem;
}

/* Remove FacetWP's default radio bullet image for pill look */
.facetwp-radio, .facetwp-radio.checked { background-image: none !important; padding-left: 16px !important; }

/* Compact dividers between sidebar filter rows */
.sow-filter-sidebar .elementor-widget-divider { margin: 0; }
.sow-filter-sidebar .elementor-divider { margin: 0; }

/* Remove FacetWP's default checkbox image for pill look */
.facetwp-checkbox, .facetwp-checkbox.checked { background-image: none !important; padding-left: 12px !important; }

/* Reset buttons (slider + global) styled as accent-colored pills */
.facetwp-facet .facetwp-reset, .facetwp-facet .facetwp-slider-reset {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: var(--radius-pill, 999px);
  border: 1.5px solid var(--color-accent, #AB0C91);
  background: #fff; color: var(--color-accent, #AB0C91);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s ease; margin: 0; appearance: none; box-shadow: none; line-height: 1.2;
}
.facetwp-facet .facetwp-reset:hover, .facetwp-facet .facetwp-slider-reset:hover {
  background: var(--color-accent, #AB0C91); color: #fff;
}
.facetwp-slider-reset { margin-top: 10px; }
.facetwp-type-reset.facetwp-hidden { display: none !important; }

/* Price slider: value label above track (slider-label above track) */
.facetwp-type-slider { display: flex; flex-direction: column; }
.facetwp-type-slider .facetwp-slider-label { order: -1; font-size: var(--body-small, 0.875rem); font-weight: 600; color: var(--text-strong, #1A1A1A); margin: 0 0 10px; display: block; }
.facetwp-type-slider .facetwp-slider-wrap { order: 0; margin-bottom: 6px; }

/* Property type "See more" toggle - body small font */
.facetwp-toggle { font-size: var(--body-small, 0.875rem); color: var(--text-muted, #6E727B); cursor: pointer; }
.facetwp-toggle:hover { color: var(--color-primary, #06BCC8); }

/* sidebar facet widgets: drop Elementor default bottom margin (was adding extra space) */
.sow-filter-sidebar .elementor-widget-facetwp-facet { margin-bottom: 0; }

/* Kill FacetWP's inner .facetwp-facet element default margin (loads after our CSS, needs higher specificity) */
.sow-filter-sidebar .facetwp-facet { margin-bottom: 0; }
.sow-filter-sidebar .facetwp-radio, .sow-filter-sidebar .facetwp-checkbox { margin-bottom: 0; }

/* Slider reset: respect FacetWP's hidden state (only show when slider is in use) */
.sow-filter-sidebar .facetwp-slider-reset.facetwp-hidden { display: none; }

/* ===== FacetWP Load More pager (native) ===== */
.facetwp-facet-load_more { display:flex; justify-content:center; }
.facetwp-load-more {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:.95rem 2.2rem; border-radius:var(--radius-pill,999px);
  border:1.5px solid transparent; background:var(--color-primary,#06BCC8); color:#fff;
  font-family:var(--font-sans-sc,inherit); font-weight:var(--fw-semibold,600); font-size:1rem;
  cursor:pointer; line-height:1; appearance:none;
  transition: background var(--dur,.3s) var(--ease-out), transform var(--dur-fast,.18s) var(--ease-out), box-shadow var(--dur,.3s) var(--ease-out);
}
.facetwp-load-more:hover { background:var(--color-primary-hover,#0596A0); transform:translateY(-2px); box-shadow:var(--shadow-brand,0 16px 40px rgba(6,188,200,.22)); }
.facetwp-load-more:active { transform:translateY(0); box-shadow:none; }
.facetwp-load-more.facetwp-loading, .facetwp-load-more[disabled] { opacity:.65; cursor:default; transform:none; box-shadow:none; }

/* FacetWP result-count pager ("Showing X of Y") */
.facetwp-facet-result_count { font-size:.95rem; font-weight:600; color:var(--text-strong,#1A1A1A); }


/* ===== Sidebar facets span the full column width ===== */
/* The facet WIDGET (not just the inner div) must be full width, else the */
/* slider/radios shrink to content. Reset All is excluded so it stays inline */
/* in the Filters header row. */
.sow-filter-sidebar .elementor-widget-facetwp-facet:not(:has(.facetwp-type-reset)) { width: 100%; }
.sow-filter-sidebar .facetwp-facet:not(.facetwp-type-reset) { width: 100%; }


/* ===== FacetWP facets: full width of their container by default (site-wide) ===== */
/* Any facet widget should fill its container; Reset All is excluded so it stays */
/* inline in header rows. */
.elementor-widget-facetwp-facet:not(:has(.facetwp-type-reset)) { width: 100%; }
.facetwp-facet:not(.facetwp-type-reset) { width: 100%; }
/* Search facet: full-width input, no magnifier icon */
.facetwp-type-search .facetwp-input-wrap { display: block; width: 100%; }
.facetwp-type-search .facetwp-icon { display: none; }
.facetwp-type-search input.facetwp-search { width: 100%; box-sizing: border-box; }

 {outline:none;}
.elementor-widget-text-editor p:last-child, p.elementor-heading-title.elementor-size-default { margin-bottom:0px;}


/* Remove default bullets */
.special-list ul, .special-list-light ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* Style each list item */
.special-list ul li, .special-list-light ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
   line-height: 1.6em;
}

/* Add Font Awesome check icon — 16px, vertically centered on the first text line
   (line box = 1.6em → center at .8em; minus half the fixed 16px icon = 8px) */
.special-list ul li::before {
    content: "\f058"; /* Font Awesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color:   var(--e-global-color-primary);
    position: absolute;
    left: 0;
    top: calc(.8em - 8px);
    font-size: 16px;
    line-height: 1;
}

.special-list-light ul li::before {
content: "\f111"; /* Font Awesome filled circle */
font-family: "Font Awesome 5 Free";
font-weight: 900;
color: #fff;
position: absolute;
left: 0;
top: calc(.8em - 8px);
font-size: 16px;
line-height: 1;
}


ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

ol li {
    counter-increment: item;
    position: relative;
    padding-left: 2.5em;
    line-height: 1.6em;
    margin-bottom: 10px;
}

/* Circle + perfectly centered number */
ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0.2em;

    width: 1.8em;
    height: 1.8em;

    background-color: var(--e-global-color-accent);
    color: #fff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 0.9em;
    font-weight: 600;
}


.elementor-widget-theme-post-excerpt p {
    margin-bottom: 0;
}

.elementor-slideshow__title { 
    display: none;
}

.specialsvg svg {
    display: block !important;
    width: 100% !important;
    height: auto;
 
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.elementor-counter-title {
    text-align: center;
}

.img-circle {

    border: 3px solid  var(--e-global-color-primary);
    border-radius: 50%;
    padding: 8px;
    background: #fff;
    display: inline-block;

}
.img-circle img{
    border-radius: 50% !important;
    display: block !important;
}
 
.trans-header {
position: fixed;
	width: 100%;
	background: rgba( 255, 255, 255, 0.70 );
backdrop-filter: blur( 3.5px );
-webkit-backdrop-filter: blur( 3.5px );
}


.loopgrid-carousel .swiper {
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(255,255,255,0),
    rgba(255,255,255,1) 24%,
    rgba(255,255,255,1) 88%,
    rgba(255,255,255,0)
  );
  mask-image: linear-gradient(
    to right,
    rgba(255,255,255,0),
    rgba(255,255,255,1) 24%,
    rgba(255,255,255,1) 88%,
    rgba(255,255,255,0)
  );
}
.highlight {
    color:var(--e-global-color-primary);
    white-space:nowrap;
    text-decoration:underline;
    text-decoration-color:var(--e-global-color-f9daf95,#F3E507);
    text-decoration-thickness:.16em;
    text-underline-offset:-.02em;
    text-decoration-skip-ink:none;
}
/* The GSAP motion layer (snippet 14) splits each word into inline-block
   .gmo-wm/.gmo-wi spans (atomic inline boxes), which do NOT inherit the
   ancestor .highlight text-decoration on the frontend, so the underline
   disappears (it only showed in the editor, where the splitter does not run).
   Re-apply the underline to the inner word span so it renders after split. */
.highlight .gmo-wi {
    text-decoration:underline;
    text-decoration-color:var(--e-global-color-f9daf95,#F3E507);
    text-decoration-thickness:.16em;
    text-underline-offset:-.02em;
    text-decoration-skip-ink:none;
}
/* =========================
   DESKTOP
========================= */

.luxury-gallery .e-gallery-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px !important;
}

/* Images */
.luxury-gallery .e-gallery-item {
    overflow: hidden;
    border-radius: 24px;
}

.luxury-gallery .e-gallery-image,
.luxury-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Featured Image */
.luxury-gallery .e-gallery-item:first-child {
    grid-column: 1;
    grid-row: span 2;
    min-height: 700px;
}

/* Right Images */
.luxury-gallery .e-gallery-item:not(:first-child) {
    min-height: 338px;
}

/* =========================
   TABLET
========================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .luxury-gallery .e-gallery-container {
        display: grid;
        grid-template-columns: 1.3fr 1fr 1fr;
        grid-template-rows: repeat(2, 190px);
        gap: 20px !important;
    }

    /* Featured Image */
    .luxury-gallery .e-gallery-item:first-child {
        grid-column: 1;
        grid-row: 1 / span 2;
        height: 400px;
        min-height: 400px;
    }

    /* Images beside featured image */
    .luxury-gallery .e-gallery-item:nth-child(2),
    .luxury-gallery .e-gallery-item:nth-child(3) {
        height: 190px;
        min-height: 190px;
    }

    /* Remaining images */
    .luxury-gallery .e-gallery-item:nth-child(n+4) {
        height: 190px;
        min-height: 190px;
    }

    .luxury-gallery .e-gallery-item {
        border-radius: 20px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .luxury-gallery .e-gallery-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px !important;
    }

    /* Featured Image */
    .luxury-gallery .e-gallery-item:first-child {
        grid-column: auto;
        grid-row: auto;
        height: 380px;
        min-height: 380px;
    }

    /* Remaining Images */
    .luxury-gallery .e-gallery-item:not(:first-child) {
        height: 240px;
        min-height: 240px;
    }

    .luxury-gallery .e-gallery-item {
        border-radius: 16px;
    }

    .luxury-gallery img,
    .luxury-gallery .e-gallery-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}
/* =========================
   CLICKABLE CARD (reusable)
   Add `clickable-card` to a card/loop-item root container and
   `card-stretch-link` to the button/link that should catch the click.
   The link is stretched over the whole card via a transparent ::after
   overlay, so the entire card is clickable without nesting <a> tags.
========================= */
.clickable-card { position: relative; cursor: pointer; }
.clickable-card .card-stretch-link a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
/* The ::after's offset parent must be the .clickable-card root, but Elementor
   sets widgets AND containers to position:relative by default, so the overlay
   would otherwise only cover the stretch-link widget/column. Neutralize the
   positioning on the stretch-link widget and ONLY the container(s) that hold it
   (scoped with :has so badge/image containers keep their own positioning). */
.clickable-card .card-stretch-link,
.clickable-card .e-con:has(.card-stretch-link) { position: static; }
/* keep any other real links/buttons clickable above the overlay */
.clickable-card a:not(.card-stretch-link a),
.clickable-card .elementor-widget:not(.card-stretch-link) a { position: relative; z-index: 2; }


/* =========================
   INSIGHTS FILTER BAR (FacetWP search + category pills)
   Container class: .insights-filter-bar
   Pills + Load More inherit the site-wide FacetWP styles (teal / white).
   Search matches the FAQ page search (rounded pill input, no magnifier).
========================= */
.insights-filter-bar .facetwp-facet { margin-bottom: 0; }
.insights-filter-bar .facetwp-search { width: 100%; }
.insights-filter-bar .facetwp-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--e-global-color-bb9dbf7, #E6E7EA);
    border-radius: 999px;
    font-size: .95rem;
    box-sizing: border-box;
}

/* Elementor loop-grid native Load More — match FacetWP Load More (teal bg, white text, pill) */
.e-loop__load-more .elementor-button {
    background: var(--color-primary, #06BCC8) !important;
    color: #ffffff !important;
    border-radius: var(--radius-pill, 999px);
}
.e-loop__load-more .elementor-button:hover {
    background: var(--color-primary-hover, #0596A0) !important;
    color: #ffffff !important;
}

/* Insights pills: hide the per-category result count */
.insights-filter-bar .facetwp-counter { display: none !important; }

/* Center text in all FacetWP filter pills (symmetric padding + flex centering) */
.facetwp-radio, .facetwp-checkbox { justify-content: center; text-align: center; }
.facetwp-radio, .facetwp-radio.checked { padding-left: 12px !important; padding-right: 12px !important; }
.facetwp-checkbox, .facetwp-checkbox.checked { padding-left: 12px !important; padding-right: 12px !important; }

/* =========================
   Remove dead space after FacetWP load-more on Elementor loop grids (site-wide)
========================= */
/* 1) A hidden Load More pager widget must not reserve height (also collapses its flex gap) */
.elementor-widget-facetwp-facet:has(.facetwp-load-more.facetwp-hidden) { display: none; }
/* 2) FacetWP appends an empty wrapper (only .e-loop-nothing-found-message) after the grid once items merge into the first grid; collapse those empty appended pages. The real 'no results' message lives in the first container, which is never hidden. */
.facetwp-template > .elementor-widget-container:not(:first-child):not(:has(.elementor-loop-container)) { display: none; }

/* =========================
   Property Land Size & Price tiers (single-property sidebar card)
========================= */
.prop-size-tiers { display: flex; flex-direction: column; }
.prop-size-tiers .pst-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.prop-size-tiers .pst-row:first-child { padding-top: 0; }
.prop-size-tiers .pst-row:last-child { padding-bottom: 0; }
.prop-size-tiers .pst-row + .pst-row { border-top: 1px solid var(--e-global-color-bb9dbf7, #E6E7EA); }
.prop-size-tiers .pst-size { display: inline-flex; align-items: center; gap: 8px; color: var(--e-global-color-text, #1A1A1A); font-weight: 500; }
.prop-size-tiers .pst-size .pst-ruler { color: var(--e-global-color-primary, #06BCC8); flex: none; font-size: 18px; line-height: 1; }


/* SOW Property Single — Image Carousel (.sow-property-carousel) */
.sow-property-carousel .elementor-image-carousel .swiper-slide img,
.sow-property-carousel .swiper-slide .swiper-slide-image {
  height: 480px;
  width: 100%;
  object-fit: cover;
}
/* Navigation arrows: circular, semi-transparent white bg, arrow uses global Text color */
.sow-property-carousel .elementor-swiper-button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  color: var(--e-global-color-text, #1A1A1A);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background-color .25s ease, color .25s ease;
}
.sow-property-carousel .elementor-swiper-button i,
.sow-property-carousel .elementor-swiper-button svg {
  color: var(--e-global-color-text, #1A1A1A);
  fill: var(--e-global-color-text, #1A1A1A);
  font-size: 18px;
}
.sow-property-carousel .elementor-swiper-button:hover {
  background-color: var(--e-global-color-primary, #06BCC8);
  color: #FFFFFF !important;
}
.sow-property-carousel .elementor-swiper-button:hover i,
.sow-property-carousel .elementor-swiper-button:hover svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}
/* Responsive: scale image height + nav buttons down on smaller screens */
@media (max-width: 1024px) {
  .sow-property-carousel .elementor-image-carousel .swiper-slide img,
  .sow-property-carousel .swiper-slide .swiper-slide-image { height: 360px; }
}
@media (max-width: 767px) {
  .sow-property-carousel .elementor-image-carousel .swiper-slide img,
  .sow-property-carousel .swiper-slide .swiper-slide-image { height: 260px; }
  .sow-property-carousel .elementor-swiper-button { width: 36px; height: 36px; }
  .sow-property-carousel .elementor-swiper-button i,
  .sow-property-carousel .elementor-swiper-button svg { font-size: 15px; }
}


/* Contact page — card hover polish */
.sow-contact-card,.sow-office-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}
.sow-contact-card:hover,.sow-office-card:hover{transform:translateY(-3px);border-color:var(--e-global-color-primary) !important;box-shadow:0 18px 40px -28px rgba(6,188,200,.5);}

.hero-highlight {
    font-family: "Instrument Serif", serif;
    font-style: italic; /* Optional, complements Instrument Serif nicely */
}
