:root {
  --bg: #0b0b0f;
  --panel: #121218;
  --soft: #1b1b24;

  --text: #f7f7fb;
  --muted: #b9b9c5;

  --accent: #c9a7ff;
  --accent2: #7ce7d8;

  --border: rgba(255, 255, 255, 0.08);

  --max: 1180px;
}


/* ========================================
   RESET / BASE
======================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--bg);
  color: var(--text);

  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(92%, var(--max));
  margin-inline: auto;
}


/* ========================================
   NAVIGATION
======================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;

  background: rgba(11, 11, 15, 0.82);

  backdrop-filter: blur(16px);

  border-bottom: 1px solid var(--border);
}

.nav-inner {
  min-height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;

  gap: 12px;

  font-size: 1.25rem;
  font-weight: 800;
}

.brand img {
  width: auto;
  height: 60px;

  object-fit: contain;

  background: transparent;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;

  gap: 24px;
}

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

  font-weight: 650;

  transition: color 0.2s ease;
}

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

.menu-btn {
  display: none;

  padding: 8px;

  background: transparent;
  border: 0;

  color: white;

  font-size: 1.5rem;

  cursor: pointer;
}


/* ========================================
   BUTTONS
======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.85rem 1.15rem;

  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  font-weight: 750;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

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

.btn:disabled {
  cursor: not-allowed;

  opacity: 0.6;

  transform: none;
}

.btn-primary {
  border: 0;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      #8e6cff
    );

  color: #101015;
}

.btn-secondary {
  background: transparent;

  color: var(--text);

  border:
    1px solid rgba(255, 255, 255, 0.15);
}

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


/* ========================================
   TYPOGRAPHY
======================================== */

.kicker {
  color: var(--accent2);

  font-size: 0.78rem;
  font-weight: 850;

  text-transform: uppercase;

  letter-spacing: 0.12em;
}

h1 {
  margin: 0.55rem 0 1.25rem;

  font-size:
    clamp(
      2.8rem,
      7vw,
      6rem
    );

  line-height: 0.98;

  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 1rem;

  font-size:
    clamp(
      2rem,
      4vw,
      3.5rem
    );

  line-height: 1.05;

  letter-spacing: -0.035em;
}

h3 {
  margin: 0.2rem 0 0.5rem;
}

.lead {
  max-width: 700px;

  color: var(--muted);

  font-size: 1.15rem;
}

.note {
  color: var(--muted);

  font-size: 0.9rem;
}


/* ========================================
   HERO
======================================== */

.hero {
  padding: 96px 0 72px;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(201, 167, 255, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 15% 65%,
      rgba(124, 231, 216, 0.1),
      transparent 30%
    );
}

.hero-grid {
  display: grid;

  grid-template-columns:
    1.08fr 0.92fr;

  gap: 48px;

  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 28px;
}


/* ========================================
   HERO IMAGE SLIDER
======================================== */

.hero-slider {
  position: relative;

  width: 100%;
  height: 520px;

  overflow: hidden;

  background: transparent;
}

.hero-slide {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;

  transform:
    translateX(30px)
    scale(0.98);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.hero-slide.active {
  opacity: 1;

  transform:
    translateX(0)
    scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  border: 0;
  border-radius: 0;

  box-shadow: none;
}


/* ========================================
   SECTIONS
======================================== */

.section {
  padding: 84px 0;
}

.section-alt {
  background: #0f0f14;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 24px;

  margin-bottom: 30px;
}

.section-head p {
  max-width: 560px;

  color: var(--muted);
}


/* ========================================
   SERVICE CARDS
======================================== */

.cards {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.card {
  overflow: hidden;

  background: var(--panel);

  border:
    1px solid var(--border);

  border-radius: 24px;
}

.card img {
  width: 100%;
  height: 220px;

  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card p {
  color: var(--muted);
}

.tag {
  display: inline-block;

  padding: 0.35rem 0.65rem;

  border-radius: 999px;

  background:
    rgba(201, 167, 255, 0.12);

  color: var(--accent);

  font-size: 0.8rem;
  font-weight: 800;
}


/* ========================================
   FEATURED WORK
======================================== */

.work-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 18px;
}

.work {
  position: relative;

  min-height: 360px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: 28px;
}

.work img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.work::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 35%,
      rgba(0, 0, 0, 0.75)
    );
}

