/* =====================================================
   KHODORA LTD — style.css
   Design system, layout & components
   ===================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --accent: #FFC600;
  --accent-strong: #E5B200;
  --accent-soft: rgba(255, 198, 0, 0.12);
  --accent-glow: rgba(255, 198, 0, 0.25);

  --ink: #0C0C0E;
  --ink-2: #131318;
  --ink-3: #1B1B22;
  --paper: #FAFAF7;
  --paper-2: #FFFFFF;

  --text: #1A1A1F;
  --text-muted: #55555E;
  --text-inverse: #F4F4F0;
  --text-inverse-muted: #A0A0AB;

  --line: rgba(12, 12, 14, 0.09);
  --line-inverse: rgba(255, 255, 255, 0.09);

  /* Type */
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --fs-hero: clamp(2.5rem, 5.5vw + 0.5rem, 4.5rem);
  --fs-h2: clamp(1.9rem, 3.2vw + 0.5rem, 3rem);
  --fs-h3: clamp(1.1rem, 1vw + 0.6rem, 1.3rem);
  --fs-lead: clamp(1.05rem, 0.6vw + 0.85rem, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Space & shape */
  --space-section: clamp(4.5rem, 9vw, 8.5rem);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadow */
  --shadow-soft: 0 6px 24px rgba(12, 12, 14, 0.07);
  --shadow-lift: 0 18px 48px rgba(12, 12, 14, 0.13);
  --shadow-glow: 0 8px 32px var(--accent-glow);

  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

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

::selection {
  background: var(--accent);
  color: var(--ink);
}

/* ---------- Utilities ---------- */
.container {
  width: min(100% - 3rem, 1200px);
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 3rem, 820px);
  margin-inline: auto;
}

.accent-text {
  color: transparent;
  background: linear-gradient(100deg, var(--accent) 20%, #FFDE59 50%, var(--accent) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-pan 6s linear infinite;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--text-inverse);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Glassmorphism ---------- */
.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft);
}

.glass-dark {
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-inverse);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-inverse);
  border-color: var(--line-inverse);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

.btn-outline:hover {
  background: var(--ink);
  color: var(--text-inverse);
}

.btn-lg {
  padding: 1.05rem 2.1rem;
  font-size: 1rem;
}

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(12, 12, 14, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line-inverse);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  display: grid;
  place-items: center;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--text-inverse);
}

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

.site-nav ul {
  display: flex;
  gap: 1.75rem;
}

.site-nav ul a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-inverse-muted);
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav ul a:hover,
.site-nav ul a.is-active {
  color: var(--text-inverse);
}

.site-nav ul a:hover::after,
.site-nav ul a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--text-inverse);
  transition: transform 0.3s ease, opacity 0.3s 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);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  background: var(--ink);
  color: var(--text-inverse);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 15%, rgba(255, 198, 0, 0.09), transparent 65%),
    radial-gradient(ellipse 50% 45% at 15% 85%, rgba(255, 198, 0, 0.05), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 198, 0, 0.28), transparent 70%);
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 340px;
  height: 340px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(255, 198, 0, 0.14), transparent 70%);
  animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-inverse-muted);
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-inverse);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  margin: 1.5rem 0 1.35rem;
}

.hero-lead {
  font-size: var(--fs-lead);
  color: var(--text-inverse-muted);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-inverse);
}

.hero-stat dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-inverse-muted);
  margin-bottom: 0.3rem;
}

.hero-stat dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 0.65rem;
}

.hero-card img {
  border-radius: calc(var(--radius-xl) - 0.65rem);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.badge-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ---------- Sections (shared) ---------- */
.section {
  padding-block: var(--space-section);
}

.section-dark {
  background: var(--ink);
  color: var(--text-inverse);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head-left {
  margin: 0 0 2rem;
  text-align: left;
  max-width: none;
}

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

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

.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
}

.section-lead {
  margin-top: 1.25rem;
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

.section-dark .section-lead {
  color: var(--text-inverse-muted);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.about-media {
  position: relative;
}

.about-img {
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}

.about-media-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.25rem;
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.about-media-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.about-media-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-points {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.5rem;
}

.about-points li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.point-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.9rem;
}

.about-points h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.about-points p {
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 198, 0, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.85rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-inverse-muted);
}

/* ---------- Process / timeline ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  counter-reset: step;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--line) 100%);
  opacity: 0.55;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px var(--paper), var(--shadow-soft);
}

.timeline-marker span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.timeline-card {
  flex: 1;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.timeline-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.6rem;
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

.timeline-tag {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

/* ---------- Technology ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.tech-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 198, 0, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.tech-abbr {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.tech-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}

.tech-card p {
  font-size: 0.83rem;
  color: var(--text-inverse-muted);
}

/* ---------- Security ---------- */
.security-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.security-copy > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.security-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.75rem;
}

.security-list li {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.security-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

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

.security-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.security-list p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.security-media {
  position: relative;
}

.security-img {
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}

.security-badge {
  position: absolute;
  top: 1.75rem;
  left: -1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.security-badge svg {
  width: 30px;
  height: 30px;
  color: var(--accent-strong);
  flex-shrink: 0;
}

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  position: relative;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 198, 0, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.why-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 198, 0, 0.5);
  display: block;
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-inverse-muted);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 1.75rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent-strong);
}

.faq-chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: -4px;
}

.faq-item[open] .faq-chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq-answer {
  padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

.faq-item[open] .faq-answer {
  animation: faq-open 0.35s ease both;
}

/* ---------- Company info ---------- */
.company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.company-card {
  padding: 1.9rem 1.75rem;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.company-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 198, 0, 0.35);
}

.company-card dt {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.company-card dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-soft), transparent 70%),
    var(--paper);
}

.contact-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 198, 0, 0.14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 198, 0, 0.1), transparent 40%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
}

.contact-lead {
  max-width: 34rem;
  margin: 1.25rem auto 2.5rem;
  color: var(--text-muted);
  font-size: var(--fs-lead);
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.contact-btn {
  min-width: 260px;
  padding: 1.15rem 2rem;
  text-align: left;
}

.contact-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.contact-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.contact-btn small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  opacity: 0.75;
}

.contact-note {
  margin-top: 2rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-inverse);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-inverse);
}

.footer-tagline {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-inverse-muted);
  max-width: 20rem;
}

.site-footer h3 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 1.15rem;
}

.footer-nav ul,
.footer-contact ul,
.footer-legal-info ul {
  display: grid;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-inverse-muted);
}

.footer-nav a,
.footer-contact a {
  transition: color 0.25s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-inverse-muted);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-links a {
  transition: color 0.25s ease;
}

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

/* ---------- Legal pages ---------- */
.legal-hero {
  background:
    radial-gradient(ellipse 60% 70% at 70% 0%, rgba(255, 198, 0, 0.08), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--text-inverse);
  padding: calc(var(--header-h) + 5rem) 0 4rem;
}

.legal-title {
  font-size: var(--fs-h2);
  font-weight: 800;
}

.legal-updated {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-inverse-muted);
}

.legal-body {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.legal-section {
  margin-bottom: 2.75rem;
}

.legal-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.legal-section p {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.4rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.legal-section a {
  color: var(--accent-strong);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section strong {
  color: var(--text);
}

.legal-cta {
  margin-top: 3.5rem;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--text-inverse);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.legal-cta p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
