/* ================================================================
   Easy-Mikhmon Portal — Design System
   Dark-mode, glassmorphism, premium aesthetics
   ================================================================ */

/* ── 1. Tokens ─────────────────────────────────────────────────── */
:root {
  /* Palette */
  --clr-bg: #050c18;
  --clr-bg-2: #0a1628;
  --clr-surface: rgba(15, 30, 60, 0.6);
  --clr-surface-2: rgba(20, 40, 80, 0.8);
  --clr-border: rgba(56, 189, 248, 0.12);
  --clr-border-h: rgba(56, 189, 248, 0.35);

  /* Brand */
  --clr-primary: #38bdf8;
  --clr-primary-d: #0ea5e9;
  --clr-purple: #a78bfa;
  --clr-green: #34d399;
  --clr-orange: #fb923c;
  --clr-pink: #f472b6;
  --clr-yellow: #fbbf24;

  /* Text */
  --clr-text: #e2e8f0;
  --clr-muted: #94a3b8;
  --clr-subtle: #475569;

  /* Gradients */
  --grad-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(56, 189, 248, .18) 0%, transparent 70%);
  --grad-brand: linear-gradient(135deg, #38bdf8, #a78bfa);
  --grad-card: linear-gradient(135deg, rgba(56, 189, 248, .08), rgba(167, 139, 250, .05));

  /* Spacing */
  --space-xs: .5rem;
  --space-sm: .75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .35);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .45);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, .15);

  /* Transitions */
  --tx-fast: 150ms ease;
  --tx-base: 280ms ease;
  --tx-slow: 500ms cubic-bezier(.22, 1, .36, 1);

  /* Fonts */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
}

/* ── 2. Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color var(--tx-fast);
}

a:hover {
  color: #fff;
}

ul {
  list-style: none;
}

/* ── 3. Utilities ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hidden {
  display: none !important;
}

/* Scroll-reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--tx-slow), transform var(--tx-slow);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── 4. Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--tx-base), transform var(--tx-base), box-shadow var(--tx-base), border-color var(--tx-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 18px rgba(56, 189, 248, .3);
}

.btn--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56, 189, 248, .45);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--clr-border-h);
  color: var(--clr-text);
}

.btn--ghost:hover {
  border-color: var(--clr-primary);
  background: rgba(56, 189, 248, .08);
  color: var(--clr-primary);
  transform: translateY(-2px);
}

.btn--sm {
  padding: .45rem 1.1rem;
  font-size: .875rem;
}

.btn--lg {
  padding: .75rem 1.75rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ── 5. Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 1rem 0;
  transition: background var(--tx-base), box-shadow var(--tx-base), padding var(--tx-base);
}

.nav.scrolled {
  background: rgba(5, 12, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--clr-border);
  padding: .6rem 0;
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-text);
}

.nav__logo:hover {
  color: var(--clr-text);
}

.nav__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--grad-brand);
  border-radius: 8px;
  font-size: .9rem;
  color: #fff;
}

.nav__logo-text strong {
  color: var(--clr-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav__link {
  color: var(--clr-muted);
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: var(--radius-pill);
  transition: color var(--tx-fast), background var(--tx-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--clr-text);
  background: rgba(56, 189, 248, .08);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--tx-base), opacity var(--tx-base);
}

/* ── 5.5 Language Switcher ────────────────────────────────────────── */
.nav__dropdown {
  position: relative;
  display: inline-block;
}

.nav__lang-btn {
  color: var(--clr-muted);
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem .75rem;
  border-radius: var(--radius-pill);
  transition: color var(--tx-fast), background var(--tx-fast);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav__lang-btn:hover {
  color: var(--clr-text);
  background: rgba(56, 189, 248, .08);
}

.nav__lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  list-style: none;
  margin: .5rem 0 0 0;
  padding: .75rem;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border-h);
  border-radius: var(--radius-md);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--tx-fast), visibility var(--tx-fast);
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav__dropdown.open .nav__lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: .5rem .75rem;
  background: none;
  border: none;
  color: var(--clr-muted);
  font-size: .9rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--tx-fast);
}

.lang-option:hover {
  color: var(--clr-text);
  background: rgba(56, 189, 248, .12);
}

.lang-option.active {
  color: var(--clr-primary);
  background: rgba(56, 189, 248, .2);
}

