/* Light theme override */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #1a2432;
  --muted: #5f7288;
  --brand: #0e7f9e;
  --brand-2: #d8b15a;
  --line: rgba(31, 54, 83, 0.14);
  --shadow: 0 12px 28px rgba(18, 43, 74, 0.08);
  --ink-strong: #1d2d3e;
  --muted-strong: #4f647c;
}

body {
  background: radial-gradient(circle at 0 0, #ffffff 0%, #f5f7fb 38%, #eef2f8 100%);
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(28, 56, 88, 0.12);
  backdrop-filter: blur(8px);
}

.site-brand {
  color: #1b2939;
}

.site-brand-main {
  color: #1d2d3e;
}

.site-brand-accent {
  color: #c8a14a;
}

.site-logo-placeholder {
  border-color: rgba(44, 78, 116, 0.28);
  color: #6f8399;
  background: rgba(255, 255, 255, 0.8);
}

.primary-nav a {
  color: #2c3f55;
}

.primary-nav .current-menu-item > a::before {
  background: #d95454;
  box-shadow: 0 0 0 3px rgba(217, 84, 84, 0.14);
}

.primary-nav a::after {
  background: #0e7f9e;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: #0e7f9e;
}

.lang-switch-btn {
  color: #274059;
  background: rgba(14, 127, 158, 0.1);
}

.lang-switch-btn:hover {
  color: #0f6f8a;
  background: rgba(14, 127, 158, 0.18);
}

.lang-switch-menu {
  background: #ffffff;
  border-color: rgba(28, 56, 88, 0.16);
  box-shadow: 0 12px 30px rgba(16, 42, 75, 0.12);
}

.lang-option {
  color: #3f566f;
}

.lang-option:hover,
.lang-option.is-active {
  background: rgba(14, 127, 158, 0.12);
  color: #0e7f9e;
}

.hero-stack .hero-copy {
  max-width: min(1320px, 94vw);
  margin: 0 auto;
  text-align: center;
}

.hero-stack .container {
  width: min(1360px, 94vw);
}

.hero-stack .hero-copy h1 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.55rem, 2vw, 2.4rem);
  line-height: 1.2;
  white-space: nowrap;
}

.hero-stack .hero-copy p {
  display: inline-block;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.08rem, 1.55vw, 1.78rem);
  line-height: 1.58;
  white-space: nowrap;
}

.applications-section .apps-lead p {
  max-width: none;
  white-space: nowrap;
}

.applications-section .apps-lead h3 {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .hero-stack .hero-copy h1,
  .hero-stack .hero-copy p {
    white-space: normal;
  }

  .applications-section .apps-lead h3 {
    white-space: normal;
  }

  .hero-stack .hero-copy p {
    display: block;
    max-width: min(980px, 92%);
  }
}

.hero-stack .hero-cta {
  justify-content: center;
}

.hero-stack .hero-cta .btn {
  min-width: 260px;
}

.hero-stack .hero-cta .btn-secondary {
  background: var(--brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(14, 111, 116, 0.24);
}

.hero-stack .hero-cta .btn-secondary:hover {
  transform: translateY(-1px);
}

.certificates-section .cert-layout {
  display: block;
}

.certificates-section .cert-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.certificates-section .cert-media .cert-wide {
  grid-column: auto;
}

.contact-section .info-panel .contact-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 8px;
}

.contact-section .info-panel .contact-meta-col p {
  margin: 8px 0;
}

.section-title,
.hero-copy h1,
.apps-lead h3,
.trust-card h3,
.product-item h3,
.card h3,
.links-intro h2 {
  color: var(--ink-strong);
}

.section-intro,
.hero-copy p,
.product-item p,
.apps-lead p,
.trust-card p,
.card p,
.page-head p,
.links-intro p,
.post-excerpt,
.post-meta,
.info-panel p {
  color: #60758d;
}

.card,
.product-item,
.post-card,
.category-card,
.info-panel,
.trust-card,
.map-frame,
.cert-media figure,
.media-grid figure {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(25, 53, 83, 0.1);
  box-shadow: 0 10px 24px rgba(16, 42, 73, 0.08);
}

.product-tag,
.trust-stats strong,
.feature-list-compact li::before {
  color: #0e7f9e;
}

.app-tile,
.applications-section .app-tile {
  border-color: rgba(35, 64, 96, 0.2);
}

.applications-section .apps-lead,
.applications-section .apps-grid {
  border-top-color: rgba(35, 64, 96, 0.2);
  border-bottom-color: rgba(35, 64, 96, 0.2);
}

.highlight,
.links-hub-section {
  background: transparent;
  border-top-color: rgba(35, 64, 96, 0.12);
  border-bottom-color: rgba(35, 64, 96, 0.12);
}

.links-intro {
  border-right-color: rgba(35, 64, 96, 0.18);
}

.links-col h3 {
  color: #3c5672;
}

.links-col a {
  color: #49627d;
  border-bottom-color: rgba(35, 64, 96, 0.16);
}

.links-col a:hover {
  color: #0e7f9e;
}

.site-footer {
  background: #f0f4fa;
  border-top: 1px solid rgba(29, 57, 89, 0.14);
}

.site-footer .container {
  color: #5f7388;
}

main :where(h1, h2, h3, h4, h5, h6),
.section-title,
.hero-copy h1,
.applications-section .app-tile h3,
.links-col h3,
.site-main .post-title,
.site-main .entry-title {
  color: var(--ink-strong);
}

main :where(p, li, dd, dt, small),
.section-intro,
.hero-copy p,
.apps-lead p,
.trust-card p,
.product-item p,
.post-excerpt,
.post-meta,
.page-head p,
.info-panel p,
.certificates-section .cert-summary ul,
.certificates-section .cert-media figcaption,
.trust-section .trust-group-label,
.trust-section .trust-stats span,
.trust-section .feature-list-compact p,
.products-section .product-item p,
.contact-section .info-panel p {
  color: var(--muted-strong);
}

.links-col a,
.site-main a:not(.btn):not(.lang-switch-btn):not(.lang-option) {
  color: #36516d;
}

.links-col a:hover,
.site-main a:not(.btn):not(.lang-switch-btn):not(.lang-option):hover {
  color: #0e7f9e;
}

@media (max-width: 800px) {
  .primary-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(29, 57, 89, 0.14);
  }

  .primary-nav a {
    border-bottom-color: rgba(29, 57, 89, 0.12);
  }

  .applications-section .apps-lead p {
    white-space: normal;
  }

  .certificates-section .cert-media {
    grid-template-columns: 1fr;
  }

  .contact-section .info-panel .contact-meta-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
