/* ==========================================================================
   Thekan Services — design tokens
   ========================================================================== */
:root {
  color-scheme: light;
  --navy: #002e5b;
  --navy-700: #013e77;
  --navy-900: #001b38;
  --accent: #002e5b;
  --yellow: #fde428;
  --yellow-600: #f0d200;
  --ink: #1a2433;
  --body: #45566e;
  --muted: #7a8ba3;
  --line: #e7ebf1;
  --surface: #ffffff;
  --surface-alt: #f5f7fa;
  --surface-navy: #002e5b;
  --shadow-sm: 0 1px 2px rgba(16, 34, 64, 0.06), 0 1px 3px rgba(16, 34, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 34, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 20, 45, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --font-display: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  line-height: 1.7;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.is-active {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

.hide-on-mobile {
  display: initial;
}

.show-on-mobile {
  display: none;
}

@media (max-width: 860px) {
  .hide-on-mobile { display: none; }
  .show-on-mobile { display: initial; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--navy-700);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 46, 91, 0.28);
}

.btn-accent {
  background: var(--yellow);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background: var(--yellow-600);
  color: var(--navy-900);
  box-shadow: 0 12px 24px rgba(253, 228, 40, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

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

.btn-outline-navy {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

/* ==========================================================================
   Top utility bar + header
   ========================================================================== */
.topbar {
  background: var(--surface);
  border-top: 3px solid var(--yellow);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 500;
  padding: 3px 22px;
  border-left: 1px solid var(--line);
}

.topbar__item:first-child {
  padding-left: 0;
  border-left: none;
}

.topbar__item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-size: 9px;
  flex-shrink: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-900);
}

.brand__logo {
  height: 38px;
  width: auto;
  display: block;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 13.5px;
  padding: 6px 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-links a.is-active {
  border-bottom-color: var(--yellow);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--accent);
  padding: 6px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
}

.mobile-menu a.is-active {
  color: var(--accent);
  font-weight: 700;
  background: var(--surface-alt);
}

@media (max-width: 900px) {
  .nav-links,
  .navbar__actions .btn {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy-900);
}

.hero .slick-slide {
  position: relative;
  height: 640px;
}

.hero__slide {
  position: relative;
  height: 640px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 20, 45, 0.92) 0%, rgba(0, 20, 45, 0.55) 48%, rgba(0, 20, 45, 0.25) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0 24px;
  margin-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  color: #fff;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 18px;
}

.hero__eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--yellow);
}

.hero__title {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero__desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  margin-bottom: 28px;
}

.hero .slick-dots {
  bottom: 26px;
}

.hero .slick-dots li button:before {
  color: #fff;
  opacity: 0.5;
  font-size: 9px;
}

.hero .slick-dots li.slick-active button:before {
  opacity: 1;
  color: var(--yellow);
}

.hero .slick-prev,
.hero .slick-next {
  z-index: 5;
  width: 44px;
  height: 44px;
}

.hero .slick-prev { left: 24px; }
.hero .slick-next { right: 24px; }

.hero .slick-prev:before,
.hero .slick-next:before {
  font-size: 26px;
  opacity: 0.85;
}

