/* ==========================================================================
   toptllypurequest.hair | European Harbor Environmental Studio
   Aesthetic: Soft Modern | Palette: Coastal Sage, Harbor Deep, Marine Slate
   Spacing Scale: 4px / 8px / 16px / 24px / 40px / 64px
   ========================================================================== */

:root {
  /* Color Direction */
  --harbor-deep: #243F43;
  --marine-slate: #3F5D60;
  --dock-grey: #687A7A;
  --coastal-sage: #9FB5AA;
  --seafoam: #D4E3DC;
  --water-mist: #DFEBE8;
  --pale-aqua: #D9E8E9;
  --warm-sand: #E3D7C5;
  --coastal-cream: #F5F1E8;
  --harbor-white: #FCFAF6;
  --environmental-teal: #5E8D88;
  --navigation-blue: #7899A3;
  --fresh-green: #78947D;
  --service-amber: #C39A5D;
  --copper-detail: #B77960;
  --technical-ink: #253431;
  --body-text: #455552;
  --muted-text: #707B78;
  --light-text: #F2F5F1;

  /* Typography */
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;

  /* Soft Modern Variables */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --shadow-subtle: 0 4px 16px -2px rgba(36, 63, 67, 0.06), 0 2px 6px -1px rgba(36, 63, 67, 0.04);
  --shadow-hover: 0 10px 24px -4px rgba(36, 63, 67, 0.12), 0 4px 10px -2px rgba(36, 63, 67, 0.06);
  --shadow-lift: 0 16px 36px -6px rgba(36, 63, 67, 0.14);

  /* Layout */
  --container-max: 1200px;
  --header-h-desktop: 72px;
  --header-h-mobile: 60px;
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--coastal-cream);
  color: var(--body-text);
  font-family: var(--font-base);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--coastal-cream);
  color: var(--body-text);
}

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

/* Accessibility & Break Word */
h1, h2, h3, h4, h5, h6,
.brand-name,
.form-label {
  overflow-wrap: anywhere;
  color: var(--harbor-deep);
  line-height: 1.25;
}

p, li, td, th {
  overflow-wrap: anywhere;
}

a {
  color: var(--marine-slate);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--harbor-deep);
}

:focus-visible {
  outline: 2px solid var(--service-amber);
  outline-offset: 3px;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Grid & Flex Children Fix */
.grid-child, .flex-child, [class*="col"] {
  min-width: 0;
}

/* Global Spacing Helpers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  min-width: 0;
}

@media (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.text-center { text-align: center; }
.my-24 { margin-top: 24px; margin-bottom: 24px; }
.my-40 { margin-top: 40px; margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  min-width: 0;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--harbor-deep);
  color: var(--light-text);
  border-color: var(--harbor-deep);
  box-shadow: 0 4px 12px rgba(36, 63, 67, 0.18);
}

.btn-primary:hover {
  background-color: var(--marine-slate);
  border-color: var(--marine-slate);
  color: var(--harbor-white);
  box-shadow: 0 6px 16px rgba(36, 63, 67, 0.25);
}

.btn-secondary {
  background-color: var(--water-mist);
  color: var(--harbor-deep);
  border-color: rgba(104, 122, 122, 0.3);
}

.btn-secondary:hover {
  background-color: var(--seafoam);
  color: var(--harbor-deep);
  border-color: var(--marine-slate);
}

.btn-outline {
  background-color: transparent;
  color: var(--harbor-deep);
  border-color: var(--harbor-deep);
}

.btn-outline:hover {
  background-color: var(--harbor-deep);
  color: var(--light-text);
}

.btn-ghost {
  background-color: transparent;
  color: var(--muted-text);
}

.btn-ghost:hover {
  color: var(--harbor-deep);
  background-color: rgba(36, 63, 67, 0.05);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Tag Pill */
.tag-pill, .category-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--marine-slate);
  background-color: var(--seafoam);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* ==========================================================================
   Header & Navigation (Clean, Balanced, Single-Line, Ample Spacing)
   ========================================================================== */
