/* ==========================================================================
   DAMVICO & SONS LIMITED — Site Stylesheet
   Design language: maritime chart / AIS vessel-tracking readout.
   Palette — strict red & white brand system (black/grey used only as
   neutral text, never as a third brand hue):
     --brand-deep    #7A0E1F   deep red, primary dark surface
     --brand-mid     #8E1526   secondary red, panels/cards on dark
     --route         #A61B32   secondary accent red, on light surfaces
     --signal        #C41230   signature DSL red, CTAs / alerts
     --white         #FFFFFF   pure white, light surface
     --ink           #201316   near-black, body text on light
     --steel         warm neutral greys, secondary/muted text only
   Type:
     Display  — "Oswald"        (condensed, stencil/hull-marking character)
     Body     — "IBM Plex Sans" (clean, technical, legible)
     Mono     — "IBM Plex Mono" (readouts, coordinates, labels)
   ========================================================================== */

:root {
  --ocean-deep: #7A0E1F;
  --ocean-mid: #8E1526;
  --ocean-mid-2: #97192B;
  --route: #A61B32;
  --route-bright: #FFFFFF;
  --steel: #7A6265;
  --steel-dark: #4A3437;
  --signal: #C41230;
  --signal-dark: #8A0E22;
  --foam: #FFFFFF;
  --foam-dim: #F2E3E5;
  --ink: #201316;
  --heading: #332A2C;
  --brass: #C41230;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container: 1180px;
  --nav-h: 78px;
}

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

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 {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: var(--heading);
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--route);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.18);
  animation: blink-dot 2.4s ease-in-out infinite;
}

@keyframes blink-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

p {
  color: var(--steel-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--signal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--signal-dark);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  border-color: var(--foam);
  transform: translateY(-2px);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--heading);
  border-color: rgba(15, 32, 39, 0.3);
}

.btn-ghost-dark:hover {
  border-color: var(--heading);
  transform: translateY(-2px);
}

/* ---------------------------------- NAV ---------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  background: rgba(122, 14, 31, 0.0);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.scrolled {
  background: rgba(122, 14, 31, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  column-gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.brand .mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand .word {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand .word span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--route-bright);
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 0;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--signal);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-cta .phone {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--foam);
  display: none;
  white-space: nowrap;
}

@media (min-width: 1150px) {
  .nav-cta .phone {
    display: block;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

@media (max-width: 1050px) and (min-width: 901px) {
  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .brand .word {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ocean-deep);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-links.open {
    max-height: 400px;
  }

  .nav-links a {
    width: 100%;
    padding: 16px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ------------------------------- ROUTE LINE -------------------------------
   The signature element: a shipping-lane line that runs down the page like
   a course plotted on a chart, with a vessel marker that advances with
   scroll position, and waypoint dots at each major section (ports of call).
   ---------------------------------------------------------------------- */

.route-rail {
  position: fixed;
  top: var(--nav-h);
  bottom: 0;
  left: 34px;
  width: 30px;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.route-rail svg {
  height: 100%;
}

.route-rail .track {
  fill: none;
  stroke: rgba(15, 32, 39, 0.14);
  stroke-width: 2;
  stroke-dasharray: 1 8;
  stroke-linecap: round;
}

.route-rail .progress {
  fill: none;
  stroke: var(--route);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.05s linear;
}

.route-rail .vessel {
  transition: offset-distance 0.05s linear;
  filter: drop-shadow(0 0 4px rgba(196, 18, 48, 0.7));
}

.route-rail .vessel path {
  fill: var(--route-bright);
}

.route-rail .vessel circle {
  fill: #fff;
}

@media (max-width: 1050px) {
  .route-rail {
    display: none;
  }
}

/* -------------------------------- HERO / SLIDESHOW ------------------------ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--ocean-deep);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease;
  display: flex;
  align-items: center;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Image layer: swap the <img src> for real photography any time — the
   scrim on top is what keeps the heading/body text readable regardless
   of what the photo looks like. */
.slide-media {
  position: absolute;
  inset: 0;
  background: var(--ocean-deep);
}

.slide-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-media .scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(38, 6, 10, 0.94) 0%, rgba(38, 6, 10, 0.86) 30%, rgba(38, 6, 10, 0.5) 56%, rgba(38, 6, 10, 0.18) 82%),
    linear-gradient(0deg, rgba(38, 6, 10, 0.55) 0%, rgba(38, 6, 10, 0) 40%);
}

