:root {
  --red: #e31c23;
  --red-deep: #b01218;
  --black: #0a0a0a;
  --white: #ffffff;
  --paper: #f7f4f2;
  --ink: #141414;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(10, 10, 10, 0.12);
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--red);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  flex-shrink: 0;
}

.brand-logo {
  height: 2.35rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  filter: none;
  /* Keep logo readable on dark header: invert then tint via brightness */
  filter: brightness(0) invert(1);
}

.nav {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.lang {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  min-width: 2.4rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}

.lang-btn.is-active {
  background: var(--red);
  color: var(--white);
}

.header-cta {
  display: none;
  padding: 0.55rem 1rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.header-cta:hover {
  background: var(--red-deep);
}

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-content: center;
  gap: 0.35rem;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease);
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  background: rgba(10, 10, 10, 0.96);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .header-actions {
    margin-left: 0;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: hero-zoom 14s var(--ease) forwards;
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.25) 35%, rgba(10, 10, 10, 0.82) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.2) 58%, rgba(227, 28, 35, 0.28) 100%);
}

.hero-rings {
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: min(70vw, 42rem);
  aspect-ratio: 1;
  pointer-events: none;
}

.hero-rings span {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(227, 28, 35, 0.45);
  border-radius: 50%;
  animation: ring-pulse 5.5s var(--ease) infinite;
}

.hero-rings span:nth-child(2) {
  inset: 14%;
  animation-delay: 0.4s;
  border-color: rgba(227, 28, 35, 0.55);
}

.hero-rings span:nth-child(3) {
  inset: 30%;
  animation-delay: 0.8s;
  border-color: rgba(255, 255, 255, 0.22);
}

@keyframes ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 1.25rem 4.5rem;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-title {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(1.1rem);
  animation: reveal 0.9s var(--ease) forwards;
}

[data-reveal]:nth-child(1) {
  animation-delay: 0.1s;
}
[data-reveal]:nth-child(2) {
  animation-delay: 0.22s;
}
[data-reveal]:nth-child(3) {
  animation-delay: 0.34s;
}
[data-reveal]:nth-child(4) {
  animation-delay: 0.46s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services */
.services {
  background: var(--white);
  padding: 5.5rem 1.25rem;
}

.section-head {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.section-head h2,
.certs-copy h2,
.novelties .section-head h2,
.faq .section-head h2,
.contact-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-lead,
.certs-copy p,
.contact-copy p {
  margin: 0;
  max-width: 38rem;
  color: rgba(20, 20, 20, 0.72);
  font-size: 1.05rem;
  font-weight: 300;
}

.service-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  border-top: 1px solid var(--line);
}

.service-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, padding-left 0.25s var(--ease);
}

.service-list a:hover {
  color: var(--red);
  padding-left: 0.4rem;
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red);
}

.service-copy {
  display: grid;
  gap: 0.25rem;
}

.service-copy strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.service-copy span {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(20, 20, 20, 0.62);
}

.service-list a:hover .service-copy span {
  color: rgba(227, 28, 35, 0.75);
}

.service-arrow {
  font-size: 1.25rem;
  opacity: 0.35;
  transition: opacity 0.2s ease, transform 0.25s var(--ease);
}

.service-list a:hover .service-arrow {
  opacity: 1;
  transform: translateX(0.25rem);
}

/* Certificates */
.certs {
  background: var(--black);
  color: var(--white);
  padding: 5.5rem 1.25rem;
}

.certs-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

.certs-copy .eyebrow {
  color: #ff5a5f;
}

.certs-copy p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.2rem;
}

.text-link::after {
  content: "→";
}

.certs-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.certs-badges figure {
  margin: 0;
  padding: 1.5rem;
  background: var(--white);
  display: grid;
  place-items: center;
  gap: 0.85rem;
  min-height: 9rem;
}

.certs-badges img {
  max-height: 5.5rem;
  width: auto;
  object-fit: contain;
}

.certs-badges figcaption {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

@media (min-width: 900px) {
  .certs-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
  }
}

/* Novelties */
.novelties {
  background: var(--paper);
  padding: 5.5rem 1.25rem;
}

.novelties-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.novelties-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .novelties-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (min-width: 980px) {
  .novelties-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.novelty-card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.5rem 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.novelty-card:hover,
.novelty-card:focus-visible {
  border-color: var(--red);
  transform: translateY(-2px);
  outline: none;
}

.novelty-tag {
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.novelty-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.novelty-card > span:not(.novelty-tag):not(.novelty-cta) {
  font-size: 0.98rem;
  font-weight: 300;
  color: rgba(20, 20, 20, 0.65);
  line-height: 1.45;
}

.novelty-cta {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

/* FAQ */
.faq {
  background: var(--white);
  padding: 5.5rem 1.25rem;
}

.faq-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--red);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--red);
}

.faq-item p {
  margin: 0 0 1.35rem;
  max-width: 42rem;
  color: rgba(20, 20, 20, 0.68);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.55;
}

/* Contact */
.contact {
  background: var(--paper);
  padding: 5.5rem 1.25rem;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.contact-details h3 {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.contact-details p + h3 {
  margin-top: 1rem;
}

.contact-details p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 400;
}

.contact-details a:hover {
  color: var(--red);
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .contact-details {
    grid-template-columns: 1fr 1fr;
    border-top: 0;
    padding-top: 0.35rem;
  }
}

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem 1.25rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.footer-brand img {
  height: 2.1rem;
  width: auto;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-meta p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
}

.footer-meta {
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer-meta {
    text-align: right;
  }
}

/* Language transition */
body.is-switching main {
  opacity: 0.35;
  transition: opacity 0.18s ease;
}

body main {
  transition: opacity 0.22s ease;
}

/* Gallery lightbox */
.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
}

.lightbox-trigger:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.lightbox-dialog {
  width: min(1100px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  padding: 0;
  border: none;
  background: transparent;
}

.lightbox-dialog::backdrop {
  background: rgba(10, 10, 10, 0.82);
}

.lightbox-inner {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2.5rem 0.75rem 0.75rem;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 4.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #111;
  display: block;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
  cursor: pointer;
  font-family: var(--font-display);
  line-height: 1;
}

.lightbox-close {
  top: 0;
  right: 0;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.6rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.35rem;
}

.lightbox-prev {
  left: 0.25rem;
}

.lightbox-next {
  right: 0.25rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--white);
  color: var(--red);
}

@media (min-width: 720px) {
  .lightbox-inner {
    padding: 2.75rem 3.25rem 1rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}
