/* ============================================================
   IT-Debug Consult — "Precision Dark-Edge" theme
   ============================================================ */

/* ── 1. Custom Properties ─────────────────────────────────── */
:root {
  --navy:        #0B1E3D;
  --navy-mid:    #1A3358;
  --navy-light:  #1E3A5F;
  --teal:        #0891B2;
  --teal-dark:   #0E7490;
  --teal-light:  #22D3EE;
  --amber:       #D97706;
  --amber-light: #F59E0B;
  --bg:          #FFFFFF;
  --bg-alt:      #F0F4F8;
  --bg-dark:     #060F1E;
  --text:        #0F172A;
  --text-muted:  #475569;
  --text-light:  #94A3B8;
  --border:      #CBD5E1;
  --border-dark: #1E3A5F;
  --white:       #FFFFFF;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  --nav-h:     72px;
  --max-w:     1200px;
  --gap:       2rem;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);

  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  200ms;
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#main-content {
  flex: 1;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul[role="list"] { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }

/* ── 3. Accessibility ─────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .5rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; outline: 3px solid var(--teal-light); outline-offset: 2px; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

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

/* ── 4. Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 2.5rem; }
}

/* ── 5. Typography scale ──────────────────────────────────── */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: .75rem;
}
.section-title--light { color: var(--white); }

.section-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-inline: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ── 6. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.5rem;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--lg { padding: .875rem 2rem; font-size: 1rem; }