.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.slide-content .container {
  max-width: 760px;
  margin-left: 8%;
  margin-right: auto;
}

.slide h1 {
  color: #fff;
  margin-bottom: 20px;
}

.slide h1 em {
  font-style: normal;
  color: var(--route-bright);
}

.slide p.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.slide .actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.slide[data-slide] .reveal-in>* {
  opacity: 0;
  transform: translateY(18px);
}

.slide.is-active .reveal-in>* {
  animation: slide-up 0.9s cubic-bezier(.2, .8, .2, 1) forwards;
}

.slide.is-active .reveal-in>*:nth-child(1) {
  animation-delay: 0.15s;
}

.slide.is-active .reveal-in>*:nth-child(2) {
  animation-delay: 0.32s;
}

.slide.is-active .reveal-in>*:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-controls {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.hero-dot {
  width: 34px;
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--route-bright);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-dot.is-active::after {
  animation: dot-fill 7s linear forwards;
}

@keyframes dot-fill {
  to {
    transform: scaleX(1);
  }
}

.hero-index {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  z-index: 4;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  display: none;
}

@media (min-width: 900px) {
  .hero-index {
    display: block;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  right: 44px;
  z-index: 5;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  display: none;
  align-items: center;
  gap: 10px;
}

@media (min-width: 700px) {
  .scroll-cue {
    display: flex;
  }
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--route-bright);
  animation: cue-drop 2s ease-in-out infinite;
}

@keyframes cue-drop {
  0% {
    top: -100%;
  }

  60% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

/* ------------------------------ PAGE HERO (sub pages) ---------------------- */

.page-hero {
  position: relative;
  background: var(--ocean-deep);
  padding: calc(var(--nav-h) + 96px) 0 84px;
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.page-hero-media .scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(38, 6, 10, 0.92) 0%, rgba(38, 6, 10, 0.78) 34%, rgba(38, 6, 10, 0.5) 62%, rgba(38, 6, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(38, 6, 10, 0.5) 0%, rgba(38, 6, 10, 0) 45%);
}

.page-hero svg.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 16px;
  max-width: 780px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  font-size: 1.05rem;
}

/* --------------------------------- SECTIONS -------------------------------- */

section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: #fff;
}

.section-dark {
  background: var(--ocean-deep);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

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

/* Reveal-on-scroll utility */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2, .7, .2, 1), transform 0.8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>* {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ------------------------------- STAT STRIP -------------------------------- */

.stat-strip {
  background: var(--ocean-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
}

.stat-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}

.stat {
  font-family: var(--font-mono);
  color: var(--foam);
}

.stat .n {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  display: block;
}

.stat .l {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--route-bright);
}

/* ------------------------------- SERVICE GRID ------------------------------ */

.grid {
  display: grid;
  gap: 26px;
}

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

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

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

@media (max-width: 640px) {

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

.service-card {
  background: #fff;
  border: 1px solid var(--foam-dim);
  border-top: 3px solid var(--route);
  padding: 0;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(122, 14, 31, 0.14);
  border-top-color: var(--signal);
}

.service-card .card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ocean-deep);
}

.service-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .card-media img {
  transform: scale(1.06);
}

.service-card .card-body {
  padding: 28px 26px 32px;
}

.service-card .icon {
  width: 40px;
  height: 40px;
  margin-top: -58px;
  margin-bottom: 16px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--foam-dim);
  color: var(--route);
  box-shadow: 0 8px 20px rgba(122, 14, 31, 0.12);
}

.service-card .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--steel);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--heading);
}

.service-card p {
  font-size: 0.95rem;
}

/* full detail card for services page */
.service-detail {
  display: grid;
  grid-template-columns: 60px 220px 1fr;
  gap: 30px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--foam-dim);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail .num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--route);
  padding-top: 6px;
}

