:root {
  --bg: #faf9f7;
  --bg-alt: #f3f1ee;
  --dark: #0d0c0a;
  --text: #1c1c1a;
  --muted: #747470;
  --accent: #b8975a;
  --accent-lt: #d4b98a;
  --border: #e8e6e1;
  --card: #eeeee4;
  --f-sans: 'Outfit', sans-serif;
  --f-serif: 'DM Serif Display', serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* GRAIN OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.25rem 6vw;
  transition: background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(250, 249, 247, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-logo-bezel {
  background: rgba(250, 249, 247, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.625rem;
  padding: 0.25rem;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.nav.scrolled .nav-logo-bezel {
  background: rgba(184, 151, 90, 0.06);
  border-color: rgba(184, 151, 90, 0.2);
}

.nav-logo-core {
  background: var(--bg);
  border-radius: calc(0.625rem - 0.25rem);
  padding: 0.3rem 0.45rem;
}

.nav-logo-img {
  width: 44px;
  height: auto;
  display: block;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
  margin-left: 0.75rem;
  transition: color .4s ease;
}

.nav:not(.scrolled) .nav-logo-text {
  color: rgba(255, 255, 255, .95);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: .02em;
  transition: color .4s ease;
}

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

.nav-cta {
  background: var(--text) !important;
  color: var(--bg) !important;
  padding: .55rem 1.35rem;
  font-weight: 500 !important;
  transition: background .4s ease, transform .1s, border-color .4s ease !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: scale(.98);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all .4s ease;
}

/* Nav — svetlé farby nad tmavým hero pozadím */
.nav:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, .65);
}

.nav:not(.scrolled) .nav-links a:hover {
  color: #eeeee4;
}

.nav:not(.scrolled) .nav-hamburger span {
  background: rgba(255, 255, 255, .9);
}

.nav:not(.scrolled) .nav-cta {
  background: rgba(255, 255, 255, .12) !important;
  color: rgba(255, 255, 255, .95) !important;
  border: 1px solid rgba(255, 255, 255, .3) !important;
}

.nav:not(.scrolled) .nav-cta:hover {
  background: rgba(255, 255, 255, .22) !important;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(250, 249, 247, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: .75rem 0 1.25rem;
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  .nav.nav-open .nav-links a {
    color: var(--muted);
  }

  .nav.nav-open .nav-links a:hover {
    color: var(--text);
  }

  .nav.nav-open .nav-cta {
    background: var(--text) !important;
    color: var(--bg) !important;
    border: none !important;
  }

  .nav.nav-open .nav-cta:hover {
    background: var(--accent) !important;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: .75rem 6vw;
  }

  .nav-links .nav-cta {
    margin: .5rem 6vw 0;
    text-align: center;
    /* border-radius: 8px; */
  }

  .nav-hamburger {
    display: flex;
  }
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Nav link — hover + active underline */
.nav-links a:not(.nav-cta) {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
}

.nav-links a:not(.nav-cta):not(.active):hover::after {
  transform: scaleX(1);
}

.nav-links a.active:not(.nav-cta)::after {
  transform: scaleX(1);
}

.nav:not(.scrolled) .nav-links a.active:not(.nav-cta) {
  color: #eeeee4;
}

.nav.scrolled .nav-links a.active:not(.nav-cta),
.nav-links a.active:not(.nav-cta) {
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .nav.nav-open .nav-links a.active:not(.nav-cta) {
    color: var(--text);
    box-shadow: inset 3px 0 0 0 var(--accent);
    background: rgba(184, 151, 90, 0.06);
  }
}

/* HERO */
.hero {
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background-image: url('assets/img/optify_hero.jpeg');
  background-size: cover;
  background-position: center 30%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 115% 85% at 50% 46%,
      rgba(5, 5, 5, .18) 0%,
      rgba(5, 5, 5, .28) 45%,
      rgba(5, 5, 5, .48) 72%,
      rgba(5, 5, 5, .72) 100%),
    linear-gradient(180deg,
      rgba(5, 5, 5, .45) 0%,
      rgba(5, 5, 5, 0) 24%,
      rgba(5, 5, 5, 0) 72%,
      rgba(5, 5, 5, .5) 100%);
  z-index: 0;
}

/* Glass panel — spoločný kontajner pre nadpis aj centrálny blok */
.hero-glass {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(92%, 960px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 3.5rem 3rem;
  background: linear-gradient(165deg,
      rgba(255, 255, 255, .06) 0%,
      rgba(255, 255, 255, .03) 40%,
      rgba(184, 151, 90, .06) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}

@media (max-width: 1100px) {
  .hero-glass {
    -webkit-backdrop-filter: blur(2px) saturate(1.3);
    backdrop-filter: blur(2px) saturate(1.3);
  }
}

/* Jemná zlatá linka na hornej hrane panelu */
.hero-glass::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(212, 168, 75, .7) 50%,
      transparent 100%);
}

/* Nadpis + popis — stred panelu */
.hero-header {
  text-align: center;
  width: 100%;
  max-width: 920px;
}

.hero-h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
  color: #eeeee4;
  margin-bottom: .875rem;
}

.hero-h1 em {
  font-style: italic;
  font-family: var(--f-serif);
  font-weight: 400;
  color: var(--accent);
}

.hero-desc {
  font-size: .9375rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
}

/* Brand nápis — vrch panelu */
.hero-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0;
  background: linear-gradient(165deg,
      #f5e8c8 0%,
      #d4a84b 22%,
      #b8975a 44%,
      #e8c87a 65%,
      #9a7a42 82%,
      #f0d9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(0 0 32px rgba(184, 151, 90, .55)) drop-shadow(0 0 80px rgba(184, 151, 90, .22)) drop-shadow(0 6px 20px rgba(0, 0, 0, .7));
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  padding: .875rem 2rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background .2s, transform .1s;
}

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

.btn-primary:active {
  transform: scale(.98);
}

.btn-ghost {
  color: var(--text);
  font-size: .875rem;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.btn-ghost svg {
  transition: transform .2s;
}

.btn-ghost:hover svg {
  transform: translateX(3px);
}

/* Štatistiky — pravá strana */
.hero-stats {
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: right;
}

.hero-stats>div {
  padding: 1.25rem 0;
}

.hero-stats>div+div {
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.hero-stat-num {
  display: block;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #eeeee4;
}

.hero-stat-label {
  display: block;
  font-size: .7rem;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-top: .2rem;
}

/* Marquee — pevne pri spodnom okraji */
.hero-marquee-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(5, 5, 5, .3);
  backdrop-filter: blur(4px);
  padding: 1.1rem 0;
  overflow: hidden;
}

.hero .btn-primary {
  background: var(--accent);
  color: #fff;
  letter-spacing: .06em;
}

.hero .btn-primary:hover {
  background: #d4b98a;
  color: var(--dark);
}

.hero .btn-ghost {
  color: #eeeee4;
  border-color: rgba(255, 255, 255, .6);
  font-weight: 500;
}

.hero .btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero .marquee-track span {
  color: rgba(255, 255, 255, .45);
}

@media (max-width: 1024px) {
  .hero::before {
    background:
      radial-gradient(ellipse 130% 90% at 50% 45%,
        rgba(5, 5, 5, .35) 0%,
        rgba(5, 5, 5, .55) 60%,
        rgba(5, 5, 5, .75) 100%);
  }

  .hero-glass {
    top: 44%;
    padding: 2.75rem 2rem;
    gap: 2.25rem;
  }

  .hero-stats {
    top: auto;
    bottom: 4.5rem;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 0;
    text-align: center;
    width: auto;
    max-width: calc(100vw - 2rem);
  }

  .hero-stats>div {
    padding: 0 2.25rem;
  }

  .hero-stats>div+div {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, .15);
  }

  .hero-stat-num {
    font-size: 1.625rem;
  }

  .hero-stat-label {
    font-size: .7rem;
  }
}

@media (max-width: 600px) {
  .hero-glass {
    top: 42%;
    width: calc(100% - 2rem);
    padding: 2rem 1.25rem;
    gap: 1.75rem;
  }

  .hero-h1 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .hero-desc {
    font-size: .825rem;
  }

  .hero-brand-name {
    font-size: clamp(2.5rem, 12vw, 4rem);
    letter-spacing: 0.18em;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    bottom: 4rem;
  }

  .hero-stats>div {
    padding: 0 1.5rem;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }

  .hero-stat-label {
    font-size: .65rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: calc(100vw - 4rem);
    max-width: 360px;
    bottom: 3.5rem;
    text-align: center;
  }

  .hero-stats>div {
    padding: 1rem 1.25rem;
  }

  .hero-stats>div+div {
    border-left: none;
  }

  .hero-stats>div:nth-child(1),
  .hero-stats>div:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  .hero-stats>div:nth-child(2),
  .hero-stats>div:nth-child(4) {
    border-left: 1px solid rgba(255, 255, 255, .15);
  }
}

@media (max-width: 380px) {
  .hero-stats>div {
    padding: 0 1rem;
  }

  .hero-stat-num {
    font-size: 1.35rem;
  }
}

/* MARQUEE BRANDS */
.marquee-wrap {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* SECTION LABEL */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-label--light {
  color: var(--accent-lt);
}

/* MOMENTS */
.moments {
  padding: 6rem 6vw;
}

.moments-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.moments-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.moments-h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.moments-h2 em {
  font-style: italic;
  color: var(--accent);
}

.moments-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  /* max-width: 52ch; */
  margin: 0 auto;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* — outer shell (Double-Bezel) — */
.moment-card {
  border: 1px solid var(--border);
  padding: 4px;
  background: rgba(232, 230, 225, 0.18);
  transition: border-color .4s cubic-bezier(.16, 1, .3, 1),
              transform .4s cubic-bezier(.16, 1, .3, 1);
}

.moment-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* — inner core — */
.moment-card-inner {
  background: var(--bg);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.moment-card-img {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: relative;
  background: var(--bg-alt);
}

.moment-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
  mask-image: radial-gradient(ellipse 90% 88% at 50% 40%, black 45%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 90% 88% at 50% 40%, black 45%, transparent 88%);
}

.moment-card:hover .moment-card-img img {
  transform: scale(1.04);
}

.moment-card-body {
  padding: 1.4rem 1.6rem 1.6rem;
}

.moment-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .6rem;
}

.moment-card-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.4;
}

.moment-card-num {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(184, 151, 90, .1);
  padding: .3rem .75rem;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}

.moment-card-desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .moments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

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

/* STATS */
.stats-bar {
  background: var(--dark);
  padding: 4.5rem 6vw;
}

.stats-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
}

