/* Core palette */
:root {
  --deep-blue: #0f1f3d;
  --accent-blue: #2e6ff2;
  --soft-silver: #e6edf5;
  --ice: #f7f9fc;
  --text: #0d1526;
  --muted: #4f5b72;
  --white: #ffffff;
  --shadow-3d: 0 20px 60px rgba(15, 31, 61, 0.15);
  --radius: 18px;
  --radius-lg: 26px;
  --transition: 220ms ease;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--ice), var(--soft-silver));
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent-blue);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

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

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(12px);
  background: rgba(247, 249, 252, 0.88);
  border-bottom: 1px solid rgba(15, 31, 61, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--deep-blue);
  letter-spacing: 0.4px;
  min-width: 0;
}

.logo > div {
  overflow: hidden;
}

.logo > div > div {
  font-size: 14px;
  white-space: nowrap;
}

.logo > div > small {
  display: none;
}

@media (max-width: 900px) {
  .logo {
    gap: 8px;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .logo > div > div {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .logo > div > div {
    font-size: 11px;
  }
  .logo-mark {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-blue), #5aa8ff);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  box-shadow: var(--shadow-3d);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 18px;
  margin: 0;
  padding: 0;
}

nav a {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition);
}

nav a:hover,
nav a.active {
  color: var(--deep-blue);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 31, 61, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-text {
  display: inline;
}

@media (max-width: 900px) {
  .btn-text {
    display: none;
  }
  .btn {
    padding: 10px 12px;
    font-size: 16px;
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), #5aa8ff);
  color: var(--white);
  box-shadow: var(--shadow-3d);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(46, 111, 242, 0.35);
}

.btn-ghost {
  border-color: rgba(15, 31, 61, 0.12);
  background: var(--white);
  color: var(--deep-blue);
}

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

/* Smaller button in navbar */
.navbar .btn {
  padding: 8px 14px;
  font-size: 14px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 31, 61, 0.12);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--deep-blue);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 14px 0;
}

/* Hero */
.hero {
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

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

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.hero-left {
  position: relative;
  z-index: 1;
}

.hero-left h1 {
  font-size: clamp(28px, 4vw, 46px);
  color: var(--deep-blue);
  margin: 0 0 14px;
}

.hero-left p {
  color: var(--muted);
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-3d);
  color: var(--muted);
  font-weight: 700;
}

.hero-visual {
  background: radial-gradient(circle at 20% 20%, rgba(46, 111, 242, 0.25), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(90, 168, 255, 0.28), transparent 34%),
    var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-3d);
  min-height: 360px;
  perspective: 1200px;
}

.hero-card {
  position: absolute;
  inset: 26px;
  background: linear-gradient(165deg, var(--white), var(--soft-silver));
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(15, 31, 61, 0.16);
  transform: rotateY(-8deg) rotateX(6deg);
  transition: transform 0.8s ease;
  overflow: hidden;
}

.hero-card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  display: grid;
  gap: 10px;
  color: var(--deep-blue);
}

.hero-card-content h3 {
  margin: 0;
  font-size: 22px;
}

.hero-card-content ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.hero-card-content ul li {
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .hero-card-content {
    padding: 16px;
    gap: 8px;
  }
  .hero-card-content h3 {
    font-size: 18px;
  }
  .hero-card-content ul {
    font-size: 13px;
    padding-left: 16px;
  }
  .hero-card-content ul li {
    margin-bottom: 4px;
  }
}

@media (max-width: 640px) {
  .hero-visual {
    min-height: 320px;
    padding: 16px;
  }
  .hero-card {
    inset: 20px;
  }
  .hero-card-content {
    padding: 12px;
    gap: 6px;
  }
  .hero-card-content h3 {
    font-size: 15px;
    line-height: 1.3;
  }
  .hero-card-content ul {
    font-size: 12px;
    padding-left: 14px;
  }
  .hero-card-content ul li {
    margin-bottom: 3px;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-blue), #5aa8ff);
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow-3d);
  width: fit-content;
}

.hero-contact {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(46, 111, 242, 0.06);
  border: 1px solid rgba(46, 111, 242, 0.15);
}

.hero-number {
  font-weight: 800;
  color: var(--deep-blue);
}

.hero-sub {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual:hover .hero-card {
  transform: rotateY(0deg) rotateX(0deg) translateY(-6px);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 111, 242, 0.15), rgba(90, 168, 255, 0.12));
  mix-blend-mode: screen;
}

.hero-stats {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  gap: 10px;
}

.stat-chip {
  background: var(--white);
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-3d);
  font-weight: 700;
  color: var(--deep-blue);
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-stats {
    gap: 8px;
    bottom: 14px;
    left: 14px;
  }
  .stat-chip {
    padding: 10px 12px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .hero-stats {
    gap: 6px;
    bottom: 10px;
    left: 10px;
    flex-wrap: wrap;
  }
  .stat-chip {
    padding: 8px 10px;
    font-size: 11px;
  }
}

/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--deep-blue);
}

.section p.subhead {
  color: var(--muted);
  margin: 0 0 28px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-3d);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: 0 26px 70px rgba(15, 31, 61, 0.18);
}

.service-card h3 {
  margin: 6px 0 8px;
  color: var(--deep-blue);
}

.service-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--soft-silver);
  border-radius: 999px;
  color: var(--deep-blue);
  font-weight: 700;
  font-size: 12px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.highlight {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-3d);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.testimonial {
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-3d);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  font-size: 64px;
  color: rgba(46, 111, 242, 0.12);
  top: -18px;
  left: 12px;
}

.testimonial strong {
  color: var(--deep-blue);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--accent-blue), #5aa8ff);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
  align-items: center;
  box-shadow: 0 26px 80px rgba(46, 111, 242, 0.35);
}

.cta-band p {
  margin: 0 0 10px;
}

.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Before/after slider */
.slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  background: var(--white);
  min-height: 260px;
}

.slider img {
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider .after {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  transition: width 0.35s ease;
}

.slider:hover .after {
  width: 65%;
}

.slider-handle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.slider-handle span {
  background: rgba(15, 31, 61, 0.7);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* Contact form */
form {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 31, 61, 0.12);
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(46, 111, 242, 0.18);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  padding: 28px 0;
  background: var(--deep-blue);
  color: rgba(255, 255, 255, 0.86);
  margin-top: 50px;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
}

footer a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

/* Floating buttons */
.fab-container {
  position: fixed;
  bottom: 20px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 95;
}

.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-blue), #5aa8ff);
  box-shadow: var(--shadow-3d);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.fab.secondary {
  background: linear-gradient(135deg, #18c06d, #38e08c);
}

.fab:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 40px rgba(15, 31, 61, 0.24);
}

/* Responsive */
@media (max-width: 900px) {
  nav ul {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
  .mobile-nav.show {
    display: flex;
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
  .navbar {
    gap: 10px;
  }
  .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 10px 0;
    gap: 8px;
  }
  .hero {
    padding: 40px 0 20px;
  }
  .hero-visual {
    min-height: 280px;
  }
  .nav-actions .btn-ghost {
    display: none;
  }
}
