/* DBKASABE Infrastructure — Premium Professional Theme */
:root {
  --primary: #0b3a5c;
  --primary-dark: #07263d;
  --primary-mid: #134e75;
  --accent: #c9a227;
  --accent-hover: #b08d1c;
  --accent-soft: rgba(201, 162, 39, 0.14);
  --bg: #f4f7fa;
  --bg-soft: #eef3f7;
  --surface: #ffffff;
  --text: #1a2332;
  --text-muted: #5a6577;
  --border: #d8e1ea;
  --shadow: 0 10px 30px rgba(11, 58, 92, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 58, 92, 0.14);
  --radius: 14px;
  --nav-h: 84px;
  --transition: 0.35s ease;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-num: "Roboto", "Lato", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.num,
.phone-num,
.stat-number,
.contact-card a[href^="tel"],
.contact-card a[href^="mailto"] {
  font-family: var(--font-num);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(11, 58, 92, 0.1);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(11, 58, 92, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  transition: color var(--transition);
}

.brand-tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.site-header.scrolled .brand-name {
  color: var(--primary);
}

.site-header.scrolled .brand-tag {
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.site-header.scrolled .nav-menu a {
  color: var(--primary);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
  background: rgba(201, 162, 39, 0.12);
}

.site-header.scrolled .nav-menu a:hover,
.site-header.scrolled .nav-menu a.active {
  color: var(--accent-hover);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 50;
}

.nav-menu > li:hover > .dropdown,
.nav-menu > li:focus-within > .dropdown,
.nav-menu > li.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.7rem 0.9rem;
  color: var(--primary) !important;
  font-size: 0.86rem;
  border-radius: 8px;
}

.dropdown a:hover {
  background: var(--bg-soft);
  color: var(--accent-hover) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition);
}

.site-header.scrolled .nav-toggle {
  border-color: var(--border);
  background: var(--bg-soft);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.site-header.scrolled .nav-toggle span {
  background: var(--primary);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 8s ease forwards;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 38, 61, 0.82) 0%, rgba(11, 58, 92, 0.55) 55%, rgba(7, 38, 61, 0.7) 100%);
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1rem 4rem;
}

.hero-content-inner {
  max-width: 860px;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(201, 162, 39, 0.55);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  background: rgba(201, 162, 39, 0.1);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dots button.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  pointer-events: none;
  animation: sparkFloat 4s ease-in-out infinite;
  z-index: 2;
}

.spark:nth-child(1) { top: 22%; left: 12%; animation-delay: 0s; }
.spark:nth-child(2) { top: 35%; right: 18%; animation-delay: 1.2s; }
.spark:nth-child(3) { bottom: 28%; left: 22%; animation-delay: 0.6s; }
.spark:nth-child(4) { top: 48%; right: 10%; animation-delay: 2s; }

@keyframes sparkFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.35; box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4); }
  50% { transform: translateY(-18px) scale(1.4); opacity: 0.9; box-shadow: 0 0 18px 4px rgba(201, 162, 39, 0.35); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: #1a1505;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  color: var(--accent-hover);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-head p {
  color: var(--text-muted);
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: calc(var(--nav-h) + 2.5rem) 1rem 3rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 38, 61, 0.85), rgba(11, 58, 92, 0.65));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 0.7rem;
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Cards / Grids ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(216, 225, 234, 0.7);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, #e8eef4 0%, #dce6ef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
  cursor: zoom-in;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card-body h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-link {
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 0.9rem;
}

.card-link:hover {
  text-decoration: underline;
}

/* Vision / Mission */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.vm-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.vm-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.15);
  top: -40px;
  right: -40px;
}

.vm-card.alt {
  background: linear-gradient(145deg, #163d28 0%, #1f5a3a 100%);
}

.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}

.vm-card p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.vm-card p:last-child {
  margin-bottom: 0;
}

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -3rem;
  position: relative;
  z-index: 5;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

/* ISO badge */
.iso-wrap {
  display: flex;
  justify-content: center;
  margin: 2rem 0 0;
}

