/* ==========================================================
   BRIGHT TABLE CLUB — main.css
   ========================================================== */

/* ----- FONTS ----- */
@font-face {
  font-family: 'Prompt';
  src: url('/assets/fonts/Prompt/Prompt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Prompt';
  src: url('/assets/fonts/Prompt/Prompt-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ----- CUSTOM PROPERTIES ----- */
:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-red: #ff0000;
  --color-blue: #170c79;
  --color-soft-bg: #f7f7fb;
  --color-card: #ffffff;
  --color-text: #111111;
  --color-muted: #5f5f6f;
  --color-border: rgba(23, 12, 121, 0.14);
  --color-red-dark: #cc0000;
  --color-blue-soft: #2414a8;

  --gradient-brand: linear-gradient(to right, #170c79, #ff0000);
  --gradient-footer: linear-gradient(to bottom, #170c79, #0d0747);

  --container-max: 1200px;
  --container-pad: 1.5rem;
  --section-pad-v: 5rem;
  --section-pad-v-sm: 3rem;
  --gap: 1.5rem;
  --radius: 0.75rem;
  --transition: 0.3s ease;
}

/* ----- RESET ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Prompt', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

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

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ----- SCROLLBAR ----- */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-blue) var(--color-white);
}

::-webkit-scrollbar {
  width: 0.75rem;
}

::-webkit-scrollbar-track {
  background: var(--color-white);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #170c79, #ff0000);
  border-radius: 999px;
  border: 3px solid var(--color-white);
}

/* ----- ACCESSIBILITY ----- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--color-blue);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-red);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 4px;
}

/* ----- TYPOGRAPHY ----- */
h1 {
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1.15;
}

h2 {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.2;
}

h3 {
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.3;
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ----- LAYOUT ----- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad-v-sm);
}

/* ----- SECTION HEADER PATTERN ----- */
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-blue);
  margin-bottom: 0.75rem;
}

.section__title {
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.section__title--white {
  color: var(--color-white);
}

.section__desc {
  color: var(--color-muted);
  max-width: 640px;
}

.section__desc--white {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-block;
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.8rem 1.75rem;
  border-radius: 0.25rem;
  border: 2px solid transparent;
  line-height: 1;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.btn--primary:hover {
  background: var(--color-blue-soft);
  border-color: var(--color-blue-soft);
  box-shadow: 0 4px 20px rgba(23, 12, 121, 0.35);
}

.btn--accent {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn--accent:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.btn--secondary:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn--secondary-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--secondary-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

/* ----- CARDS ----- */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(23, 12, 121, 0.1);
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

.site-header.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 24px rgba(23, 12, 121, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-pad);
  max-width: calc(var(--container-max) + 3rem);
  margin-inline: auto;
  min-height: 4.5rem;
}

.site-header__logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.site-header__logo img {
  width: 140px;
  height: auto;
}

.logo--light {
  display: none;
}

.site-header.scrolled .logo--dark {
  display: none;
}
.site-header.scrolled .logo--light {
  display: block;
}

/* ----- Desktop Nav ----- */
.site-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list a,
.nav-list button {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.site-header.scrolled .nav-list a,
.site-header.scrolled .nav-list button {
  color: var(--color-text);
}

.nav-list a:hover,
.nav-list button:hover {
  color: var(--color-white);
}

.site-header.scrolled .nav-list a:hover,
.site-header.scrolled .nav-list button:hover {
  color: var(--color-blue);
}

/* ----- Mobile Toggle ----- */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: background var(--transition);
}

.site-header.scrolled .mobile-toggle__bar {
  background: var(--color-text);
}

/* ----- Mobile Menu Overlay ----- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
}

.mobile-overlay.is-open {
  display: block;
}

/* ----- Mobile Menu Panel ----- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--color-blue);
  z-index: 201;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.35s ease;
}

.mobile-menu.is-open {
  right: 0;
}

.mobile-menu__close {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.25rem;
  line-height: 0;
  transition: color var(--transition);
}

.mobile-menu__close:hover {
  color: var(--color-white);
}

.mobile-menu__close svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.mobile-menu a,
.mobile-menu button.mobile-link {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.9375rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: color var(--transition);
}

.mobile-menu a:hover,
.mobile-menu button.mobile-link:hover {
  color: var(--color-white);
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: linear-gradient(to bottom, #170c79, #0d0747);
  color: var(--color-white);
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

.footer-logo {
  display: block;
  margin-bottom: 1.25rem;
  line-height: 0;
}

.footer-logo img {
  width: 140px;
  height: auto;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 480px;
}

.footer-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item a {
  color: inherit;
  transition: color var(--transition);
}

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

.footer-contact-item svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  fill: rgba(255, 255, 255, 0.45);
}

.footer-nav-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-list a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

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

.footer-middle {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.25rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-legal-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

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

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   COOKIE BANNER
   ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #0d0747;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  padding: 1.25rem var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
  font-size: 0.875rem;
  line-height: 1.6;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__text a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ==========================================
   PAGE BANNER (about, contact, legal pages)
   ========================================== */
.page-banner {
  background: var(--gradient-brand);
  padding: 8rem var(--container-pad) 4rem;
  text-align: center;
}

.page-banner h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.75rem;
  max-width: 600px;
  margin-inline: auto;
}

/* ==========================================
   LEGAL PAGES
   ========================================== */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
  padding-block: var(--section-pad-v-sm);
}