.stat-num {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.05em;
  color: var(--bg);
}

.stat-label {
  font-size: .7rem;
  color: rgba(250, 249, 247, .42);
  text-transform: uppercase;
  letter-spacing: .1em;
}

@media (max-width: 768px) {
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* PRECISION */
.precision {
  padding: 6rem 6vw;
}

.precision-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.precision-h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.precision-h2 em {
  font-style: italic;
  color: var(--accent);
}

.precision-text-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 40ch;
  margin-bottom: 2rem;
}

.precision-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border);
  transition: color .3s, text-decoration-color .3s;
}

.precision-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.precision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
  position: relative;
}

.precision-grid::before,
.precision-grid::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.precision-grid::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 20%, var(--border) 80%, transparent);
  transform: translateX(-50%);
}

.precision-grid::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
  transform: translateY(-50%);
}

.precision-item {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.precision-icon-wrap {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--border);
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .4rem;
}

.precision-icon {
  width: 22px;
  height: 22px;
  color: var(--text);
}

.precision-item h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.precision-item p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .precision-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

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

  .precision-grid::before {
    display: none;
  }

  .precision-grid::after {
    display: none;
  }

  .precision-item {
    position: relative;
    padding-bottom: 2rem;
  }

  .precision-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
  }
}

/* TOWER CALLOUT */
.tower-callout {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.tower-callout-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem 4rem;
  align-items: start;
  background: var(--dark);
  /* border-radius: 1.25rem; */
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

.tower-callout-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent 60%);
}