/* ── 6. Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 0 4rem;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: orb-float 8s ease-in-out infinite alternate;
}

.hero__orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(56, 189, 248, .25);
  top: -100px;
  left: -100px;
  animation-duration: 9s;
}

.hero__orb--2 {
  width: 320px;
  height: 320px;
  background: rgba(167, 139, 250, .2);
  bottom: 0;
  right: -60px;
  animation-duration: 11s;
  animation-delay: -3s;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(52, 211, 153, .18);
  top: 40%;
  left: 40%;
  animation-duration: 7s;
  animation-delay: -6s;
}

@keyframes orb-float {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, 20px) scale(1.08);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(56, 189, 248, .1);
  border: 1px solid var(--clr-border-h);
  color: var(--clr-primary);
  font-size: .8125rem;
  font-weight: 600;
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
  letter-spacing: .03em;
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, .25);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(56, 189, 248, .0);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.hero__sub {
  max-width: 600px;
  color: var(--clr-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-xl);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  justify-content: center;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-label {
  font-size: .78rem;
  color: var(--clr-muted);
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--clr-border);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: var(--clr-subtle);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  animation: scroll-hint 2.4s ease-in-out infinite;
}

@keyframes scroll-hint {

  0%,
  100% {
    opacity: .4;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: .9;
    transform: translateX(-50%) translateY(6px);
  }
}

/* ── 7. Sections (generic) ─────────────────────────────────────── */
.section {
  padding: var(--space-2xl) 0;
}

.section--alt {
  background: var(--clr-bg-2);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(56, 189, 248, .08);
  border: 1px solid var(--clr-border-h);
  color: var(--clr-primary);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}

.section__sub {
  color: var(--clr-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── 8. Availability Cards ─────────────────────────────────────── */
.avail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  max-width: 820px;
  margin: 0 auto;
}

.avail__card {
  position: relative;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--tx-base), box-shadow var(--tx-base), border-color var(--tx-base);
}

.avail__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--clr-border-h);
}

.avail__card--featured {
  background: linear-gradient(135deg, rgba(56, 189, 248, .12), rgba(167, 139, 250, .08));
  border-color: rgba(56, 189, 248, .35);
  box-shadow: var(--shadow-glow);
}

.avail__card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .3rem 1.1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.avail__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.avail__icon--cloud {
  background: rgba(56, 189, 248, .15);
  color: var(--clr-primary);
}

.avail__icon--self {
  background: rgba(167, 139, 250, .15);
  color: var(--clr-purple);
}

.avail__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.avail__desc {
  color: var(--clr-muted);
  font-size: .9375rem;
  line-height: 1.7;
}

.avail__perks {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}

.avail__perks li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--clr-muted);
}

.avail__perks li i.fa-check {
  color: var(--clr-green);
  font-size: .8rem;
}

.avail__perks li i.fa-clock {
  color: var(--clr-yellow);
  font-size: .8rem;
}

/* ── 9. Feature Cards ──────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.feature-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(10px);
  transition: transform var(--tx-base), box-shadow var(--tx-base), border-color var(--tx-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-border-h);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(from var(--accent) r g b / .14);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  /* Fallback for browsers without relative color syntax */
  background: rgba(56, 189, 248, .14);
}

/* Per-card icon bg color overrides via CSS custom props workaround */
.feature-card__icon {
  background-color: color-mix(in srgb, var(--accent, #38bdf8) 15%, transparent);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.feature-card__desc {
  color: var(--clr-muted);
  font-size: .9rem;
  line-height: 1.65;
}

/* ── 10. Gallery ───────────────────────────────────────────────── */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.gallery__item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  /* contain stacking context so carousel z-index never leaks above fixed nav */
  transition: transform var(--tx-base), border-color var(--tx-base), box-shadow var(--tx-base);
}

.gallery__item:hover {
  transform: translateY(-4px);
  border-color: var(--clr-border-h);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.gallery__item figcaption {
  padding: .6rem 1rem;
  font-size: .85rem;
  color: var(--clr-muted);
  border-top: 1px solid var(--clr-border);
}

.gallery__placeholder {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, .05), rgba(167, 139, 250, .05));
  color: var(--clr-subtle);
  font-size: .85rem;
  transition: background var(--tx-base), color var(--tx-base);
}

.gallery__placeholder i {
  font-size: 2.2rem;
}

.gallery__item:hover .gallery__placeholder {
  color: var(--clr-primary);
}

.gallery__placeholder--video i {
  color: var(--clr-pink);
}

.gallery__item:hover .gallery__placeholder--video {
  color: var(--clr-pink);
}

