/* =============================================================
   Ronjall Consultancy Limited — Global Stylesheet
   Brand colours sampled from the company logo
   ============================================================= */

:root {
  /* Brand */
  --brand: #06658b;          /* deep teal blue from the logo wordmark and large roof */
  --brand-dark: #044d6a;
  --brand-deep: #063447;     /* footer and dark sections */
  --accent: #11adee;         /* sky blue from the smaller roof */
  --accent-dark: #0b8fc6;
  --accent-soft: #e3f4fc;

  /* Neutrals */
  --ink: #0f1f2a;
  --ink-soft: #3d4f5c;
  --muted: #6b7c88;
  --line: #e2e9ee;
  --surface: #ffffff;
  --surface-alt: #f4f8fa;
  --surface-tint: #eaf3f7;

  /* Typography */
  --font-head: "Parkinsans", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 12px 40px rgba(6, 52, 71, 0.10);
  --shadow-sm: 0 4px 16px rgba(6, 52, 71, 0.08);
  --section: clamp(64px, 8vw, 110px);
  --header-h: 84px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
  hyphens: none;
  -webkit-hyphens: none;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -0.01em;
  hyphens: none;
}
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1em; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

section { padding-block: var(--section); }
.section-alt  { background: var(--surface-alt); }
.section-tint { background: var(--surface-tint); }
.section-dark { background: var(--brand-deep); color: rgba(255,255,255,.78); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-dark .eyebrow { color: var(--accent); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(6,101,139,.28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(17,173,238,.3); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--accent-soft); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--brand); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-weight: 600; font-size: .95rem;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =============================================================
   Header
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(6,52,71,.06); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 34px; }
.nav-list a {
  font-weight: 500; font-size: .95rem; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent);
  border-radius: 2px; transition: width .3s var(--ease);
}
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }
.nav-list a.active { color: var(--brand); }
.nav-list .nav-cta { display: none; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   Hero (home)
   ============================================================= */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h));
  min-height: max(620px, calc(100svh - var(--header-h)));
  display: flex; align-items: center; color: #fff; padding-block: 90px 140px;
  isolation: isolate; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  animation: heroZoom 18s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(4,36,52,.9) 0%, rgba(6,101,139,.72) 55%, rgba(17,173,238,.35) 100%);
}
/* The copy sits at the left edge of the container, in line with the
   header logo and the sections below. The headline and paragraph are
   capped individually so the block stays readable on wide screens
   without centring the whole column. */
.hero-content { max-width: none; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 { color: #fff; margin-bottom: 20px; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.12rem; max-width: 620px; color: rgba(255,255,255,.85); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Quick action cards floating under hero (Buy / Rent / Sell equivalent) */
.hero-cards {
  position: relative; z-index: 2; margin-top: -90px;
}
.hero-cards .grid { gap: 20px; }
.quick-card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow); display: flex; gap: 20px; align-items: flex-start;
  transition: transform .3s var(--ease);
}
.quick-card:hover { transform: translateY(-6px); }
.quick-card .icon { flex: 0 0 56px; }
.quick-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.quick-card p { margin: 0 0 10px; font-size: .95rem; }

/* Icon badge */
.icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--accent-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon svg { width: 26px; height: 26px; }
.icon.solid { background: var(--brand); color: #fff; }
.icon.accent { background: var(--accent); color: #fff; }

/* =============================================================
   Grids
   ============================================================= */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }

/* Image treatments */
.img-frame { position: relative; }
.img-frame img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4/3.4; box-shadow: var(--shadow); }
.img-frame.tall img { aspect-ratio: 4/5; }
.img-frame::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 60%;
  border-radius: var(--radius); background: var(--accent-soft); z-index: -1;
}
.img-stack { position: relative; padding-bottom: 60px; padding-right: 60px; }
.img-stack img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4/3.2; box-shadow: var(--shadow); }
.img-stack .img-small {
  position: absolute; right: 0; bottom: 0; width: 46%;
  border-radius: var(--radius); border: 8px solid #fff; aspect-ratio: 1; object-fit: cover;
}
.floating-badge {
  position: absolute; left: -20px; bottom: 90px;
  background: var(--brand); color: #fff; border-radius: var(--radius-sm);
  padding: 18px 22px; box-shadow: var(--shadow); max-width: 220px;
}
.floating-badge strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; margin-bottom: 4px; }
.floating-badge span { font-size: .85rem; color: rgba(255,255,255,.85); }