.tower-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--f-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  /* border-radius: 999px; */
  margin-bottom: 1.5rem;
}

.tower-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.tower-heading {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--bg);
  margin-bottom: 1rem;
}

.tower-heading em {
  font-style: italic;
  color: var(--accent);
}

.tower-sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.35);
}

.tower-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(250, 249, 247, 0.6);
  margin-bottom: 2rem;
  max-width: 54ch;
}

.tower-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.tower-metric {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.825rem;
  line-height: 1.45;
  color: rgba(250, 249, 247, 0.55);
  padding: 1rem 1rem 1rem 0;
  border-top: 1px solid rgba(184, 151, 90, 0.18);
  transition: color 0.25s ease;
}

.tower-metric:hover {
  color: rgba(250, 249, 247, 0.85);
}

.tower-metric:nth-child(1),
.tower-metric:nth-child(2) {
  border-top: none;
}


.tower-metric:nth-child(2n) {
  padding-left: 1.25rem;
  border-left: 1px solid rgba(184, 151, 90, 0.18);
}

.tower-metric-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
  opacity: 0.8;
}

.tower-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(184, 151, 90, 0.2);
  border-top: 1px solid rgba(184, 151, 90, 0.25);
  margin-left: -3.5rem;
  margin-right: -3.5rem;
  margin-bottom: -3.5rem;
}

.tower-gallery-item {
  overflow: hidden;
  height: 300px;
}

.tower-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.tower-gallery-item:first-child img {
  object-position: center 20%;
}

.tower-gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

@media (max-width: 1024px) {
  .tower-callout-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .tower-callout {
    margin: 2rem 0 0;
  }

  .tower-callout-inner {
    padding: 2rem 1.5rem;
    border-radius: 0;
  }

  .tower-metrics {
    grid-template-columns: 1fr;
  }

  .tower-metric:nth-child(2n) {
    padding-left: 0;
    border-left: none;
  }

  .tower-metric:nth-child(2) {
    border-top: 1px solid rgba(184, 151, 90, 0.18);
  }

  .tower-gallery {
    grid-template-columns: 1fr;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-bottom: -2rem;
  }

  .tower-gallery-item {
    height: 220px;
  }
}

/* VISION */
.vision {
  background: var(--bg-alt);
  padding: 6rem 6vw;
  position: relative;
}

.vision-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* O NÁS — editorial asymetrický split */
.vision-about {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
  /* margin-bottom: 7rem; */
  padding-bottom: 4rem;
  /* border-bottom: 1px solid var(--border); */
}

.vision-about-left {
  position: sticky;
  top: 8rem;
}

