:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --surface: #111c2f;
  --surface-alt: #0b1220;
  --text: #f8fafc;
  --muted: #cbd5f5;
  --accent: #f59e0b;
  --accent-2: #38bdf8;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(34, 211, 238, 0.15), transparent 55%),
    linear-gradient(135deg, #0b1120 0%, #111827 45%, #0f172a 100%);
  min-height: 100%;
  scroll-behavior: smooth;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('../img/hero/dark-gradient-background-10062.png');
  background-size: cover;
  opacity: 0.12;
  pointer-events: none;
  z-index: -2;
}

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

a.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--accent);
  color: #0f172a;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

a.skip-link:focus {
  left: 12px;
}

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(9, 13, 23, 0.7);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 6px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
}

.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 19, 34, 0.9), rgba(12, 19, 34, 0.45));
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  margin: 0 0 12px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  background: var(--accent);
  color: #0f172a;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: rgba(15, 23, 42, 0.65);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-card img {
  border-radius: 16px;
  margin-bottom: 18px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: var(--shadow);
  min-height: 220px;
  transition: transform 0.3s ease, border 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
}

.card h3 {
  margin-top: 16px;
  margin-bottom: 10px;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--accent-2);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
}

.split .panel {
  background: var(--surface-alt);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-grid img {
  border-radius: 16px;
  height: 200px;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.lightbox.active {
  display: flex;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
  font-family: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-card {
  background: var(--surface);
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

footer {
  padding: 40px 0;
  background: #0b1120;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.footer-grid a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    right: 4vw;
    top: 70px;
    background: rgba(10, 14, 24, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 18px;
    flex-direction: column;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 90px;
  }
}
