:root {
  --bg: #0b1422;
  --bg-2: #0f1e34;
  --panel: #121f34;
  --panel-2: #17253f;
  --accent: #1b6fb2;
  --accent-2: #4ba7e8;
  --accent-3: #b4202a;
  --ink: #f5f7fb;
  --muted: #a9b7c9;
  --line: #21324b;
  --shadow: 0 18px 45px rgba(4, 10, 20, 0.55);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[data-lang="el"] [data-lang="en"],
html[data-lang="en"] [data-lang="el"] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #1a2843 0%, #0b1422 45%, #0a111c 100%);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.2) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: soft-light;
  z-index: 0;
}

.stripe-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(0deg, rgba(6, 10, 18, 0.55), rgba(6, 10, 18, 0.55)),
    radial-gradient(circle at 18% 10%, rgba(27, 111, 178, 0.24) 0%, transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(75, 167, 232, 0.2) 0%, transparent 48%),
    linear-gradient(115deg, transparent 30%, rgba(75, 167, 232, 0.42) 34%, rgba(75, 167, 232, 0.42) 37%, transparent 41%),
    linear-gradient(115deg, transparent 40%, rgba(27, 111, 178, 0.48) 44%, rgba(27, 111, 178, 0.48) 47%, transparent 51%),
    linear-gradient(115deg, transparent 50%, rgba(180, 32, 42, 0.44) 54%, rgba(180, 32, 42, 0.44) 57%, transparent 61%),
    linear-gradient(115deg, transparent 60%, rgba(75, 167, 232, 0.32) 64%, rgba(75, 167, 232, 0.32) 66%, transparent 70%);
  background-size:
    100% 100%,
    170% 170%,
    180% 180%,
    150% 150%,
    170% 170%,
    190% 190%,
    210% 210%;
  animation: stripeFlow 28s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: contrast(1.08) saturate(1.05);
}