.vision-h2 {
  font-family: var(--f-serif);
  font-size: clamp(2.75rem, 4.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.06;
  color: var(--text);
}

.vision-h2 em {
  font-style: italic;
  color: var(--accent);
}

.vision-about-right {
  padding-top: 3rem;
}

.vision-text {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 3.5rem;
  max-width: 52ch;
}

/* Mini stats pod textom */
.vision-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.vision-stat {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-right: 1px solid var(--border);
}

.vision-stat:last-child {
  border-right: none;
  padding-right: 0;
}

.vision-stat:not(:first-child) {
  padding-left: 1.5rem;
}

.vision-stat-num {
  display: block;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: .3rem;
}

.vision-stat-text {
  font-size: .7rem;
  color: var(--muted);
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* TEAM */
.vision-team-label {
  margin-bottom: 3rem;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  justify-items: center;
  transition: border-color .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1);
}

.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.team-card-photo {
  background-color: #8f9094;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  border-right: 1px solid var(--border);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
  mask-image: radial-gradient(ellipse 78% 85% at 50% 42%, black 45%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 78% 85% at 50% 42%, black 45%, transparent 88%);
}

.team-card:hover .team-card-photo img {
  transform: scale(1.04);
}

.team-card-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.team-card-name {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .4rem;
}

.team-card-role {
  font-size: .8125rem;
  color: var(--accent);
  font-weight: 500;
}

.team-card-exp {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(184, 151, 90, .1);
  padding: .3rem .75rem;
  white-space: nowrap;
  align-self: flex-start;
  flex-shrink: 0;
}

.team-card-bio {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .vision {
    padding: 5.5rem 6vw;
  }

  .vision-about {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .vision-about-left {
    position: static;
  }

  .vision-about-right {
    padding-top: 0;
  }

  .team-card {
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width: 680px) {
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card-photo {
    /* aspect-ratio: 4 / 3; */
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .team-card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .vision {
    padding: 6rem 6vw;
  }

  .vision-stats-row {
    grid-template-columns: 1fr 1fr;
    border-top: none;
  }

  .vision-stat {
    padding: 1.25rem;
    border-right: 1px solid var(--border);
    border-top: none;
  }

  .vision-stat:nth-child(2),
  .vision-stat:nth-child(4) {
    border-right: none;
  }

  .vision-stat:nth-child(3),
  .vision-stat:nth-child(4) {
    border-top: 1px solid var(--border);
  }
}

/* DARK SECTION */
.dark-product {
  background: var(--dark);
  overflow: hidden;
}

.dark-product-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  /* padding: 0 6vw; */
}

.dark-product-text {
  padding: 7rem 4rem 7rem 0;
}

.dark-product-text a {
  margin-bottom: 2rem;
}

.dark-h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
  color: var(--bg);
  margin-bottom: 1.25rem;
}

.dark-h2 em {
  font-style: italic;
  color: var(--accent);
}

.dark-desc {
  font-size: 1rem;
  color: rgba(250, 249, 247, .48);
  line-height: 1.8;
  max-width: 38ch;
  margin-bottom: 2rem;
}

.dark-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .5rem;
  margin-bottom: 2rem;
}

.dark-pill {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1rem;
  border: 1px solid rgba(184, 151, 90, .28);
  /* border-radius: 999px; */
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, .62);
  background: rgba(184, 151, 90, .06);
  transition: border-color .2s, color .2s, background .2s;
}

.dark-pill:hover {
  border-color: var(--accent);
  color: var(--accent-lt);
  background: rgba(184, 151, 90, .12);
}

.dark-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--bg);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(250, 249, 247, .3);
  transition: color .3s, text-decoration-color .3s;
}

.dark-link:hover {
  color: var(--accent-lt);
  text-decoration-color: var(--accent-lt);
}

.dark-product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dark-product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 10px 10px var(--dark);
  pointer-events: none;
}

.dark-product-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .dark-product-inner {
    grid-template-columns: 1fr;
    /* padding: 5rem 6vw; */
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    padding-left: 6vw;
    padding-right: 6vw;
    /* gap: 3rem; */
  }

  .dark-product-text {
    padding: 0;
  }
}

/* COLLECTION */
.collection {
  padding: 6rem 6vw;
}

.collection-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.collection-h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.collection-h2 em {
  font-style: italic;
  color: var(--accent);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.col-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .3s, transform .4s cubic-bezier(.16, 1, .3, 1);
}

.col-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.col-card:nth-child(2) {
  margin-top: -2.5rem;
}

.col-card-img {
  background: var(--bg-alt);
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.col-card-img--dark {
  background: #1c1c1a;
}

.col-card-img svg {
  width: 100%;
  max-width: 240px;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

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

.col-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

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

.col-card-body {
  padding: 1.5rem;
}

.col-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(184, 151, 90, .1);
  padding: .2rem .65rem;
  margin-bottom: .75rem;
}

.col-name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: .3rem;
}

