/* ============ SITE HEADER ============ */
/* Editorial-white treatment: header is mostly transparent over the
   hero so the white hero zone reads as one continuous canvas, then
   becomes a solid white pill with a subtle bottom hairline once the
   user scrolls past the hero. The dark gradient overlay from the
   old palette is gone — it would have created a dark band on a white
   page. */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  transition: background var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--ink-100);
  box-shadow: 0 14px 40px -22px rgba(38, 26, 107, 0.18);
}

body.theme-paper .site-header {
  background: rgba(250, 247, 240, 0.85);
  border-bottom: 1px solid rgba(59, 31, 107, 0.1);
}

body.theme-paper .site-header.is-scrolled {
  background: rgba(250, 247, 240, 0.97);
  border-bottom-color: rgba(59, 31, 107, 0.18);
  box-shadow: 0 14px 40px -20px rgba(59, 31, 107, 0.18);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-6);
  padding-block: var(--sp-4);
}

.site-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--violet-900);
  isolation: isolate;
}

body.theme-paper .site-logo { color: var(--violet-900); }

.site-logo__mark {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: none;
  padding: 8px;
  border-radius: 59% 41% 56% 44% / 58% 52% 48% 42%;
  background: linear-gradient(145deg, #FFFFFF 0%, #F1EFED 100%);
  box-shadow:
    inset 6px 6px 12px rgba(14, 6, 38, 0.10),
    inset -6px -6px 14px rgba(255, 255, 255, 0.95),
    0 14px 30px -10px rgba(14, 6, 38, 0.5),
    0 4px 10px -4px rgba(14, 6, 38, 0.25);
  transition: border-radius 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.55s ease;
  overflow: hidden;
  isolation: isolate;
}

.site-logo__mark::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 14%;
  width: 38%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  filter: blur(1.2px);
  transform: rotate(-22deg);
  pointer-events: none;
  transition: all 0.55s ease;
}

.site-logo__mark::after {
  content: "";
  position: absolute;
  top: 26%;
  left: 24%;
  width: 14%;
  height: 7%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  filter: blur(0.6px);
  pointer-events: none;
  transition: all 0.55s ease;
}

.site-logo:hover .site-logo__mark {
  border-radius: 50%;
  transform: scale(1.06);
  box-shadow:
    inset 4px 4px 10px rgba(14, 6, 38, 0.08),
    inset -6px -6px 16px rgba(255, 255, 255, 1),
    0 20px 40px -12px rgba(14, 6, 38, 0.6),
    0 6px 14px -4px rgba(14, 6, 38, 0.3);
}

.site-logo:hover .site-logo__mark::before {
  top: 8%;
  left: 12%;
  width: 44%;
  height: 26%;
}

.site-logo:hover .site-logo__mark::after {
  top: 22%;
  left: 20%;
  width: 18%;
  height: 9%;
}

.site-logo__mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-logo__word {
  position: relative;
  z-index: 2;
}

.site-logo img:not(.site-logo__mark img) {
  height: 48px;
  width: auto;
}

.site-logo__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-logo__word strong {
  font-weight: 900;
  font-size: var(--fs-16);
  letter-spacing: var(--ls-wide);
}

.site-logo__word span {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--fs-12);
  opacity: 0.75;
}

.nav {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  padding: 0.35rem;
  background: rgba(59, 45, 142, 0.04);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-pill);
}

body.theme-paper .nav-list {
  background: rgba(59, 31, 107, 0.06);
  border-color: rgba(59, 31, 107, 0.1);
}

.nav-list a {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-900);
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

body.theme-paper .nav-list a { color: var(--violet-900); }

.nav-list a:hover { color: var(--violet-900); background: rgba(242, 201, 64, 0.18); }
body.theme-paper .nav-list a:hover { color: var(--magenta-600); background: transparent; }

.nav-list a.is-active {
  background: var(--gold-500);
  color: var(--violet-950);
}

.nav-list a.is-accent {
  background: linear-gradient(90deg, var(--magenta-500), var(--magenta-600));
  color: var(--paper);
  font-family: var(--font-arabic);
  font-weight: 700;
  padding-inline: 1.1rem;
}

.nav-list a.is-accent:hover { color: var(--gold-300); }

.site-header__end {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  border: 1px solid var(--ink-100);
  color: var(--ink-900);
  transition: border-color var(--dur-fast) var(--ease-out);
}

body.theme-paper .lang-toggle {
  border-color: rgba(59, 31, 107, 0.24);
  color: var(--violet-900);
}

.lang-toggle:hover { border-color: var(--gold-400); }

.lang-toggle span.is-active {
  color: var(--gold-400);
}

body.theme-paper .lang-toggle span.is-active { color: var(--magenta-600); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--paper);
}

body.theme-paper .nav-toggle {
  background: rgba(59, 31, 107, 0.08);
  border-color: rgba(59, 31, 107, 0.14);
  color: var(--violet-900);
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__icon { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-90deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold-500);
  color: var(--violet-950);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--violet-900);
  border: 1.5px solid var(--violet-900);
}

