/* =========================================================
   CordovaTech — Global styles
   Brand: Navy #00204a · Bright Blue #007bff · Clean whites
   ========================================================= */

:root {
  --navy: #00204a;
  --navy-deep: #001530;
  --navy-mid: #0a2f5c;
  --blue: #007bff;
  --blue-bright: #1a8cff;
  --blue-soft: #e8f2ff;
  --blue-line: #7eb8ff;
  --ink: #0c1a2e;
  --muted: #5a6b7d;
  --line: #d8e2ee;
  --surface: #f5f8fc;
  --white: #ffffff;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 32, 74, 0.06);
  --shadow-md: 0 12px 40px rgba(0, 32, 74, 0.1);
  --header-h: 72px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --content-w: 90%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.container {
  width: var(--content-w);
  max-width: 100%;
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

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

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

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

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

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

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

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

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--blue);
}

.text-link:hover {
  gap: 0.55rem;
  color: var(--navy);
}

.text-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* ---------- Header / Nav (shared) ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), height 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(0, 32, 74, 0.08);
  box-shadow: 0 8px 32px rgba(0, 32, 74, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  width: var(--content-w);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--muted);
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  transition: color 0.22s var(--ease), background 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.nav-link:hover {
  color: var(--navy);
  background: var(--white);
}

.nav-link.is-active {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 4px 14px rgba(0, 32, 74, 0.22);
}

.nav-link.is-active:hover {
  color: var(--white);
  background: var(--navy-mid);
}

.header-cta {
  margin-left: 0.15rem;
  border-radius: 999px;
  padding-inline: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.28);
}

.header-cta:hover {
  box-shadow: 0 6px 20px rgba(0, 32, 74, 0.25);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--navy);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.hamburger:hover {
  background: var(--blue-soft);
  border-color: #b8d4f5;
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 21, 48, 0.5);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.nav-overlay.is-visible {
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  width: min(100%, 360px);
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  padding: 1.25rem 1.35rem 2rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  box-shadow: -12px 0 48px rgba(0, 32, 74, 0.18);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.drawer-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.drawer-close:hover {
  background: var(--blue-soft);
  border-color: #b8d4f5;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.nav-mobile-link {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 550;
  color: var(--navy);
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav-mobile-link:hover {
  background: var(--white);
  border-color: var(--line);
  color: var(--navy);
}

.nav-mobile-link.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 6px 18px rgba(0, 32, 74, 0.2);
}

.drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.drawer-email {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}

/* ---------- Section chrome ---------- */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-dark {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: rgba(255, 255, 255, 0.88);
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-dark .section-label {
  color: var(--blue-line);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.85rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.0625rem;
}

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

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.section-head-row .section-head {
  margin-bottom: 0;
}

/* ---------- Reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  overflow: hidden;
  background: var(--navy-deep);
}

@media (max-width: 699px) {
  .hero {
    align-items: flex-end;
    min-height: 100svh;
    padding: calc(var(--header-h) + 1.25rem) 0 5.5rem;
  }

  .hero-content {
    padding-bottom: 0.25rem;
  }

  .hero-brand {
    margin-bottom: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 1.35rem;
  }

  .hero-scroll {
    bottom: 0.85rem;
    left: 50%;
  }

  .hero-scroll-line {
    height: 22px;
  }
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  animation: heroZoom 18s var(--ease) both;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 16, 40, 0.92) 0%, rgba(0, 32, 74, 0.72) 48%, rgba(0, 32, 74, 0.35) 100%),
    linear-gradient(to top, rgba(0, 16, 40, 0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--content-w);
  margin-inline: auto;
  color: var(--white);
}

.hero-content > * {
  max-width: 36rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-line);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.15s forwards;
}

.hero h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.55rem);
  color: var(--white);
  margin-bottom: 1.15rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.28s forwards;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 34rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.52s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  opacity: 0;
  transform: translateX(-50%);
  animation: fadeUpCenter 0.8s var(--ease) 0.9s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--blue-line), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.7);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUpCenter {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ---------- IT Services focus strip ---------- */

.services-focus {
  position: relative;
  margin-top: -2.5rem;
  z-index: 5;
  padding-bottom: 1rem;
}

.services-focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.focus-block {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow-md);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.focus-block:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.focus-block-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: var(--radius);
}

.focus-block h3 {
  font-size: 1.2rem;
}

.focus-block p {
  color: var(--muted);
  font-size: 0.975rem;
}

@media (min-width: 700px) {
  .services-focus-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Service blocks (main) ---------- */

.service-blocks {
  display: grid;
  gap: 1.25rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease);
}

.service-block:hover {
  box-shadow: var(--shadow-md);
}

.service-block-media {
  position: relative;
  min-height: 220px;
  background: var(--navy);
}

.service-block-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.service-block-body {
  padding: 1.75rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-block-body h3 {
  font-size: 1.35rem;
}

.service-block-body > p {
  color: var(--muted);
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.5rem;
}

.service-tags span {
  font-size: 0.75rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: var(--navy-mid);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
}

@media (min-width: 800px) {
  .service-block {
    grid-template-columns: 1.05fr 1.2fr;
    min-height: 280px;
  }

  .service-block:nth-child(even) {
    grid-template-columns: 1.2fr 1.05fr;
  }

  .service-block:nth-child(even) .service-block-media {
    order: 2;
  }

  .service-block-media,
  .service-block-media img {
    min-height: 100%;
  }

  .service-block-body {
    padding: 2.25rem 2rem;
    justify-content: center;
  }
}

/* Compact solution grid */

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.solution-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}

.solution-item:hover {
  background: var(--blue-soft);
  border-left-color: var(--navy);
}

.solution-media {
  height: 140px;
  overflow: hidden;
  background: var(--navy);
}

.solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.solution-item:hover .solution-media img {
  transform: scale(1.04);
}

.solution-item-body {
  padding: 1.35rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.solution-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.solution-item p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  flex: 1;
}

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

@media (min-width: 1000px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Expertise ---------- */

.expertise-layout {
  display: grid;
  gap: 2rem;
}

.expertise-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--navy);
}

