/* ==========================================================================
   All Bright — Design Tokens
   Palette sampled from the brand logo: navy #06182e + electric blue #00AEEF
   ========================================================================== */

:root {
  /* Color — brand */
  --navy-950: #030d1c;
  --navy-900: #06182e;
  --navy-800: #0b2440;
  --navy-700: #123258;
  --navy-600: #1c4270;
  --blue-600: #0090c9;
  --blue-500: #00aeef;
  --blue-400: #35c2f5;
  --blue-100: #e6f7fd;
  --blue-50: #f2fbfe;

  /* Color — neutrals */
  --white: #ffffff;
  --ink: #0f1b2d;
  --slate-600: #47566b;
  --slate-500: #5b6b7f;
  --slate-300: #b9c5d2;
  --slate-100: #eef2f6;
  --border: #dfe7ee;
  --bg-page: #ffffff;
  --bg-tint: #f6fafc;

  /* Typography */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Spacing scale (8px base) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Radius / shadow */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(6, 24, 46, 0.06);
  --shadow-md: 0 12px 32px rgba(6, 24, 46, 0.12);
  --shadow-lg: 0 24px 64px rgba(6, 24, 46, 0.22);

  --container: 1180px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--space-2);
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -60px;
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--space-2);
}

/* ==========================================================================
   Type scale
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: var(--space-2);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue-500);
  display: inline-block;
}

.eyebrow--on-dark {
  color: var(--blue-400);
}

h1 {
  font-size: clamp(2.4rem, 4.2vw + 1rem, 3.8rem);
}

h2 {
  font-size: clamp(1.9rem, 2.4vw + 1rem, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-5);
}

.section-head p {
  color: var(--slate-600);
  font-size: 1.08rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.lede {
  font-size: 1.15rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition),
    border-color var(--transition);
  white-space: nowrap;
  min-height: 44px;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.btn-accent {
  background: var(--blue-500);
  color: var(--navy-950);
}

.btn-accent:hover {
  background: var(--blue-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--navy-900);
  background: var(--slate-100);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand__mark {
  height: 36px;
  width: 36px;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
}

.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.brand__text .brand__all {
  color: var(--blue-500);
}

.brand__text .brand__bright {
  color: var(--navy-900);
}

.site-footer .brand__text .brand__bright {
  color: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-links {
  display: flex;
  gap: var(--space-3);
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--slate-600);
  padding: 0.5em 0.2em;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--blue-500);
  transition: right var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy-900);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5em;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  color: var(--navy-900);
}

.nav-toggle .icon-close {
  display: none;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4) var(--space-3);
    gap: var(--space-4);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: var(--space-2);
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.6em 0;
  }

  body.nav-open .nav-toggle .icon-menu {
    display: none;
  }

  body.nav-open .nav-toggle .icon-close {
    display: block;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(3, 13, 28, 0.96) 20%,
    rgba(6, 24, 46, 0.75) 48%,
    rgba(0, 174, 239, 0.35) 100%
  );
}

.hero__streak {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.5;
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--white);
}

.hero__content {
  position: relative;
  padding-block: var(--space-8) var(--space-7);
  max-width: 700px;
}

.hero__content .lede {
  color: var(--slate-300);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hero--page {
  padding-block: 0;
}

.hero--page .hero__content {
  padding-block: var(--space-6) var(--space-5);
  max-width: 780px;
}

.hero__crumb {
  color: var(--slate-300);
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
}

.hero__crumb a {
  color: var(--blue-400);
}

.hero__phone {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5em 1em;
  border-radius: 999px;
  transition: background var(--transition), border-color var(--transition);
}

.hero__phone:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__phone svg {
  width: 18px;
  height: 18px;
  color: var(--blue-400);
  flex-shrink: 0;
}

.hero__crumb a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-strip {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-4);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--slate-300);
}

.trust-item svg {
  width: 30px;
  height: 30px;
  color: var(--blue-500);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
}

.trust-item span {
  font-size: 0.85rem;
}

@media (max-width: 1080px) {
  .trust-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Sections (generic)
   ========================================================================== */

section {
  padding-block: var(--space-7);
}

.section-tint {
  background: var(--bg-tint);
}

.section-navy {
  background: var(--navy-900);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy .section-head p {
  color: var(--slate-300);
}

/* ==========================================================================
   Cards — services
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 13, 28, 0.94) 10%,
    rgba(3, 13, 28, 0.15) 70%
  );
}

.service-card__body {
  position: relative;
  padding: var(--space-4);
}

.service-card h3 {
  color: var(--white);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-500);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card p {
  color: var(--slate-300);
  font-size: 0.98rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-400);
  margin-top: var(--space-1);
}

.service-card__link svg {
  width: 1em;
  height: 1em;
  transition: transform var(--transition);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* Feature list (icon + text rows) */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-4);
}

@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

.feature__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3em;
}

.feature p {
  color: var(--slate-600);
  font-size: 0.96rem;
  margin: 0;
}