.service-detail .detail-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ocean-deep);
}

.service-detail .detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-detail .icon-chip {
  position: absolute;
  left: 12px;
  bottom: -16px;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--foam-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--route);
  box-shadow: 0 8px 18px rgba(122, 14, 31, 0.14);
}

.service-detail .detail-body {
  padding-top: 4px;
}

.service-detail h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-detail p {
  max-width: 680px;
}

@media (max-width: 860px) {
  .service-detail {
    grid-template-columns: 160px 1fr;
  }

  .service-detail .num {
    display: none;
  }
}

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

  .service-detail .detail-media {
    max-width: 280px;
  }
}

/* --------------------------------- VALUES ---------------------------------- */

.value-card {
  text-align: left;
  padding: 26px 4px;
}

.value-card .icon {
  width: 40px;
  height: 40px;
  color: var(--signal);
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.92rem;
}

/* -------------------------------- TIMELINE --------------------------------- */

.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 1px solid var(--foam-dim);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -45px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--foam);
  border: 2px solid var(--route);
}

.timeline-item .yr {
  font-family: var(--font-mono);
  color: var(--route);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

/* -------------------------------- TEAM -------------------------------- */

.team-card {
  background: #fff;
  border: 1px solid var(--foam-dim);
  padding: 38px 30px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card .avatar {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ocean-deep);
  border: 3px solid var(--foam-dim);
  margin-bottom: 22px;
  flex-shrink: 0;
  box-shadow: 0 14px 30px rgba(122, 14, 31, 0.16);
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card .role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--route);
  margin-bottom: 6px;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 0.9rem;
  max-width: 280px;
}

@media (max-width: 640px) {
  .team-card .avatar {
    width: 140px;
    height: 140px;
  }
}

.team-note {
  border-left: 3px solid var(--brass);
  background: #FBEAEC;
  padding: 20px 24px;
  font-size: 0.92rem;
  color: var(--steel-dark);
  margin-top: 44px;
}

/* ------------------------------- CLIENTS ------------------------------- */

.client-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: flex-start;
  justify-content: center;
}

.client-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 180px;
  text-align: center;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-badge:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.client-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--foam-dim);
  overflow: hidden;
}

.client-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.client-name {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  color: var(--heading);
  text-transform: uppercase;
  line-height: 1.3;
}

/* -------------------------------- CONTACT -------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--foam-dim);
}

.contact-item .icon {
  width: 22px;
  height: 22px;
  color: var(--signal);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item .lab {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 4px;
}

.map-frame {
  width: 100%;
  height: 260px;
  border: 1px solid var(--foam-dim);
  margin-top: 30px;
  filter: grayscale(0.3) contrast(1.05);
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-dark);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--foam-dim);
  background: #fff;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--route);
}

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

/* -------------------------------- CTA BAND -------------------------------- */

.cta-band {
  background: var(--ocean-deep);
  padding: 76px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 18px;
}

.cta-band p {
  max-width: 520px;
  margin: 0 auto 32px;
}

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

/* --------------------------------- FOOTER ---------------------------------- */

.site-footer {
  background: #F1EEEE;
  color: #5C5254;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

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

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

.footer-brand .word {
  font-family: var(--font-display);
  color: var(--signal);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 280px;
  color: #6B6062;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--heading);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-col a,
.footer-col li {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: #6B6062;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--signal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #8C8082;
}

/* -------------------------------- MISC -------------------------------- */

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--foam-dim), transparent);
  margin: 0;
}

/* ------------------------------- FORM FEEDBACK ------------------------------ */

.form-error {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--signal-dark);
  background: #FBEAEC;
  border: 1px solid rgba(196, 18, 48, 0.25);
  padding: 12px 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%) translateY(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ocean-deep);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 14px 22px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast svg {
  width: 18px;
  height: 18px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

::selection {
  background: var(--signal);
  color: #fff;
}

.whitetext {
  color: #F2E3E5;
}

.greybackground {
  background-color: #332A2C;
}

.boldtext {
  font-weight: bold;
}