/* ============================================================
   Web2Front — Design & Development
   Pure HTML/CSS/JS stylesheet. No external libraries.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #0A0A0A;
  --navy-800: #141414;
  --navy-700: #1F1F1F;
  --accent: #111111;
  --accent-dark: #2B2B2B;
  --accent-soft: #F2F2F2;
  --accent-rgb: 17, 17, 17;

  --ink: #111111;
  --ink-soft: #4A4A4A;
  --muted: #777777;

  --bg: #FFFFFF;
  --bg-soft: #F7F7F7;
  --line: #E6E6E6;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(11, 26, 43, 0.05), 0 1px 6px rgba(11, 26, 43, 0.04);
  --shadow-md: 0 6px 24px rgba(11, 26, 43, 0.08);
  --shadow-lg: 0 18px 48px rgba(11, 26, 43, 0.12);

  --container: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--accent-dark);
}

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

ul,
ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
}

h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  letter-spacing: -0.01em;
}

p {
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.lead-light {
  color: #C2C2C2;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

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

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

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

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

/* Asymmetric split layout (content + steps), stacks on narrow screens */
.grid-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
}

.grid-split-reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
}

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

  .grid-split,
  .grid-split-reverse {
    grid-template-columns: 1fr;
  }
}

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

.center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease, transform 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.18);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.26);
}

.btn-outline {
  background: transparent;
  border-color: rgba(var(--accent-rgb), 0.45);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-lg {
  padding: 1rem 1.8rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active {
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

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

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.5rem var(--gutter) 1rem;
  }

  .nav-links.open a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

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

  .nav-links.open a.active {
    color: var(--accent);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1100px 520px at 82% -12%,
      rgba(255, 255, 255, 0.08),
      transparent 60%
    ),
    radial-gradient(760px 420px at 8% 108%, rgba(180, 180, 180, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7rem);
  max-width: 780px;
}

.hero-inner h1 {
  color: #fff;
  margin-bottom: 1.1rem;
}

.hero-inner h1 .accent-text {
  color: #E9E9E9;
}

.hero-inner .lead {
  margin-bottom: 2rem;
  color: #C2C2C2;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 0.88rem;
  color: #9D9D9D;
}

/* ---------- Feature cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #DADADA;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

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

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.card-link svg {
  transition: transform 0.2s ease;
}

.card-link:hover svg {
  transform: translateX(3px);
}

/* ---------- Team cards ---------- */
.team-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #DADADA;
}

.team-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  perspective: 1000px;
  border-bottom: 3px solid var(--accent);

  --back-grad: linear-gradient(150deg, #2B2B2B 0%, #111111 100%);
  --back-initials: rgba(255, 255, 255, 0.92);
  --back-text: rgba(255, 255, 255, 0.82);
}

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

.team-photo:hover .team-front,
.team-photo:focus-visible .team-front,
.team-photo:focus-within .team-front {
  opacity: 0;
  transform: scale(0.9);
  filter: blur(2px);
}

.team-photo:hover .team-back,
.team-photo:focus-visible .team-back,
.team-photo:focus-within .team-back {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.team-back {
  opacity: 0;
  transform: scale(0.9);
  filter: blur(2px);
  pointer-events: none;
  background: var(--back-grad);
}

.team-back .project-initials {
  font-size: 2.6rem;
  color: var(--back-initials);
  margin-bottom: 0.25rem;
}

.team-body {
  padding: 1.6rem 1.75rem 1.25rem;
  flex: 1;
}

.team-body h3 {
  margin-bottom: 0.35rem;
}

.team-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

.team-role::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin: 0.65rem 0 1rem;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.team-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.75rem 1.05rem;
  border-top: 1px solid var(--line);
}

.team-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.team-loc svg {
  color: var(--accent);
  flex-shrink: 0;
}

.team-social {
  display: flex;
  gap: 0.45rem;
}

.team-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.team-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Project cards ---------- */
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #DADADA;
}