.col-sub {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.col-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.col-price {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.col-link {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: color .2s;
}

.col-link:hover {
  color: var(--accent);
}

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

  .col-card:nth-child(2) {
    margin-top: 0;
  }
}

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

  .collection-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* LENS TECH */
.lens-tech {
  background: var(--bg-alt);
  padding: 6rem 6vw;
}

.lens-tech-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.lens-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.lens-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lens-h2 {
  font-size: clamp(2.25rem, 3.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.lens-h2 em {
  font-style: italic;
  color: var(--accent);
}

.lens-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.lens-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lens-feature {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  align-items: start;
}

.lens-num {
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .06em;
  margin-top: .2rem;
}

.lens-ftitle {
  font-size: .9375rem;
  font-weight: 600;
  margin-bottom: .2rem;
}

.lens-fdesc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .lens-tech-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* PRICING */
.pricing {
  padding: 6rem 6vw;
}

.pricing-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.pricing-h2 em {
  font-style: italic;
  color: var(--accent);
}

.pricing-sub {
  font-size: 1rem;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* — outer shell (Double-Bezel) — */
.price-card {
  border: 1px solid var(--border);
  padding: 4px;
  background: rgba(232, 230, 225, 0.18);
  transition: border-color .4s cubic-bezier(.16, 1, .3, 1),
              transform .4s cubic-bezier(.16, 1, .3, 1);
}

.price-card:not(.featured):hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* — inner core — */
.price-card-inner {
  background: var(--card);
  padding: 2.5rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.price-card.featured {
  border-color: var(--text);
  margin-top: -1.75rem;
}

.price-card.featured .price-card-inner {
  background: var(--text);
  color: var(--bg);
  position: relative;
  padding-top: 4.25rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.price-card-badge {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #eeeee4;
  padding: .25rem 1rem;
  white-space: nowrap;
}

.price-tier {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .9rem;
}

.price-card.featured .price-tier {
  color: rgba(250, 249, 247, .45);
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -.05em;
  margin-bottom: .25rem;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
}

.price-desc {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.price-card.featured .price-desc {
  color: rgba(250, 249, 247, .45);
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.75rem;
}

.price-card.featured .price-divider {
  background: rgba(250, 249, 247, .12);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2rem;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
}

.price-check {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-card.featured .price-check {
  color: var(--accent-lt);
}

.price-btn {
  display: block;
  text-align: center;
  padding: .875rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid var(--accent);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  width: 100%;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
}

.price-btn:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.price-btn:active {
  transform: scale(.98);
}

.price-card.featured .price-btn {
  border-color: rgba(250, 249, 247, .2);
  color: var(--bg);
}

.price-card.featured .price-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .price-card.featured {
    margin-top: 0;
  }
}

/* EXPERIENCE */
.experience {
  background: var(--dark);
  padding: 6rem 6vw;
}

.experience-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.experience-h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
  color: var(--bg);
  margin-bottom: 4rem;
}

.experience-h2 em {
  font-style: italic;
  color: var(--accent);
}

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.exp-item {
  padding: 2.25rem 0;
  border-top: 1px solid rgba(250, 249, 247, .08);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.exp-item:nth-child(1),
.exp-item:nth-child(2) {
  border-top: none;
}

.exp-item:nth-child(odd) {
  padding-right: 4rem;
  border-right: 1px solid rgba(250, 249, 247, .08);
}

.exp-item:nth-child(even) {
  padding-left: 4rem;
}

.exp-num {
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .06em;
  margin-top: .2rem;
}

.exp-item h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--bg);
  margin-bottom: .4rem;
}

.exp-item p {
  font-size: .9rem;
  color: rgba(250, 249, 247, .42);
  line-height: 1.7;
}

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

  .exp-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .exp-item:nth-child(even) {
    padding-left: 0;
  }

  .exp-item:nth-child(2) {
    border-top: 1px solid rgba(250, 249, 247, .08);
  }
}

/* FAQ */
.faq {
  padding: 6rem 6vw;
}

.faq-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8rem;
  align-items: start;
}

.faq-h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.faq-h2 em {
  font-style: italic;
  color: var(--accent);
}

.faq-sub {
  font-size: .9375rem;
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.65;
}

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

.faq-list {
  display: flex;
  flex-direction: column;
}

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

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

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  gap: 2rem;
  user-select: none;
}

.faq-q h3 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.16, 1, .3, 1);
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.8;
  padding-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* CTA BANNER */
.cta-banner {
  background: var(--accent);
  padding: 4rem 4vw;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
  color: #eeeee4;
  margin-bottom: 1.25rem;
}

.cta-banner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, .72);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  /* max-width: 50ch; */
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: #eeeee4;
  color: var(--text);
  padding: .9rem 2.25rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: transform .1s, background .2s;
}

.btn-white:hover {
  background: var(--dark);
  color: #eeeee4;
}

.btn-white:active {
  transform: scale(.98);
}

/* FOOTER */
/* FOOTER */
.footer {
  background: var(--dark);
  padding: 5.5rem 6vw 0;
  position: relative;
  overflow: hidden;
}

/* Ghost year watermark */
.footer::before {
  content: 'OPTIFY';
  position: absolute;
  bottom: 1.5rem;
  right: 4vw;
  font-family: var(--f-serif);
  font-size: clamp(5rem, 13vw, 14rem);
  font-weight: 400;
  color: rgba(250, 249, 247, 0.1);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Gold hairline at top */
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 40%, var(--accent-lt) 60%, transparent 100%);
  opacity: 0.55;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Statement header */
.footer-header {
  margin-bottom: 1.3rem;
  /* padding-bottom: 3.5rem; */
  border-bottom: 1px solid rgba(250, 249, 247, 0.06);
}

.footer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.footer-headline {
  font-family: var(--f-serif);
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 400;
  color: var(--bg);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

/* Main grid */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 0;
  /* padding-bottom: 4rem; */
  border-bottom: 1px solid rgba(250, 249, 247, 0.06);
}

/* Brand column */
.footer-brand-top {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.footer-logo-bezel {
  display: inline-block;
  flex-shrink: 0;
  background: rgba(184, 151, 90, 0.07);
  border: 1px solid rgba(184, 151, 90, 0.2);
  /* border-radius: 1rem; */
  padding: 0.375rem;
  transition: border-color 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}

.footer-logo-bezel:hover {
  border-color: rgba(184, 151, 90, 0.45);
}

.footer-logo-core {
  background: var(--bg);
  /* border-radius: calc(1rem - 0.375rem); */
  padding: 0.875rem 1rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.footer-logo-img {
  width: 72px;
  height: auto;
  display: block;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(250, 249, 247, 0.36);
  line-height: 1.8;
  max-width: 29ch;
}

/* Social icons */
.footer-social {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  /* border-radius: 50%; */
  border: 1px solid rgba(250, 249, 247, 0.1);
  color: rgba(250, 249, 247, 0.38);
  text-decoration: none;
  transition: border-color 0.35s cubic-bezier(0.32, 0.72, 0, 1),
              color 0.35s cubic-bezier(0.32, 0.72, 0, 1),
              background 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.footer-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(184, 151, 90, 0.09);
}

/* Link columns */
.footer-col-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.28);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-link {
  display: inline-block;
  position: relative;
  color: rgba(250, 249, 247, 0.48);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  transition: color 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 0.3rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1),
              opacity 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}

