/* ============================================
   ONE STOP PHONE SHOP
   Friendly consumer retail — teal + navy
   ============================================ */

:root {
  /* Type */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 1rem + 6vw, 6rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'DM Sans', sans-serif;

  /* OSPS palette - light */
  --color-bg: #F5F8FA;
  --color-surface: #FFFFFF;
  --color-surface-2: #FAFCFD;
  --color-surface-offset: #EAF1F5;
  --color-border: #D9E3EA;
  --color-divider: #E6ECF0;

  --color-text: #0F2A36;
  --color-text-muted: #5A6E7A;
  --color-text-faint: #95A5B0;
  --color-text-inverse: #FFFFFF;

  /* Brand colors derived from existing OSPS logos */
  --color-primary: #2BA8BD;        /* OSPS teal — friendlier, brighter than Sterling IT */
  --color-primary-hover: #1F8B9E;
  --color-primary-active: #176E7F;
  --color-primary-highlight: #D4EEF3;

  --color-navy: #2A4A5C;            /* deep navy from logo octagon */
  --color-navy-soft: #3A5E72;

  --color-success: #43995A;
  --color-warning: #D67C2A;
  --color-error: #C8413B;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(15, 42, 54, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 42, 54, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 42, 54, 0.12);
  --shadow-card: 0 2px 4px rgba(15, 42, 54, 0.04), 0 8px 24px rgba(15, 42, 54, 0.06);

  --content-default: 1200px;
  --content-narrow: 760px;
}

[data-theme='dark'] {
  --color-bg: #0E1B22;
  --color-surface: #16252E;
  --color-surface-2: #1A2C36;
  --color-surface-offset: #1F3340;
  --color-border: #2C4150;
  --color-divider: #243845;

  --color-text: #E4ECF0;
  --color-text-muted: #9AAEB9;
  --color-text-faint: #5F7480;
  --color-text-inverse: #0F2A36;

  --color-primary: #4DC4D8;
  --color-primary-hover: #6BD3E5;
  --color-primary-active: #7FDDED;
  --color-primary-highlight: #1F4651;

  --color-navy: #3A5E72;
  --color-navy-soft: #4A7088;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* ===== LAYOUT ===== */

.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container-narrow { max-width: var(--content-narrow); }

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section-alt { background: var(--color-surface-offset); }

.section-head {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 720px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.section-lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
  line-height: 1.55;
}

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== HEADER ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-divider);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  white-space: nowrap;
}

/* Hide brand wordmark on small screens to keep header from wrapping */
@media (max-width: 519px) {
  .header .brand-text { display: none; }
}

.brand-primary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 3px;
}

.nav {
  display: none;
  gap: var(--space-6);
}
@media (min-width: 880px) {
  .nav { display: flex; }
}

.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}
.nav a:hover { color: var(--color-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  color: var(--color-primary);
  background: var(--color-surface);
}

.menu-toggle {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  border-radius: var(--radius-md);
}
@media (min-width: 880px) {
  .menu-toggle { display: none; }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  padding-inline: var(--space-4);
  padding-block: var(--space-3);
}

/* On very small screens collapse the CTA to icon-only */
@media (max-width: 519px) {
  .header-cta {
    padding: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
    border-radius: var(--radius-full);
    gap: 0;
  }
  .header-cta .header-cta-label { display: none; }
  .header-cta svg {
    width: 18px;
    min-width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
}

/* ===== HERO ===== */

.hero {
  padding-block: clamp(var(--space-16), 7vw, var(--space-24)) var(--space-12);
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, color-mix(in srgb, var(--color-primary) 14%, transparent), transparent 70%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface-2) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.2fr 1fr; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 25%, transparent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.hero-title .accent {
  color: var(--color-primary);
}

.hero-lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 50ch;
  line-height: 1.55;
  margin-bottom: var(--space-8);
}

.hero-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.hero-meta strong { color: var(--color-text); font-weight: 700; }
.meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text-faint);
}

/* Hero visual — three floating phone cards */
.hero-visual {
  position: relative;
  height: 460px;
  display: none;
}
@media (min-width: 960px) {
  .hero-visual { display: block; }
}

.phone-card {
  position: absolute;
  width: 130px;
  height: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
  animation: floatY 6s ease-in-out infinite;
}
.phone-card-1 {
  top: 30px;
  left: 10%;
  transform: rotate(-8deg);
  animation-delay: 0s;
}
.phone-card-2 {
  top: 100px;
  left: 45%;
  transform: rotate(2deg);
  animation-delay: 1.5s;
  z-index: 2;
  width: 150px;
  height: 270px;
}
.phone-card-3 {
  top: 60px;
  right: 5%;
  transform: rotate(7deg);
  animation-delay: 3s;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--color-surface-offset) 0%, var(--color-surface-2) 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-3);
  gap: var(--space-2);
  overflow: hidden;
  position: relative;
}

