/* ==========================================================================
   HOME INTERNET CAFE — Main Stylesheet
   Design system: "Service Ticket" — perforated ticket-stub cards for pricing,
   inspired by the print counter this business is built around.
   ========================================================================== */

:root {
  /* Colour tokens */
  --ink: #12212e;
  --ink-light: #1e3a52;
  --ink-lighter: #2b4d6b;
  --paper: #f4f5f1;
  --paper-alt: #eaebe3;
  --white: #ffffff;
  --accent: #ff7a1a;
  --accent-dark: #e0670f;
  --accent-tint: #fff1e4;
  --teal: #0ea5a0;
  --teal-dark: #0b8480;
  --teal-tint: #e3f6f5;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --text: #182229;
  --muted: #5b6670;
  --line: #d8d9d0;
  --line-strong: #b8bab0;
  --danger: #c4432c;

  /* Type */
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Consolas", monospace;

  /* Layout */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 8px 24px rgba(18, 33, 46, 0.08);
  --shadow-lg: 0 20px 48px rgba(18, 33, 46, 0.16);
  --max: 1180px;
  --header-h: 76px;
}

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

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

@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,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--text);
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 60ch;
}

/* Visible focus states everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.9rem 1.4rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

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

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

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

.section--tight {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

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

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

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--teal-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.section--ink .eyebrow {
  color: var(--accent);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  margin-top: 0.5rem;
}

.section-head p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.section--ink .section-head p {
  color: #c3d0da;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

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

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

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

.section--ink .btn-outline {
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(18, 33, 46, 0.06);
}

.section--ink .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.28);
}

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

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

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

.brand small {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

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

.nav-links a {
  color: #d8e0e6;
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.4rem 0.1rem;
  position: relative;
}

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

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

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

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 0.5rem;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-light) 62%, var(--ink-lighter) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.14) 1.5px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy .eyebrow {
  color: var(--accent);
  margin-bottom: 1rem;
}

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

.hero .lede {
  color: #c9d5de;
  margin-top: 1.1rem;
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* Trust strip */
.trust-strip {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: #dfe7ec;
}

.trust-strip svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero ticket illustration */
.hero-ticket-wrap {
  display: flex;
  justify-content: center;
}

.hero-ticket {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  width: min(340px, 100%);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
}

.hero-ticket::before,
.hero-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--ink-light);
  border-radius: 50%;
}

.hero-ticket::before {
  left: -13px;
}

.hero-ticket::after {
  right: -13px;
}

.hero-ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 2px dashed var(--line-strong);
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
}

.hero-ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  padding: 0.5rem 0;
}

.hero-ticket-row span:first-child {
  color: var(--text);
}

.hero-ticket-row span:last-child {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink);
}

.hero-ticket-foot {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 2px dashed var(--line-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--teal-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Category cards (homepage service preview) ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.category-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal-dark);
}

.category-icon svg {
  width: 28px;
  height: 28px;
}

.category-card h3 {
  font-size: 1.08rem;
}

.category-card p {
  color: var(--muted);
  font-size: 0.94rem;
  flex-grow: 1;
}

.category-card .card-link {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.category-card .card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

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

/* ---------- Ticket / pricing card (signature component) ---------- */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem 1.6rem;
}

.ticket {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--paper);
  border-radius: 50%;
  border: 1px solid var(--line);
}

.section--alt .ticket::before,
.section--alt .ticket::after {
  background: var(--paper-alt);
}

.ticket::before {
  left: -12px;
}

.ticket::after {
  right: -12px;
}

.ticket-top {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.ticket-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ticket-icon svg {
  width: 24px;
  height: 24px;
}

.ticket h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.ticket .ticket-desc {
  color: var(--muted);
  font-size: 0.92rem;
}

.ticket-divider {
  border-top: 2px dashed var(--line-strong);
  margin-top: 0.2rem;
}

.ticket-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 0.9rem;
}

.ticket-price {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
}

.ticket-price .price-note {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  display: block;
  margin-top: 0.15rem;
}

.ticket .btn {
  margin-top: 0.4rem;
}

.ticket-highlight {
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(255, 122, 26, 0.18);
}

.ticket-highlight::before,
.ticket-highlight::after {
  border-color: var(--accent);
}

.ticket-tag {
  position: absolute;
  top: -13px;
  left: 1.5rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

/* ---------- Popular combo banner (homepage) ---------- */
.combo {
  position: relative;
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  overflow: hidden;
}

.combo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 280px at 100% 0%, rgba(255, 122, 26, 0.22), transparent 60%);
  pointer-events: none;
}

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

