/* ═══════════════════════════════════════════════════════════════
   MARINERS REAL ESTATE & PROPERTY MANAGEMENT

   ── SWAPPING PHOTOS ───────────────────────────────────────────
   Every photo on this site is set in ONE place: the IMAGERY block
   just below. To change a photo, replace the URL on that line.

   To use your own photo instead of a stock one:
     1. Upload it to  assets/images/
     2. Change the URL to  url('images/your-photo.jpg')

   Every image sits on top of a navy gradient, so if an image is
   ever slow or missing you get a clean navy panel, never a broken
   image icon.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ══ IMAGERY ══ swap these URLs to change photos ══ */
  --img-hero:      url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=2200&q=85');
  --img-services:  url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1800&q=85');
  --img-owners:    url('https://images.unsplash.com/photo-1570129477492-45c003edd2be?w=1800&q=85');
  --img-residents: url('https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?w=1800&q=85');
  --img-about:     url('https://images.unsplash.com/photo-1449844908441-8829872d2607?w=1800&q=85');
  --img-contact:   url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?w=1800&q=85');

  /* Alternate hero options — swap into --img-hero above if preferred:
     Twilight home exterior .... photo-1570129477492-45c003edd2be
     Classic suburban home ..... photo-1512917774080-9991f1c4c750
     Home with lawn ............ photo-1449844908441-8829872d2607
     Modern coastal home ....... photo-1580587771525-78b9dba3b914   */

  --navy:       #0f2044;
  --navy-mid:   #1a3260;
  --navy-light: #2a4a7f;
  --steel:      #3d5a8a;
  --slate:      #52678c;
  --silver:     #93a6c0;
  --mist:       #c9d6e9;
  --cloud:      #eef2f8;
  --white:      #ffffff;
  --gold:       #b8965a;
  --gold-light: #d9b878;
  --gold-pale:  #f4ecdc;
  --ink:        #3a4658;

  --gutter: clamp(24px, 5vw, 68px);
  --maxw:   1320px;
}

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

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--navy); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--gold); color: var(--navy);
  padding: 12px 22px; font-size: .9rem; font-weight: 500; z-index: 999;
}
.skip-link:focus { left: 14px; top: 14px; }

/* ── TOPBAR ─────────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  padding: 11px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(184,150,90,.22);
}
.topbar-left { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; color: var(--mist);
  text-decoration: none; transition: color .2s;
}
.topbar-item:hover { color: var(--gold-light); }
.topbar-item svg { color: var(--gold); flex-shrink: 0; }

.topbar-portals { display: flex; gap: 10px; }
.portal-btn {
  padding: 7px 17px; font-size: .76rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border: 1px solid rgba(184,150,90,.5); color: var(--gold-light);
  transition: all .22s; white-space: nowrap;
}
.portal-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ── NAV ────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cloud);
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px;
}
.nav-logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.nav-logo-mark { width: 46px; height: 46px; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.16; }
.nav-logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem; font-weight: 600; color: var(--navy);
  letter-spacing: .05em; text-transform: uppercase;
}
.nav-logo-sub {
  font-size: .64rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
}

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: .87rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--slate);
  text-decoration: none; padding: 8px 0; position: relative; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold);
}
.nav-cta {
  padding: 13px 28px; background: var(--navy); color: var(--white) !important;
  font-size: .79rem !important; letter-spacing: .09em !important;
  transition: background .25s !important;
}
.nav-cta:hover { background: var(--navy-light) !important; }
.nav-cta.active::after { display: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; color: var(--navy); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 110px 0 90px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  border-bottom: 4px solid var(--gold);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(94deg,
      rgba(11,24,50,.94) 0%,
      rgba(11,24,50,.86) 30%,
      rgba(13,28,56,.55) 62%,
      rgba(15,32,68,.22) 100%),
    var(--img-hero) center 55% / cover no-repeat;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin-inline: auto; padding: 0 var(--gutter);
  opacity: 0; transform: translateY(26px);
  animation: fadeUp 1s ease .15s forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-eyebrow {
  font-size: .82rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 24px; display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 42px; height: 1px; background: var(--gold); flex-shrink: 0; }

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 6.6vw, 5.6rem);
  font-weight: 300; line-height: 1.05;
  color: var(--white); margin-bottom: 28px;
  max-width: 15ch;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-size: 1.2rem; font-weight: 300;
  color: #dde6f4; line-height: 1.75;
  margin-bottom: 46px; max-width: 52ch;
}
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 17px 36px; font-family: 'DM Sans', sans-serif;
  font-size: .84rem; font-weight: 500; letter-spacing: .11em;
  text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: all .28s;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); }

/* ── PAGE HERO (interior pages) ─────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(88px, 12vh, 132px) var(--gutter);
  border-bottom: 4px solid var(--gold);
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(96deg, rgba(11,24,50,.95) 0%, rgba(11,24,50,.86) 40%, rgba(15,32,68,.5) 100%),
    var(--ph-img, none) center 55% / cover no-repeat;
}
.page-hero > * { position: relative; z-index: 2; max-width: var(--maxw); margin-inline: auto; }

.ph-services  { --ph-img: var(--img-services); }
.ph-owners    { --ph-img: var(--img-owners); }
.ph-residents { --ph-img: var(--img-residents); }
.ph-about     { --ph-img: var(--img-about); }
.ph-contact   { --ph-img: var(--img-contact); }

.page-hero-eyebrow {
  font-size: .82rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 18px; display: flex; align-items: center; gap: 14px;
}
.page-hero-eyebrow::before { content: ''; width: 42px; height: 1px; background: var(--gold); flex-shrink: 0; }

.page-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  font-weight: 300; line-height: 1.08; color: var(--white); max-width: 18ch;
}
.page-hero-sub {
  font-size: 1.14rem; font-weight: 300; color: #dde6f4;
  line-height: 1.75; margin-top: 22px; max-width: 58ch;
}
.page-hero .hero-actions { max-width: var(--maxw); margin-inline: auto; }

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  background: var(--navy); padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 40px 14px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.09);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.9rem; font-weight: 300; color: var(--gold-light); line-height: 1;
}
.trust-label {
  font-size: .78rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--silver); line-height: 1.5;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
section { padding: clamp(76px, 10vh, 120px) var(--gutter); }
section > * { max-width: var(--maxw); margin-inline: auto; }

.section-eyebrow {
  font-size: .78rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); flex-shrink: 0; }

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 300; line-height: 1.12; color: var(--navy); margin-bottom: 22px;
}
.section-body { font-size: 1.0625rem; font-weight: 300; line-height: 1.8; color: var(--ink); max-width: 62ch; }

/* ── SPLIT ──────────────────────────────────────────────────── */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.split.reverse .split-visual { order: -1; }