.footer-link:hover {
  color: rgba(250, 249, 247, 0.95);
}

.footer-link:hover::after {
  transform: translateX(0);
  opacity: 0.65;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.625rem 0;
  font-size: 0.775rem;
  color: rgba(250, 249, 247, 0.24);
}

.footer-copyright a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.footer-copyright a:hover {
  color: var(--bg);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(250, 249, 247, 0.24);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.footer-bottom-links a:hover {
  color: rgba(250, 249, 247, 0.65);
}

/* Back to top */
.footer-backtop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid rgba(250, 249, 247, 0.1);
  border-radius: 100px;
  color: rgba(250, 249, 247, 0.32);
  font-family: var(--f-sans);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  padding: 0.35rem 0.45rem 0.35rem 0.875rem;
  cursor: pointer;
  transition: border-color 0.35s cubic-bezier(0.32, 0.72, 0, 1),
              color 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.footer-backtop:hover {
  border-color: rgba(250, 249, 247, 0.22);
  color: rgba(250, 249, 247, 0.7);
}

.footer-backtop-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(250, 249, 247, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
              background 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.footer-backtop:hover .footer-backtop-icon {
  transform: translateY(-2px);
  background: rgba(184, 151, 90, 0.15);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 4rem 5vw 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: .1s;
}

.d2 {
  transition-delay: .2s;
}

.d3 {
  transition-delay: .3s;
}

.d4 {
  transition-delay: .4s;
}

/* CONTACT */
.contact-section {
  padding: 6rem 6vw;
  background: var(--bg);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact-heading {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.contact-sub {
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--text);
}

.contact-details a {
  color: var(--text);
  text-decoration: none;
  transition: color .3s;
}

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

.contact-icon {
  width: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: .15rem;
}

.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  /* border-radius: 12px; */
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  /* border-radius: 8px; */
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: .9rem;
  outline: none;
  transition: border-color .3s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: .7;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.75rem;
}

.form-checkbox input[type="checkbox"] {
  border-radius: 0px !important;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: .15rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-checkbox label {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-submit {
  width: 100%;
  padding: .875rem;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  background: var(--text);
  color: var(--bg);
  border: none;
  /* border-radius: 8px; */
  cursor: pointer;
  transition: background .3s, transform .1s;
}

.contact-submit:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.contact-submit:active {
  transform: scale(.98);
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 1.75rem 1.25rem;
  }
}

/* ── MAP ─────────────────────────────────────────────────── */
.contact-map-wrap {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-map-frame {
  border: 1px solid var(--border);
  overflow: hidden;
  line-height: 0;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 220px;
  /* filter: grayscale(100%) contrast(1.05) brightness(.97); */
  transition: filter .5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* .contact-map-frame:hover iframe {
  filter: grayscale(0%) contrast(1) brightness(1);
} */

@media (max-width: 900px) {
  .contact-map-frame iframe {
    height: 260px;
  }
}

/* ── PRELOADER ───────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .85s cubic-bezier(.76,0,.24,1), transform .85s cubic-bezier(.76,0,.24,1);
}

#preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#preloader.pl-exit {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.pl-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

.pl-glow {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(184,151,90,.1) 0%, transparent 68%);
  pointer-events: none;
  opacity: 0;
  animation: plFade .9s ease forwards .35s;
}

.pl-glasses { width: 220px; }

.pl-svg { width: 100%; height: auto; overflow: visible; }

.pl-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: plDraw .75s cubic-bezier(.4,0,.2,1) forwards .05s;
}

@keyframes plDraw { to { stroke-dashoffset: 0; } }

.pl-divider {
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, transparent, rgba(184,151,90,.35), transparent);
  opacity: 0;
  animation: plDivider .5s ease forwards .95s;
}

@keyframes plDivider {
  to { height: 36px; opacity: 1; }
}

.pl-wordmark {
  display: flex;
  letter-spacing: .28em;
  padding-left: .28em;
}

.pl-wordmark span {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 1.625rem;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0;
  transform: translateY(10px);
  display: inline-block;
  animation: plLetter .45s cubic-bezier(.4,0,.2,1) forwards;
}

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

.pl-tagline {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: .8125rem;
  color: var(--card);
  letter-spacing: .06em;
  margin-top: -.75rem;
  opacity: 0;
  animation: plFade .65s ease forwards 1.5s;
}

@keyframes plFade { to { opacity: 1; } }

.pl-bar {
  width: 100px;
  height: 1px;
  background: rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
}

.pl-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, transparent, #b8975a 40%, #d4b98a 70%, #b8975a);
  animation: plBar 2.1s cubic-bezier(.4,0,.55,1) forwards;
}

@keyframes plBar {
  0%   { width: 0%; }
  70%  { width: 85%; }
  100% { width: 100%; }
}

body:not(.loaded) { overflow: hidden; }

/* ── Marquee Gallery (o-nas) ── */
.vision-gallery-label {
  margin-top: 4rem;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  margin-left: -6vw;
  margin-right: -6vw;
}

.marquee-container .marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: none;
  gap: 0;
  align-items: stretch;
}

.marquee-item {
  flex-shrink: 0;
  height: 420px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  margin-right: 20px;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
  border: 1px solid var(--border);
  padding: 4px;
  background: #ede9e1;
}

.marquee-item:nth-child(odd)  { transform: rotate(-2deg); }
.marquee-item:nth-child(even) { transform: rotate(3deg); }

.marquee-item:hover {
  transform: scale(1.06) translateY(-6px) rotate(0deg) !important;
  box-shadow: 0 10px 28px rgba(184, 151, 90, 0.55);
  z-index: 10;
}

.marquee-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.marquee-item:hover::after { opacity: 1; }

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
  filter: sepia(0.28) saturate(0.78) brightness(0.95) contrast(0.9);
  mask-image: radial-gradient(ellipse 92% 90% at 50% 50%, black 48%, transparent 86%);
  -webkit-mask-image: radial-gradient(ellipse 92% 90% at 50% 50%, black 48%, transparent 86%);
}
.marquee-item:hover img {
  transform: scale(1.08);
  filter: sepia(0.12) saturate(0.9) brightness(1.04) contrast(0.94);
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #f3f1ee, transparent);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #f3f1ee, transparent);
}

@media (max-width: 767px) {
  .marquee-container::before,
  .marquee-container::after {
    width: 40px;
  }
}

/* ── Video Row (o-nas) ── */
.video-row {
  display: grid;
  grid-template-columns: 3fr 1.7fr;
  gap: 16px;
  /* margin-top: 3rem; */
}

.video-card {
  border: 1px solid var(--border);
  padding: 4px;
  background: #ede9e1;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover {
  border-color: var(--accent);
}

.video-card-inner {
  overflow: hidden;
  height: 540px;
  position: relative;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .video-row {
    grid-template-columns: 1fr;
  }
  .video-card-inner {
    height: 56vw;
  }
  .video-card--portrait .video-card-inner {
    height: 100%;
  }
}

/* ── PAGE HERO (subpages) ────────────────────────────────── */
.page-hero {
  background: var(--dark);
  padding: 9rem 6vw;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent 60%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom,
    rgba(243, 241, 238, 0)    0%,
    rgba(243, 241, 238, 0.01) 8%,
    rgba(243, 241, 238, 0.04) 18%,
    rgba(243, 241, 238, 0.10) 30%,
    rgba(243, 241, 238, 0.22) 44%,
    rgba(243, 241, 238, 0.44) 58%,
    rgba(243, 241, 238, 0.70) 72%,
    rgba(243, 241, 238, 0.88) 84%,
    rgba(243, 241, 238, 1)   100%);
  pointer-events: none;
}

.page-hero--alt::after {
  background: linear-gradient(to bottom, transparent, var(--bg-alt));
}

.page-hero--bg::after {
  background: linear-gradient(to bottom,
    rgba(250, 249, 247, 0)    0%,
    rgba(250, 249, 247, 0.01) 8%,
    rgba(250, 249, 247, 0.04) 18%,
    rgba(250, 249, 247, 0.10) 30%,
    rgba(250, 249, 247, 0.22) 44%,
    rgba(250, 249, 247, 0.44) 58%,
    rgba(250, 249, 247, 0.70) 72%,
    rgba(250, 249, 247, 0.88) 84%,
    rgba(250, 249, 247, 1)   100%);
}

.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.page-hero-h1 {
  font-family: var(--f-serif);
  font-size: clamp(2.75rem, 5vw, 5rem);
  font-weight: 400;
  color: var(--bg);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

.page-hero-h1 em {
  font-style: italic;
  color: var(--accent);
}

.page-hero-desc {
  font-size: 1rem;
  color: rgba(250, 249, 247, 0.5);
  line-height: 1.75;
  /* max-width: 52ch; */
}

@media (max-width: 768px) {
  .page-hero::after {
    height: 60px;
  }
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin-bottom: 2.5rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.breadcrumb li + li::before {
  content: '/';
  margin: 0 .6rem;
  color: rgba(250, 249, 247, 0.2);
  font-weight: 400;
}

.breadcrumb a {
  color: rgba(250, 249, 247, 0.38);
  text-decoration: none;
  transition: color .3s;
}

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

.breadcrumb li:last-child {
  color: var(--accent);
}

/* ── SUBPAGE SECTION VARIANTS ────────────────────────────── */
/* 404 */
.not-found-main {
  background: var(--bg);
}

.not-found-section {
  min-height: 100dvh;
  padding: 8.5rem 6vw 5rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(184, 151, 90, .18), transparent 34rem),
    var(--dark);
  color: var(--bg);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.not-found-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent 60%);
}

.not-found-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom,
    rgba(250, 249, 247, 0) 0%,
    rgba(250, 249, 247, .08) 28%,
    rgba(250, 249, 247, .42) 62%,
    rgba(250, 249, 247, 1) 100%);
  pointer-events: none;
}