.combo p {
  color: #c9d5de;
}

.combo-ribbon {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

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

/* Combo strikethrough pricing */
.combo-prices {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-top: 0.9rem;
}

.combo-was {
  font-family: var(--mono);
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1.05rem;
}

.combo-now {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--accent-dark);
}

.combo-includes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.2rem 0 0.4rem;
}

.combo-includes li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--text);
}

.combo-includes svg {
  width: 16px;
  height: 16px;
  color: var(--teal-dark);
  flex-shrink: 0;
}

/* ---------- Simple pricing table (printing & copying) ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--paper-alt);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td.amount {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

/* ---------- Highlight banner (No Fix No Fee etc) ---------- */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: var(--teal-tint);
  color: var(--teal-dark);
  border: 1px dashed var(--teal);
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: max-content;
  margin-inline: auto;
}

.banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}

.step-number {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--ink);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-lighter) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: #c9d5de;
  max-width: 48ch;
}

.cta-band-ctas {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta-band .eyebrow {
  color: var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b7c4cd;
  padding-block: 3.2rem 1.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.4rem;
}

.footer-brand .brand {
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: #93a3ae;
  font-size: 0.92rem;
  max-width: 32ch;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--mono);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: #b7c4cd;
  font-size: 0.94rem;
}

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

.footer-bottom {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.84rem;
  color: #7f8f9a;
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 600;
  background: var(--whatsapp);
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.3rem;
  bottom: 5.6rem;
  z-index: 590;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(2.6rem, 5vw, 3.6rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.12) 1.5px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.5;
}

.page-hero .container {
  position: relative;
}

.breadcrumb {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #9fb0bb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}

.breadcrumb a {
  color: #9fb0bb;
}

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

.page-hero h1 {
  color: var(--white);
  max-width: 26ch;
}

.page-hero .lede {
  color: #c9d5de;
  margin-top: 0.8rem;
}

/* ---------- Filter tabs (services page) ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.4rem;
}

.filter-tab {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}

.filter-tab:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.filter-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.service-category-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 3rem 0 1.6rem;
}

.service-category-heading:first-of-type {
  margin-top: 0;
}

.service-category-heading .category-icon {
  width: 40px;
  height: 40px;
}

.service-category-heading .category-icon svg {
  width: 22px;
  height: 22px;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0.2rem;
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--teal-dark);
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  color: var(--muted);
  padding: 0 0.2rem 1.4rem;
}

/* ---------- About page ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
}

.value-card svg {
  width: 30px;
  height: 30px;
  color: var(--teal-dark);
  margin-inline: auto 1rem;
  margin-bottom: 0.8rem;
}

.value-card h3 {
  font-size: 0.98rem;
}

.about-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-lead .stamp {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  border: 1px dashed var(--teal);
  border-radius: 8px;
  padding: 1.2rem;
  background: var(--teal-tint);
}

/* ---------- Applications page ---------- */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
}

.panel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.panel-card h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.panel-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1rem;
}

.panel-card ul li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--text);
}

.panel-card ul svg {
  width: 17px;
  height: 17px;
  color: var(--teal-dark);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.6rem;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.contact-row {
  display: flex;
  gap: 0.9rem;
  padding-block: 0.9rem;
  border-bottom: 1px dashed var(--line);
}

.contact-row:last-of-type {
  border-bottom: none;
}

.contact-row svg {
  width: 20px;
  height: 20px;
  color: var(--teal-dark);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-row h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--mono);
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field .required {
  color: var(--accent-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 165, 160, 0.14);
  outline: none;
}

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

.field-error {
  font-size: 0.8rem;
  color: var(--danger);
  min-height: 1.1em;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--danger);
}

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

.form-status {
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.form-status.is-success {
  display: block;
  background: var(--teal-tint);
  color: var(--teal-dark);
  border: 1px solid var(--teal);
}

.form-status.is-error {
  display: block;
  background: #fbeae6;
  color: var(--danger);
  border: 1px solid var(--danger);
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 4rem;
}

.error-page .eyebrow {
  justify-content: center;
}

.error-code {
  font-family: var(--mono);
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-block: 0.6rem;
}

/* ---------- Reveal-on-scroll base state ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  animation: reveal-up 0.6s ease forwards;
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

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

.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;
}
