﻿:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #dbeafe;
  --ink: #111827;
  --muted: #6b7280;
  --bg: #f4f7ff;
  --soft: #eef4ff;
  --dark: #0f172a;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Sora", "Space Grotesk", sans-serif;
  background: radial-gradient(circle at top, #f8fbff 0%, #f4f7ff 48%, #e8efff 100%);
  color: var(--ink);
  padding-top: calc(78px + env(safe-area-inset-top));
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(15, 23, 42, 0.08), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

a {
  text-decoration: none;
}

.nav-blur {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.navbar {
  top: 0;
  left: 0;
  right: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  padding: 12px 0;
}

.navbar-brand {
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav-link {
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--brand);
  background: rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.navbar-toggler {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  padding: 6px 10px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  border: none;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.btn-outline-dark {
  border-color: rgba(37, 99, 235, 0.45);
  color: var(--brand);
  background: #fff;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.hero-section {
  padding: 90px 0 70px;
}

.hero-media {
  position: relative;
}

.hero-inline-image img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 18px;
}

.hero-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--brand-dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.section {
  padding: 70px 0;
}

.section-title {
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}

.section-dark {
  background: var(--dark);
  color: #f7f3ee;
}

.text-muted-light {
  color: rgba(247, 243, 238, 0.7);
}

.service-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.process-card {
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 100%;
}

.step-number {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f7f3ee;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.gallery-card {
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.gallery-card img {
  width: 100%;
  border-radius: 14px;
}

.gallery-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-soft {
  background: var(--soft);
}

.video-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-form {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer {
  padding: 30px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--muted);
}

.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
}

.fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 14px 24px rgba(28, 27, 24, 0.2);
}

.fab-btn.whatsapp {
  background: #25d366;
}

.fab-btn.phone {
  background: var(--brand-dark);
}

@media (max-width: 991px) {
  body {
    padding-top: calc(72px + env(safe-area-inset-top));
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .nav-link {
    font-size: 1.02rem;
    width: 100%;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .navbar {
    padding: 8px 0;
  }

  .navbar-collapse {
    margin-top: 12px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  }

  .navbar-nav {
    gap: 6px;
  }

  .nav-link:hover {
    background: rgba(37, 99, 235, 0.14);
  }

  .navbar-collapse .d-flex {
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
  }

  .navbar-collapse .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-note {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    max-width: calc(100% - 24px);
    width: auto;
  }

  .hero-badge {
    top: 12px;
    right: 12px;
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  .hero-note p {
    font-size: 0.9rem;
    white-space: normal;
    word-break: break-word;
  }

  .hero-note span {
    font-size: 0.75rem;
  }
}

@media (max-width: 575px) {
  .hero-section {
    padding: 70px 0 24px;
  }

  .section {
    padding: 50px 0;
  }

  .hero-section + .section {
    padding-top: 32px;
  }

  .fab {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: row;
  }

  .fab::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(-20px - env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% + 40px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 0;
  }

  .fab-btn {
    position: relative;
    z-index: 1;
  }
}