.split-visual { position: relative; }
.split-visual::before {
  content: ''; position: absolute;
  top: -18px; right: -18px; bottom: 18px; left: 18px;
  border: 1px solid rgba(184,150,90,.4); z-index: 0;
}
.split-img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 3;
  background-color: var(--navy-mid);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-image: linear-gradient(140deg, rgba(15,32,68,.18), rgba(61,90,138,.10)), var(--split-src, none);
}
.img-coastal  { --split-src: var(--img-about); }
.img-home     { --split-src: var(--img-contact); }
.img-interior { --split-src: var(--img-residents); }
.img-keys     { --split-src: var(--img-owners); }
.img-office   { --split-src: var(--img-services); }
.img-exterior { --split-src: var(--img-hero); }

/* ── FEATURE LIST ───────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; margin-top: 36px; }
.feature-item {
  display: grid; grid-template-columns: auto 1fr; gap: 18px;
  padding: 22px 0; border-top: 1px solid var(--cloud); align-items: start;
}
.feature-item:last-child { border-bottom: 1px solid var(--cloud); }
.feature-icon {
  width: 46px; height: 46px; background: var(--gold-pale); color: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-item-text strong { display: block; font-size: 1.05rem; font-weight: 500; color: var(--navy); margin-bottom: 5px; }
.feature-item-text span { font-size: 1rem; font-weight: 300; color: var(--ink); line-height: 1.7; }

/* ── SERVICES ───────────────────────────────────────────────── */
.services { background: var(--cloud); }
.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 56px; align-items: end; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #dfe6f1; border: 1px solid #dfe6f1; }

.service-card { background: var(--white); padding: 46px 36px 50px; position: relative; transition: background .3s; }
.service-card:hover { background: #fbfcfe; }
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 50px; height: 50px; background: var(--cloud);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--navy-light); transition: background .3s, color .3s;
}
.service-card:hover .service-icon { background: var(--gold-pale); color: var(--gold); }

.service-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.62rem; font-weight: 500; color: var(--navy);
  margin-bottom: 12px; line-height: 1.15;
}
.service-desc { font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--ink); }

/* ── CTA BAND ───────────────────────────────────────────────── */
.cta-band {
  background: var(--navy); border-top: 4px solid var(--gold);
  padding: clamp(70px, 9vh, 106px) var(--gutter);
}
.cta-band > div:first-child, .cta-band-actions { }
.cta-band {
  display: grid; grid-template-columns: 1fr auto;
  gap: 56px; align-items: center;
}
.cta-band .section-title { color: var(--white); margin-bottom: 18px; }
.cta-band .section-body { color: var(--mist); }
.cta-band-actions { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }

/* ── PORTALS ────────────────────────────────────────────────── */
.portals { display: grid; grid-template-columns: 1fr 1fr; }
.portal-card {
  padding: clamp(60px, 8vh, 92px) var(--gutter);
  display: flex; flex-direction: column; gap: 19px;
  position: relative; transition: background .35s;
}
.portal-card.owners  { background: var(--cloud); }
.portal-card.tenants { background: var(--navy); }
.portal-card.owners:hover  { background: #e4ebf6; }
.portal-card.tenants:hover { background: var(--navy-mid); }

.portal-eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.portal-card.owners .portal-eyebrow  { color: var(--gold); }
.portal-card.tenants .portal-eyebrow { color: var(--gold-light); }

.portal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.1rem, 3.4vw, 2.8rem); font-weight: 300; line-height: 1.12;
}
.portal-card.owners .portal-title  { color: var(--navy); }
.portal-card.tenants .portal-title { color: var(--white); }