.site-header {
  position: relative;
  background-color: var(--harbor-white);
  border-bottom: 1px solid rgba(104, 122, 122, 0.18);
  height: var(--header-h-desktop);
  box-shadow: 0 2px 10px rgba(36, 63, 67, 0.04);
  z-index: 100;
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-logo {
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--harbor-deep);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-toggle {
  display: none;
  background: var(--coastal-cream);
  border: 1px solid rgba(104, 122, 122, 0.25);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background-color: var(--water-mist);
  border-color: var(--environmental-teal);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--harbor-deep);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Individual navigation link items: clear, never broken onto multiple lines */
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--marine-slate);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap; /* Ensures words are never broken or split onto separate lines */
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.18s ease, background-color 0.18s ease;
  line-height: 1.25;
}

.nav-link:hover {
  color: var(--harbor-deep);
  background-color: rgba(36, 63, 67, 0.05);
}

.nav-link.is-active {
  color: var(--harbor-deep);
  font-weight: 600;
  background-color: rgba(36, 63, 67, 0.07);
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background-color: var(--service-amber);
  border-radius: 2px;
}

.nav-cta-wrapper {
  margin-left: 6px;
  flex-shrink: 0;
}

.nav-cta-wrapper .btn {
  white-space: nowrap;
  padding: 9px 18px;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

/* Mobile & Tablet Navigation (< 1060px to prevent link crowding) */
@media (max-width: 1060px) {
  .site-header {
    height: var(--header-h-mobile);
  }

  .header-container {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-h-mobile);
    left: 0;
    right: 0;
    background-color: var(--harbor-white);
    border-bottom: 2px solid var(--seafoam);
    box-shadow: 0 16px 32px rgba(36, 63, 67, 0.16);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px 24px;
    gap: 16px;
    display: none;
    max-height: calc(100vh - var(--header-h-mobile));
    overflow-y: auto;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    color: var(--harbor-deep);
  }

  .nav-link:hover {
    background-color: var(--water-mist);
    color: var(--harbor-deep);
  }

  .nav-link.is-active {
    background-color: var(--water-mist);
    border-left: 4px solid var(--service-amber);
    color: var(--harbor-deep);
    font-weight: 700;
    padding-left: 14px;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-cta-wrapper {
    margin-left: 0;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(104, 122, 122, 0.18);
  }

  .nav-cta-wrapper .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Hero Section (Strict Image/Text Separation: Text | Gap | Media)
   ========================================================================== */
.hero-section {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, var(--harbor-white) 0%, var(--coastal-cream) 100%);
  border-bottom: 1px solid rgba(104, 122, 122, 0.15);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
}

.hero-content {
  min-width: 0;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--harbor-deep);
}

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--body-text);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted-text);
}

.note-bullet {
  color: var(--coastal-sage);
}

.hero-media {
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background-color: var(--water-mist);
  border: 1px solid rgba(104, 122, 122, 0.15);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ==========================================================================
   Page Intro Section (Sub-pages)
   ========================================================================== */
.page-intro-section {
  padding: 40px 0 48px;
  background-color: var(--harbor-white);
  border-bottom: 1px solid rgba(104, 122, 122, 0.15);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 860px) {
  .intro-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }
}

.page-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.intro-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--body-text);
}

.intro-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  background-color: var(--water-mist);
  border: 1px solid rgba(104, 122, 122, 0.15);
}

.intro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Legal Hero */
.legal-hero {
  padding: 48px 0 24px;
  background-color: var(--harbor-white);
  border-bottom: 1px solid rgba(104, 122, 122, 0.15);
}

/* ==========================================================================
   Process Flow (ASSESS -> CLEAN -> COLLECT -> MANAGE -> MAINTAIN)
   ========================================================================== */
.process-section {
  padding: 64px 0;
  background-color: var(--coastal-cream);
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted-text);
  font-size: 1.05rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  list-style: none;
}