.not-found-inner {
  width: min(100%, 860px);
  position: relative;
  z-index: 1;
}

.not-found-code {
  font-family: var(--f-serif);
  font-size: clamp(5.5rem, 17vw, 13rem);
  font-weight: 400;
  line-height: .82;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.not-found-title {
  font-family: var(--f-serif);
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.06;
  color: #eeeee4;
  margin-bottom: 1.3rem;
}

.not-found-text {
  max-width: 58ch;
  margin: 0 auto 2.25rem;
  color: rgba(250, 249, 247, .64);
  font-size: 1rem;
  line-height: 1.8;
}

.not-found-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.not-found-link {
  color: rgba(250, 249, 247, .8);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 249, 247, .24);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}

.not-found-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 600px) {
  .not-found-section {
    min-height: 92dvh;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .not-found-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .not-found-actions .btn-white {
    width: 100%;
  }
}

.sub-section {
  padding: 6rem 6vw;
}

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

.sub-section--dark {
  background: var(--dark);
}

.sub-section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .info-row {
    grid-template-columns: 1fr;
  }
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.5rem;
}

.process-step {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--border);
  position: relative;
}

.process-step:last-child {
  border-right: none;
  padding-right: 0;
}

.process-step:not(:first-child) {
  padding-left: 2rem;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.process-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: .5rem;
}