.legal-content .legal-meta {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: clamp(1.125rem, 2.5vw, 1.4rem);
  margin-top: 2.25rem;
  margin-bottom: 0.625rem;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-content a {
  color: var(--color-blue);
  text-decoration: underline;
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================
   BREAKPOINTS
   ========================================== */
@media (min-width: 576px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
  }

  .cookie-banner__text {
    flex: 1;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--section-pad-v);
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (min-width: 992px) {
  .site-nav {
    display: block;
  }

  .mobile-toggle {
    display: none;
  }
}

@media (min-width: 1200px) {
  :root {
    --container-pad: 2rem;
  }

  .site-header__logo img {
    width: 160px;
  }

  .footer-logo img {
    width: 160px;
  }
}

/* ==========================================
   SECTION UTILITIES
   ========================================== */
.section--soft {
  background: var(--color-soft-bg);
}

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

.section-header--center {
  text-align: center;
}

.section-header--center .section__desc {
  margin-inline: auto;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(23, 12, 121, 0.82) 0%,
    rgba(13, 7, 71, 0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 9rem 5rem;
  max-width: 780px;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 620px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

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

/* ==========================================
   ABOUT
   ========================================== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-text {
  border-left: 4px solid var(--color-blue);
  padding-left: 1.75rem;
}

.about-text .section__title {
  margin-top: 0.5rem;
}

.about-text p {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.about-text p:last-of-type {
  margin-bottom: 1.75rem;
}

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

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(23, 12, 121, 0.12);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
  }
}

/* ==========================================
   OFFERS
   ========================================== */
.offers-grid {
  display: grid;
  gap: var(--gap);
}

.offer-card {
  display: flex;
  flex-direction: column;
}

.offer-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  flex-shrink: 0;
}

.offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offer-card:hover .offer-card__media img {
  transform: scale(1.04);
}

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

.offer-card__body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
  color: var(--color-text);
}

.offer-card__body p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.offer-card__body .btn {
  align-self: flex-start;
}

/* Highlight card (no image, gradient bg) */
.offer-card--highlight {
  background: var(--gradient-brand);
  border-color: transparent;
}

.offer-card__body--center {
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 320px;
}

.offer-card__icon {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.offer-card--highlight .offer-card__body h3 {
  color: var(--color-white);
}

.offer-card--highlight .offer-card__body p {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 576px) {
  .offers-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================
   EXPERIENCE
   ========================================== */
.experience-section {
  background: var(--gradient-brand);
}

.experience-section .section-label--white {
  color: rgba(255, 255, 255, 0.6);
}

.experience-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.experience-item {
  text-align: center;
  padding: 1.5rem;
}

.experience-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.experience-item h3 {
  color: var(--color-white);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin-bottom: 0.625rem;
}

.experience-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  line-height: 1.65;
}

@media (min-width: 576px) {
  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .experience-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* ==========================================
   TEMATYKI
   ========================================== */
.themes-grid {
  display: grid;
  gap: var(--gap);
}

.theme-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-blue);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.75rem 1.5rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(23, 12, 121, 0.1);
}

.theme-card__icon {
  color: var(--color-blue);
  margin-bottom: 1rem;
  display: block;
}

.theme-card h3 {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.theme-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
}

@media (min-width: 576px) {
  .themes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .themes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================
   CONTACT SECTION (homepage)
   ========================================== */
.contact-section {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.contact-section__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(23, 12, 121, 0.9) 0%,
    rgba(13, 7, 71, 0.95) 100%
  );
}

.contact-section__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  padding-block: 5rem;
}

.contact-info .section__title {
  margin-bottom: 1rem;
}

.contact-panel {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-panel__intro {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 0.25rem;
}

.contact-panel__person {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}

.contact-panel__phone {
  display: block;
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--color-blue);
  line-height: 1.1;
  transition: color var(--transition);
}

.contact-panel__phone:hover {
  color: var(--color-blue-soft);
}

.contact-panel__cta {
  align-self: flex-start;
}

.contact-panel__address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .contact-section__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* ==========================================
   ABOUT PAGE
   ========================================== */

/* Brand story two-column layout */
.about-story {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-story__text {
  border-left: 4px solid var(--color-blue);
  padding-left: 1.75rem;
}

.about-story__text .section__title {
  margin-top: 0.5rem;
}

.about-story__text p {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.about-story__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(23, 12, 121, 0.12);
}

.about-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .about-story {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Values grid */
.values-grid {
  display: grid;
  gap: var(--gap);
  margin-top: 0.5rem;
}

.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-blue);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 2rem 1.75rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(23, 12, 121, 0.1);
}

.value-card__icon {
  color: var(--color-blue);
  display: block;
  margin-bottom: 1.125rem;
}

.value-card h3 {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
}

@media (min-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* How we work — approach */
.approach-layout {
  display: grid;
  gap: 3rem;
}

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.approach-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.approach-step:first-child {
  border-top: 1px solid var(--color-border);
}

.approach-step__num {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  padding-top: 0.125rem;
  user-select: none;
}

.approach-step__content h3 {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.approach-step__content p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
}

@media (min-width: 992px) {
  .approach-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
  }

  .approach-header {
    position: sticky;
    top: 7rem;
  }
}

/* CTA Banner */
.cta-banner {
  background: var(--gradient-brand);
  padding-block: 4rem;
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
}

.cta-banner__title {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.375rem;
}

.cta-banner__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

@media (min-width: 768px) {
  .cta-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cta-banner__inner .btn {
    flex-shrink: 0;
  }
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-page-section {
  background: var(--color-soft-bg);
}

.contact-page-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.contact-page-info .section__title {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.contact-page-info .section__desc {
  margin-bottom: 1.75rem;
}

.contact-page-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  list-style: none;
}

.contact-page-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.contact-page-list svg {
  flex-shrink: 0;
  color: var(--color-blue);
}

/* Contact card */
.contact-page-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-blue);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: 0 8px 40px rgba(23, 12, 121, 0.08);
}

.contact-page-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-blue);
  margin-bottom: 0.25rem;
}

.contact-page-card__person {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0;
}

.contact-page-card__role {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: -0.5rem;
}

.contact-page-card__phone {
  display: block;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.1;
  transition: color var(--transition);
  margin-block: 0.25rem;
}

.contact-page-card__phone:hover {
  color: var(--color-blue-soft);
}

.contact-page-card__cta {
  align-self: flex-start;
}

.contact-page-card__address {
  font-style: normal;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.contact-page-card__address-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.contact-page-card__address-row svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-blue);
  opacity: 0.6;
}

@media (min-width: 768px) {
  .contact-page-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}

/* ── 404 Page ──────────────────────────────────────────────── */

.not-found-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.not-found {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  padding: 3rem 0;
}

.not-found__code {
  font-size: clamp(6rem, 20vw, 11rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.5rem;
  display: block;
}

.not-found__title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin: 0 0 1rem;
  color: var(--color-text);
}

.not-found__desc {
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.not-found__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