.expertise-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.expertise-list {
  display: grid;
  gap: 1.25rem;
}

.expertise-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.expertise-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.expertise-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.expertise-item p,
.expertise-item ul {
  color: var(--muted);
  font-size: 0.95rem;
}

.expertise-item ul {
  margin-top: 0.4rem;
  display: grid;
  gap: 0.25rem;
}

.expertise-item li::before {
  content: "– ";
  color: var(--blue);
}

.expertise-cta {
  margin-top: 0.5rem;
  padding: 1.5rem;
  background: var(--blue-soft);
  border: 1px solid #c5dbf5;
}

.expertise-cta p {
  color: var(--navy-mid);
  margin-bottom: 1rem;
  font-weight: 500;
}

@media (min-width: 900px) {
  .expertise-layout {
    grid-template-columns: 0.95fr 1.15fr;
    align-items: start;
    gap: 3rem;
  }

  .expertise-visual,
  .expertise-visual img {
    min-height: 520px;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* ---------- Industries ---------- */

.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.industry-tile {
  padding: 1.35rem 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s, border-color 0.25s;
}

.industry-tile:hover {
  background: rgba(0, 123, 255, 0.15);
  border-color: rgba(126, 184, 255, 0.45);
}

.industry-tile h3 {
  font-size: 1rem;
  font-weight: 550;
  color: var(--white);
}

@media (min-width: 700px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Implementation ---------- */

.impl-banner {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  background:
    linear-gradient(120deg, rgba(0, 32, 74, 0.92), rgba(0, 32, 74, 0.75)),
    url("../assets/home/industry40.jpg") center / cover;
  color: var(--white);
  border: 1px solid var(--line);
}

.impl-banner .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-line);
  font-weight: 600;
}

.impl-banner h3 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0.5rem 0 0.75rem;
}

.impl-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 800px) {
  .impl-banner {
    padding: 2.75rem 3rem;
  }
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.85rem;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  max-width: 28rem;
}

.contact-details {
  display: grid;
  gap: 1.15rem;
}

.contact-detail dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-detail dd {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 550;
  color: var(--navy);
}

.contact-detail a {
  color: var(--navy);
}

.contact-detail a:hover {
  color: var(--blue);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}

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

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

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

.form-status {
  font-size: 0.9rem;
  margin-top: 0.85rem;
  min-height: 1.25rem;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  color: #027a48;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }

  .contact-form {
    padding: 2.25rem;
  }

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

/* ---------- Footer (shared) ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
}

.footer-inner {
  width: var(--content-w);
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.brand-logo-footer {
  height: 52px;
  background: var(--white);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius);
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 550;
  color: var(--white);
  margin: 1rem 0 0.5rem;
  font-size: 1.05rem;
}

.footer-desc {
  font-size: 0.95rem;
  max-width: 22rem;
  line-height: 1.55;
}

.footer-heading {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-line);
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.975rem;
}

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

.footer-contact {
  display: grid;
  gap: 1rem;
}

.footer-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}

.footer-contact a {
  color: var(--white);
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--blue-line);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-social-link:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: var(--white);
}

.footer-social-link svg {
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: var(--content-w);
  margin-inline: auto;
  padding: 1.25rem 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-note {
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 3rem;
  }
}

/* ---------- Utility ---------- */

.mt-lg {
  margin-top: 2rem;
}

.center {
  text-align: center;
}