.work-content {
  position: absolute;

  left: 26px;
  right: 26px;
  bottom: 24px;

  z-index: 2;
}

.work-content p {
  margin: 4px 0;

  color: #d7d7de;
}


/* ========================================
   CTA
======================================== */

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding: 38px;

  border:
    1px solid rgba(255, 255, 255, 0.1);

  border-radius: 28px;

  background:
    linear-gradient(
      135deg,
      rgba(201, 167, 255, 0.18),
      rgba(124, 231, 216, 0.12)
    );
}


/* ========================================
   ABOUT
======================================== */

.about-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 48px;

  align-items: start;
}

.values {
  display: grid;

  gap: 14px;
}

.value {
  padding: 20px;

  background: var(--panel);

  border:
    1px solid var(--border);

  border-radius: 18px;
}


/* ========================================
   CONTACT
======================================== */

.form-grid {
  display: grid;

  grid-template-columns:
    0.85fr 1.15fr;

  gap: 40px;

  align-items: start;
}

.contact-info {
  min-width: 0;
}

.contact-details {
  margin-top: 28px;
}

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

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

.contact-socials {
  margin-top: 32px;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;
}


/* ========================================
   FORMS
======================================== */

form {
  padding: 28px;

  background: var(--panel);

  border:
    1px solid var(--border);

  border-radius: 24px;
}

label {
  display: block;

  margin-bottom: 7px;

  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;

  padding: 14px 15px;

  margin-bottom: 18px;

  background: #0d0d12;

  color: var(--text);

  border:
    1px solid rgba(255, 255, 255, 0.12);

  border-radius: 14px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;

  border-color: var(--accent);

  box-shadow:
    0 0 0 3px
    rgba(201, 167, 255, 0.1);
}

textarea {
  min-height: 150px;

  resize: vertical;
}

.success {
  display: none;

  margin-top: 14px;

  padding: 12px 14px;

  border-radius: 12px;

  background:
    rgba(124, 231, 216, 0.12);

  color: var(--accent2);
}


/* ========================================
   REVIEWS
======================================== */

.review-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.review {
  padding: 24px;

  background: var(--panel);

  border:
    1px solid var(--border);

  border-radius: 22px;
}

.review .stars {
  color: #f8d477;

  letter-spacing: 0.12em;
}

.review .client {
  margin-top: 14px;

  font-weight: 800;
}

.review .meta {
  color: var(--muted);

  font-size: 0.9rem;
}

.review-form-wrap {
  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 36px;

  align-items: start;
}

.notice {
  padding: 15px 17px;

  background:
    rgba(201, 167, 255, 0.1);

  color: #ddd2ee;

  border:
    1px solid rgba(201, 167, 255, 0.25);

  border-radius: 14px;
}


/* ========================================
   GALLERY
======================================== */

.gallery {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 180px;

  object-fit: cover;

  border:
    1px solid var(--border);

  border-radius: 18px;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
  padding: 70px 0 28px;

  border-top:
    1px solid var(--border);

  color: var(--muted);
}

.footer-main {
  display: grid;

  grid-template-columns:
    2fr 1fr 1fr;

  gap: 60px;

  padding-bottom: 50px;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  width: 150px;
  height: auto;

  margin-bottom: 20px;
}

.footer-brand p {
  margin: 0;

  color: var(--muted);

  line-height: 1.7;
}

.footer-links,
.footer-social {
  display: flex;

  flex-direction: column;
  align-items: flex-start;

  gap: 12px;
}

.footer-links h4,
.footer-social h4 {
  margin: 0 0 10px;

  font-size: 14px;

  text-transform: uppercase;

  letter-spacing: 1.5px;
}

.footer-links a,
.footer-social a {
  color: var(--muted);

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--text);

  transform: translateX(3px);
}

.footer-social a {
  display: flex;
  align-items: center;

  gap: 8px;
}

.footer-social a span {
  font-size: 13px;

  opacity: 0.65;
}

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

  gap: 20px;

  padding-top: 25px;

  border-top:
    1px solid var(--border);

  color: var(--muted);

  font-size: 14px;
}