.hero-strip {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.hero-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.hero-strip h5 {
  margin: 0;
  font-size: 16px;
  color: var(--navy-900);
}

@media (max-width: 700px) {
  .hero .slick-slide,
  .hero__slide { height: 520px; }
  .hero__title { font-size: 30px; }
  .hero__content { margin-left: 0; }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section--tight {
  padding: 60px 0;
}

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

.section--navy {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.section--navy .section-title,
.section--navy .section-eyebrow {
  color: #fff;
}

.section--navy .section-eyebrow {
  color: var(--yellow);
}

.section--navy .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Services grid (home + our-services)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 18px;
}

.service-card:hover .service-card__icon {
  background: var(--navy);
  color: var(--yellow);
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 0;
}

/* Card variant with a photo (Our Services page) */
.service-card-photo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-photo__img {
  height: 190px;
  object-fit: cover;
  width: 100%;
}

.service-card-photo__body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-photo h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.service-card-photo h3 a {
  color: var(--ink);
}

.service-card-photo h3 a:hover {
  color: var(--accent);
}

.service-card-photo p {
  font-size: 13.5px;
  color: var(--body);
  flex: 1;
}

.service-card-photo__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-photo__link:hover {
  color: var(--yellow-600);
}

/* ==========================================================================
   Stat / quote banner (replaces .integritySection)
   ========================================================================== */
.quote-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.quote-banner__overlay {
  background: linear-gradient(120deg, rgba(0, 20, 45, 0.88), rgba(0, 46, 91, 0.72));
  padding: 90px 24px;
  text-align: center;
}

.quote-banner__text {
  max-width: 780px;
  margin: 0 auto;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  font-family: var(--font-display);
}

.quote-banner__text span {
  color: var(--yellow);
}

/* ==========================================================================
   Split info section (image/video + text)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 56px;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 1fr minmax(280px, 420px);
}

.split--reverse .split__media {
  order: 2;
}

.split__media img,
.split__media video {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.split__media video {
  aspect-ratio: 16/10;
  object-fit: cover;
}

.split__body h2 {
  font-size: 26px;
}

.split__body .btn {
  margin-top: 8px;
}

@media (max-width: 860px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .quote-banner__text {
    font-size: 22px;
  }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px 26px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.testimonial-card i.fa-quote-left {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--body);
  font-style: italic;
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--ink);
  font-size: 14.5px;
}

.testimonial-card__job {
  color: var(--muted);
  font-size: 12.5px;
}

/* ==========================================================================
   Partners strip
   ========================================================================== */
.partners-strip {
  display: flex;
  align-items: center;
  gap: 46px;
  overflow-x: auto;
  padding: 10px 4px 18px;
  scrollbar-width: none;
}

.partners-strip::-webkit-scrollbar {
  display: none;
}

.partners-strip img {
  height: 44px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.partners-strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   Page hero (interior page banners)
   ========================================================================== */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-900);
}

.page-hero__overlay {
  background: linear-gradient(120deg, rgba(0, 20, 45, 0.86), rgba(0, 46, 91, 0.68));
  padding: 74px 24px;
  text-align: center;
}

.page-hero__eyebrow {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.page-hero__title {
  color: #fff;
  font-size: 34px;
  margin: 0;
}

.page-hero--accent .page-hero__overlay {
  background: linear-gradient(120deg, rgba(253, 228, 40, 0.94), rgba(253, 228, 40, 0.82));
}

.page-hero--accent .page-hero__title {
  color: var(--navy-900);
}

.page-hero--accent .page-hero__eyebrow {
  color: var(--navy-700);
}

/* ==========================================================================
   About Us page
   ========================================================================== */
.about-overview {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-overview blockquote {
  margin: 22px 0 0;
  padding: 16px 20px;
  border-left: 4px solid var(--yellow);
  background: var(--surface-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink);
}

.about-sidebar {
  background: var(--yellow);
  border-radius: var(--radius-md);
  padding: 30px;
  position: sticky;
  top: 96px;
}

.about-sidebar h3 {
  color: var(--navy-900);
  font-size: 19px;
}

.about-sidebar p {
  color: rgba(0, 27, 56, 0.8);
  font-size: 14px;
}

@media (max-width: 860px) {
  .about-overview { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.value-card {
  text-align: center;
  padding: 30px 22px;
}

.value-card__num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}

.value-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13.5px;
  color: var(--body);
}

.about-block + .about-block {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding-top: 60px;
}

/* ==========================================================================
   Service detail page
   ========================================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.service-detail__media img,
.service-detail__media video {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
}

.service-detail__body h3 {
  font-size: 19px;
  margin-top: 30px;
}

.service-detail__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.office-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}

.office-card h3 {
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 16px;
}

.office-card__row {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--body);
  margin-bottom: 10px;
}

.office-card__row i {
  color: var(--accent);
  width: 16px;
  margin-top: 3px;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert-success,
.alert-error {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 16px;
}

.alert-success {
  background: #e7f6ed;
  color: #1e7a44;
  border: 1px solid #bfe8cf;
}

.alert-error {
  background: #fdecec;
  color: #b3261e;
  border: 1px solid #f6c6c3;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   Our Partners text list
   ========================================================================== */
.partner-name-grid {
  columns: 3;
  column-gap: 40px;
}

.partner-name-grid li {
  font-size: 14px;
  color: var(--body);
  break-inside: avoid;
}

@media (max-width: 860px) {
  .partner-name-grid { columns: 2; }
}

@media (max-width: 560px) {
  .partner-name-grid { columns: 1; }
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-banner h3 {
  color: #fff;
  margin: 0;
  font-size: 22px;
}

@media (max-width: 700px) {
  .cta-banner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 50px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-col p,
.footer-col li {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-col a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.footer-contact-row {
  display: flex;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-row i {
  color: var(--yellow);
  margin-top: 3px;
  width: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

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

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

/* ==========================================================================
   404 page
   ========================================================================== */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.error-page__code span {
  color: var(--yellow);
}

/* ==========================================================================
   Shop layout (category/product listing)
   ========================================================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.shop-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 96px;
}

.filter-group {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group__title {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--body);
  margin-bottom: 9px;
}

.filter-option a {
  color: var(--body);
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.filter-option a:hover {
  color: var(--accent);
}

.filter-option.is-active a {
  color: var(--accent);
  font-weight: 700;
}

.filter-option__count {
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  margin-bottom: 9px;
}

.filter-checkbox input {
  width: auto;
}

.price-range-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.price-range-row input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-toolbar select {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  background: var(--surface);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

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

.product-card__img-wrap {
  position: relative;
  height: 170px;
  background: var(--surface-alt);
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-card__badge--out {
  background: #b91c1c;
}

.product-card__body {
  padding: 16px 18px 20px;
}

.product-card h3 {
  font-size: 14.5px;
  margin-bottom: 6px;
}

.product-card h3 a {
  color: var(--ink);
}

.product-card h3 a:hover {
  color: var(--accent);
}

.product-card__category {
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-card__price {
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
}

.product-card__price--quote {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   Product detail
   ========================================================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-gallery__main {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.product-gallery__main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: zoom-in;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-gallery__thumbs img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.product-info__category {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

.product-info h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.product-info__price {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}

.product-info__price--quote {
  font-size: 16px;
  color: var(--muted);
}

.product-info__stock {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.product-info__stock.in-stock { color: #15803d; }
.product-info__stock.out-stock { color: #b91c1c; }

.variant-group {
  margin-bottom: 18px;
}

.variant-group__label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 10px;
  display: block;
}

.variant-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-swatch {
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.variant-swatch:hover {
  border-color: var(--accent);
}

.variant-swatch.is-selected {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty-stepper button {
  width: 38px;
  height: 42px;
  border: none;
  background: var(--surface-alt);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.qty-stepper input {
  width: 54px;
  height: 42px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.product-info__desc {
  font-size: 14px;
  color: var(--body);
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* ==========================================================================
   Forms (checkout, quote request, filters, etc.)
   ========================================================================== */
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
textarea,
select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 46, 91, 0.1);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.form-card h3 {
  margin-bottom: 18px;
}

.form-card:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Cart & Checkout
   ========================================================================== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 12px 10px;
  border-bottom: 2px solid var(--line);
}

.cart-table td {
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 14px;
}

.cart-line__product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-line__product img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.cart-line__name {
  font-weight: 600;
  color: var(--ink);
}

.cart-line__variant {
  font-size: 12.5px;
  color: var(--muted);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.summary-card {
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  padding: 26px;
  position: sticky;
  top: 96px;
}

.summary-card h3 {
  font-size: 16px;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--body);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row--total {
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  border-bottom: none;
  padding-top: 14px;
}

.payment-options {
  display: grid;
  gap: 12px;
  margin: 8px 0 20px;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
}

.payment-option input {
  width: auto;
  margin-top: 3px;
}

.payment-option strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.payment-option span {
  font-size: 12.5px;
  color: var(--muted);
}

.payment-option.is-checked {
  border-color: var(--accent);
  background: var(--surface-alt);
}

.bank-details-box {
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 18px;
  font-size: 13.5px;
  color: var(--body);
  margin-top: 14px;
  white-space: pre-line;
}

.order-confirmation {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.order-confirmation__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* ==========================================================================
   Events
   ========================================================================== */
.event-row {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.event-date-badge {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}

.event-date-badge__day {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.event-date-badge__month {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.event-row h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.event-row__meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.event-row__meta i {
  color: var(--accent);
  margin-right: 5px;
}

/* ==========================================================================
   Projects
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 300px;
  box-shadow: var(--shadow-sm);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 20, 45, 0.92) 0%, rgba(0, 20, 45, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
}

.project-card__category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 6px;
}

.project-card h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 0;
}

.project-card h3 a {
  color: #fff;
}

/* ==========================================================================
   Lightbox helper
   ========================================================================== */
.zoomable {
  cursor: zoom-in;
  position: relative;
}

/* ==========================================================================
   Chat widget
   ========================================================================== */
.chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  border: none;
  z-index: 200;
  cursor: pointer;
}

.chat-launcher__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--yellow);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: calc(100vh - 140px);
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 199;
}

.chat-panel.is-open {
  display: flex;
}

.chat-panel__header {
  background: var(--navy);
  padding: 16px 18px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-panel__header > span {
  color: #fff;
}

.chat-panel__header button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.chat-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--surface-alt);
}

.chat-panel__start {
  padding: 20px 18px;
}

.chat-panel__start p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.chat-bubble {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.chat-bubble--visitor {
  background: var(--navy);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 3px;
}

.chat-bubble--admin {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 3px;
}

.chat-bubble__time {
  display: block;
  font-size: 10px;
  opacity: 0.6;
  margin-top: 4px;
}

.chat-panel__footer {
  display: flex;
  border-top: 1px solid var(--line);
  padding: 10px;
  gap: 8px;
}

.chat-panel__footer input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 13px;
}

.chat-panel__footer button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  border: none;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .shop-layout,
  .product-detail-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar,
  .summary-card {
    position: static;
  }
}

/* ==========================================================================
   Pagination (generic override for Laravel's default paginator markup)
   ========================================================================== */
nav[role="navigation"] {
  display: flex;
  justify-content: center;
}

nav[role="navigation"] > div {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

nav[role="navigation"] span,
nav[role="navigation"] a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--body);
  border: 1px solid transparent;
}

nav[role="navigation"] a:hover {
  border-color: var(--line);
  color: var(--accent);
}

nav[role="navigation"] span[aria-current="page"] span {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
}

nav[role="navigation"] svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
}

.breadcrumbs a {
  color: var(--muted);
  font-weight: 500;
}

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

.breadcrumbs__sep {
  color: var(--line);
}

.breadcrumbs__current {
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   Project detail header (title block, no dark photo overlay)
   ========================================================================== */
.project-header {
  background: var(--navy-900);
  padding-bottom: 40px;
}

.project-header .container {
  padding-top: 36px;
}

.project-header__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 12px;
}

.project-header__title {
  color: #fff;
  font-size: 32px;
  margin-bottom: 16px;
}

.project-header__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.project-header__meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
}

.project-header__meta i {
  color: var(--yellow);
  margin-right: 7px;
}

.project-hero-image {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  margin-top: -80px;
  position: relative;
  z-index: 3;
}

.project-hero-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  cursor: zoom-in;
}

/* ==========================================================================
   Prose (rich text content areas)
   ========================================================================== */
.prose {
  font-size: 15.5px;
  color: var(--body);
  line-height: 1.8;
}

.prose h2 {
  font-size: 22px;
  margin-top: 36px;
}

.prose h3 {
  font-size: 18px;
  margin-top: 28px;
}

.prose p {
  margin-bottom: 18px;
}

.prose ul,
.prose ol {
  margin-bottom: 18px;
}

.prose li {
  margin-bottom: 8px;
}

.prose blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--yellow);
  background: var(--surface-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink);
}

