/* ==========================================================================
   Keystead Property Management — bespoke design system
   Systematic, dependable, ops-focused. Navy + blue + slate.
   ========================================================================== */

:root {
  --navy: #17293B;
  --navy-900: #0E1B27;
  --navy-800: #12222F;
  --blue: #3F7CAC;
  --blue-600: #356A96;
  --blue-200: #7FB2D6;
  --slate: #566577;
  --slate-400: #8494A4;
  --line: rgba(23, 41, 59, 0.12);
  --line-strong: rgba(23, 41, 59, 0.22);
  --paper: #FBFCFD;
  --tint: #EEF3F7;
  --white: #FFFFFF;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 27, 39, 0.06), 0 4px 14px rgba(16, 27, 39, 0.05);
  --shadow-md: 0 10px 30px rgba(16, 27, 39, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 27, 39, 0.16);

  --ff-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-body);
  color: var(--navy);
  background: var(--paper);
  line-height: 1.62;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--ff-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.25rem); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #DCE6EF; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 0.65rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--ff-head); font-weight: 600; font-size: 0.98rem;
  padding: 0.82rem 1.4rem; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(63, 124, 172, 0.28); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(63, 124, 172, 0.34); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(23,41,59,0.04); transform: translateY(-2px); }
.section--dark .btn--ghost { color: #EAF1F7; border-color: rgba(255,255,255,0.3); }
.section--dark .btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn--whatsapp { background: #1FA855; color: #fff; box-shadow: 0 6px 18px rgba(31,168,85,0.26); }
.btn--whatsapp:hover { background: #178a45; transform: translateY(-2px); }
.btn--block { width: 100%; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible { outline-color: var(--blue-200); }

/* ---- Eyebrow / headings ---- */
.eyebrow {
  font-family: var(--ff-head); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); display: inline-block; }
.eyebrow--light { color: var(--blue-200); }
.eyebrow--light::before { background: var(--blue-200); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-head .section-sub { color: var(--slate); margin-top: 0.9rem; font-size: 1.05rem; }
.section-head--light h2 { color: #fff; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 252, 253, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 70px; }
.brand { color: var(--navy); display: inline-flex; }
.wordmark { height: 26px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.main-nav a {
  font-family: var(--ff-head); font-weight: 500; font-size: 0.95rem; color: var(--navy);
  position: relative; padding: 0.4rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--blue); transition: width 0.22s var(--ease);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }

.header-cta { padding: 0.62rem 1.15rem; font-size: 0.92rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-strong);
  border-radius: 9px; cursor: pointer; margin-left: auto;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 0 auto; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.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); }

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    margin: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open { max-height: 420px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 0; }
  .main-nav li { border-top: 1px solid var(--line); }
  .main-nav li:first-child { border-top: none; }
  .main-nav a { display: block; padding: 0.95rem clamp(1.1rem, 4vw, 2.25rem); }
  .main-nav a::after { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(63,124,172,0.10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(760px 480px at 20% 20%, #000, transparent 75%);
  mask-image: radial-gradient(760px 480px at 20% 20%, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(2.2rem, 6.2vw, 4rem); margin: 0.4rem 0 1.1rem; }
.hero .lede { font-size: clamp(1.02rem, 1.9vw, 1.22rem); color: var(--slate); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 1.7rem 0 1.5rem; }
.hero-facts { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.hero-facts li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.98rem; color: var(--navy); font-weight: 500; }
.tick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(63,124,172,0.14); color: var(--blue-600); font-size: 0.72rem; font-weight: 700; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 12 / 10; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
}
.hero-badge {
  position: absolute; left: -12px; bottom: -18px;
  background: var(--navy); color: #fff; border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; max-width: 210px;
}
.hero-badge__num { font-family: var(--ff-head); font-weight: 700; font-size: 1.7rem; color: var(--blue-200); line-height: 1; }
.hero-badge__label { font-size: 0.78rem; color: #C5D3E0; margin-top: 0.3rem; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { background: var(--navy); color: #fff; padding: clamp(2rem, 4vw, 2.6rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
.stat { text-align: left; border-left: 2px solid rgba(127,178,214,0.4); padding-left: 1rem; }
.stat__num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.7rem); color: #fff; display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 0.82rem; color: #A9BCCD; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.45rem; display: block; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 1rem; }
.about-copy p { color: var(--slate); margin-bottom: 1rem; }
.about-list { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.85rem; }
.about-list li { padding-left: 1.7rem; position: relative; color: var(--slate); }
.about-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }
.about-list strong { color: var(--navy); }
@media (min-width: 860px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.service-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.9rem); position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform 0.3s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-card__index { font-family: var(--ff-head); font-weight: 700; font-size: 0.85rem; color: var(--blue); letter-spacing: 0.1em; display: block; margin-bottom: 0.7rem; }
.service-card h3 { font-size: 1.28rem; margin-bottom: 0.6rem; }
.service-card > p { color: var(--slate); font-size: 0.96rem; margin-bottom: 0.9rem; }
.service-card ul { list-style: none; display: grid; gap: 0.4rem; border-top: 1px dashed var(--line-strong); padding-top: 0.85rem; }
.service-card ul li { font-size: 0.88rem; color: var(--slate); padding-left: 1.15rem; position: relative; }
.service-card ul li::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   OWNERS — portal + fee (unique block)
   ========================================================================== */
.owners { position: relative; overflow: hidden; }
.owners::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(700px 400px at 80% 10%, #000, transparent 70%);
  mask-image: radial-gradient(700px 400px at 80% 10%, #000, transparent 70%);
}
.owners-grid { position: relative; display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.portal h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 0.9rem; }
.portal > p { color: #C0CFDD; max-width: 520px; margin-bottom: 1.6rem; }

.portal-mock { background: linear-gradient(180deg, #1D3346, #142433); border: 1px solid rgba(127,178,214,0.22); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.portal-mock__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.15); }
.portal-mock__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.portal-mock__title { font-family: var(--ff-head); font-size: 0.82rem; color: #9FB4C6; margin-left: auto; }
.portal-mock__body { padding: 0.5rem 1rem 1rem; }
.pm-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.pm-row:last-child { border-bottom: none; }
.pm-row__label { color: #D3DFEA; font-size: 0.92rem; }
.pm-pill { font-family: var(--ff-head); font-size: 0.76rem; font-weight: 600; padding: 0.3rem 0.65rem; border-radius: 999px; white-space: nowrap; }
.pm-pill--ok { background: rgba(31,168,85,0.18); color: #6FE3A0; }
.pm-pill--work { background: rgba(230,168,60,0.18); color: #F2C879; }
.pm-pill--done { background: rgba(63,124,172,0.24); color: #9CCAEB; }
.pm-pill--date { background: rgba(255,255,255,0.1); color: #E6EEF5; }

.fee-card {
  background: #fff; color: var(--navy); border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.2rem); box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--blue);
}
.fee-card__kicker { font-family: var(--ff-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.fee-card__figure { display: flex; align-items: flex-start; line-height: 1; margin: 0.5rem 0 0.1rem; }
.fee-card__num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(3.4rem, 10vw, 5rem); color: var(--navy); }
.fee-card__pct { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--blue); margin-top: 0.4rem; }
.fee-card__of { color: var(--slate); font-size: 0.95rem; margin-bottom: 1.1rem; }
.fee-card__list { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.fee-card__list li { display: flex; gap: 0.6rem; font-size: 0.92rem; color: var(--navy); }
.fee-card__list li span { color: var(--blue-600); font-weight: 700; }
.fee-card__note { text-align: center; color: var(--slate); font-size: 0.82rem; margin-top: 0.8rem; }
@media (min-width: 900px) { .owners-grid { grid-template-columns: 1.2fr 0.8fr; } }

/* ==========================================================================
   HOMES / LISTINGS
   ========================================================================== */
.home-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
.home-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.home-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.home-card__media { position: relative; }
.home-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.status { position: absolute; top: 0.85rem; left: 0.85rem; font-family: var(--ff-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.32rem 0.7rem; border-radius: 999px; color: #fff; backdrop-filter: blur(4px); }
.status--available { background: rgba(31,168,85,0.92); }
.status--leased { background: rgba(23,41,59,0.85); }
.status--notice { background: rgba(199,132,44,0.92); }
.home-card__body { padding: 1.15rem 1.25rem 1.35rem; }
.home-card__body h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.home-card__loc { color: var(--slate); font-size: 0.9rem; margin-bottom: 0.85rem; }
.home-card__spec { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.95rem; }
.home-card__spec li { font-family: var(--ff-head); font-size: 0.8rem; color: var(--navy); background: var(--tint); padding: 0.3rem 0.65rem; border-radius: 6px; }
.home-card__price { font-family: var(--ff-head); font-weight: 700; font-size: 1.32rem; color: var(--navy); border-top: 1px solid var(--line); padding-top: 0.85rem; }
.home-card__price span { font-family: var(--ff-body); font-weight: 500; font-size: 0.85rem; color: var(--slate); }
@media (min-width: 620px) { .home-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .home-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; grid-auto-flow: dense; }
.gallery-grid figure { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.5s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.05); }
@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .g-tall { grid-row: span 2; }
  .g-tall img { aspect-ratio: 3 / 4.5; }
  .g-wide { grid-column: span 2; }
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.avatar { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.03em; margin-bottom: 1rem; }
.team-card h3 { font-size: 1.14rem; }
.team-card__role { color: var(--blue-600); font-family: var(--ff-head); font-weight: 600; font-size: 0.85rem; margin: 0.15rem 0 0.7rem; }
.team-card p:last-child { color: var(--slate); font-size: 0.92rem; }
@media (min-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quote-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.quote { background: rgba(255,255,255,0.05); border: 1px solid rgba(127,178,214,0.18); border-radius: var(--radius); padding: 1.7rem 1.5rem; position: relative; }
.quote::before { content: "\201C"; font-family: var(--ff-head); font-size: 3.4rem; line-height: 1; color: var(--blue-200); opacity: 0.5; position: absolute; top: 0.6rem; left: 1.2rem; }
.quote blockquote { color: #E4EDF4; font-size: 1rem; padding-top: 1.4rem; }
.quote figcaption { margin-top: 1.2rem; display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 0.9rem; }
.quote__name { font-family: var(--ff-head); font-weight: 600; color: #fff; }
.quote__meta { font-size: 0.83rem; color: #98AEC1; }
@media (min-width: 780px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.2rem); align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 0.9rem; }
.contact-info > p { color: var(--slate); margin-bottom: 1.6rem; max-width: 460px; }
.contact-details { list-style: none; display: grid; gap: 1.1rem; margin-bottom: 1.6rem; }
.contact-details li { display: grid; grid-template-columns: 90px 1fr; gap: 0.8rem; align-items: start; }
.contact-details__k { font-family: var(--ff-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); padding-top: 0.15rem; }
.contact-details__v { color: var(--navy); font-size: 0.96rem; }
.contact-details__v a:hover { color: var(--blue-600); text-decoration: underline; }
.contact-quick { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-family: var(--ff-head); font-weight: 500; font-size: 0.85rem; color: var(--navy); margin-bottom: 0.4rem; }
.req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 0.98rem; color: var(--navy);
  padding: 0.72rem 0.85rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; width: 100%; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,124,172,0.16); }
.field textarea { resize: vertical; min-height: 96px; }
.form-reassure { color: var(--slate); font-size: 0.82rem; text-align: center; margin-top: 0.85rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-900); color: #B7C6D3; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
.footer-brand .wordmark--light { height: 26px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; margin-bottom: 1.2rem; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.socials a { font-family: var(--ff-head); font-size: 0.82rem; padding: 0.4rem 0.85rem; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; color: #D5E1EB; transition: background 0.18s var(--ease), border-color 0.18s var(--ease); }
.socials a:hover { background: rgba(127,178,214,0.14); border-color: var(--blue-200); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.footer-nav h3 { font-family: var(--ff-head); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-200); margin-bottom: 0.85rem; }
.footer-nav ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-nav a { font-size: 0.9rem; color: #B7C6D3; }
.footer-nav li { font-size: 0.9rem; color: #94A6B5; }
.footer-nav a:hover { color: #fff; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.2fr 1.4fr; } }

.footer-base { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; align-items: center; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-base p { font-size: 0.82rem; color: #8497A6; }
.footer-credit a { color: #D5E1EB; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: #fff; }

/* ==========================================================================
   REVEAL MOTION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .gallery-grid figure:hover img { transform: none; }
  .btn:hover, .service-card:hover, .home-card:hover, .team-card:hover { transform: none; }
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */
.ty-main { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; position: relative; overflow: hidden; }
.ty-main::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(600px 420px at 50% 30%, #000, transparent 72%);
  mask-image: radial-gradient(600px 420px at 50% 30%, #000, transparent 72%);
}
.ty-card { position: relative; max-width: 560px; }
.ty-check { width: 76px; height: 76px; border-radius: 50%; background: rgba(31,168,85,0.14); color: #1FA855; display: grid; place-items: center; margin: 0 auto 1.5rem; font-size: 2rem; }
.ty-card h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.ty-card p { color: var(--slate); font-size: 1.05rem; margin-bottom: 1.7rem; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