/* ========================================
   TABLET / MOBILE
======================================== */

@media (max-width: 850px) {

  .hero-grid,
  .about-grid,
  .form-grid,
  .review-form-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding:
      72px 0
      56px;
  }

  .hero-slider {
    height: 420px;

    margin-top: 20px;
  }

  .cards,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .section-head,
  .cta {
    flex-direction: column;

    align-items: flex-start;
  }

  .nav-links {
    display: none;

    position: absolute;

    top: 78px;
    left: 0;
    right: 0;

    padding: 18px 4%;

    background: #0d0d12;

    border-bottom:
      1px solid var(--border);

    flex-direction: column;
    align-items: flex-start;
  }

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

  .menu-btn {
    display: block;
  }

  .footer-main {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;
  }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 520px) {

  .brand img {
    height: 48px;
  }

  .brand span {
    font-size: 1rem;
  }

  .hero-slider {
    height: 300px;
  }

  .section {
    padding: 64px 0;
  }

  form {
    padding: 20px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .social-buttons {
    flex-direction: column;

    align-items: flex-start;
  }

  .btn {
    min-height: 44px;
  }
}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

}


/* =====================================================
   ADMIN — CLEAN UNIFIED STYLES
===================================================== */

.admin-login-section {
  padding: 40px 0 80px;
}

.admin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}

.admin-back-link:hover {
  color: var(--text);
  transform: translateX(-3px);
}

.admin-login-actions,
.admin-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

/* Main dashboard tabs */
.admin-main-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 32px 0 44px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.admin-main-tab {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.12);
}

.admin-main-tab:hover {
  color: var(--text);
  border-color: rgba(201,167,255,.45);
}

.admin-main-tab.active {
  background: linear-gradient(135deg,var(--accent),#8e6cff);
  color: #101015;
  border-color: transparent;
}

/* Only the selected panel is shown by admin.js */
.admin-panel {
  width: 100%;
  margin-top: 0;
  animation: adminPanelIn .2s ease;
}

@keyframes adminPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Summary cards */
.admin-summary {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin: 28px 0 30px;
}

.admin-summary-card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.admin-summary-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.admin-summary-number {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
}

/* In-panel filters */
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.admin-filter,
.inquiry-filter {
  background: transparent;
  color: var(--muted);
}

.admin-filter.active,
.inquiry-filter.active {
  background: rgba(201,167,255,.14);
  color: var(--text);
  border-color: var(--accent);
}

/* Review + inquiry lists */
#adminReviewList,
#adminInquiryList {
  display: grid;
  gap: 18px;
}

.admin-review-card,
.admin-inquiry-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.admin-review-top,
.admin-inquiry-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.admin-review-card h3,
.admin-inquiry-card h3 {
  margin-bottom: 4px;
}

.admin-review-card p,
.admin-inquiry-card p {
  word-break: break-word;
}

.admin-inquiry-details {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin: 20px 0;
}

.admin-inquiry-field {
  padding: 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
}

.admin-inquiry-field strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.admin-inquiry-message {
  margin-top: 18px;
  padding: 18px;
  background: #0d0d12;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.inquiry-email {
  color: var(--accent2);
}

.inquiry-email:hover {
  color: var(--text);
}

/* Status badges */
.admin-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.status-new {
  background: rgba(201,167,255,.15);
  color: var(--accent);
}

.status-pending {
  background: rgba(248,212,119,.15);
  color: #f8d477;
}

.status-approved,
.status-contacted {
  background: rgba(124,231,216,.15);
  color: var(--accent2);
}

.status-rejected {
  background: rgba(255,100,100,.15);
  color: #ffaaaa;
}

.status-closed {
  background: rgba(255,255,255,.08);
  color: var(--muted);
}

/* Admin actions */
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.admin-delete {
  color: #ffaaaa;
  border-color: rgba(255,100,100,.35);
}

.admin-delete:hover {
  color: #fff;
  border-color: #ff7777;
}

/* =====================================================
   ADMIN ANALYTICS
===================================================== */

.analytics-summary {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  margin: 30px 0 38px;
}