.btn--outline:hover {
  background: var(--violet-900);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--cream-50);
  color: var(--violet-900);
  border: 1px solid var(--ink-100);
}

.btn--ghost:hover { background: rgba(242, 201, 64, 0.18); border-color: var(--gold-400); }

.btn--magenta {
  background: linear-gradient(90deg, var(--magenta-500), var(--magenta-600));
  color: var(--paper);
  box-shadow: 0 20px 40px -14px rgba(209, 72, 143, 0.65);
}

.btn--magenta:hover { transform: translateY(-2px); }

.btn--dark {
  background: var(--violet-900);
  color: var(--paper);
}

.btn--dark:hover { background: var(--violet-800); transform: translateY(-2px); }

.btn__arrow {
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem 0.5rem 0.55rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  color: var(--violet-950);
  font-weight: 800;
  font-size: var(--fs-14);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-gold);
  transition: transform var(--dur-fast) var(--ease-out);
}

.phone-pill:hover { transform: translateY(-2px); }

.phone-pill__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--violet-950);
  color: var(--gold-400);
}

/* ============ RIBBON (gold bookmark) ============ */
.ribbon {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1.15rem 1.25rem 1.6rem;
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: var(--violet-950);
  font-family: var(--font-display);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-caps);
  min-width: 120px;
  box-shadow: var(--shadow-ribbon);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
}

.ribbon--lg {
  min-width: 180px;
  padding: 1.4rem 1.6rem 2rem;
  font-size: var(--fs-16);
}

.ribbon--hang {
  position: absolute;
  top: 0;
  left: 4%;
  z-index: 3;
}

.ribbon__logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: 6px;
}

.ribbon__logo img { width: 100%; height: auto; }

.ribbon-glow::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 80px;
  background: radial-gradient(ellipse, rgba(246, 201, 14, 0.5) 0%, transparent 70%);
  z-index: -1;
  filter: blur(18px);
}

/* ============ HEX TILE ============ */
.hex-tile {
  position: relative;
  aspect-ratio: 1 / 1.08;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.5rem 1.1rem 1.3rem;
  text-align: center;
  clip-path: polygon(50% 2%, 95% 25%, 95% 75%, 50% 98%, 5% 75%, 5% 25%);
  background: var(--paper);
  color: var(--violet-900);
  font-weight: 800;
  font-size: var(--fs-14);
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.hex-tile:hover { transform: translateY(-6px) rotate(-1deg); }

.hex-tile--gold {
  background: var(--gold-500);
  color: var(--violet-950);
}

/* Logo slot — fixed visual "air" above the name row so tiles with
   and without a logo share the same name baseline and the grid
   stays neat. Object-fit keeps every brand's aspect ratio intact. */
.hex-tile__logo {
  width: 70%;
  max-width: 140px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-tile__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Nama Water's official logo is published only as white-on-transparent.
   Flip it on the white tile so it reads as dark-on-white. */
.hex-tile__logo--invert img {
  filter: invert(1) hue-rotate(180deg);
}

/* Sohar University's only vector has a baked-in white background.
   Multiply blend erases the white on any tile colour (works on
   both paper and gold). */
.hex-tile__logo--multiply img {
  mix-blend-mode: multiply;
}

.hex-tile__name {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.2;
}

.hex-tile__name .ar {
  font-size: var(--fs-12);
  opacity: 0.75;
  font-weight: 700;
}

/* ============ WHATSAPP FAB ============ */
.wa-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px -8px rgba(37, 211, 102, 0.55),
              0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: var(--z-header);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.wa-fab:hover,
.wa-fab:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 14px 36px -10px rgba(37, 211, 102, 0.7),
              0 3px 8px rgba(0, 0, 0, 0.16);
}

html[dir="rtl"] .wa-fab { right: auto; left: 1.5rem; }

@media (max-width: 640px) {
  .wa-fab { width: 52px; height: 52px; bottom: 1rem; right: 1rem; }
  html[dir="rtl"] .wa-fab { right: auto; left: 1rem; }
}

/* ============ STAT ============ */
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
  color: var(--violet-900);
  text-shadow: 4px 4px 0 var(--gold-300);
}

.stat__label {
  font-size: var(--fs-14);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--ink-500);
  font-weight: 600;
}

body.theme-paper .stat__label { color: var(--ink-700); }

/* ============ MARQUEE ============ */
/* Cream rail with thin gold hairlines, brand-purple text. Reads as
   a continuous editorial banner rather than a dark band breaking
   the white page rhythm. */
.marquee {
  overflow: hidden;
  position: relative;
  border-block: 1px solid var(--gold-500);
  background: var(--cream-50);
  display: flex;
  width: 100%;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  padding-block: 1.1rem;
  padding-inline-end: 3rem;
  animation: marquee 32s linear infinite;
  flex-shrink: 0;
  min-width: max-content;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-20);
  letter-spacing: var(--ls-wide);
  color: var(--violet-900);
  white-space: nowrap;
}

.marquee__item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 14px rgba(246, 201, 14, 0.6);
}

.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============ SERVICE CARD ============ */
.service-card {
  position: relative;
  padding: 2rem 1.75rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--magenta-500), var(--gold-500));
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { opacity: 1; }

