/* AYENYX — dark luxury inspired by automotive brand sites (Nissan Patrol VLP palette) */

.ayenyx-tag,
.ayenyx-tag__mark {
  display: none !important;
}

:root {
  /* Uniform scale — design locked at 1440px; same ratios on xs/sm/md/lg + browser zoom */
  --ayenyx-design: 1440;
  --ayenyx-scale: clamp(0.72, calc(100vw / 1440), 1.35);

  /* Canvas + stone-black surfaces (#000 / #1b1b1e) */
  --ayenyx-bg-page: #000000;
  --ayenyx-bg-deep: #000000;
  --ayenyx-bg-surface: #1b1b1e;
  --ayenyx-bg-elevated: #282828;
  --ayenyx-bg-card: #1b1b1e;
  --ayenyx-bg-card-hover: #242428;

  /* Hairline borders */
  --ayenyx-border: rgba(255, 255, 255, 0.12);
  --ayenyx-border-subtle: rgba(255, 255, 255, 0.08);
  --ayenyx-border-accent: rgba(255, 255, 255, 0.28);

  /* Brand palette — logo red (primary) + logo amber/yellow (secondary) */
  --ayenyx-primary: #c3002f;
  --ayenyx-primary-hover: #a60028;
  --ayenyx-primary-dark: #a60028;
  --ayenyx-navy: #1b1b1e;
  --ayenyx-navy-deep: #000000;
  --ayenyx-accent: #c3002f;
  --ayenyx-accent-light: #ee0039;
  --ayenyx-ice: #f7e6ea;
  --ayenyx-accent-soft: rgba(195, 0, 47, 0.14);
  --ayenyx-red-soft: rgba(238, 0, 57, 0.12);

  /* Secondary — yellow/amber from Ayenyx infinity mark (#fbaa25) */
  --ayenyx-secondary: #fbaa25;
  --ayenyx-secondary-hover: #e69812;
  --ayenyx-secondary-dark: #d4890a;
  --ayenyx-secondary-soft: rgba(251, 170, 37, 0.16);
  --ayenyx-secondary-muted: rgba(251, 170, 37, 0.55);

  /* Type — Outfit approximates Nissan Brand (proprietary); Verdana is their public fallback */
  --ayenyx-text: #ffffff;
  --ayenyx-text-muted: #939398;
  --ayenyx-text-subtle: rgba(147, 147, 152, 0.82);
  --ayenyx-font: 'Outfit', Verdana, Arial, sans-serif;
  --ayenyx-font-display: 'Outfit', Verdana, Arial, sans-serif;
  --ayenyx-fs-body: calc(15px * var(--ayenyx-scale));
  --ayenyx-fs-small: calc(14px * var(--ayenyx-scale));
  --ayenyx-fs-caption: calc(12.5px * var(--ayenyx-scale));
  --ayenyx-fs-h1: calc(48px * var(--ayenyx-scale));
  --ayenyx-fs-h2: calc(40px * var(--ayenyx-scale));
  --ayenyx-fs-h3: calc(22px * var(--ayenyx-scale));
  --ayenyx-lh-body: 1.6;
  --ayenyx-lh-heading: 1.08;

  /* Shared content width — same fraction of viewport at every size */
  --ayenyx-radius-xl: calc(18px * var(--ayenyx-scale));
  --ayenyx-radius-lg: calc(14px * var(--ayenyx-scale));
  --ayenyx-radius-md: calc(12px * var(--ayenyx-scale));
  --ayenyx-radius-sm: calc(8px * var(--ayenyx-scale));
  --ayenyx-section-py: calc(80px * var(--ayenyx-scale));
  --ayenyx-home-py: calc(96px * var(--ayenyx-scale));
  --ayenyx-container: calc(1120px * var(--ayenyx-scale));
  --ayenyx-gutter: calc(28px * var(--ayenyx-scale));
  /* Same align as before: matches navbar/content column edge */
  --ayenyx-align: max(var(--ayenyx-gutter), calc((100vw - var(--ayenyx-container)) / 2));
  --ayenyx-edge: var(--ayenyx-align);

  --ayenyx-shadow-card: none;
  --ayenyx-shadow-elevated: none;
  --ayenyx-shadow-glow: none;
  --ayenyx-glass: rgba(27, 27, 30, 0.92);
  --ayenyx-glass-strong: rgba(0, 0, 0, 0.94);
  --ayenyx-gradient-accent: linear-gradient(180deg, #ee0039 0%, #c3002f 100%);
  --ayenyx-gradient-brand: linear-gradient(135deg, #c3002f 0%, #fbaa25 100%);
  --ayenyx-gradient-text: #ffffff;
  --ayenyx-gradient-page: #000000;
  --ayenyx-gradient-mesh: none;

  --ayenyx-btn-height: calc(48px * var(--ayenyx-scale));
  --ayenyx-btn-radius: 0;
  --ayenyx-btn-padding: 0 calc(26px * var(--ayenyx-scale));
  --ayenyx-ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

/* Container width is scale-driven — no breakpoint jumps */

html {
  scroll-behavior: auto;
  overflow-anchor: none;
  font-size: calc(16px * var(--ayenyx-scale));
}

body {
  font-family: var(--ayenyx-font) !important;
  font-size: var(--ayenyx-fs-body);
  font-weight: 400;
  line-height: var(--ayenyx-lh-body);
  letter-spacing: -0.011em;
  background: #000000 !important;
  color: var(--ayenyx-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-anchor: none;
}

button,
input,
select,
textarea,
.btn,
.nav-link,
a {
  font-family: inherit;
}

img,
video,
svg,
canvas {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

*,
*::before,
*::after {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ayenyx-font-display);
  font-weight: 600;
  line-height: var(--ayenyx-lh-heading);
  letter-spacing: -0.035em;
  color: #f5f5f7;
}

h1 { font-size: var(--ayenyx-fs-h1); font-weight: 600; letter-spacing: -0.045em; }
h2 { font-size: var(--ayenyx-fs-h2); letter-spacing: -0.04em; }
h3 { font-size: var(--ayenyx-fs-h3); font-weight: 600; letter-spacing: -0.028em; }
h4 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
h5,
h6 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }

p {
  margin-top: 0;
  line-height: var(--ayenyx-lh-body);
}

a {
  font-family: inherit;
  transition: color 0.2s var(--ayenyx-ease);
}

/* No sticky watermark — gray icon lives on each section's right side */
body::before,
body::after {
  display: none !important;
  content: none !important;
}

.site-watermark {
  display: none !important;
}

main {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* No section watermarks — keep black canvas crisp and HD-clear */
.home-features::after,
.home-principles::after,
.home-blog::after,
.products-page::after,
.product-catalog::after,
.contact-page::after,
.about-vision::after,
.home-value__visual::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.home-features__container,
.home-principles__container,
.home-blog__container,
.home-features__bg,
.home-principles__bg {
  position: relative;
  z-index: 2;
}

section {
  background-color: transparent !important;
}

::selection {
  background: rgba(31, 123, 199, 0.42);
  color: #fff;
}

/* Hide the text caret on normal page copy (shows as "|" when clicking after words).
   Keep a real caret only inside form fields. */
html,
body,
main,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
div {
  caret-color: transparent;
}

input,
textarea,
select,
[contenteditable='true'],
[contenteditable=''] {
  caret-color: currentColor;
}

/* White navbar + premium IT text */
.navbar-default.scrolled {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none !important;
  box-shadow: none;
}

.nav_sticky {
  background-color: rgba(0, 0, 0, 0.88) !important;
}

.nav_sticky.is-scrolled {
  background-color: #ffffff !important;
}

.navbar-compact .btn-contact-nav {
  background: #c3002f !important;
  border-color: #c3002f !important;
  color: #ffffff !important;
  font-family: var(--nav-font) !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  border-radius: 2px !important;
  height: calc(42px * var(--ayenyx-scale, 1)) !important;
  min-height: calc(42px * var(--ayenyx-scale, 1)) !important;
  max-height: calc(42px * var(--ayenyx-scale, 1)) !important;
  box-shadow: none !important;
  transition:
    background 0.22s var(--ayenyx-ease),
    border-color 0.22s var(--ayenyx-ease),
    color 0.22s var(--ayenyx-ease),
    opacity 0.22s var(--ayenyx-ease),
    transform 0.22s var(--ayenyx-ease) !important;
}

.navbar-compact .btn-contact-nav:hover,
.navbar-compact .btn-contact-nav:focus-visible {
  background: transparent !important;
  border-color: #c3002f !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none;
  opacity: 1;
}

.nav_sticky.is-scrolled .navbar-compact .btn-contact-nav:hover,
.nav_sticky.is-scrolled .navbar-compact .btn-contact-nav:focus-visible {
  background: transparent !important;
  border-color: #c3002f !important;
  color: #c3002f !important;
}

.navbar-compact .btn-whatsapp-nav {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  color: #fff !important;
  height: calc(42px * var(--ayenyx-scale, 1)) !important;
  min-height: calc(42px * var(--ayenyx-scale, 1)) !important;
  max-height: calc(42px * var(--ayenyx-scale, 1)) !important;
  width: calc(42px * var(--ayenyx-scale, 1)) !important;
  min-width: calc(42px * var(--ayenyx-scale, 1)) !important;
}

.navbar-compact .btn-whatsapp-nav:hover,
.navbar-compact .btn-whatsapp-nav:focus-visible {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
}

li .scrolled,
.navbar-default.scrolled li .nav-link {
  color: #f5f5f7 !important;
}

.nav_sticky.is-scrolled li .scrolled,
.nav_sticky.is-scrolled .navbar-default.scrolled li .nav-link,
.nav_sticky.is-scrolled li .nav-link {
  color: #1a1a1c !important;
}

.navbar-default.scrolled .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.nav_sticky.is-scrolled .navbar-default.scrolled .navbar-toggler {
  border-color: rgba(17, 17, 17, 0.22) !important;
}

/* Shared premium section surface */
.home-promo,
.home-testimonials {
  position: relative;
  background: transparent !important;
  color: var(--ayenyx-text);
  border-top: 1px solid var(--ayenyx-border-subtle);
}

.home-features,
.home-principles {
  position: relative;
}

.home-value {
  position: relative;
  color: #fff;
  border-top: none;
}

.partner-logo-strip {
  position: relative;
  color: var(--ayenyx-text);
  border: none;
  background: transparent !important;
}

.site-footer {
  background: var(--ayenyx-bg-deep) !important;
  border-top: 1px solid var(--ayenyx-border-subtle);
}

.home-value__tag {
  background: transparent !important;
  border: none !important;
  color: var(--ayenyx-secondary) !important;
  box-shadow: none !important;
}

.home-principles__tag,
.home-promo__tag,
.home-blog__tag,
.home-testimonials__tag {
  background: transparent;
  border-color: var(--ayenyx-secondary-muted) !important;
  color: var(--ayenyx-secondary);
  backdrop-filter: none;
}

.home-testimonials__card,
.home-promo__box {
  border-color: var(--ayenyx-border) !important;
  background: var(--ayenyx-bg-card) !important;
  box-shadow: var(--ayenyx-shadow-card);
}

.home-testimonials__card:hover {
  border-color: var(--ayenyx-border-accent) !important;
  background: var(--ayenyx-bg-card-hover) !important;
}

.home-promo__box {
  border-radius: var(--ayenyx-radius-lg) !important;
  background: var(--ayenyx-bg-surface) !important;
}

/* —— Ultra-premium sitewide buttons —— */
.btn-online-store,
.navbar-compact .btn-online-store--mobile,
.home-value__cta,
.home-features__view-all,
.home-promo__btn,
.home-promo__btn--primary,
.home-promo__btn--ghost,
.contact-page__btn,
.contact-page__btn--primary,
.contact-page__btn--ghost,
.contact-page__submit,
.products-page__cta-btn,
.products-page__cta-btn--primary,
.site-footer__submit,
.product-card__btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--ayenyx-btn-height);
  padding: var(--ayenyx-btn-padding);
  border-radius: var(--ayenyx-btn-radius);
  border: 1px solid transparent;
  background: #c3002f;
  color: #fff !important;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: none;
  cursor: pointer;
  transition:
    background 0.22s var(--ayenyx-ease),
    border-color 0.22s var(--ayenyx-ease),
    opacity 0.22s var(--ayenyx-ease),
    transform 0.22s var(--ayenyx-ease);
}

.btn-online-store:hover,
.navbar-compact .btn-online-store--mobile:hover,
.home-value__cta:hover,
.home-features__view-all:hover,
.home-promo__btn:hover,
.home-promo__btn--primary:hover,
.home-promo__btn--ghost:hover,
.contact-page__btn:hover,
.contact-page__btn--primary:hover,
.contact-page__btn--ghost:hover,
.contact-page__submit:hover,
.products-page__cta-btn:hover,
.products-page__cta-btn--primary:hover,
.site-footer__submit:hover,
.product-card__btn--primary:hover {
  background: #a60028;
  border-color: transparent;
  color: #fff !important;
  transform: none;
  box-shadow: none;
  opacity: 0.92;
}

.home-promo__btn--ghost,
.contact-page__btn--ghost {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #f5f5f7 !important;
}

.home-promo__btn--ghost:hover,
.contact-page__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
  opacity: 1;
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: rgba(142, 208, 248, 0.28);
  border-radius: 999px;
  border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(126, 200, 247, 0.48);
}

.brand-mark--logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  vertical-align: middle;
}

.brand-mark__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  max-width: 100vw;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  :root {
    --ayenyx-section-py: clamp(2.5rem, 6.5vw, 3.5rem);
    --ayenyx-gutter: 1.25rem;
  }

  body {
    background-attachment: scroll;
  }
}

@media (max-width: 575px) {
  :root {
    --ayenyx-section-py: clamp(2.25rem, 7vw, 3rem);
    --ayenyx-gutter: 1.25rem;
  }

  /* Readable mobile type floor */
  body {
    font-size: 1rem;
  }

  h1,
  .h1 {
    font-size: clamp(1.75rem, 8vw, 2.15rem) !important;
    line-height: 1.15;
  }

  h2,
  .h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem) !important;
    line-height: 1.2;
  }

  button,
  .btn,
  a.btn {
    min-height: 44px;
  }
}

/* AYENYX mark at the start of section labels */
.ayenyx-tag {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
}

.ayenyx-tag__mark {
  display: block;
  width: 1.85rem;
  height: 1.25rem;
  flex-shrink: 0;
  object-fit: contain;
}

.ayenyx-tag::before,
.ayenyx-tag::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}
