/* Luxico Bio — approved full-page visual system */
:root {
  --ink: #173b63;
  --muted: #456581;
  --line: #d5e7f7;
  --paper: #ffffff;
  --soft: #f5faff;
  --soft-2: #eaf5ff;
  --surface: #f5faff;
  --surface-2: #eaf5ff;
  --brand: #8ec5ff;
  --brand-2: #3476b5;
  --brand-dark: #173b63;
  --teal: #4d8fd1;
  --accent: #d6ecff;
  --warning: #3476b5;
  --blue: #8ec5ff;
  --action: #3476b5;
  --shadow: none;
  --shadow-soft: none;
  --shadow-menu: none;
  --radius: 8px;
  --header-offset: 90px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 3px;
}

.site-header {
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.site-header .main-nav a:not(.nav-inquiry) {
  color: var(--brand-dark);
  transition: color .18s ease, background-color .18s ease;
}

.site-header .main-nav a:not(.nav-inquiry):hover,
.site-header .main-nav a:not(.nav-inquiry):focus-visible,
.site-header .main-nav a[aria-current="page"] {
  color: var(--action);
  background: var(--soft-2);
}

.site-header .main-nav .nav-inquiry,
.btn-primary {
  min-height: 48px;
  padding-inline: 24px;
  color: #ffffff;
  background: var(--action);
  border-color: var(--action);
  box-shadow: 0 8px 18px rgba(52, 118, 181, .22);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.site-header .main-nav .nav-inquiry:hover,
.site-header .main-nav .nav-inquiry:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible {
  color: #ffffff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.menu-toggle span {
  background: var(--brand-dark);
}

.eyebrow,
.text-link,
.product-card__body a,
.anchor-strip__grid a {
  color: var(--action);
}

.product-icon {
  color: var(--action);
}

.quality-grid span,
.process-grid span,
.service-grid span {
  color: #ffffff;
  background: var(--action);
}

.hero {
  color: #ffffff;
  background: var(--brand-dark);
}

.hero::after {
  background-image: none;
}

.hero-fullscreen-image {
  background: var(--soft-2);
}

.hero-controls button::before,
.hero-controls button.is-active::before {
  border-color: #ffffff;
}

.section-muted,
.section-band,
.anchor-strip,
.trust-strip {
  color: var(--ink);
  background: var(--soft);
}

.anchor-strip__grid a,
.trust-grid span,
.about-points span,
.quote-form label,
.section-copy,
.section-title,
.culture-grid article,
.quality-grid article,
.news-grid article,
.product-card {
  color: var(--ink);
}

.stat-grid,
.stat-grid div,
.culture-grid article,
.quality-grid article,
.news-grid article,
.product-card,
.service-grid article,
.resource-list a,
.quote-form {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

.stat-grid.company-stats .company-stat strong span {
  color: var(--brand-dark);
}

.stat-grid.company-stats .company-stat small,
.news-grid time {
  color: #456581;
}

.product-card__media,
.image-placeholder,
.image-panel,
.lab-panel--main,
.lab-stage,
.lab-stage--third {
  background: var(--soft-2);
  border-color: var(--line);
}

.product-card__media {
  background-image: none;
}

.mega-menu,
.language-menu__panel {
  border-color: var(--line);
  border-top-color: var(--brand-2);
  background: #ffffff;
  box-shadow: none;
}

.mega-menu__lead,
.quality-card--dark,
.esg-section {
  color: #ffffff;
  background: var(--brand-dark);
}

.mega-menu__lead span,
.esg-section p {
  color: #d9e9f9;
}

.product-card:hover,
.culture-grid article:hover,
.quality-grid article:hover,
.news-grid article:hover {
  border-color: var(--brand-2);
  box-shadow: 0 16px 34px rgba(23, 59, 99, .14);
  transform: translateY(-3px);
}

.product-feature-slide__media {
  background: transparent;
  border-color: transparent;
}

.quote-form {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote-form label {
  color: var(--ink);
}

.quote-form input,
.quote-form textarea {
  color: var(--ink);
  background: #fbfdff;
  border-color: var(--line);
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--action);
  outline: 3px solid rgba(52, 118, 181, .28);
  outline-offset: 1px;
}

.site-search {
  width: clamp(180px, 16vw, 220px);
  min-height: 48px;
  border: 1px solid #c8deee;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(23, 59, 99, .06);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.site-search:focus-within {
  border-color: var(--action);
  box-shadow: 0 0 0 3px rgba(52, 118, 181, .2), 0 8px 24px rgba(23, 59, 99, .06);
}

.site-search input {
  height: 46px;
  padding: 0 14px 0 46px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.site-search input::placeholder {
  color: #456581;
  opacity: 1;
}

.site-search input:focus {
  border: 0;
  outline: 0;
}

.site-search button {
  top: 6px;
  right: auto;
  left: 6px;
  background: transparent;
}

.site-search button span {
  border-color: var(--action);
}

.site-search button span::after {
  background: var(--action);
}

.site-search button:hover,
.site-search button:focus-visible {
  background: transparent;
}

.site-search__results a:hover,
.site-search__results a:focus-visible {
  color: var(--brand-dark);
  background: var(--soft-2);
}

.floating-contact__item:hover,
.floating-contact__item:focus-visible,
.floating-contact a:hover,
.floating-contact a:focus-visible {
  background: transparent;
}

.contact-section {
  color: var(--ink);
  background: var(--soft);
}

.contact-section .eyebrow,
.contact-section p {
  color: var(--muted);
}

.contact-section h2 {
  color: var(--brand-dark);
}

.contact-card,
.esg-list span {
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.contact-card a {
  color: var(--action);
}

.home-scroll-shell {
  min-height: 0;
  overflow: visible;
}

.home-scroll-shell .page-screen,
.home-scroll-shell .page-screen.is-page-active,
.home-scroll-shell .page-screen.is-page-exiting {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: calc(100dvh - var(--header-offset));
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: auto;
  overflow: visible;
  transform: none;
  clip-path: none;
  transition: none;
  will-change: auto;
}

.home-scroll-shell .page-screen.is-page-active :is(.hero__copy, .section-copy, .section-title, .contact-copy, .hero__visual, .image-panel, .lab-stage, .resource-list, .esg-list, .quote-form, .company-grid, .culture-grid, .product-grid, .stat-grid, .quality-grid, .news-grid),
.home-scroll-shell .page-screen :is(.hero__copy, .section-copy, .section-title, .contact-copy, .hero__visual, .image-panel, .lab-stage, .resource-list, .esg-list, .quote-form, .company-grid, .culture-grid, .product-grid, .stat-grid, .quality-grid, .news-grid) {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.home-scroll-shell .hero-fullscreen-image img,
.home-scroll-shell .company-gallery__slide img,
.home-scroll-shell .product-feature-slide__media img {
  transform: translate3d(0, var(--scroll-parallax-y, 0), 0) scale(1.045);
  transition: transform .18s ease-out;
  will-change: transform;
}

.site-footer,
body:not(.is-hidden-page-active) .site-footer,
body.is-hidden-page-active .site-footer {
  display: block !important;
  color: #ffffff;
  background: var(--brand-dark);
}

.site-footer a,
.site-footer p {
  color: #d9e9f9;
}

.site-footer h3 {
  color: #ffffff;
}

@media (max-width: 1020px) {
  :root {
    --header-offset: 70px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 142px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-scroll-shell .hero-fullscreen-image img,
  .home-scroll-shell .company-gallery__slide img,
  .home-scroll-shell .product-feature-slide__media img {
    transform: none;
    transition: none;
    will-change: auto;
  }
}