.service-card__num {
  font-family: var(--font-display);
  font-size: var(--fs-14);
  color: var(--magenta-600);
  letter-spacing: var(--ls-caps);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--violet-950);
  margin-bottom: 1.25rem;
}

.service-card__icon svg { width: 32px; height: 32px; }

.service-card h3 {
  font-size: clamp(1.15rem, 1.4vw, 1.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--violet-900);
  margin-bottom: 0.6rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.service-card ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card ul li {
  padding-left: 1.3rem;
  position: relative;
  font-size: var(--fs-14);
  color: var(--ink-700);
  line-height: 1.55;
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 14px; height: 2px;
  background: var(--gold-500);
}

.service-card__link {
  margin-top: auto;
  padding-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--violet-900);
  font-weight: 700;
  font-size: var(--fs-14);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  align-self: flex-start;
}

.service-card__link:hover { color: var(--magenta-600); }

/* ============ CREDENTIAL BADGE ============ */
.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(242, 201, 64, 0.18);
  border: 1px solid var(--gold-500);
  color: var(--violet-900);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.credential-badge__dot {
  width: 8px; height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-500);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--violet-950);
  color: rgba(255, 255, 255, 0.75);
  padding-block: var(--sp-16) var(--sp-6);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--magenta-600), var(--gold-500), var(--magenta-600));
  z-index: 3;
}

.site-footer .shell { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand__mark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  padding: 20px;
  margin-bottom: 1.5rem;
  border-radius: 59% 41% 56% 44% / 58% 52% 48% 42%;
  background: linear-gradient(145deg, #FFFFFF 0%, #F1EFED 100%);
  box-shadow:
    inset 14px 14px 22px rgba(14, 6, 38, 0.10),
    inset -14px -14px 30px rgba(255, 255, 255, 0.96),
    0 28px 60px -18px rgba(14, 6, 38, 0.55),
    0 8px 18px -6px rgba(14, 6, 38, 0.3);
  transition: border-radius 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.6s ease;
  overflow: hidden;
  isolation: isolate;
}

.footer-brand__mark::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 15%;
  width: 36%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  filter: blur(3px);
  transform: rotate(-22deg);
  pointer-events: none;
  transition: all 0.6s ease;
}

.footer-brand__mark::after {
  content: "";
  position: absolute;
  top: 26%;
  left: 26%;
  width: 14%;
  height: 7%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(1.2px);
  pointer-events: none;
  transition: all 0.6s ease;
}

.footer-brand:hover .footer-brand__mark {
  border-radius: 50%;
  transform: scale(1.04);
  box-shadow:
    inset 10px 10px 18px rgba(14, 6, 38, 0.08),
    inset -14px -14px 34px rgba(255, 255, 255, 1),
    0 36px 80px -22px rgba(14, 6, 38, 0.65),
    0 10px 22px -6px rgba(14, 6, 38, 0.35);
}

.footer-brand:hover .footer-brand__mark::before {
  top: 8%;
  left: 12%;
  width: 44%;
  height: 26%;
}

.footer-brand:hover .footer-brand__mark::after {
  top: 22%;
  left: 22%;
  width: 18%;
  height: 9%;
}

.footer-brand__mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.footer-brand img:not(.footer-brand__mark img) {
  width: 150px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: var(--fs-14);
  max-width: 360px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-caps);
  color: var(--gold-400);
  margin-bottom: 1.1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: var(--fs-14); transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--gold-400); }

.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
  list-style: none;
}
.footer-socials a {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(246, 201, 14, 0.12);
  color: var(--gold-500);
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.footer-socials a:hover {
  background: var(--gold-500);
  color: var(--violet-950);
  transform: translateY(-2px);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  font-size: var(--fs-12);
  flex-wrap: wrap;
}

.footer-legal__codes {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal__codes span {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ============ SECTION HEADER ============ */
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-head__intro { max-width: 48ch; }
.section-head__intro p {
  font-size: var(--fs-18);
  color: var(--ink-700);
  margin-top: 0.8rem;
}

body.theme-paper .section-head__intro p { color: var(--ink-700); }

@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ============ CTA BLOCK ============ */
.cta-block {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: var(--violet-950);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.cta-block::after {
  content: "";
  position: absolute;
  right: -12%; top: -40%;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--magenta-500) 0%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}

.cta-block__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .cta-block__inner { grid-template-columns: 1fr; }
}

/* ============ MOBILE NAV ============ */
@media (max-width: 1100px) {
  .site-logo__mark { width: 52px; height: 52px; }
  .site-header__inner { grid-template-columns: auto auto; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__end .phone-pill { display: none; }

  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--violet-950);
    padding: 2rem var(--gutter);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open .nav-list {
    flex-direction: column;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 0.5rem;
  }
  .nav.is-open .nav-list a {
    display: block;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    font-size: var(--fs-18);
    color: var(--paper);
  }
  body.theme-paper .nav.is-open {
    background: var(--cream-50);
  }
  body.theme-paper .nav.is-open .nav-list a {
    color: var(--violet-900);
    border-color: rgba(59, 31, 107, 0.18);
  }
}