.process-desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.75;
}

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

  .process-step {
    padding: 1.75rem 1.5rem 1.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .process-step:nth-child(2n) {
    border-right: none;
    padding-left: 1.5rem;
    padding-right: 0;
  }

  .process-step:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

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

  .process-step {
    border-right: none;
    padding: 1.5rem 0;
  }

  .process-step:not(:first-child) {
    padding-left: 0;
  }

  .process-step:nth-child(2n) {
    padding-left: 0;
    padding-right: 0;
  }

  .process-step:last-child {
    border-bottom: none;
  }
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.5rem;
}

.value-item {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--border);
}

.value-item:last-child {
  border-right: none;
  padding-right: 0;
}

.value-item:not(:first-child) {
  padding-left: 2rem;
}

.value-num {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}

.value-desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.75;
}

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

  .value-item {
    padding: 1.75rem 1.5rem 1.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .value-item:nth-child(2n) {
    border-right: none;
    padding-left: 1.5rem;
  }

  .value-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

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

  .value-item {
    border-right: none;
    padding: 1.5rem 0;
  }

  .value-item:not(:first-child) {
    padding-left: 0;
  }
}

/* Services list */
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.service-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .75rem;
  align-items: start;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
}

.service-row:last-child {
  border-bottom: 1px solid var(--border);
}

.service-check {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-text {
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.6;
}

/* Brands grid on okuliare page */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.5rem;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.1rem;
  border: 1px solid var(--border);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  transition: border-color .25s, color .25s, background .25s;
}

.brand-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(184, 151, 90, .05);
}

/* Form row 2-columns at larger screens */
@media (min-width: 601px) {
  .form-row--2col {
    grid-template-columns: 1fr 1fr;
  }
}

/* Info box (used in vysetrenie, kontakt) */
.info-box {
  background: var(--dark);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent 50%);
}

.info-box-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.info-box-text {
  font-size: .9375rem;
  color: rgba(250, 249, 247, .55);
  line-height: 1.75;
}

.info-box-text strong {
  color: rgba(250, 249, 247, .9);
  font-weight: 500;
}

.info-box-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .7rem 1.5rem;
  background: var(--accent);
  color: var(--dark);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s;
}
.info-box-btn:hover { opacity: .82; }

/* Opening hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.hours-table tr {
  border-bottom: 1px solid rgba(250, 249, 247, .08);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: .75rem 0;
  font-size: .9rem;
  color: rgba(250, 249, 247, .55);
}

.hours-table td:last-child {
  text-align: right;
  color: rgba(250, 249, 247, .85);
  font-weight: 500;
}

/* ── MOBILE SECTION PADDING ─────────────────────────────── */
@media (max-width: 768px) {
  .moments,
  .precision,
  .vision,
  .collection,
  .lens-tech,
  .pricing,
  .experience,
  .faq,
  .contact-section,
  .sub-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .stats-bar {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .cta-banner {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .page-hero {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .sub-split {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* hero-marquee-wrap as direct child of sub-section — full-bleed light band */
.sub-section > .hero-marquee-wrap {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  z-index: auto;
  margin: 3rem -6vw 0;
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  background: var(--bg);
  backdrop-filter: none;
  padding: 1.8rem 0;
  box-shadow: 0 1px 0 0 rgba(30,25,20,.04) inset, 0 -1px 0 0 rgba(30,25,20,.04) inset;
}

.sub-section > .hero-marquee-wrap .marquee-track {
  gap: 5rem;
}

.sub-section > .hero-marquee-wrap .marquee-track span {
  font-size: .85rem;
  letter-spacing: .22em;
  color: var(--text);
  opacity: .55;
  transition: opacity .2s, color .2s;
}

.sub-section > .hero-marquee-wrap .marquee-track span:hover {
  opacity: 1;
  color: var(--accent);
}

/* Recaptcha */
.grecaptcha-badge { display: none; }
.custom-recaptcha3-terms { font-size:12px; color: var(--muted); text-align: center; margin-top: 1.3rem;}
.custom-recaptcha3-terms a {color: var(--accent)};

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--bg-alt);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .error-message.d-block,
.php-email-form .sent-message.d-block,
.php-email-form .loading.d-block {
  display: block;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent);
  border-top-color: var(--bg-alt);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}