/* ==========================================================================
   Captioned gallery (project detail)
   ========================================================================== */
.captioned-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.captioned-gallery__item {
  margin: 0;
}

.captioned-gallery__item a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.captioned-gallery__item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.captioned-gallery__item a:hover img {
  transform: scale(1.06);
}

.captioned-gallery__item figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ==========================================================================
   Stats / trust bar
   ========================================================================== */
.stats-bar {
  background: var(--navy-900);
  padding: 56px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item__value {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Scroll-reveal micro animation
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Sticky header elevation + back-to-top button
   ========================================================================== */
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(16, 34, 64, 0.08);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 94px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.back-to-top:hover {
  background: var(--navy);
  color: #fff;
}

@media (max-width: 700px) {
  .project-hero-image {
    margin-top: 0;
  }
}

/* ==========================================================================
   Dark mode
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    /* --navy/--navy-700 stay put: they're always paired with white/yellow
       text as a fill color (buttons, badges, icon circles), which reads
       fine on a dark page too. --accent is the lightened stand-in used
       wherever navy is rendered as plain text/border/icon color directly
       on a surface that flips dark. */
    --accent: #5b9df5;
    --ink: #eef2f7;
    --body: #b3c0d1;
    --muted: #8496ac;
    --line: #26323f;
    --surface: #141c28;
    --surface-alt: #0c131b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  }

  /* A couple of spots hardcode navy-900 as text color on a surface that flips
     dark; everywhere else navy-900 is a deliberately-always-dark section
     background (hero/footer/etc.) and doesn't need a dark-mode override. */
  :root:not([data-theme="light"]) .brand,
  :root:not([data-theme="light"]) .hero-strip h5 {
    color: var(--accent);
  }

  :root:not([data-theme="light"]) .alert-success {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.35);
  }

  :root:not([data-theme="light"]) .alert-error {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.35);
  }

  :root:not([data-theme="light"]) .product-info__stock.in-stock {
    color: #4ade80;
  }

  :root:not([data-theme="light"]) .product-info__stock.out-stock {
    color: #f87171;
  }

  :root:not([data-theme="light"]) .theme-toggle .fa-sun {
    display: inline;
  }

  :root:not([data-theme="light"]) .theme-toggle .fa-moon {
    display: none;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --accent: #5b9df5;
  --ink: #eef2f7;
  --body: #b3c0d1;
  --muted: #8496ac;
  --line: #26323f;
  --surface: #141c28;
  --surface-alt: #0c131b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
}

:root[data-theme="dark"] .brand,
:root[data-theme="dark"] .hero-strip h5 {
  color: var(--accent);
}

:root[data-theme="dark"] .alert-success {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.35);
}

:root[data-theme="dark"] .alert-error {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

:root[data-theme="dark"] .product-info__stock.in-stock {
  color: #4ade80;
}

:root[data-theme="dark"] .product-info__stock.out-stock {
  color: #f87171;
}

/* ==========================================================================
   Theme toggle button
   ========================================================================== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--surface-alt);
}

.theme-toggle .fa-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .fa-sun {
  display: inline;
}

:root[data-theme="dark"] .theme-toggle .fa-moon {
  display: none;
}
