/**
 * SeaRock Real Estate - Design System Stylesheet
 * Brand-aligned with SeaRock Ventures holding company design language,
 * tailored for residential, approachable, and warm consumer real estate.
 */

:root {
  /* Brand Palette */
  --navy: #0B1B2B;
  --navy-surface: #0E2238;
  --navy-light: #162E48;
  --navy-border: rgba(255, 255, 255, 0.12);
  
  --ocean: #1D6E8F;
  --ocean-dark: #145069;
  --gold: #C29F68;
  --gold-light: #DFCA9F;
  
  --cream: #FAF8F5;
  --cream-dark: #F2EFEB;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --border-light: rgba(11, 27, 43, 0.1);
  --border-card: rgba(11, 27, 43, 0.08);

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #475569;
  --text-white: #FFFFFF;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);
  --header-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(11, 27, 43, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 27, 43, 0.07);
  --shadow-lg: 0 16px 40px rgba(11, 27, 43, 0.1);
  --transition: all 0.25s ease-in-out;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--ocean);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--navy);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.sr-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Section Framework */
.sr-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.sr-section-sm {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.sr-bg-cream {
  background-color: var(--cream);
}

.sr-bg-light {
  background-color: var(--light-gray);
}

.sr-bg-navy {
  background-color: var(--navy);
  color: var(--text-white);
}

.sr-bg-navy h1, .sr-bg-navy h2, .sr-bg-navy h3, .sr-bg-navy h4 {
  color: var(--text-white);
}

.sr-bg-navy p {
  color: rgba(255, 255, 255, 0.82);
}

/* Section Header */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

.sr-bg-navy .eyebrow {
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.sr-bg-navy .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  max-width: 100%;
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background-color: var(--ocean);
  border-color: var(--ocean);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: #d1b17b;
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-white {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-white:hover {
  background-color: var(--cream);
  color: var(--ocean);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: rgba(11, 27, 43, 0.3);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Header & Navigation */
.sr-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(11, 27, 43, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.sr-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  background: rgba(11, 27, 43, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-branding {
  display: flex;
  align-items: center;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.brand-logo-mobile {
  display: none;
  height: 32px;
  width: auto;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.header-phone:hover {
  color: var(--gold-light);
}

.header-cta-btn {
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--navy);
  padding: 2rem var(--container-pad);
  z-index: 999;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--white);
  display: block;
}

.mobile-nav-link.active {
  color: var(--gold);
}

.mobile-drawer-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hero Section */
.page-hero {
  padding-top: calc(var(--header-height) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background-color: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.page-hero-title {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.page-hero-sub {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.page-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Home Split Hero */
.home-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  background-color: var(--cream);
  position: relative;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.home-hero-content {
  position: relative;
  z-index: 2;
}

.home-hero-h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.5rem);
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.home-hero-sub {
  font-size: clamp(1.15rem, 1.4vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.home-hero-media {
  position: relative;
}

.home-hero-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.home-hero-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.home-hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 27, 43, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  color: var(--white);
  max-width: 280px;
}

.home-hero-badge-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.home-hero-badge-desc {
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 0;
}

/* Pathways Grid (Buyer / Seller) */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.pathway-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29, 110, 143, 0.3);
}

.pathway-card-img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}

.pathway-card-body {
  padding: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pathway-card-title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.pathway-card-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

/* Why SeaRock 4-Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pillars-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(29, 110, 143, 0.25);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--cream);
  color: var(--ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Process Timeline (How It Works) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step {
  background: var(--cream);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  position: relative;
  border: 1px solid var(--border-light);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--ocean);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Detailed Features List (Buy & Sell Pages) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.feature-box {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.feature-box-icon {
  color: var(--ocean);
  margin-bottom: 1.25rem;
}

.feature-box-title {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.feature-box-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Narrative Split Layout */
.narrative-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.narrative-media img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.narrative-content .section-title {
  margin-bottom: 1.5rem;
}

.trust-signals-list {
  list-style: none;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.02rem;
  color: var(--text-primary);
}

.trust-check {
  color: var(--ocean);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-table th.highlight-col {
  background-color: var(--navy-surface);
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
}

.comparison-table td.highlight-col {
  background-color: #FAFBFD;
  font-weight: 600;
  color: var(--navy);
  border-left: 2px solid var(--gold);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-card-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(29, 110, 143, 0.15);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-success-banner {
  display: none;
  padding: 1rem 1.25rem;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  color: #065F46;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.info-card-title {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0;
}

.info-card-text a {
  color: var(--navy);
  font-weight: 600;
}

.info-card-text a:hover {
  color: var(--ocean);
}

/* Call to Action Band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-surface) 100%);
  color: var(--white);
  padding: clamp(4rem, 7vw, 6rem) 0;
  text-align: center;
}

.cta-band-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cta-band .section-title {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  margin-bottom: 2.25rem;
}

.cta-band-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Footer */
.sr-footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-brand-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.footer-contact-list a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-relationship {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-list, .header-phone {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-image-wrap img {
    height: 340px;
  }

  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .narrative-split {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid-3 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
    padding: 0.85rem 1.25rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid-3 {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  /* Swap to mobile compact mark on very small viewports */
  .brand-logo-img {
    display: none;
  }

  .brand-logo-mobile {
    display: block;
  }
}