@media (min-width: 640px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .flow-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.flow-card {
  background-color: var(--harbor-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(104, 122, 122, 0.12);
  display: flex;
  flex-direction: column;
}

.flow-step {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--service-amber);
  margin-bottom: 8px;
}

.flow-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--harbor-deep);
}

.flow-desc {
  font-size: 0.88rem;
  color: var(--body-text);
  line-height: 1.5;
}

/* ==========================================================================
   Horizontal Split Cards (Media Left, Metadata + Tags + CTA Right)
   Rule: IMAGE | GAP | CONTENT on desktop; CONTENT -> GAP -> IMAGE on mobile
   ========================================================================== */
.services-section {
  padding: 64px 0;
  background-color: var(--harbor-white);
}

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.split-card {
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;
  background-color: var(--harbor-white);
  border: 1px solid rgba(104, 122, 122, 0.18);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.split-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

@media (min-width: 768px) {
  .split-card {
    flex-direction: row;
    gap: 32px;
    align-items: center;
    padding: 32px;
  }

  .split-card__media {
    flex: 0 0 42%;
    min-width: 0;
  }

  .split-card__content {
    flex: 1 1 58%;
    min-width: 0;
  }
}

.split-card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(36, 63, 67, 0.08);
  background-color: var(--water-mist);
}

.split-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split-card__content {
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.card-interval {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-text);
}

.card-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-copy {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--body-text);
  margin-bottom: 16px;
}

.card-feature-list {
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-feature-list li {
  font-size: 0.9rem;
  color: var(--body-text);
  position: relative;
  padding-left: 20px;
}

.card-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--fresh-green);
  font-weight: bold;
}

.card-action {
  margin-top: auto;
}

/* ==========================================================================
   Philosophy Section
   ========================================================================== */
.philosophy-section {
  padding: 64px 0;
  background-color: var(--coastal-cream);
}

.philosophy-card {
  background-color: var(--harbor-white);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(104, 122, 122, 0.15);
}

@media (min-width: 860px) {
  .philosophy-card {
    padding: 48px;
  }
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 860px) {
  .philosophy-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    align-items: center;
  }
}

.philosophy-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.quote-aside {
  margin-top: 24px;
  padding: 16px 20px;
  background-color: var(--coastal-cream);
  border-left: 4px solid var(--service-amber);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--marine-slate);
  font-size: 1rem;
}

.philosophy-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-block {
  background-color: var(--harbor-deep);
  color: var(--light-text);
  padding: 24px;
  border-radius: var(--radius-md);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--seafoam);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--water-mist);
}

/* ==========================================================================
   Callout Section
   ========================================================================== */
.callout-section {
  padding: 64px 0;
  background-color: var(--water-mist);
  border-top: 1px solid rgba(104, 122, 122, 0.15);
  border-bottom: 1px solid rgba(104, 122, 122, 0.15);
}

.callout-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.callout-desc {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  color: var(--body-text);
}

.callout-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   Sub-page Content Body & Legal Styling
   ========================================================================== */
.content-section {
  padding: 64px 0;
  background-color: var(--harbor-white);
}

.article-body, .legal-body {
  max-width: 820px;
  margin: 0 auto;
}

.article-body h2, .legal-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body h3, .legal-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

.article-body p, .legal-body p {
  font-size: 1.03rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--body-text);
}

.article-body ul, .article-body ol,
.legal-body ul, .legal-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-body li, .legal-body li {
  font-size: 1rem;
  line-height: 1.6;
}