.analytics-card {
  min-height: 150px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(
      145deg,
      rgba(201,167,255,.08),
      rgba(124,231,216,.025)
    ),
    var(--panel);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  transition: transform .2s ease,border-color .2s ease;
}

.analytics-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,167,255,.3);
}

.analytics-label {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.analytics-number {
  display: block;
  margin-top: 20px;
  font-size: clamp(2.5rem,5vw,4rem);
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--text);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-bottom: 50px;
}

.analytics-panel-card {
  min-height: 290px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.analytics-panel-header {
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.analytics-panel-header h3 {
  margin: 5px 0 0;
  font-size: 1.35rem;
}

.analytics-small-label {
  color: var(--accent2);
  font-size: .7rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.analytics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.analytics-row:last-child {
  border-bottom: 0;
}

.analytics-row span {
  color: var(--muted);
}

.analytics-row strong {
  color: var(--text);
}

.analytics-country {
  padding: 12px 0;
}

.analytics-country-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 9px;
}

.analytics-country-top span {
  color: var(--muted);
}

.analytics-country-top strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.analytics-country-top small {
  color: var(--muted);
  font-weight: 500;
}

.analytics-bar {
  width: 100%;
  height: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
  border-radius: 999px;
}

.analytics-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
}

.analytics-visit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.analytics-visit:last-child {
  border-bottom: 0;
}

.analytics-visit > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.analytics-visit span,
.analytics-visit small {
  color: var(--muted);
  font-size: .82rem;
}

/* =====================================================
   ADMIN RESPONSIVE
===================================================== */

@media (max-width: 900px) {
  .analytics-summary {
    grid-template-columns: repeat(2,1fr);
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-header,
  .admin-review-top,
  .admin-inquiry-top {
    flex-direction: column;
  }

  .admin-header-actions {
    width: 100%;
  }

  .admin-header-actions .btn {
    flex: 1;
  }

  .admin-summary,
  .admin-inquiry-details {
    grid-template-columns: 1fr;
  }

  .admin-login-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-login-actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .admin-main-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-main-tab {
    width: 100%;
  }

  .analytics-summary {
    grid-template-columns: 1fr;
  }

  .analytics-visit {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =====================================================
   SERVICES PAGE
===================================================== */

.services-hero {
  padding: 110px 0 90px;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(201,167,255,.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(124,231,216,.08),
      transparent 28%
    );
}


.services-hero-grid {
  display: grid;

  grid-template-columns:
    1.15fr .85fr;

  gap: 70px;

  align-items: center;
}


.services-hero-index {
  display: grid;

  grid-template-columns:
    auto 1fr;

  gap: 14px 22px;

  padding: 34px;

  background:
    rgba(255,255,255,.025);

  border:
    1px solid var(--border);

  border-radius: 28px;
}


.services-hero-index span {
  color: var(--accent);

  font-weight: 800;
}


.services-hero-index p {
  margin: 0;

  padding-bottom: 12px;

  color: var(--muted);

  border-bottom:
    1px solid var(--border);
}



/* =====================================================
   SERVICE GRID
===================================================== */

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap: 22px;
}



/* =====================================================
   SERVICE CARD
===================================================== */

.service-card {
  position: relative;

  overflow: hidden;

  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius:
    28px;

  transition:
    transform .25s ease,
    border-color .25s ease;
}


.service-card:hover {
  transform:
    translateY(-4px);

  border-color:
    rgba(201,167,255,.35);
}


.service-number {
  position: absolute;

  top: 18px;
  right: 22px;

  z-index: 2;

  padding:
    6px 10px;

  background:
    rgba(11,11,15,.78);

  backdrop-filter:
    blur(10px);

  color:
    var(--accent);

  border:
    1px solid var(--border);

  border-radius:
    999px;

  font-size:
    .78rem;

  font-weight:
    800;
}



/* IMAGE */

.service-image {
  height: 330px;

  overflow: hidden;

  background:
    #0d0d12;
}


.service-image img {
  width: 100%;
  height: 100%;

  object-fit:
    contain;

  transition:
    transform .5s ease;
}


.service-card:hover
.service-image img {
  transform:
    scale(1.025);
}



/* CONTENT */

.service-content {
  padding:
    28px;
}


.service-content h3 {
  margin:
    14px 0 12px;

  font-size:
    1.7rem;
}


.service-content p {
  color:
    var(--muted);
}


.service-features {
  margin:
    20px 0;

  padding-left:
    20px;

  color:
    var(--muted);
}


.service-features li {
  margin:
    7px 0;
}


.service-link {
  display:
    inline-flex;

  margin-top:
    8px;

  color:
    var(--accent);

  font-weight:
    800;

  transition:
    transform .2s ease,
    color .2s ease;
}


.service-link:hover {
  color:
    var(--text);

  transform:
    translateX(4px);
}



/* =====================================================
   PROCESS
===================================================== */

.process-grid {
  display: grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:
    16px;
}


.process-card {
  padding:
    26px;

  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius:
    22px;
}


.process-card span {
  display:
    block;

  margin-bottom:
    32px;

  color:
    var(--accent);

  font-weight:
    850;
}


.process-card p {
  color:
    var(--muted);
}



/* =====================================================
   CUSTOM PROJECT CTA
===================================================== */

.services-custom-cta {
  display:
    flex;

  justify-content:
    space-between;

  align-items:
    center;

  gap:
    50px;

  padding:
    44px;

  background:
    linear-gradient(
      135deg,
      rgba(201,167,255,.15),
      rgba(124,231,216,.08)
    );

  border:
    1px solid var(--border);

  border-radius:
    28px;
}


.services-custom-cta h2 {
  max-width:
    700px;
}



/* =====================================================
   SERVICES TABLET
===================================================== */

@media (
  max-width:900px
) {

  .services-hero-grid {
    grid-template-columns:
      1fr;
  }


  .services-grid {
    grid-template-columns:
      1fr;
  }


  .process-grid {
    grid-template-columns:
      repeat(2,1fr);
  }


  .services-custom-cta {
    flex-direction:
      column;

    align-items:
      flex-start;
  }

}



/* =====================================================
   SERVICES MOBILE
===================================================== */

@media (
  max-width:520px
) {

  .services-hero {
    padding:
      72px 0 55px;
  }


  .services-hero-index {
    padding:
      22px;
  }


  .service-image {
    height:
      260px;
  }


  .service-content {
    padding:
      22px;
  }


  .process-grid {
    grid-template-columns:
      1fr;
  }


  .services-custom-cta {
    padding:
      28px;
  }

}

/* =====================================================
   404 PAGE
===================================================== */

.error-page {
  min-height: calc(100vh - 72px);

  display: flex;
  align-items: center;

  padding: 100px 0;

  text-align: center;

  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(201, 167, 255, .16),
      transparent 32%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(124, 231, 216, .08),
      transparent 28%
    );
}


.error-container {
  max-width: 900px;
}


/* Giant background-style 404 */

.error-code {
  margin-bottom: -25px;

  font-size: clamp(8rem, 25vw, 18rem);
  line-height: .8;

  font-weight: 900;

  letter-spacing: -.08em;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;

  opacity: .18;

  user-select: none;
}


.error-title {
  max-width: 850px;

  margin:
    20px auto 24px;

  font-size:
    clamp(3rem, 7vw, 6rem);
}


.error-description {
  max-width: 650px;

  margin:
    0 auto;
}


.error-actions {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 35px;
}


/* QUICK LINKS */

.error-links {
  display: flex;

  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 18px;

  margin-top: 45px;

  color: var(--muted);

  font-size: .95rem;
}


.error-links span {
  opacity: .65;
}


.error-links a {
  color: var(--muted);

  font-weight: 700;

  transition:
    color .2s ease;
}


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


/* MOBILE */

@media (max-width: 600px) {

  .error-page {
    padding:
      70px 0;
  }


  .error-code {
    margin-bottom:
      -10px;
  }


  .error-actions {
    flex-direction:
      column;

    align-items:
      stretch;
  }


  .error-actions .btn {
    width:
      100%;
  }

}

/* =====================================================
   PUBLIC SERVICE PRICING
===================================================== */

.pricing-location {
  display: inline-flex;
  align-items: center;

  gap: 6px;

  margin: 0 0 28px;

  padding: 8px 13px;

  background:
    rgba(201,167,255,.08);

  color:
    var(--muted);

  border:
    1px solid var(--border);

  border-radius:
    999px;

  font-size:
    .85rem;
}


.pricing-location strong {
  color:
    var(--text);
}



.service-price {
  margin:
    22px 0 8px;

  padding-top:
    18px;

  border-top:
    1px solid var(--border);
}


.service-price span {
  display:
    block;

  color:
    var(--accent2);

  font-size:
    1.25rem;

  font-weight:
    850;
}


.service-price-note {
  display:
    block;

  margin-top:
    4px;

  color:
    var(--muted);

  font-size:
    .78rem;
}



/* =====================================================
   ADMIN PRICING
===================================================== */

.pricing-admin-section {
  margin-bottom:
    48px;
}


.pricing-admin-heading {
  display:
    flex;

  justify-content:
    space-between;

  gap:
    20px;

  margin-bottom:
    22px;
}


.pricing-admin-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap:
    18px;
}


.pricing-admin-card {
  padding:
    24px;

  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius:
    22px;
}


.pricing-admin-card h3 {
  margin:
    4px 0 20px;
}


.pricing-admin-code {
  color:
    var(--accent2);

  font-size:
    .72rem;

  font-weight:
    800;

  text-transform:
    uppercase;

  letter-spacing:
    .08em;
}



.pricing-region-list,
.pricing-override-list {
  display:
    grid;

  gap:
    12px;
}



.pricing-region-row,
.pricing-override-row {

  display:
    grid;

  grid-template-columns:
    1.3fr
    .75fr
    .55fr
    .8fr
    auto;

  gap:
    14px;

  align-items:
    end;

  padding:
    18px;

  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius:
    18px;
}



.pricing-region-row input,
.pricing-override-row input,
.pricing-override-row select {
  margin-bottom:
    0;
}



.pricing-region-row label,
.pricing-override-row label {
  color:
    var(--muted);

  font-size:
    .76rem;

  text-transform:
    uppercase;
}



.pricing-region-country {
  display:
    flex;

  flex-direction:
    column;
}


.pricing-region-country span {
  color:
    var(--muted);

  font-size:
    .8rem;
}



/* =====================================================
   OVERRIDE FORM
===================================================== */

.pricing-override-form {

  display:
    grid;

  grid-template-columns:
    1fr
    1fr
    1fr
    auto;

  gap:
    14px;

  align-items:
    end;

  margin-bottom:
    20px;

  padding:
    18px;

  background:
    rgba(
      255,
      255,
      255,
      .02
    );

  border:
    1px solid var(--border);

  border-radius:
    18px;
}


.pricing-override-form input,
.pricing-override-form select {
  margin-bottom:
    0;
}


.pricing-override-form label {
  color:
    var(--muted);

  font-size:
    .76rem;

  text-transform:
    uppercase;
}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (
  max-width:900px
) {

  .pricing-admin-grid {
    grid-template-columns:
      1fr;
  }


  .pricing-region-row,
  .pricing-override-row,
  .pricing-override-form {

    grid-template-columns:
      1fr 1fr;

  }

}



@media (
  max-width:520px
) {

  .pricing-region-row,
  .pricing-override-row,
  .pricing-override-form {

    grid-template-columns:
      1fr;

  }

}

/* ==========================================================
   DOANA ADMIN
   LEAD + PROJECT MANAGEMENT
========================================================== */


.pipeline-toolbar {

  display:
    grid;

  grid-template-columns:
    minmax(220px, 1fr)
    minmax(160px, 220px)
    auto;

  gap:
    12px;

  margin:
    24px 0;

}



.pipeline-toolbar input,
.pipeline-toolbar select {

  margin:
    0;

}



.pipeline-card {

  padding:
    24px;

  margin-bottom:
    18px;

  border:
    1px solid var(--border);

  border-radius:
    20px;

  background:
    var(--surface);

}



.pipeline-card.priority-high {

  border-left:
    4px solid currentColor;

}



.pipeline-card-header {

  display:
    flex;

  justify-content:
    space-between;

  align-items:
    flex-start;

  gap:
    20px;

  margin-bottom:
    22px;

}



.pipeline-card-header h3 {

  margin:
    6px 0;

}



.pipeline-stage {

  display:
    inline-block;

  padding:
    5px 10px;

  border:
    1px solid var(--border);

  border-radius:
    999px;

  font-size:
    .76rem;

  text-transform:
    uppercase;

  letter-spacing:
    .08em;

}



.pipeline-card-header select {

  width:
    auto;

  min-width:
    160px;

  margin:
    0;

}



.pipeline-details {

  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    14px;

  margin-bottom:
    22px;

}



.pipeline-details > div {

  padding:
    14px;

  border:
    1px solid var(--border);

  border-radius:
    14px;

}



.pipeline-details strong,
.pipeline-details span {

  display:
    block;

}



.pipeline-details strong {

  margin-bottom:
    5px;

  font-size:
    .76rem;

  text-transform:
    uppercase;

  letter-spacing:
    .07em;

  opacity:
    .7;

}



.pipeline-message {

  padding:
    18px;

  margin:
    16px 0;

  border-radius:
    14px;

  background:
    rgba(127,127,127,.07);

}



.pipeline-message p {

  margin-bottom:
    0;

  white-space:
    pre-wrap;

}



.pipeline-edit-grid,
.pipeline-form-grid {

  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    14px;

}



.pipeline-actions {

  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    10px;

  margin-top:
    18px;

}



.pipeline-modal {

  position:
    fixed;

  inset:
    0;

  z-index:
    9999;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    24px;

}



.pipeline-modal-backdrop {

  position:
    absolute;

  inset:
    0;

  background:
    rgba(0,0,0,.7);

}



.pipeline-modal-dialog {

  position:
    relative;

  z-index:
    1;

  width:
    min(
      680px,
      100%
    );

  max-height:
    90vh;

  overflow-y:
    auto;

  padding:
    28px;

  border:
    1px solid var(--border);

  border-radius:
    22px;

  background:
    var(--surface);

  box-shadow:
    0 30px 90px rgba(0,0,0,.35);

}



.pipeline-modal-header {

  display:
    flex;

  justify-content:
    space-between;

  align-items:
    flex-start;

  gap:
    20px;

  margin-bottom:
    24px;

}



.pipeline-modal-header h2 {

  margin-bottom:
    0;

}



.pipeline-modal-actions {

  display:
    flex;

  justify-content:
    flex-end;

  gap:
    10px;

  margin-top:
    24px;

}



@media (
  max-width: 800px
) {

  .pipeline-toolbar {

    grid-template-columns:
      1fr;

  }


  .pipeline-details {

    grid-template-columns:
      1fr;

  }


  .pipeline-edit-grid,
  .pipeline-form-grid {

    grid-template-columns:
      1fr;

  }


  .pipeline-card-header {

    flex-direction:
      column;

  }


  .pipeline-card-header select {

    width:
      100%;

  }


  .pipeline-modal {

    align-items:
      flex-start;

    padding:
      12px;

  }


  .pipeline-modal-dialog {

    margin-top:
      20px;

    padding:
      20px;

  }

}

/* ==========================================================
   DOANA DIGITAL
   FINAL UI COMPATIBILITY + SECURITY + PIPELINE STYLES
========================================================== */

:root {
  --surface: var(--panel);
}

/* ==========================================================
   CLOUDFLARE TURNSTILE
========================================================== */
.form-security {
  width: 100%;
  margin: 24px 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.form-security .cf-turnstile {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.form-security .note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ==========================================================
   ADMIN — LEADS + PROJECTS
========================================================== */
#projectManagementPanel {
  width: 100%;
}

#projectManagementPanel .admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 30px;
}

#projectManagementPanel .admin-summary-card {
  padding: 22px;
  background: linear-gradient(145deg, rgba(201, 167, 255, 0.06), rgba(124, 231, 216, 0.02)), var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

#projectManagementPanel .admin-summary-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 167, 255, 0.3);
}