.phone-line {
  width: 60%;
  height: 6px;
  border-radius: 3px;
  background: var(--color-border);
}
.phone-line.short { width: 40%; }

.phone-screen.broken {
  background: linear-gradient(180deg, #1a3540 0%, #0e1b22 100%);
  color: var(--color-primary);
}
.phone-screen.broken svg {
  width: 80%;
  height: 80%;
}

.phone-screen.fixed {
  background: var(--color-primary);
  color: white;
}
.phone-screen.fixed svg {
  width: 50%;
  height: 50%;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0) var(--rot, rotate(0deg)); }
  50% { transform: translateY(-12px) var(--rot, rotate(0deg)); }
}
.phone-card-1 { --rot: rotate(-8deg); transform: rotate(-8deg); }
.phone-card-2 { --rot: rotate(2deg); transform: rotate(2deg); }
.phone-card-3 { --rot: rotate(7deg); transform: rotate(7deg); }
.phone-card-1 { animation-name: floatY1; }
.phone-card-2 { animation-name: floatY2; }
.phone-card-3 { animation-name: floatY3; }
@keyframes floatY1 {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-12px) rotate(-8deg); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
@keyframes floatY3 {
  0%, 100% { transform: translateY(0) rotate(7deg); }
  50% { transform: translateY(-10px) rotate(7deg); }
}

/* ===== TRUST BAR ===== */

.trust-bar {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-6);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) {
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg { width: 22px; height: 22px; }

.trust-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

.trust-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ===== REPAIR CARDS ===== */

.repair-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.repair-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.repair-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.repair-icon svg { width: 26px; height: 26px; }

.repair-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.repair-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-5);
}

.repair-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.repair-tags span {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
}

/* ===== PRICING ===== */

.pricing-callout {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow-md);
}
@media (min-width: 760px) {
  .pricing-callout {
    grid-template-columns: 1.5fr 1fr;
  }
}

.pricing-callout h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.pricing-callout p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-base);
  line-height: 1.55;
}

.pricing-callout-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (min-width: 760px) {
  .pricing-callout-actions { justify-content: flex-end; }
}
.pricing-callout-actions .btn-primary {
  background: white;
  color: var(--color-navy);
  box-shadow: none;
}
.pricing-callout-actions .btn-primary:hover {
  background: var(--color-primary-highlight);
  color: var(--color-navy);
}
.pricing-callout-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}
.pricing-callout-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
}

.price-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.price-card-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.price-card-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.price-tbd {
  color: var(--color-text-faint);
  font-weight: 500;
}
.price-card-value-range {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4em;
}
.price-from {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

.pricing-foot {
  text-align: center;
  margin: var(--space-10) auto 0;
  max-width: 720px;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.pricing-foot a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.pricing-foot a:hover { text-decoration: underline; }

/* ===== WHY CARDS ===== */

.why-card {
  padding: var(--space-8);
}

.why-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.why-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ===== ACCESSORIES ===== */

.accessory-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.accessory-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.accessory-icon svg { width: 32px; height: 32px; }

.accessory-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.accessory-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ===== FAQ ===== */

.faq {
  border-top: 1px solid var(--color-divider);
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-5);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-text);
  list-style: none;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform var(--transition-interactive);
}
.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: var(--text-base);
}

/* ===== VISIT ===== */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 880px) {
  .visit-grid { grid-template-columns: 1fr 1.2fr; }
}

.visit-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.visit-row {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.visit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.visit-icon svg { width: 20px; height: 20px; }

.visit-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.visit-value {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.4;
}
.visit-value a {
  color: var(--color-primary);
  text-decoration: none;
}
.visit-value a:hover { text-decoration: underline; }

.visit-cta {
  align-self: flex-start;
  margin-top: var(--space-2);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 360px;
  background: var(--color-surface-offset);
}
.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ===== FOOTER ===== */

.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--space-16);
}
[data-theme='dark'] .footer { background: #0a151b; }

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 720px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .brand-primary { color: white; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.55); }
.footer-brand .brand-mark { color: var(--color-primary); }

.brand-footer { margin-bottom: var(--space-5); }

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 36ch;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding-block: var(--space-1);
}
.footer-links a:hover { color: var(--color-primary); }

.footer-links p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-2);
  line-height: 1.5;
}
.footer-links .footer-address { line-height: 1.5; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 720px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

.footer-family {
  color: rgba(255, 255, 255, 0.7);
}
.footer-family strong { color: white; font-weight: 700; }
.footer-family a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.footer-family a:hover { text-decoration: underline; }

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

@media (max-width: 879px) {
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--color-bg);
    padding: var(--space-8);
    gap: var(--space-4);
    z-index: 99;
    border-top: 1px solid var(--color-divider);
  }
  .nav.open a {
    font-size: var(--text-lg);
    padding-block: var(--space-3);
    border-bottom: 1px solid var(--color-divider);
  }
}