.portal-desc { font-size: 1.04rem; font-weight: 300; line-height: 1.78; max-width: 46ch; }
.portal-card.owners .portal-desc  { color: var(--ink); }
.portal-card.tenants .portal-desc { color: var(--mist); }

.portal-link {
  display: inline-flex; align-items: center; gap: 11px; margin-top: 10px;
  font-size: .84rem; font-weight: 500; letter-spacing: .11em;
  text-transform: uppercase; text-decoration: none; transition: gap .25s;
}
.portal-link:hover { gap: 19px; }
.portal-card.owners .portal-link  { color: var(--navy); }
.portal-card.tenants .portal-link { color: var(--gold-light); }

/* ── AREAS ──────────────────────────────────────────────────── */
.areas { background: var(--cloud); text-align: center; }
.areas .section-eyebrow { justify-content: center; }
.areas .section-eyebrow::before { display: none; }
.areas .section-body { margin: 0 auto 42px; }
.areas-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.area-tag {
  padding: 12px 26px; background: var(--white); border: 1px solid #dbe3f0;
  font-size: .96rem; color: var(--navy); transition: all .22s;
}
.area-tag:hover { border-color: var(--gold); background: var(--gold-pale); }
.areas .hero-actions { justify-content: center; margin-top: 8px; }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: .76rem; font-weight: 500; letter-spacing: .13em;
  text-transform: uppercase; color: var(--slate);
}
.form-group input, .form-group textarea, .form-group select {
  padding: 15px 17px; border: 1px solid #d7e0ee; background: #fafcfe;
  font-family: 'DM Sans', sans-serif; font-size: 1.02rem; font-weight: 300;
  color: var(--navy); outline: none; transition: border-color .2s, background .2s;
}
.form-group select { appearance: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); background: var(--white); }
.form-group textarea { min-height: 150px; resize: vertical; line-height: 1.65; }

.form-submit {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 17px 36px; background: var(--navy); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: .84rem; font-weight: 500;
  letter-spacing: .11em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background .28s; align-self: flex-start;
}
.form-submit:hover { background: var(--navy-light); }

.form-status { padding: 17px 21px; font-size: 1rem; line-height: 1.6; border-left: 3px solid; }
.form-status.success { background: #eef7ef; border-color: #4a9159; color: #22562f; }
.form-status.error   { background: #fbeceb; border-color: #bd5850; color: #812c25; }

.contact-details { display: flex; flex-direction: column; margin-top: 34px; }
.contact-item {
  display: grid; grid-template-columns: auto 1fr; gap: 18px;
  padding: 21px 0; border-top: 1px solid var(--cloud); align-items: start;
}
.contact-item:last-child { border-bottom: 1px solid var(--cloud); }
.contact-icon {
  width: 44px; height: 44px; border: 1px solid #dbe3f0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold);
}
.contact-item-label {
  font-size: .73rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--silver); margin-bottom: 4px;
}
.contact-item-value { font-size: 1.06rem; color: var(--navy); text-decoration: none; line-height: 1.6; }
a.contact-item-value:hover { color: var(--gold); }

.hp-field { position: absolute; left: -9999px; top: -9999px; }
.map-embed { width: 100%; height: 420px; border: 0; filter: grayscale(.3) contrast(1.03); }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer { background: var(--navy); border-top: 4px solid var(--gold); }
.footer-main {
  padding: clamp(56px, 8vh, 80px) var(--gutter);
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 48px;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem; font-weight: 500; color: var(--white);
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 5px;
}
.footer-brand-sub {
  font-size: .68rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-tagline { font-size: .98rem; font-weight: 300; color: var(--mist); line-height: 1.78; max-width: 32ch; }
.footer-col-title {
  font-size: .74rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-links a, .footer-links li {
  font-size: .98rem; font-weight: 300; color: var(--mist);
  text-decoration: none; transition: color .2s; line-height: 1.6;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 24px var(--gutter);
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-copy  { font-size: .84rem; color: var(--silver); line-height: 1.8; }
.footer-equal { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--silver); }

/* ── REVEAL ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s ease, transform .85s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1040px) {
  nav { position: relative; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--cloud);
    box-shadow: 0 16px 30px rgba(15,32,68,.11); padding: 6px 0; z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--cloud); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 17px var(--gutter); font-size: .95rem; }
  .nav-links a.active::after { display: none; }
  .nav-cta { background: transparent; color: var(--navy) !important; }
  .nav-cta:hover { background: var(--cloud) !important; color: var(--navy) !important; }
  .nav-toggle { display: block; }

  .split, .contact { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
  .services-intro { grid-template-columns: 1fr; gap: 22px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .portals { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 1.02rem; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-outline { width: 100%; }
  .hero-actions, .cta-band-actions { width: 100%; }
  .topbar { justify-content: center; }
  .topbar-left span.topbar-item { display: none; }
  .hero { min-height: 76vh; }
  .split-img { aspect-ratio: 3 / 2; }
}
