:root {
  --bg: #08111f;
  --bg-soft: #101b2e;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-strong: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #b8c3d9;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #68a7ff;
  --primary-strong: #3b82f6;
  --accent: #73f0d2;
  --accent-soft: rgba(115, 240, 210, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  --radius: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
  --header-height: 78px;
  --toggle-bg: rgba(255, 255, 255, 0.08);
  --toggle-text: #ffffff;
}

html[data-theme="light"] {
  --bg: #f4f6f8;
  --bg-soft: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-strong: rgba(255, 255, 255, 0.96);
  --text: #16181d;
  --muted: #5c6472;
  --line: rgba(17, 24, 39, 0.1);
  --primary: #4c82f4;
  --primary-strong: #2f6be7;
  --accent: #2cbfa8;
  --accent-soft: rgba(44, 191, 168, 0.1);
  --shadow: 0 16px 40px rgba(19, 27, 44, 0.08);
  --toggle-bg: rgba(255, 255, 255, 0.92);
  --toggle-text: #16181d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(115, 240, 210, 0.12), transparent 24%),
    linear-gradient(180deg, #07101d 0%, #0a1322 100%);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.35s ease, color 0.35s ease;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(76, 130, 244, 0.08), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(44, 191, 168, 0.06), transparent 24%),
    linear-gradient(180deg, #f7f8fa 0%, #eef2f6 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 29, 0.75);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, border-color 0.35s ease;
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.84);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-image-wrap {
  padding: 0.2rem 0;
}

.brand-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.25s ease;
}

.logo:hover .brand-logo {
  transform: translateY(-1px);
}

.footer-logo .brand-logo {
  height: 64px;
}

.logo-text {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.25s ease, background 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: 0.25s ease;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 7rem 0 5rem;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 0.35rem 0 1rem;
  max-width: 11ch;
}

.hero-text {
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #06111d;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 14px 35px rgba(59, 130, 246, 0.22);
}

html[data-theme="light"] .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--primary-strong));
}

.btn-secondary,
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
}

html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .btn-outline {
  background: rgba(255, 255, 255, 0.75);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .btn-outline:hover {
  background: #ffffff;
}

.btn-full {
  width: 100%;
}

.hero-card-grid {
  display: grid;
  gap: 1rem;
}

.service-card,
.detail-card,
.benefit-card,
.stat-card,
.split-panel,
.cta-box,
.page-hero-panel,
.contact-form,
.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card,
.detail-card,
.benefit-card,
.split-panel,
.page-hero-panel {
  padding: 1.5rem;
}

.featured {
  min-height: 240px;
}

.card-icon {
  font-size: 1.6rem;
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  margin-bottom: 1rem;
}

.card-icon-image {
  padding: 0.6rem;
}

.service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-card h2,
.split-panel h3,
.detail-card h3,
.benefit-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}

.service-card p,
.detail-card p,
.benefit-card p,
.split-panel p,
.section-heading p,
.contact-copy p,
.footer-copy,
.mini-stat span,
.process-item p {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--accent);
  font-weight: 700;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: rgba(104, 167, 255, 0.22);
  top: 15%;
  right: 7%;
}

.orb-2 {
  width: 220px;
  height: 220px;
  background: rgba(115, 240, 210, 0.18);
  bottom: 5%;
  left: 5%;
}

.section {
  padding: 5rem 0;
}

.alt-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .alt-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(17, 24, 39, 0.04);
  border-bottom: 1px solid rgba(17, 24, 39, 0.04);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0.2rem 0 0.8rem;
}

.split-services,
.service-detail-grid,
.benefits-grid,
.stats-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

.split-services {
  grid-template-columns: repeat(2, 1fr);
}

.service-detail-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefits-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-section .section-heading {
  margin-bottom: 2.2rem;
}