.gallery__note {
  text-align: center;
  color: var(--clr-subtle);
  font-size: .83rem;
  margin-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.gallery__note code {
  background: rgba(56, 189, 248, .08);
  border: 1px solid var(--clr-border);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-size: .8rem;
  color: var(--clr-primary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(2, 6, 16, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tx-base);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__content img,
.lightbox__content video {
  border-radius: var(--radius-md);
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: .7;
  transition: opacity var(--tx-fast);
  line-height: 1;
}

.lightbox__close:hover {
  opacity: 1;
}

/* ── Gallery card carousel ──────────────────────────────────────── */
.gc-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.gc-track {
  display: flex;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.gc-cell {
  flex: 0 0 100%;
  width: 100%;
}

.gc-cell img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Card carousel arrow buttons – appear on hover */
.gc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 15, 30, .72);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: #fff;
  width: 2rem;
  height: 2rem;
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .65;
  transition: opacity .2s, background .2s;
  padding: 0;
}

.gc-btn:hover {
  opacity: 1;
  background: rgba(56, 189, 248, .35);
}

.gc-btn--prev {
  left: .4rem;
}

.gc-btn--next {
  right: .4rem;
}

/* Counter badge top-right of card */
.gc-counter {
  position: absolute;
  top: .45rem;
  right: .55rem;
  background: rgba(10, 15, 30, .78);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .18rem .5rem;
  border-radius: 99px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .12);
}

/* ── Lightbox navigation (multi-slide) ──────────────────────────── */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 15, 30, .75);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  color: #fff;
  width: 3rem;
  height: 3rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
  padding: 0;
}

.lb-nav:hover {
  background: rgba(56, 189, 248, .35);
}

.lb-prev {
  left: 1.5rem;
}

.lb-next {
  right: 1.5rem;
}

/* Slide counter pill centered at top of lightbox */
.lb-cnt {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 15, 30, .7);
  color: rgba(255, 255, 255, .85);
  font-size: .8rem;
  font-weight: 600;
  padding: .22rem .65rem;
  border-radius: 99px;
  letter-spacing: .05em;
  pointer-events: none;
  z-index: 10;
}

/* ── 11. Contact ───────────────────────────────────────────────── */

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__info-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact__info-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(56, 189, 248, .12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  font-size: 1rem;
}

.contact__info-item strong {
  display: block;
  font-size: .9rem;
  margin-bottom: .2rem;
}

.contact__info-item p {
  color: var(--clr-muted);
  font-size: .875rem;
}

.contact__social {
  display: flex;
  gap: .6rem;
}

.contact__social-link {
  width: 36px;
  height: 36px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  font-size: .9rem;
  transition: all var(--tx-fast);
}

.contact__social-link:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(56, 189, 248, .08);
}

/* Form */
.contact__form {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form__label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-text);
}

.req {
  color: var(--clr-pink);
}

.form__input {
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-family: var(--font-sans);
  font-size: .9375rem;
  padding: .7rem 1rem;
  transition: border-color var(--tx-fast), box-shadow var(--tx-fast);
  outline: none;
  width: 100%;
}

.form__input::placeholder {
  color: var(--clr-subtle);
}

.form__input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .12);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__error {
  font-size: .8rem;
  color: #f87171;
  min-height: 1rem;
}

.form__feedback {
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  text-align: center;
}

.form__feedback.success {
  background: rgba(52, 211, 153, .1);
  border: 1px solid rgba(52, 211, 153, .3);
  color: var(--clr-green);
}

.form__feedback.error {
  background: rgba(248, 113, 113, .1);
  border: 1px solid rgba(248, 113, 113, .3);
  color: #f87171;
}