@keyframes stripeFlow {
  0% {
    background-position:
      0% 0%,
      0% 0%,
      100% 10%,
      -10% 30%,
      10% 45%,
      30% 60%,
      50% 75%;
  }
  50% {
    background-position:
      0% 0%,
      80% 40%,
      10% 60%,
      120% 20%,
      140% 55%,
      160% 70%,
      180% 85%;
  }
  100% {
    background-position:
      0% 0%,
      0% 0%,
      100% 10%,
      -10% 30%,
      10% 45%,
      30% 60%,
      50% 75%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stripe-bg {
    animation: none;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 16, 27, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(2, 8, 20, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  font-family: "Oxanium", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}

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

.brand-stripes {
  display: inline-flex;
  gap: 4px;
  transform: skew(-12deg);
}

.brand-stripes .stripe {
  width: 7px;
  height: 21px;
  border-radius: 2px;
  display: block;
}

.brand-stripes .stripe-light {
  background: var(--accent-2);
}

.brand-stripes .stripe-mid {
  background: var(--accent);
}

.brand-stripes .stripe-red {
  background: var(--accent-3);
}

.brand-name {
  font-weight: 700;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

.brand-dot {
  color: var(--muted);
  opacity: 0.55;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.admin .site-nav {
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-end;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.admin .site-nav::-webkit-scrollbar {
  height: 6px;
}

.admin .site-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.admin .site-nav .btn {
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-cta {
  display: none;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(12, 20, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.call-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.call-menu-label {
  padding: 4px 10px 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.call-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.call-number {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.call-toggle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}

.call-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  display: none;
  flex-direction: column;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
  z-index: 20;
}

.call-menu.is-open {
  display: flex;
}

.call-menu-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(12, 20, 34, 0.7);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  gap: 6px;
  align-items: center;
}

.call-menu-item:hover {
  border-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4ba7e8 0%, #1b6fb2 70%);
  color: #07101b;
  box-shadow: 0 12px 30px rgba(27, 111, 178, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(75, 167, 232, 0.45);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(19, 31, 51, 0.8);
}

.btn-ghost:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero {
  padding: 110px 0 90px;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 0;
  background: radial-gradient(circle at 80% 20%, rgba(62, 166, 255, 0.2), transparent 55%),
    radial-gradient(circle at 15% 10%, rgba(255, 106, 0, 0.15), transparent 50%);
  z-index: -1;
}

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

.hero-content h1 {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(2.4rem, 2vw + 1.8rem, 3.6rem);
  letter-spacing: 0.02em;
  margin: 16px 0 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.75rem;
  color: var(--accent-3);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

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

.admin-preview {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.admin-preview .hero {
  padding: 50px 0;
}

.admin-preview .hero-grid {
  gap: 30px;
}

.admin-preview .media-frame img {
  max-height: 320px;
  object-fit: cover;
}

.admin-preview-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.proof-title {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.hero-media {
  position: relative;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(62, 166, 255, 0.3);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pulse-card {
  position: absolute;
  bottom: -18px;
  right: 18px;
  background: rgba(20, 31, 45, 0.9);
  border: 1px solid rgba(62, 166, 255, 0.4);
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
  text-align: left;
  font-size: 0.9rem;
  color: var(--ink);
  display: block;
}

.pulse-card .pulse-btn {
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 0.75rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  border-radius: 999px;
}

.pulse-card span {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(1.8rem, 1.2vw + 1.4rem, 2.6rem);
  margin: 0;
}

.section-header p {
  color: var(--muted);
  max-width: 520px;
}

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

.hero-article {
  padding-bottom: 70px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.case-card {
  background: var(--panel);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 260px;
  box-shadow: 0 16px 32px rgba(2, 8, 20, 0.35);
}

.case-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.case-card div {
  padding: 18px;
  color: var(--muted);
}

.case-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.case-card p {
  margin: 0 0 14px;
}

.case-link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 600;
  color: var(--accent-2);
}

.case-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 24px;
  border-radius: 20px;
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.case-feature img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 320px;
}

.case-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 8px 0 12px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.case-tags span {
  background: rgba(62, 166, 255, 0.15);
  border: 1px solid rgba(62, 166, 255, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--ink);
}

.case-content {
  color: var(--muted);
  line-height: 1.7;
}

.case-upload {
  background: #0d141e;
}

.case-form {
  background: var(--panel-2);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.case-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--muted);
}

.case-form input,
.case-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 20, 0.9);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

.case-form input:focus,
.case-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(62, 166, 255, 0.2);
}

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

.case-alert {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(215, 70, 63, 0.18);
  border: 1px solid rgba(215, 70, 63, 0.4);
  color: var(--ink);
  margin-bottom: 16px;
}

.case-alert.success {
  background: rgba(46, 163, 255, 0.2);
  border-color: rgba(46, 163, 255, 0.45);
}

.contact-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 16px 30px rgba(2, 8, 20, 0.4);
  scroll-margin-top: 120px;
}

.contact-alert .alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  color: var(--ink);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-alert.success {
  background: linear-gradient(135deg, rgba(46, 163, 255, 0.28), rgba(20, 40, 70, 0.55));
  border-color: rgba(46, 163, 255, 0.6);
}

.contact-alert.success .alert-icon {
  background: rgba(46, 163, 255, 0.4);
}

.live-feed {
  background: #0b1119;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feed-card {
  background: var(--panel);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  box-shadow: 0 16px 32px rgba(2, 8, 20, 0.35);
}

.feed-media {
  position: relative;
  width: 100%;
  height: clamp(200px, 24vw, 260px);
  background: linear-gradient(135deg, rgba(27, 111, 178, 0.4), rgba(11, 20, 34, 0.5));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.feed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.08) contrast(1.08) saturate(1.05);
}

.feed-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(75, 167, 232, 0.35), rgba(11, 20, 34, 0.7));
  min-height: 160px;
}

.feed-body {
  padding: 18px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.feed-title {
  color: var(--ink);
  text-decoration: none;
}

.feed-title:hover {
  color: var(--accent-2);
}

.feed-card p {
  margin: 0 0 14px;
  color: var(--ink);
}

.feed-date {
  font-size: 0.85rem;
  color: var(--muted);
}

.feed-footer {
  margin-top: auto;
}

.feed-link {
  display: inline-flex;
  margin-top: 4px;
  font-weight: 600;
  color: var(--accent-2);
}

.gallery-item {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  width: 100%;
}

.gallery-item img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.photo-card {
  width: min(980px, 94vw);
  padding: 16px;
}

.photo-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.photo-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.feed-empty {
  padding: 24px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: var(--muted);
}

.feed-help {
  font-size: 0.85rem;
  color: var(--muted);
}

.section-intro {
  max-width: 540px;
}

.section-cta {
  display: flex;
  align-items: center;
}

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

.partner-card {
  background: var(--panel);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(2, 8, 20, 0.35);
  padding: 18px;
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto;
  align-content: start;
}

.partner-logo {
  width: 100%;
  height: clamp(150px, 28vw, 230px);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(6, 12, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 26px rgba(2, 8, 20, 0.45);
  padding: 6px;
}

.partner-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(1.08) contrast(1.08) saturate(1.05);
}

.partner-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Oxanium", sans-serif;
  font-size: 2rem;
  color: var(--accent-2);
  background: radial-gradient(circle at 20% 20%, rgba(75, 167, 232, 0.35), rgba(11, 20, 34, 0.7));
}

.partner-body {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.partner-body h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink);
}

.partner-body p {
  margin: 0;
}

.partner-contact {
  font-size: 0.9rem;
  color: var(--muted);
}

.partner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.partner-meta a {
  font-size: 0.85rem;
  color: var(--accent-2);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 30, 0.6);
}

.partner-meta a:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
}

.partners-empty {
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 24px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
  background: rgba(10, 18, 30, 0.6);
}

.service-card {
  background: var(--panel);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 32px rgba(6, 14, 26, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 260px;
  position: relative;
}

.service-card[data-service-detail] {
  cursor: pointer;
}

.service-media {
  width: 100%;
  height: 200px;
  display: block;
  background: rgba(6, 12, 22, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: brightness(1.02) contrast(1.05) saturate(1.05);
}

.service-card .service-body {
  position: relative;
  padding: 18px;
}

.service-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.service-actions .btn {
  width: auto;
  padding: 6px 12px;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: rgba(10, 18, 30, 0.6);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 14px rgba(6, 12, 22, 0.35);
  white-space: nowrap;
  text-align: center;
  max-width: 100%;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 28px;
  align-items: start;
}

.service-detail-media {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(6, 12, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(2, 8, 20, 0.35);
  padding: 14px;
}

.service-detail-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.06) contrast(1.06) saturate(1.04);
}

.service-detail-body {
  color: var(--muted);
  display: grid;
  gap: 12px;
}

.service-detail-body h3 {
  color: var(--ink);
}

@media (max-width: 920px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 166, 255, 0.6);
}

.capabilities {
  background: linear-gradient(135deg, rgba(19, 31, 51, 0.94), rgba(15, 28, 46, 0.95));
}

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

.case-detail .capabilities-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: start;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.feature-list li {
  position: relative;
  padding-left: 26px;
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.capability-cards {
  display: grid;
  gap: 18px;
}

.case-detail .capability-cards {
  position: static;
  top: auto;
  align-self: start;
}

.case-sidebar-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.case-sidebar-gallery .gallery-card {
  padding: 6px;
  border-radius: 12px;
}

.case-sidebar-gallery .gallery-card img {
  height: 110px;
  border-radius: 10px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(62, 166, 255, 0.25);
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(2, 8, 20, 0.35);
}

.glass-card h3 {
  margin-top: 0;
}

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

.retrofit-card {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(62, 166, 255, 0.12), rgba(255, 106, 0, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px;
  min-height: 170px;
}

.process {
  background: #0c1422;
}

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

.step-number {
  font-family: "Oxanium", sans-serif;
  font-size: 1.8rem;
  color: var(--accent-3);
}

.studio {
  background: linear-gradient(120deg, rgba(19, 31, 51, 0.92), rgba(12, 18, 28, 0.92));
}

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

.studio-media img {
  border-radius: 18px;
  border: 1px solid rgba(62, 166, 255, 0.3);
  box-shadow: var(--shadow);
}

.studio-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cta-band {
  padding: 70px 0;
  background: linear-gradient(135deg, rgba(46, 163, 255, 0.2), rgba(215, 70, 63, 0.2));
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.contact-card {
  background: var(--panel-2);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px;
  display: grid;
  gap: 18px;
  box-shadow: 0 18px 38px rgba(6, 14, 26, 0.45);
}

.contact-card iframe {
  width: 100%;
  border-radius: 14px;
}

.contact-details p {
  margin: 0 0 8px;
  color: var(--muted);
}

.contact-details strong {
  color: var(--ink);
}

.contact-form {
  background: var(--panel-2);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px;
  display: grid;
  gap: 16px;
  box-shadow: 0 18px 38px rgba(6, 14, 26, 0.45);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 20, 0.9);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(62, 166, 255, 0.2);
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.contact-actions {
  margin: 16px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-gallery {
  padding: 60px 0;
}

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

.gallery-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 12px 25px rgba(6, 12, 22, 0.35);
  display: grid;
  gap: 10px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 18, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}

.modal.hidden {
  display: none;
}

.modal-card {
  width: min(540px, 92vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.service-detail-modal .modal-card {
  width: min(720px, 92vw);
}

.service-detail-media {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 14, 20, 0.8);
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-detail-body {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.modal-sub {
  margin: 8px 0 0;
  color: var(--muted);
}

.service-book-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-book-note strong {
  color: var(--ink);
  margin-left: 6px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(16, 26, 42, 0.8);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.modal-form {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.modal-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
  background: rgba(10, 18, 30, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(75, 167, 232, 0.2);
}

.phone-input {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 2fr;
  gap: 10px;
}

.phone-input select,
.phone-input input {
  width: 100%;
  min-width: 0;
}

.phone-input select {
  cursor: pointer;
}

@media (max-width: 520px) {
  .phone-input {
    grid-template-columns: 1fr;
  }
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-status {
  min-height: 1em;
  color: var(--accent-2);
  font-size: 0.9rem;
}

.modal-status.is-error {
  color: var(--accent-3);
}

.site-footer {
  padding: 60px 0 40px;
  background: #090c12;
  border-top: 1px solid var(--line);
}

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

.footer-grid p {
  margin: 0 0 8px;
  color: var(--muted);
}

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

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

.footer-bottom {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.85rem;
}

[data-animate] {
  opacity: 1;
  transform: none;
}

.js [data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lang-switch,
.lang-toggle {
  display: flex;
  gap: 6px;
  align-items: center;
}

.lang-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lang-btn.is-active,
.lang-btn.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.flag-icon {
  width: 22px;
  height: 16px;
  display: inline-flex;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.flag-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lang-btn.is-active .lang-label,
.lang-btn.active .lang-label {
  color: var(--ink);
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .header-cta {
    display: inline-flex;
  }

  .header-contact {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pulse-card {
    position: static;
    margin-top: 16px;
  }

  .case-detail .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .case-detail .capability-cards {
    position: static;
  }

  /* Mobile-only safeguard: keep case-study sections visible at default zoom on phones. */
  .live-feed .section-header[data-animate],
  .live-feed .feed-grid[data-animate],
  #case-studies .section-header[data-animate],
  #case-studies .feed-grid[data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }

  .live-feed .feed-grid,
  #case-studies .feed-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 90px 0 70px;
  }

  .header-inner {
    justify-content: flex-start;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    gap: 12px;
    order: 2;
  }

  .header-contact {
    order: 4;
    width: auto;
    padding: 2px 6px;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 1;
  }

  .header-contact .contact-label {
    display: none;
  }

  .header-contact .call-dropdown {
    gap: 4px;
  }

  .header-contact .call-btn {
    padding: 4px 8px;
    font-size: 0.74rem;
    line-height: 1.1;
    white-space: nowrap;
    text-align: center;
    border-radius: 999px;
    max-width: 160px;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-contact .call-toggle {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .header-contact .btn {
    width: auto;
  }

  .lang-switch {
    order: 3;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-band .container {
    align-items: stretch;
  }
}