.stat-title {
  display: block;
  margin-bottom: 0.7rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.stat-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.panel-badge {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(104, 167, 255, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.benefit-card {
  min-height: 180px;
}

/* .stat-card {
  padding: 2rem 1.5rem;
  text-align: center;
} */
.stat-card {
  padding: 2rem 1.5rem;
  text-align: left;
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.stat-label {
  color: var(--muted);
  font-weight: 600;
}

.contact-grid,
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-point {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

html[data-theme="light"] .contact-point {
  background: rgba(255, 255, 255, 0.72);
}

.contact-point strong,
.contact-point span {
  display: block;
}

.contact-point span {
  color: var(--muted);
  margin-top: 0.25rem;
}

.contact-form {
  padding: 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

html[data-theme="light"] .form-row input,
html[data-theme="light"] .form-row select,
html[data-theme="light"] .form-row textarea {
  background: rgba(255, 255, 255, 0.92);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #91a0bf;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .form-row input:focus,
html[data-theme="light"] .form-row select:focus,
html[data-theme="light"] .form-row textarea:focus {
  background: #ffffff;
}

.form-row input.error,
.form-row select.error,
.form-row textarea.error {
  border-color: #ff7f96;
}

.form-message {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  color: var(--accent);
  font-weight: 600;
}

.page-hero {
  padding: 6rem 0 4rem;
}

.page-hero h1 {
  max-width: 12ch;
}

.page-hero-panel {
  display: grid;
  gap: 1rem;
}

.mini-stat {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .mini-stat {
  background: rgba(255, 255, 255, 0.76);
}

.mini-stat strong {
  display: block;
  margin-bottom: 0.3rem;
}

.process-list {
  display: grid;
  gap: 1rem;
}

.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .process-item {
  background: rgba(255, 255, 255, 0.72);
}

.process-item span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-weight: 800;
  border-radius: 18px;
  color: #06111d;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

html[data-theme="light"] .process-item span {
  color: #ffffff;
}

.process-item h3 {
  margin: 0 0 0.25rem;
}

.cta-section {
  padding-top: 1rem;
}

.cta-box {
  text-align: center;
  padding: 2rem;
}

.cta-box h2 {
  margin: 0.3rem auto 0;
  max-width: 18ch;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.visual-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  min-height: 420px;
}

.mosaic-tile {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 180px;
  background-size: cover;
  background-position: center;
}

.tile-a {
  background:
    linear-gradient(rgba(4, 15, 28, 0.15), rgba(4, 15, 28, 0.3)),
    linear-gradient(135deg, #3764ad, #5fa8ff);
}

.tile-b {
  background:
    linear-gradient(rgba(4, 15, 28, 0.15), rgba(4, 15, 28, 0.3)),
    linear-gradient(135deg, #2b7c74, #73f0d2);
}

.tile-c {
  background:
    linear-gradient(rgba(4, 15, 28, 0.15), rgba(4, 15, 28, 0.3)),
    linear-gradient(135deg, #0f5e77, #42b7d4);
}

.tile-d {
  background:
    linear-gradient(rgba(4, 15, 28, 0.15), rgba(4, 15, 28, 0.3)),
    linear-gradient(135deg, #38507c, #7a92d4);
}

.gallery-card {
  min-height: 220px;
  padding: 1rem;
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.36)),
    linear-gradient(135deg, rgba(104, 167, 255, 0.5), rgba(115, 240, 210, 0.22));
}

.gallery-card span {
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.site-footer {
  padding: 2rem 0 5.5rem;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer-copy {
  max-width: 34ch;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.theme-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  background: var(--toggle-bg);
  color: var(--toggle-text);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.35s ease, border-color 0.35s ease;
}

.theme-button:hover {
  transform: translateY(-2px);
}

.theme-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.theme-button-icon {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #06111d;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

html[data-theme="light"] .theme-button-icon {
  color: #ffffff;
}

.theme-button-label {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.privacy-banner {
  position: fixed;
  left: 16px;
  bottom: 88px;
  max-width: 420px;
  z-index: 1300;
  background: var(--bg-card-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem 1rem 0.95rem;
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.privacy-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.privacy-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.privacy-text {
  min-width: 0;
}

.privacy-text strong {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.privacy-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.privacy-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #06111d;
  padding: 0.72rem 1rem;
  min-width: 96px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.2s ease;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
}

.privacy-btn:hover {
  transform: translateY(-1px);
}

.privacy-btn:active {
  transform: translateY(0);
}

.privacy-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

html[data-theme="light"] .privacy-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--primary-strong));
}

@media (max-width: 760px) {
  .privacy-banner {
    left: 12px;
    right: 12px;
    bottom: 88px;
    max-width: none;
  }

  .privacy-content {
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .contact-grid,
  .two-col-layout,
  .split-services,
  .service-detail-grid,
  .benefits-grid,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: 14ch;
  }

  .visual-mosaic {
    min-height: auto;
  }

  .footer-wrap {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    height: 50px;
  }

  .footer-logo .brand-logo {
    height: 56px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-height) + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
    background: rgba(9, 18, 34, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.35s ease;
  }

  html[data-theme="light"] .site-nav {
    background: rgba(255, 255, 255, 0.98);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: rgba(255, 255, 255, 0.06);
  }

  html[data-theme="light"] .site-nav a:hover,
  html[data-theme="light"] .site-nav a.active {
    background: rgba(17, 24, 39, 0.05);
  }

  .hero,
  .page-hero,
  .section {
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .process-item {
    grid-template-columns: 1fr;
  }

  .process-item span {
    width: 56px;
    height: 56px;
  }

  .theme-button {
    right: 14px;
    left: auto;
    bottom: 14px;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
    gap: 0;
  }

  .theme-button-label {
    display: none;
  }

  .theme-button-icon {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1rem;
  }
}