/* ── 12. Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer__brand-desc {
  color: var(--clr-muted);
  font-size: .875rem;
  margin-top: .75rem;
  max-width: 280px;
  line-height: 1.65;
}

.footer__links {
  display: flex;
  gap: var(--space-xl);
}

.footer__col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: .75rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.footer__col li a {
  font-size: .875rem;
  color: var(--clr-subtle);
  transition: color var(--tx-fast);
}

.footer__col li a:hover {
  color: var(--clr-text);
}

.footer__bottom {
  border-top: 1px solid var(--clr-border);
  text-align: center;
  padding: 1.25rem;
}

.footer__bottom p {
  font-size: .8125rem;
  color: var(--clr-subtle);
}

.footer__bottom a {
  color: var(--clr-muted);
}

.footer__bottom a:hover {
  color: var(--clr-primary);
}

/* ── 13. Toast ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9100;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  max-width: 360px;
  box-shadow: var(--shadow-md);
  animation: toast-in .3s var(--tx-slow);
}

.toast.toast--success {
  background: rgba(52, 211, 153, .15);
  border: 1px solid rgba(52, 211, 153, .4);
  color: var(--clr-green);
}

.toast.toast--error {
  background: rgba(248, 113, 113, .15);
  border: 1px solid rgba(248, 113, 113, .4);
  color: #f87171;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ── 14. Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact__wrapper {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 720px) {
  .form__row {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    width: 100%;
  }

  .contact__wrapper {
    max-width: 100%;
    width: 100%;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .contact__form {
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }

  .cf-turnstile iframe {
    max-width: 100%;
  }

  .cf-turnstile {
    overflow: hidden;
    border-radius: var(--radius-sm);
  }

  .form__input {
    font-size: .875rem;
    padding: .6rem .85rem;
  }

  .btn--lg {
    font-size: .95rem;
    padding: .85rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(80vw, 320px);
    height: 100vh;
    background: rgba(5, 12, 24, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: .5rem;
    transition: right var(--tx-slow);
    border-left: 1px solid var(--clr-border);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__burger {
    display: flex;
  }

  .nav__burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__burger.open span:nth-child(2) {
    opacity: 0;
  }

  .nav__burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__link {
    font-size: 1.1rem;
    padding: .6rem .75rem;
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero__stat-divider {
    display: none;
  }

  .avail__grid {
    grid-template-columns: 1fr;
  }
}

/* ── 15. Theme Toggle Button ───────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  background: var(--clr-surface);
  color: var(--clr-muted);
  cursor: pointer;
  font-size: .9rem;
  transition: border-color var(--tx-fast), background var(--tx-fast), color var(--tx-fast), transform var(--tx-fast);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  transform: rotate(20deg);
}

/* ── 16. Light Theme ───────────────────────────────────────────── */
[data-theme="light"] {
  /* Backgrounds */
  --clr-bg: #f0f4f8;
  --clr-bg-2: #e2e8f0;
  --clr-surface: rgba(255, 255, 255, 0.85);
  --clr-surface-2: rgba(248, 250, 252, 0.95);

  /* Borders */
  --clr-border: rgba(14, 165, 233, 0.18);
  --clr-border-h: rgba(14, 165, 233, 0.45);

  /* Brand stays vibrant — just slightly deeper */
  --clr-primary: #0ea5e9;
  --clr-primary-d: #0284c7;

  /* Text */
  --clr-text: #0f172a;
  --clr-muted: #475569;
  --clr-subtle: #94a3b8;

  /* Shadows — lighter on white */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .10);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .14);
  --shadow-glow: 0 0 40px rgba(14, 165, 233, .12);
}

/* Nav scrolled — light mode */
[data-theme="light"] .nav.scrolled {
  background: rgba(240, 244, 248, 0.94);
}

/* Mobile nav panel — light mode */
@media (max-width: 640px) {
  [data-theme="light"] .nav__links {
    background: rgba(240, 244, 248, 0.98);
    border-left-color: var(--clr-border);
  }
}

/* Burger bar color */
[data-theme="light"] .nav__burger span {
  background: var(--clr-text);
}

/* Hero grid lines */
[data-theme="light"] .hero__bg-grid {
  background-image:
    linear-gradient(rgba(14, 165, 233, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, .07) 1px, transparent 1px);
}

/* Hero orbs — softer in light */
[data-theme="light"] .hero__orb--1 {
  background: rgba(14, 165, 233, .18);
  opacity: .55;
}

[data-theme="light"] .hero__orb--2 {
  background: rgba(139, 92, 246, .15);
  opacity: .45;
}

[data-theme="light"] .hero__orb--3 {
  background: rgba(16, 185, 129, .12);
  opacity: .4;
}

/* Featured avail card */
[data-theme="light"] .avail__card--featured {
  background: linear-gradient(135deg, rgba(14, 165, 233, .08), rgba(139, 92, 246, .05));
}

/* Form input on light */
[data-theme="light"] .form__input {
  background: rgba(255, 255, 255, 0.9);
  color: var(--clr-text);
}

[data-theme="light"] .form__input::placeholder {
  color: var(--clr-subtle);
}

/* Contact form card */
[data-theme="light"] .contact__form {
  background: rgba(255, 255, 255, 0.85);
}

/* Lightbox backdrop stays dark always */
[data-theme="light"] .lightbox {
  background: rgba(15, 23, 42, 0.88);
}

/* Footer */
[data-theme="light"] .footer {
  background: var(--clr-bg-2);
}

/* Toast */
[data-theme="light"] .toast--success {
  background: rgba(16, 185, 129, .12);
  border-color: rgba(16, 185, 129, .35);
}

[data-theme="light"] .toast--error {
  background: rgba(239, 68, 68, .1);
  border-color: rgba(239, 68, 68, .3);
}

/* anchor hover on light */
[data-theme="light"] a:hover {
  color: var(--clr-text);
}

/* Smooth transition when switching themes */
body,
.nav,
.hero,
.section,
.footer,
.avail__card,
.feature-card,
.gallery__item,
.contact__form,
.form__input {
  transition:
    background-color var(--tx-base),
    color var(--tx-base),
    border-color var(--tx-base),
    box-shadow var(--tx-base);
}

/* ── 17. Spam protection ───────────────────────────────────────────── */

/* Honeypot — completely hidden from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Cloudflare Turnstile widget spacing */
.cf-turnstile {
  margin-bottom: 1.25rem;
}