.info-callout {
  background-color: var(--coastal-cream);
  border: 1px solid rgba(104, 122, 122, 0.2);
  border-left: 4px solid var(--environmental-teal);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 32px 0;
  font-size: 0.95rem;
  color: var(--marine-slate);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(104, 122, 122, 0.2);
  background-color: var(--harbor-white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th, .data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(104, 122, 122, 0.15);
}

.data-table th {
  background-color: var(--water-mist);
  color: var(--harbor-deep);
  font-weight: 700;
}

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

.data-table code {
  font-family: var(--font-mono);
  background-color: var(--coastal-cream);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Contact Page Styling
   ========================================================================== */
.contact-section {
  padding: 64px 0;
  background-color: var(--harbor-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
  }
}

.contact-form-container {
  background-color: var(--coastal-cream);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(104, 122, 122, 0.15);
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 480px) {
  .contact-form-container {
    padding: 36px 32px;
  }
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--muted-text);
  margin-bottom: 24px;
}

.harbor-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--harbor-deep);
}

.form-label .req {
  color: var(--copper-detail);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--body-text);
  background-color: var(--harbor-white);
  border: 1px solid rgba(104, 122, 122, 0.3);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--environmental-teal);
  box-shadow: 0 0 0 3px rgba(94, 141, 136, 0.2);
  outline: none;
}

.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid {
  border-color: var(--copper-detail);
  background-color: #FFF9F8;
}

.field-error {
  font-size: 0.8rem;
  color: var(--copper-detail);
  min-height: 18px;
}

.btn-submit {
  margin-top: 8px;
}

.contact-confirmation {
  padding: 32px 16px;
  text-align: center;
}

.confirmation-badge {
  display: inline-flex;
  margin-bottom: 16px;
}

.confirmation-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.confirmation-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--body-text);
  margin-bottom: 24px;
}

.contact-details-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.details-card {
  background-color: var(--water-mist);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(104, 122, 122, 0.15);
}

.details-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.details-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.details-item {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.details-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--marine-slate);
}

.details-val {
  font-size: 0.95rem;
  color: var(--harbor-deep);
}

.static-map-container {
  background-color: var(--coastal-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(104, 122, 122, 0.18);
  box-shadow: var(--shadow-subtle);
}

.map-caption {
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--muted-text);
  text-align: center;
  background-color: var(--harbor-white);
  border-top: 1px solid rgba(104, 122, 122, 0.12);
}

/* ==========================================================================
   Global Footer
   ========================================================================== */
.site-footer {
  background-color: var(--harbor-deep);
  color: var(--light-text);
  padding: 64px 0 0;
  margin-top: auto;
  border-top: 3px solid var(--coastal-sage);
}

.site-footer a {
  color: var(--seafoam);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-brand .brand-name {
  color: var(--harbor-white);
}

.footer-summary {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--water-mist);
  margin-bottom: 20px;
}

.footer-legal-block {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--seafoam);
  border-top: 1px solid rgba(212, 227, 220, 0.2);
  padding-top: 16px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--harbor-white);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background-color: #1A3135;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--coastal-sage);
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   Cookie Banner (Fixed bottom, responsive to 320px)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--harbor-deep);
  color: var(--light-text);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(212, 227, 220, 0.2);
  z-index: 999;
  padding: 16px 0;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 860px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

.cookie-banner-text {
  min-width: 0;
}

.cookie-banner-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--harbor-white);
  margin-bottom: 6px;
}

.cookie-banner-desc {
  font-size: 0.88rem;
  color: var(--water-mist);
  line-height: 1.5;
}

.cookie-banner-desc a {
  color: var(--seafoam);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner-actions .btn-outline {
  border-color: var(--seafoam);
  color: var(--seafoam);
}

.cookie-banner-actions .btn-outline:hover {
  background-color: var(--seafoam);
  color: var(--harbor-deep);
}

.cookie-banner-actions .btn-ghost {
  color: var(--water-mist);
}

.cookie-banner-actions .btn-ghost:hover {
  color: var(--harbor-white);
  background-color: rgba(255, 255, 255, 0.08);
}

/* Breakpoint below 400px Support */
@media (max-width: 399px) {
  .btn {
    width: 100%;
    padding: 10px 16px;
  }

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .callout-actions {
    flex-direction: column;
    width: 100%;
  }

  .callout-actions .btn {
    width: 100%;
  }

  .card-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}