.pipeline-view {
  background: transparent;
  color: var(--muted);
}

.pipeline-view:hover {
  color: var(--text);
  border-color: rgba(201, 167, 255, 0.4);
}

.pipeline-view.active {
  background: rgba(201, 167, 255, 0.14);
  color: var(--text);
  border-color: var(--accent);
}

.pipeline-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
}

.pipeline-toolbar input,
.pipeline-toolbar select {
  width: 100%;
  margin: 0;
}

#pipelineLeadList,
#pipelineProjectList {
  display: grid;
  gap: 18px;
}

.pipeline-card {
  position: relative;
  width: 100%;
  padding: 24px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pipeline-card:hover {
  border-color: rgba(201, 167, 255, 0.22);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.pipeline-card.priority-high {
  border-left: 4px solid var(--accent);
}
.pipeline-card.priority-normal {
  border-left: 4px solid rgba(124, 231, 216, 0.45);
}
.pipeline-card.priority-low {
  border-left: 4px solid rgba(255, 255, 255, 0.12);
}

.pipeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.pipeline-card-header > div { min-width: 0; }
.pipeline-card-header h3 { margin: 6px 0; overflow-wrap: anywhere; }
.pipeline-card-header a { color: var(--accent2); overflow-wrap: anywhere; }
.pipeline-card-header a:hover { color: var(--text); }

.pipeline-stage {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(201, 167, 255, 0.08);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pipeline-card-header select {
  width: auto;
  min-width: 160px;
  margin: 0;
}

.pipeline-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.pipeline-details > div {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.pipeline-details strong,
.pipeline-details span { display: block; }
.pipeline-details strong {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.pipeline-details span { color: var(--text); overflow-wrap: anywhere; }

.pipeline-message {
  padding: 18px;
  margin: 16px 0 22px;
  background: rgba(127, 127, 127, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}
.pipeline-message strong { display: block; margin-bottom: 8px; }
.pipeline-message p { margin: 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }

.pipeline-edit-grid,
.pipeline-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pipeline-card label { margin-top: 4px; color: var(--muted); font-size: 0.82rem; }
.pipeline-card input,
.pipeline-card select,
.pipeline-card textarea,
.pipeline-modal-dialog input,
.pipeline-modal-dialog select,
.pipeline-modal-dialog textarea {
  background: #0d0d12;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.pipeline-card input:focus,
.pipeline-card select:focus,
.pipeline-card textarea:focus,
.pipeline-modal-dialog input:focus,
.pipeline-modal-dialog select:focus,
.pipeline-modal-dialog textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 167, 255, 0.1);
}
.pipeline-card textarea { min-height: 120px; }

.pipeline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.pipeline-actions .btn { min-height: 42px; }
.pipeline-actions .admin-delete { margin-left: auto; }

.pipeline-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pipeline-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
}
.pipeline-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}
.pipeline-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.pipeline-modal-header h2 { margin-bottom: 0; }
#projectModalClose {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
}
.pipeline-modal-dialog form {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.pipeline-modal-dialog label { margin-top: 4px; color: var(--muted); }
.pipeline-modal-dialog input,
.pipeline-modal-dialog select,
.pipeline-modal-dialog textarea { margin-bottom: 16px; }
.pipeline-modal-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
#pipelineMessage { margin-bottom: 20px; }

@media (max-width: 900px) {
  #projectManagementPanel .admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .pipeline-toolbar { grid-template-columns: 1fr; }
  .pipeline-edit-grid,
  .pipeline-form-grid { grid-template-columns: 1fr; }
  .pipeline-card-header { flex-direction: column; }
  .pipeline-card-header select { width: 100%; }
  .pipeline-modal { align-items: flex-start; padding: 12px; }
  .pipeline-modal-dialog { margin-top: 20px; padding: 20px; }
}

@media (max-width: 520px) {
  #projectManagementPanel .admin-summary { grid-template-columns: 1fr; }
  .pipeline-details { grid-template-columns: 1fr; }
  .pipeline-card { padding: 18px; }
  .pipeline-actions { flex-direction: column; align-items: stretch; }
  .pipeline-actions .btn { width: 100%; }
  .pipeline-actions .admin-delete { margin-left: 0; }
  .pipeline-modal-actions { flex-direction: column-reverse; }
  .pipeline-modal-actions .btn { width: 100%; }
  .form-security { padding: 14px; }
}

