:root {
  --bg: #08111f;
  --bg-elevated: rgba(14, 24, 42, 0.88);
  --panel: #111f37;
  --panel-strong: #162845;
  --text: #f4f7fb;
  --muted: #b6c2d5;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #7cc4ff;
  --accent-strong: #a8dbff;
  --highlight: #ffd48b;
  --shadow: 0 25px 65px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 2200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 196, 255, 0.18), transparent 35%),
    radial-gradient(circle at top right, rgba(255, 212, 139, 0.12), transparent 28%),
    linear-gradient(180deg, #08111f 0%, #07101c 100%);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
a.secondary-button,
a.nav-cta,
a.primary-link {
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

button:hover,
a.secondary-button:hover,
a.nav-cta:hover,
a.primary-link:hover {
  transform: translateY(-1px);
}

.container {
  width: min(var(--container), calc(100% - 2in));
  margin: 0 auto;
}

.announcement-bar {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #dfe8f7;
  background: rgba(124, 196, 255, 0.12);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: var(--text);
  opacity: 0.88;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-cta {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--highlight);
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(1.35rem, 2.5vw, 2.35rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0;
}

.primary-button,
.secondary-button {
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary-button {
  color: #07101c;
  background: linear-gradient(135deg, var(--highlight), #ffefc7);
  box-shadow: 0 10px 30px rgba(255, 212, 139, 0.2);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.secondary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.full-width {
  width: 100%;
}

.hero-points,
.feature-list {
  margin: 1.3rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-points li,
.feature-list li {
  margin-bottom: 0.55rem;
}

.glass-card,
.pricing-card,
.stat-card,
.process-card,
.faq-card,
.project-card,
.domain-group {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.glass-card,
.pricing-card,
.stat-card,
.process-card,
.faq-card,
.domain-group {
  padding: 1.6rem;
}

.card-label,
.pricing-topline {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.9rem;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.price-line strong {
  font-size: 2rem;
}

.microcopy {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.section {
  padding: 5rem 0;
}

.section.muted {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 70ch;
}

.section-heading p:last-child {
  color: var(--muted);
}

.stats-grid,
.pricing-grid,
.process-grid,
.faq-grid {
  display: grid;
  gap: 1.25rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.stat-card span,
.process-card span {
  display: inline-block;
  color: var(--highlight);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin: 0.4rem 0 0.5rem;
  font-size: 1.35rem;
}

.featured {
  border-color: rgba(255, 212, 139, 0.35);
  background: linear-gradient(180deg, rgba(255, 212, 139, 0.06), rgba(255, 255, 255, 0.02));
}

.pricing-stack {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 1.3rem;
}

.pricing-amount {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.pricing-label,
.pricing-copy {
  color: var(--muted);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.filter-chip.active {
  background: rgba(124, 196, 255, 0.18);
  border-color: rgba(124, 196, 255, 0.32);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.project-card {
  overflow: hidden;
}

.project-image {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(124, 196, 255, 0.15), rgba(255, 212, 139, 0.15));
  border-bottom: 1px solid var(--line);
}

.project-body {
  padding: 1.5rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.project-pill {
  font-size: 0.8rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(124, 196, 255, 0.14);
  border: 1px solid rgba(124, 196, 255, 0.16);
  color: var(--accent-strong);
}

.project-card p,
.domain-group p,
.faq-card p,
.process-card p,
.stat-card p {
  color: var(--muted);
  margin: 0;
}

.project-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.project-title-row a {
  color: var(--text);
}

.project-title-row a:hover {
  color: var(--accent-strong);
  text-decoration: none;
}

.project-note {
  margin-top: 1rem;
  color: #dce8f7;
  font-size: 0.92rem;
}

.domain-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.domain-pill {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
}

.domain-pill-live {
  text-decoration: none;
  cursor: pointer;
  background: rgba(44, 62, 80, 0.6);
  border-color: rgba(255,255,255,0.2);
  color: #93c5fd;
}
.domain-pill-live:hover {
  background: rgba(44, 62, 80, 0.9);
  border-color: rgba(147, 197, 253, 0.4);
}

.project-visit-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #2c3e50;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.15s;
}
.project-visit-btn:hover { background: #3d5166; }

.project-status-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  color: #9ca3af;
  border-radius: 6px;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.10);
}

.final-cta {
  padding-bottom: 6rem;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(124, 196, 255, 0.12), rgba(255, 212, 139, 0.08));
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.inline-alert {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 212, 139, 0.24);
  background: rgba(255, 212, 139, 0.08);
  color: #fff4d9;
}

.status-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.status-card {
  width: min(720px, 100%);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

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

.status-card ul {
  padding-left: 1.15rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .pricing-grid,
  .stats-grid,
  .process-grid,
  .faq-grid,
  .portfolio-grid,
  .domain-groups,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    display: grid;
  }
}

@media (max-width: 740px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }

  nav {
    justify-content: center;
  }

  .hero {
    padding-top: 4rem;
  }

  .primary-button,
  .secondary-button,
  .filter-chip {
    width: 100%;
    justify-content: center;
  }
}


@media (max-width: 740px) {
  .container {
    width: min(var(--container), calc(100% - 1rem));
  }
}

/* PROJECT IMAGE FIT OVERRIDE START */
.project-card img,
.portfolio-card img,
.work-card img,
.showcase-card img,
.preview-card img,
.project-preview img,
.project-media img,
.project-thumb img,
.project-image img,
.project-grid article img,
.projects-grid article img,
.portfolio-grid article img {
  display: block;
  width: 100%;
  height: clamp(220px, 26vw, 320px);
  object-fit: contain !important;
  object-position: center center !important;
  background: #0f2238;
  padding: 0.75rem;
  border-radius: 14px;
}

.project-card .project-preview,
.project-card .project-media,
.project-card .project-image,
.project-card .project-thumb,
.portfolio-card .project-preview,
.portfolio-card .project-media,
.portfolio-card .project-image,
.work-card .project-preview,
.work-card .project-media,
.showcase-card .project-preview,
.showcase-card .project-media,
.project-grid article figure,
.projects-grid article figure,
.portfolio-grid article figure {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0f2238;
  border-radius: 16px;
}
/* PROJECT IMAGE FIT OVERRIDE END */

/* PROJECT IMAGE MODAL PATCH START */
.project-card {
  overflow: hidden;
}

.project-image {
  display: block;
  width: 100%;
  height: clamp(260px, 30vw, 390px) !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #0f2238;
  padding: 0.45rem;
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
}

.project-image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(3, 8, 16, 0.88);
  backdrop-filter: blur(6px);
}

.project-image-modal.open {
  display: flex;
}

.project-image-modal-dialog {
  position: relative;
  width: min(96vw, 1200px);
  max-height: 92vh;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: #0b1627;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}

.project-image-modal img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  background: #0f2238;
}

.project-image-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.78);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.project-image-modal-close:hover {
  transform: none;
  background: rgba(8, 17, 31, 0.96);
}

@media (max-width: 740px) {
  .project-image {
    height: clamp(220px, 52vw, 300px) !important;
    padding: 0.35rem;
  }

  .project-image-modal {
    padding: 0.8rem;
  }

  .project-image-modal-dialog {
    width: 100%;
    max-height: 94vh;
  }

  .project-image-modal img {
    max-height: 88vh;
  }
}
/* PROJECT IMAGE MODAL PATCH END */

/* HERO PACKAGES PATCH START */
.hero-packages-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #9ec5ff;
  margin-bottom: 0.85rem;
}

.hero-packages-title {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.hero-package-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-package-row:first-of-type {
  border-top: 0;
  padding-top: 0.25rem;
}

.hero-package-row-featured {
  padding-top: 0.35rem;
}

.hero-package-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.hero-package-detail {
  font-size: 0.98rem;
  line-height: 1.45;
  color: #e7eef9;
}

.hero-package-meta {
  margin-top: 0.25rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.72);
}

.hero-package-note {
  margin: 1rem 0 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
}

.hero-packages .primary-button,
.hero-packages .secondary-button {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-package-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-packages .primary-button,
  .hero-packages .secondary-button {
    width: 100%;
    text-align: center;
  }
}
/* HERO PACKAGES PATCH END */

/* HERO SIZE TUNE START */
.hero,
.hero-section,
.hero-shell,
.hero-grid,
.hero-copy,
.hero-content {
  min-height: auto;
}

.hero,
.hero-section,
.hero-shell {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.hero-grid,
.hero-shell,
.hero-section .container,
.hero .container {
  gap: 1.5rem !important;
  align-items: center !important;
}

.hero h1,
.hero-section h1,
.hero-copy h1,
.hero-content h1,
h1 {
  font-size: clamp(1.75rem, 3.6vw, 3.45rem) !important;
  line-height: 1.08 !important;
  max-width: 11ch !important;
}

.hero p,
.hero-section p,
.hero-copy p,
.hero-content p {
  font-size: clamp(0.82rem, 1.1vw, 1rem) !important;
  line-height: 1.55 !important;
  max-width: 38rem !important;
}

.hero .eyebrow,
.hero-section .eyebrow,
.hero-copy .eyebrow,
.hero-content .eyebrow {
  font-size: 0.8rem !important;
  letter-spacing: 0.1em !important;
}

.hero .primary-button,
.hero .secondary-button,
.hero-section .primary-button,
.hero-section .secondary-button,
.hero-copy .primary-button,
.hero-copy .secondary-button,
.hero-content .primary-button,
.hero-content .secondary-button {
  font-size: 0.9rem !important;
  padding: 0.8rem 1.15rem !important;
  min-height: 46px !important;
}

@media (max-width: 900px) {
  .hero h1,
  .hero-section h1,
  .hero-copy h1,
  .hero-content h1,
  h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
  }

  .hero p,
  .hero-section p,
  .hero-copy p,
  .hero-content p {
    font-size: 0.95rem !important;
  }
}
/* HERO SIZE TUNE END */

/* HERO HEADLINE LAYOUT START */
.hero-title-custom {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.08em !important;
  margin: 0 0 1rem 0 !important;
  max-width: none !important;
  width: auto !important;
  font-size: clamp(1.75rem, 3.6vw, 3.45rem) !important;
  line-height: 1.08 !important;
}

.hero-title-custom span {
  display: block !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .hero-title-custom {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
  }

  .hero-title-custom span {
    white-space: normal !important;
  }
}
/* HERO HEADLINE LAYOUT END */


.brand-location {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.72);
}