.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover { background: var(--teal-dark); box-shadow: 0 4px 14px rgba(8,145,178,.35); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn--amber {
  background: var(--amber);
  color: var(--white);
}
.btn--amber:hover { background: var(--amber-light); box-shadow: 0 4px 14px rgba(217,119,6,.35); }

.btn--ghost {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn--ghost:hover { background: var(--teal); color: var(--white); }

/* ── 7. Header / Nav ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.4); }

.nav { width: 100%; }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
}

.nav__logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin-left: auto;
}

.nav__link {
  display: block;
  padding: .5rem .875rem;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: .875rem; right: .875rem;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
  border-radius: 2px;
}
.nav__link:hover, .nav__link--active { color: var(--white); }
.nav__link:hover::after, .nav__link--active::after { transform: scaleX(1); }

.nav__link--cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: .5rem 1.125rem;
  margin-left: .5rem;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--teal-dark); }

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 3px;
  flex-shrink: 0;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: 3px;
  text-decoration: none;
  color: rgba(255,255,255,.6);
  transition: all var(--dur) var(--ease);
}
.lang-switcher__btn:hover { color: var(--white); background: rgba(255,255,255,.1); }
.lang-switcher__btn--active {
  background: var(--teal);
  color: var(--white);
  cursor: default;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid var(--border-dark);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    pointer-events: none;
    margin-left: 0;
  }
  .nav__menu--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link { padding: .875rem 1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav__link::after { bottom: 0; left: 0; right: 0; }
  .nav__link--cta { margin: 1rem 0 0; border-radius: var(--radius-sm); text-align: center; justify-content: center; }
}

/* ── 8. Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(8,145,178,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(8,145,178,.10) 0%, transparent 50%),
    linear-gradient(150deg, #060F1E 0%, #0B1E3D 60%, #0E2B4A 100%);
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 110%, rgba(8,145,178,.12) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 6rem;
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.25rem;
  padding: .375rem 1rem;
  border: 1px solid rgba(34,211,238,.25);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.72);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ── 9. Services ──────────────────────────────────────────── */
.services {
  padding-block: 5rem;
  background: var(--bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--teal);
}

.service-card__media {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.04); }

/* Fallback gradient per card if image fails */
.service-card__media--1 { background: linear-gradient(135deg, #0B1E3D, #1E3A5F); }
.service-card__media--2 { background: linear-gradient(135deg, #0E7490, #0891B2); }
.service-card__media--3 { background: linear-gradient(135deg, #4C1D95, #6D28D9); }
.service-card__media--4 { background: linear-gradient(135deg, #065F46, #059669); }
.service-card__media--5 { background: linear-gradient(135deg, #92400E, #D97706); }
.service-card__media--6 { background: linear-gradient(135deg, #1E1B4B, #3730A3); }

.service-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(8,145,178,.1);
  border-radius: var(--radius);
  color: var(--teal);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-card__icon svg { width: 22px; height: 22px; }

.service-card__title {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: .625rem;
}

.service-card__desc {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-card__link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
  margin-top: auto;
}
.service-card__link:hover { color: var(--teal-dark); gap: .5rem; }

/* ── 10. Why Us ───────────────────────────────────────────── */
.why-us {
  padding-block: 5rem;
  background: var(--bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--dur) var(--ease);
}
.why-card:hover { box-shadow: var(--shadow); }

.why-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  color: var(--teal-light);
  margin-bottom: 1.25rem;
}
.why-card__icon svg { width: 24px; height: 24px; }

.why-card h3 {
  font-size: 1.0625rem;
  color: var(--navy);
  margin-bottom: .625rem;
}

.why-card p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 11. Stats ────────────────────────────────────────────── */
.stats {
  background: linear-gradient(135deg, var(--navy) 0%, #0E2B4A 100%);
  padding-block: 4.5rem;
}
.stats .section-title { margin-bottom: 3rem; text-align: center; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stats__item {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1rem;
  background: rgba(255,255,255,.03);
  gap: .5rem;
}

.stats__num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stats__label {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-light);
}

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

/* ── 12. CTA Banner ───────────────────────────────────────── */
.cta-banner {
  background: var(--bg-alt);
  padding-block: 5rem;
  border-top: 1px solid var(--border);
}

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

.cta-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: .875rem;
}

.cta-banner__sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ── 13. Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 4rem;
}

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

.footer__logo {
  display: inline-flex;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: .75rem;
}

.footer__contact-email a {
  font-size: .9rem;
  color: var(--teal-light);
  text-decoration: none;
  font-weight: 500;
}
.footer__contact-email a:hover { text-decoration: underline; }

.footer__heading {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.footer__nav ul,
.footer__legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer__nav a,
.footer__legal a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.footer__nav a:hover,
.footer__legal a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-block: 1.25rem;
}
.footer__bottom p {
  font-size: .8125rem;
  color: var(--text-light);
  text-align: center;
}

/* ── 14. Page Hero (inner pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 3rem;
}

.page-hero--small {
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 2.5rem;
}

.page-hero__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: .625rem;
}

.page-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  max-width: 600px;
}

/* ── 15. Page content / Prose ─────────────────────────────── */
.page-content {
  padding-block: 4rem;
}

.section-intro {
  margin-bottom: 3rem;
}

.prose {
  max-width: 72ch;
}

.prose h2 { font-size: 1.625rem; color: var(--navy); margin-top: 2.5rem; margin-bottom: .875rem; }
.prose h3 { font-size: 1.25rem; color: var(--navy); margin-top: 2rem; margin-bottom: .625rem; }
.prose p  { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.8; }
.prose ul, .prose ol { margin: 1rem 0 1.25rem 1.5rem; color: var(--text-muted); line-height: 1.8; }
.prose li { margin-bottom: .375rem; }
.prose a  { color: var(--teal); text-decoration: underline; }
.prose a:hover { color: var(--teal-dark); }
.prose strong { color: var(--text); font-weight: 600; }
.prose hr { border: none; border-top: 1px solid var(--border); margin-block: 2rem; }
.prose blockquote {
  border-left: 4px solid var(--teal);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
}

/* ── 16. Blog / Post grid ─────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 1rem;
}

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.post-card__img-wrap {
  height: 180px;
  overflow: hidden;
}
.post-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.post-card:hover .post-card__img-wrap img { transform: scale(1.04); }

.post-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__date {
  font-size: .8rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: block;
  margin-bottom: .5rem;
}

.post-card__title {
  font-size: 1.0625rem;
  margin-bottom: .75rem;
}
.post-card__title a {
  text-decoration: none;
  color: var(--navy);
  transition: color var(--dur) var(--ease);
}
.post-card__title a:hover { color: var(--teal); }

.post-card__summary {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

.post-card__link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  margin-top: auto;
}
.post-card__link:hover { color: var(--teal-dark); }

/* ── 17. Contact form ─────────────────────────────────────── */
.contact-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1fr 1.2fr; }
}

.contact-info h2 { font-size: 1.375rem; color: var(--navy); margin-bottom: 1rem; }
.contact-info p  { color: var(--text-muted); margin-bottom: .625rem; font-size: .9375rem; }
.contact-info a  { color: var(--teal); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail span { font-size: .9375rem; color: var(--text-muted); }

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-group label .required {
  color: var(--teal);
  margin-left: .2rem;
  font-weight: 700;
  font-size: .75rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9375rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8,145,178,.15);
  outline: none;
}
.form-control::placeholder { color: var(--text-light); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: .75rem;
}

/* ── 18. Utility / misc ───────────────────────────────────── */
.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;
}

.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