/* ==========================================================================
   About / split sections
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.split--reverse .split__media {
  order: 2;
}

@media (max-width: 900px) {
  .split--reverse .split__media {
    order: 0;
  }
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.split__badge {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  max-width: calc(100% - 2 * var(--space-2));
}

.split__badge svg {
  width: 34px;
  height: 34px;
  color: var(--blue-500);
  flex-shrink: 0;
}

.split__badge strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy-900);
  font-size: 1rem;
}

.split__badge span {
  font-size: 0.85rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: var(--space-1) var(--space-3);
  margin: 0 calc(-1 * var(--space-3));
  padding-inline: var(--space-3);
  scrollbar-width: thin;
  scrollbar-color: var(--blue-500) transparent;
}

.testimonial-track::-webkit-scrollbar {
  height: 8px;
}

.testimonial-track::-webkit-scrollbar-thumb {
  background: var(--blue-500);
  border-radius: 8px;
}

.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 32vw, 360px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--blue-500);
  margin-bottom: var(--space-2);
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-card blockquote {
  margin: 0 0 var(--space-3);
  color: var(--ink);
  font-size: 1rem;
  flex-grow: 1;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--navy-900);
}

.testimonial-meta span {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.testimonial-controls {
  display: flex;
  gap: var(--space-1);
  justify-content: center;
  margin-top: var(--space-2);
}

.testimonial-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.testimonial-controls button:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
}

.testimonial-controls svg {
  width: 20px;
  height: 20px;
  color: var(--navy-900);
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy-900);
  border: none;
  padding: 0;
  display: block;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-3) var(--space-2) var(--space-2);
  background: linear-gradient(to top, rgba(3, 13, 28, 0.92), transparent);
  color: var(--white);
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 13, 28, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: var(--space-4);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Service area
   ========================================================================== */

.service-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (max-width: 900px) {
  .service-area {
    grid-template-columns: 1fr;
  }
}

.service-area__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.town-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-1) var(--space-3);
  margin-block: var(--space-3) var(--space-4);
}

.town-list li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--slate-600);
  font-size: 0.98rem;
}

.town-list svg {
  width: 16px;
  height: 16px;
  color: var(--blue-500);
  flex-shrink: 0;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--blue-600) 130%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner .container {
  position: relative;
  max-width: 720px;
}

.cta-banner h2 {
  color: var(--white);
}

.cta-banner p {
  color: var(--slate-300);
  font-size: 1.1rem;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* ==========================================================================
   Steps (process)
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.step__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--blue-500);
  display: block;
  margin-bottom: var(--space-1);
}

.step h3 {
  font-size: 1.05rem;
}

.step p {
  color: var(--slate-600);
  font-size: 0.94rem;
  margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: var(--space-3);
}

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
  margin-bottom: 0.5em;
}

.field .hint {
  font-weight: 400;
  color: var(--slate-500);
  font-size: 0.85rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85em 1em;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-tint);
  color: var(--ink);
  transition: border-color var(--transition), background var(--transition);
  min-height: 44px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
}

.field-error {
  color: #c0362c;
  font-size: 0.85rem;
  margin-top: 0.4em;
  display: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c0362c;
}

.field.has-error .field-error {
  display: block;
}

.form-note {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: var(--space-2);
}

.form-status {
  display: none;
  align-items: center;
  gap: 0.6em;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: flex;
}

.form-status--success {
  background: var(--blue-50);
  color: var(--navy-900);
  border: 1px solid var(--blue-100);
}

.form-status--error {
  background: #fdecea;
  color: #7a241d;
  border: 1px solid #f3c6c1;
}

.form-status svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Contact info sidebar */

.info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}

.info-card h3 {
  color: var(--white);
}

.info-row {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  margin-bottom: var(--space-2);
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-row svg {
  width: 22px;
  height: 22px;
  color: var(--blue-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-row a:hover {
  text-decoration: underline;
}

.info-row span,
.info-row a {
  color: var(--slate-300);
  font-size: 0.96rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding-block: var(--space-6) var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand img {
  height: 30px;
  margin-bottom: var(--space-2);
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.footer-links li {
  margin-bottom: 0.6em;
}

.footer-links a {
  font-size: 0.95rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-3);
  font-size: 0.85rem;
}

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

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Misc page utilities
   ========================================================================== */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.stat-row {
  display: flex;
  gap: var(--space-5);
  margin: var(--space-4) 0;
  flex-wrap: wrap;
}

.stat-row .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 0.25em;
}

.stat-row .stat span {
  color: var(--slate-500);
  font-size: 0.9rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--blue-100);
  color: var(--blue-600);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4em 0.9em;
  border-radius: 999px;
}

.badge svg {
  width: 14px;
  height: 14px;
}

.note-callout {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

.note-callout svg {
  width: 24px;
  height: 24px;
  color: var(--blue-600);
  flex-shrink: 0;
}

.note-callout p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.95rem;
}