.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.iso-badge:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.iso-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e0c35a);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.75rem;
}

.iso-badge strong {
  display: block;
  color: var(--primary);
}

.iso-badge span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Journey timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 1.75rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.3);
}

.timeline-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.timeline-card h3 {
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.timeline-card p {
  color: var(--text-muted);
}

/* Why choose */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.feature-item {
  display: flex;
  gap: 0.9rem;
  padding: 1.2rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 800;
}

.feature-item h3 {
  font-size: 1.02rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(160deg, #e8eef4 0%, #dce6ef 100%);
  cursor: zoom-in;
}

/* Clients */
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.client-card {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.client-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.client-card h3 {
  color: var(--primary);
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.client-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}

.contact-row strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.contact-row p,
.contact-row a {
  color: var(--text-muted);
}

.contact-row a:hover {
  color: var(--accent-hover);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-mid);
  box-shadow: 0 0 0 3px rgba(19, 78, 117, 0.15);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.company-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.meta-pill {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
}

.meta-pill span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-pill strong {
  font-family: var(--font-num);
  font-size: 0.9rem;
  color: var(--primary);
  word-break: break-all;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary-mid));
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
}

.cta-band::before {
  width: 280px;
  height: 280px;
  top: -80px;
  left: -60px;
}

.cta-band::after {
  width: 220px;
  height: 220px;
  bottom: -70px;
  right: -40px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}

.cta-band p {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
}

.cta-band .hero-actions {
  position: relative;
  z-index: 1;
}

/* Footer */
.site-footer {
  background: #061d2e;
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: var(--accent);
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Floating buttons */
.float-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
  position: relative;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.float-btn svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.float-wa {
  background: #25d366;
}

.float-call {
  background: var(--primary);
}

.float-btn::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  background: #061d2e;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: var(--font-num);
}

.float-btn:hover::after {
  opacity: 1;
}

/* Lightbox / Modal */
.lightbox,
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 29, 46, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lightbox.open,
.modal.open {
  display: flex;
}

.lightbox-inner,
.modal-inner {
  position: relative;
  max-width: min(960px, 96vw);
  max-height: 90vh;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.3s ease;
}

.lightbox-inner img {
  max-width: 96vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.modal-inner {
  width: min(920px, 96vw);
  height: min(85vh, 900px);
  display: flex;
  flex-direction: column;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.modal-head h3 {
  color: var(--primary);
  font-size: 1rem;
}

.modal-body {
  flex: 1;
  min-height: 0;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.close-x {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease;
}

.close-x:hover {
  background: var(--accent-hover);
}

.lightbox .close-x {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service detail */
.service-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.service-detail .prose h2 {
  color: var(--primary);
  font-family: var(--font-display);
  margin-bottom: 0.8rem;
}

.service-detail .prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-detail .prose ul {
  margin: 1rem 0 1.5rem;
}

.service-detail .prose li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.service-detail .prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-3,
  .grid-4,
  .stats-bar,
  .footer-grid,
  .split,
  .contact-grid,
  .service-detail,
  .feature-list,
  .vm-grid,
  .client-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 1100;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.15rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    color: var(--primary) !important;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    min-width: 0;
    background: var(--bg-soft);
    margin: 0.25rem 0 0.5rem;
  }

  .nav-menu > li.open > .dropdown {
    display: block;
  }

  .brand-name {
    font-size: 0.78rem;
    white-space: normal;
  }

  .site-header:not(.scrolled) .brand-name,
  .site-header:not(.scrolled) .brand-tag {
    color: #fff;
  }

  .site-header:not(.scrolled) .nav-toggle {
    border-color: rgba(255, 255, 255, 0.45);
  }
}

@media (max-width: 720px) {
  .grid-3,
  .grid-4,
  .stats-bar,
  .footer-grid,
  .split,
  .contact-grid,
  .service-detail,
  .feature-list,
  .vm-grid,
  .client-grid,
  .company-meta,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .float-stack {
    right: 12px;
    bottom: 12px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .brand-tag {
    display: none;
  }
}