/* Check list */
.check-list { display: grid; gap: 12px; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306658b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* =============================================================
   Cards
   ============================================================= */
.card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { margin-bottom: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; margin-bottom: 16px; }

/* Company cards (consortium) */
.company-card { position: relative; overflow: hidden; }
.company-card .tag {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-dark); background: var(--accent-soft);
  padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 18px;
}
.company-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px;
  border-radius: 50%; background: var(--accent-soft); opacity: .5; transition: transform .4s var(--ease);
}
.company-card:hover::after { transform: scale(1.4); }
.company-card > * { position: relative; z-index: 1; }

/* Service cards with number */
.service-card { position: relative; }
.service-card .num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 600; line-height: 1;
  color: var(--accent-soft); position: absolute; top: 22px; right: 26px;
  transition: color .3s;
}
.service-card:hover .num { color: var(--accent); }
.service-card img { border-radius: var(--radius-sm); aspect-ratio: 16/10; object-fit: cover; width: 100%; margin-bottom: 22px; }

/* Value / why choose us */
.value-item { display: flex; gap: 20px; align-items: flex-start; }
.value-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.value-item p { margin: 0; font-size: .95rem; }

/* Process timeline */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand)); opacity: .35;
}
.process-step { text-align: center; position: relative; }
.process-step .dot {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff; border: 2px solid var(--accent); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--font-head);
  position: relative; z-index: 1; transition: background .3s, color .3s;
}
.process-step:hover .dot { background: var(--brand); color: #fff; border-color: var(--brand); }
.process-step h4 { margin-bottom: 6px; }
.process-step p { font-size: .9rem; margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 34px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; line-height: 1; margin-bottom: 8px; }
.stat strong small { font-size: .5em; color: var(--accent); }
.stat span { font-size: .92rem; }
.section-alt .stat, .section-tint .stat { background: #fff; border-color: var(--line); }
.section-alt .stat strong, .section-tint .stat strong { color: var(--brand); }

/* Property cards */
.property-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.property-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-tint); }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.property-card:hover .property-media img { transform: scale(1.06); }
.badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill); color: #fff; background: var(--brand);
  backdrop-filter: blur(6px);
}
.badge.ongoing   { background: var(--accent); }
.badge.completed { background: #1f9d67; }
.badge.sold      { background: #c0392b; }
.badge.available { background: var(--brand); }
.badge.category  { background: rgba(15,31,42,.75); }
.property-price {
  position: absolute; right: 14px; bottom: 14px;
  background: #fff; color: var(--brand); font-weight: 600; padding: 8px 14px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); font-size: .95rem;
}
.property-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.property-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.property-loc { display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.property-loc svg { width: 16px; height: 16px; color: var(--accent); }
.property-meta {
  display: flex; flex-wrap: wrap; gap: 16px; padding-top: 16px; margin-top: auto;
  border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft);
}
.property-meta span { display: inline-flex; align-items: center; gap: 6px; }
.property-meta svg { width: 16px; height: 16px; color: var(--brand); }
.property-body .btn { margin-top: 18px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tabs button {
  border: 1px solid var(--line); background: #fff; padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: .9rem; color: var(--ink-soft); transition: all .25s;
}
.filter-tabs button:hover { border-color: var(--brand); color: var(--brand); }
.filter-tabs button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-select {
  padding: 10px 40px 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306658b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat;
  appearance: none; -webkit-appearance: none; font-size: .9rem; color: var(--ink);
}
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }
.skeleton { background: linear-gradient(90deg, #eef3f6 25%, #f7fafc 50%, #eef3f6 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); min-height: 380px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Property detail modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,36,52,.7); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; background: #fff; border-radius: var(--radius); width: min(960px, 100%);
  max-height: 92vh; overflow: auto; box-shadow: var(--shadow); animation: modalIn .35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: none; box-shadow: var(--shadow-sm); font-size: 22px; line-height: 1; color: var(--ink);
}
.modal-gallery { position: relative; aspect-ratio: 16/9; background: var(--surface-tint); overflow: hidden; }
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs { display: flex; gap: 8px; padding: 12px 28px 0; overflow-x: auto; }
.modal-thumbs img { width: 84px; height: 62px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; opacity: .7; }
.modal-thumbs img.active, .modal-thumbs img:hover { border-color: var(--accent); opacity: 1; }
.modal-body { padding: 24px 28px 32px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.modal-body h2 { font-size: 1.7rem; margin-bottom: 6px; }
.modal-aside { background: var(--surface-alt); border-radius: var(--radius-sm); padding: 22px; align-self: start; }
.modal-aside .price { font-family: var(--font-head); font-size: 1.7rem; color: var(--brand); font-weight: 600; margin-bottom: 14px; }
.spec-list { display: grid; gap: 10px; margin: 16px 0 22px; font-size: .92rem; }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.spec-list li span:last-child { font-weight: 600; color: var(--ink); text-align: right; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.feature-chips span { font-size: .82rem; background: var(--accent-soft); color: var(--brand); padding: 6px 12px; border-radius: var(--radius-pill); }

/* =============================================================
   Page banner (inner pages)
   ============================================================= */
.page-banner {
  position: relative; color: #fff; padding-block: clamp(70px, 9vw, 120px); isolation: isolate; overflow: hidden;
}
.page-banner .banner-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(4,36,52,.92) 0%, rgba(6,101,139,.78) 60%, rgba(17,173,238,.4) 100%);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb li:last-child { color: var(--accent); }
.page-banner h1 { color: #fff; max-width: 820px; margin-bottom: 14px; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.page-banner p { max-width: 640px; color: rgba(255,255,255,.85); font-size: 1.08rem; margin: 0; }

/* =============================================================
   Detailed service rows (services page)
   ============================================================= */
.service-row { padding-block: clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-row:last-of-type { border-bottom: none; }
.service-row .num-lg {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: .1em;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.service-row img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }

/* Service quick nav */
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: -30px; position: relative; z-index: 2; }
.service-nav a {
  background: #fff; border-radius: var(--radius-pill); padding: 12px 20px; font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: all .25s;
}
.service-nav a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* =============================================================
   FAQ accordion
   ============================================================= */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; color: var(--accent); line-height: 1; transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--brand); }
.faq .faq-body { padding: 0 24px 22px; font-size: .96rem; }

/* =============================================================
   Team
   ============================================================= */
.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1/1.1; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-card span { font-size: .9rem; color: var(--accent-dark); font-weight: 500; }

/* Quote */
.quote-block {
  background: #fff; border-left: 4px solid var(--accent); border-radius: var(--radius-sm);
  padding: 28px 32px; font-size: 1.1rem; color: var(--ink); font-style: italic; box-shadow: var(--shadow-sm);
}
.quote-block cite { display: block; margin-top: 14px; font-style: normal; font-size: .9rem; color: var(--muted); }

/* =============================================================
   CTA band
   ============================================================= */
/* Closing call to action: the brand colour runs edge to edge while
   the copy stays lined up with every other container on the page. */
.cta-full {
  position: relative; background: var(--brand); color: #fff; overflow: hidden;
  padding-block: clamp(56px, 7vw, 88px);
}
.cta-full::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: var(--accent); opacity: .35;
}
.cta-full::after {
  content: ""; position: absolute; left: 40%; bottom: -120px; width: 240px; height: 240px; border-radius: 50%;
  background: #fff; opacity: .06;
}
.cta-full-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center;
}
.cta-full h2 { color: #fff; margin-bottom: 10px; }
.cta-full p { color: rgba(255,255,255,.85); margin: 0; }
.cta-full .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* =============================================================
   Contact
   ============================================================= */
.contact-cards .card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.contact-cards .card .icon { margin: 0; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; }
.contact-cards a[href^="tel:"] { white-space: nowrap; }
.contact-cards a[href^="mailto:"] { overflow-wrap: anywhere; }
.contact-cards h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-cards p { margin: 0; font-size: .95rem; }
.contact-cards a:hover { color: var(--brand); }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(17,173,238,.15);
}
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { font-size: .92rem; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: #1f9d67; }
.form-status.err { color: #c0392b; }
.form-panel { background: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Contact page: the form on the left, details above the map on the
   right. The three are siblings so phones can reorder them. */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; align-items: start; }
.contact-layout .form-panel { grid-column: 1; grid-row: 1 / span 2; }
.contact-layout .contact-cards { grid-column: 2; grid-row: 1; }
.contact-layout .map-frame { grid-column: 2; grid-row: 2; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-layout .map-frame iframe { min-height: 340px; }

/* Centred panel heading with a rule under it. */
.form-head { text-align: center; padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.form-head .eyebrow { justify-content: center; color: var(--brand); }
.form-head .eyebrow::before { display: none; }
.form-head .eyebrow svg { width: 18px; height: 18px; }
.form-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); margin: 0; }

/* Pill fields carrying their own placeholder text. */
.form-panel .field input,
.form-panel .field textarea { background: var(--surface-alt); }
.form-panel .field select { background-color: var(--surface-alt); }
.form-panel .field input,
.form-panel .field select,
.form-panel .field textarea {
  border-color: transparent; border-radius: var(--radius-pill); padding: 16px 22px;
}
.form-panel .field textarea { border-radius: var(--radius); min-height: 160px; padding-top: 16px; }
.form-panel .field ::placeholder { color: var(--muted); }
.form-panel .btn-block { padding-block: 17px; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.72); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { height: 60px; width: auto; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 20px; }
.footer-brand p { font-size: .94rem; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { transition: color .2s, padding-left .2s; font-size: .94rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .94rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 18px; margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center; transition: background .25s, transform .25s;
}
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .86rem;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
}
.footer-bottom a:hover { color: #fff; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff; border: none; box-shadow: var(--shadow); z-index: 90;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  /* The slide out panel below is a fixed position child of the header.
     backdrop-filter would make the header its containing block, so the
     panel would be trapped inside the 72px header instead of filling
     the screen. Drop the blur here and make the bar opaque instead. */
  .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; padding: 24px 20px 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s .35s; z-index: 99;
  }
  .site-nav.open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-list .nav-cta { display: block; margin-top: 20px; border: none; }
  .nav-list .nav-cta .btn { display: inline-flex; width: 100%; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  /* Phones read the contact details first, then the form, then the map. */
  .contact-layout .form-panel,
  .contact-layout .contact-cards,
  .contact-layout .map-frame { grid-column: 1; grid-row: auto; }
  .contact-layout .contact-cards { order: 1; }
  .contact-layout .form-panel { order: 2; }
  .contact-layout .map-frame { order: 3; }
  .split.reverse > :first-child { order: 0; }
  .hero { min-height: auto; padding-block: 90px 130px; }
  .cta-full-inner { grid-template-columns: 1fr; }
  .cta-full .actions { justify-content: flex-start; }
  .modal-body { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { width: min(100% - 32px, var(--container)); }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .grid { gap: 20px; }
  .hero-cards { margin-top: -60px; }
  .hero p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .quick-card { padding: 24px 22px; }
  .process { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 24px 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .img-stack { padding-right: 30px; padding-bottom: 40px; }
  .floating-badge { left: -6px; bottom: 10px; padding: 12px 14px; max-width: 150px; }
  .floating-badge strong { font-size: 1.6rem; }
  .filters { flex-direction: column; align-items: stretch; }
  .filter-tabs { justify-content: flex-start; }
  .filter-select { width: 100%; }
  .to-top { right: 14px; bottom: 14px; }
  .card { padding: 28px 22px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { border-radius: var(--radius) var(--radius) 0 0; max-height: 94vh; }
  .modal-body { padding: 20px 20px 28px; }
}