.project-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  perspective: 1000px;

  --front-grad: linear-gradient(135deg, #F4F4F4 0%, #D9D9D9 100%);
  --back-grad: linear-gradient(150deg, #2B2B2B 0%, #111111 100%);
  --front-initials: rgba(28, 28, 28, 0.14);
  --back-initials: rgba(255, 255, 255, 0.92);
  --back-text: rgba(255, 255, 255, 0.82);
}

.site-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
  pointer-events: none;
}

.flip-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.flip-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  justify-items: center;
  padding: 1.25rem;
  text-align: center;
  transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}

.project-preview:hover .flip-front,
.project-preview:focus-visible .flip-front,
.project-preview:focus-within .flip-front {
  opacity: 0;
  transform: scale(0.9);
  filter: blur(2px);
}

.project-preview:hover .flip-back,
.project-preview:focus-visible .flip-back,
.project-preview:focus-within .flip-back {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.project-initials {
  font-weight: 800;
  user-select: none;
}

.flip-front {
  background: var(--front-grad);
}

.flip-back {
  opacity: 0;
  transform: scale(0.9);
  filter: blur(2px);
  pointer-events: none;
  background: var(--back-grad);
}

.flip-front .project-initials {
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  color: var(--front-initials);
}

.flip-back .project-initials {
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--back-initials);
  opacity: 0.95;
}

.flip-desc {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--back-text);
  max-width: 30ch;
}

.flip-visit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.05rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
}

.flip-visit:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

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

.project-body h3 {
  margin-bottom: 0.4rem;
}

.project-body p {
  font-size: 0.93rem;
  flex: 1;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.tag.template {
  color: #555555;
  background: #EDEDED;
}

.project-link {
  font-size: 0.86rem;
  font-weight: 600;
}

/* ---------- Product / feature panel ---------- */
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}

.panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -140px;
  top: -160px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(70px);
  pointer-events: none;
}

.panel h2 {
  color: #fff;
  margin-bottom: 0.9rem;
}

.panel p {
  color: #C2C2C2;
  max-width: 58ch;
}

.panel .panel-inner {
  position: relative;
  max-width: 640px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: #D4D4D4;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

/* ---------- Steps / numbered list ---------- */
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 0;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
}

.step h3 {
  margin-bottom: 0.3rem;
}

.step p {
  font-size: 0.95rem;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.5rem;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.addons-note {
  margin-top: 1.75rem;
  padding: 1.25rem 1.6rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.addons-note h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.addons-note p {
  font-size: 0.95rem;
  color: var(--muted);
}

.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

.price-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.price-amount {
  margin: 0.6rem 0 0.25rem;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.price-list {
  margin-bottom: 1.5rem;
  flex: 1;
}

.price-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Info / stat rows ---------- */
.value-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.value-row:first-of-type {
  padding-top: 0;
}

.value-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.big-stat {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.1;
  min-width: 96px;
}

.value-row h3 {
  margin-bottom: 0.3rem;
}

.value-row p {
  font-size: 0.95rem;
}

/* ---------- Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

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

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

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid #D9D9D9;
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.form-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 0.75rem;
  background: #F4F4F4;
  border: 1px solid #DDDDDD;
  color: #222222;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  margin-top: 1.25rem;
}

.form-success.show {
  display: flex;
}

/* ---------- Contact cards ---------- */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.contact-card .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.contact-card p {
  font-size: 0.88rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, #F1F5FA, var(--bg));
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}

.page-hero h1 {
  margin-bottom: 0.9rem;
}

.page-hero .lead {
  max-width: 64ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.7rem;
}

.cta-band p {
  color: #C2C2C2;
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #A0A0A0;
  margin-top: clamp(3rem, 7vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 3rem 2.25rem;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 0.9rem;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 34ch;
  color: #A0A0A0;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: #A0A0A0;
  font-size: 0.92rem;
  padding-block: 0.3rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  color: #8A8A8A;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.45);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}