:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-soft: #eef7fb;
  --text: #17324a;
  --muted: #5d7286;
  --primary: #1766a3;
  --primary-dark: #0f4d7b;
  --accent: #f4b63f;
  --accent-dark: #d99716;
  --border: rgba(23, 50, 74, 0.12);
  --shadow: 0 18px 48px rgba(15, 77, 123, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(23, 102, 163, 0.10), transparent 32%),
    radial-gradient(circle at top right, rgba(244, 182, 63, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--text);
}

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

a:hover {
  color: var(--primary-dark);
}

.navbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(23, 50, 74, 0.08);
}

.navbar-toggler {
  border-color: rgba(23, 102, 163, 0.18);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(23, 50, 74, 0.92)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
  border: 1px solid rgba(23, 50, 74, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-link {
  color: var(--text);
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.78rem 1.25rem;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2893d4);
  border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--primary-dark), #1d77b8);
  border-color: transparent;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #ffd36d);
  color: #2f2202;
  border: 1px solid rgba(181, 124, 0, 0.16);
}

.btn-accent:hover,
.btn-accent:focus {
  background: linear-gradient(135deg, var(--accent-dark), #f5c14f);
  color: #2f2202;
}

.btn-outline-primary {
  border-color: rgba(23, 102, 163, 0.22);
  color: var(--primary-dark);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(23, 102, 163, 0.10);
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.section-title p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero {
  padding: 6.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.85;
  pointer-events: none;
}

.hero::before {
  width: 260px;
  height: 260px;
  background: rgba(23, 102, 163, 0.13);
  top: -70px;
  right: -30px;
}

.hero::after {
  width: 220px;
  height: 220px;
  background: rgba(244, 182, 63, 0.12);
  left: -40px;
  bottom: 20px;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.84));
  border: 1px solid rgba(23, 50, 74, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-image {
  min-height: 100%;
  border-radius: calc(var(--radius-xl) - 6px);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(23, 102, 163, 0.08), rgba(244, 182, 63, 0.15));
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.surface-soft {
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(244, 182, 63, 0.14);
  color: #745000;
  font-weight: 700;
  font-size: 0.85rem;
}

.feature-card,
.service-card,
.testimonial-card,
.blog-card,
.faq-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.service-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.faq-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(15, 77, 123, 0.14);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(23, 102, 163, 0.12), rgba(244, 182, 63, 0.18));
  color: var(--primary);
  font-size: 1.4rem;
}

.service-content-section {
  position: relative;
}

.service-layout-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 1.5rem;
  align-items: start;
}

.service-content-panel {
  background: linear-gradient(180deg, #ffffff, rgba(238, 247, 251, 0.72));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.service-content-panel .section-title {
  max-width: 100%;
}

.service-visual-stack {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6rem;
}

.service-photo-main,
.service-photo-small {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(23, 50, 74, 0.10);
  background: var(--surface-soft);
}

.service-photo-main {
  aspect-ratio: 4 / 5;
}

.service-photo-small {
  aspect-ratio: 1 / 1;
}

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

.service-help-panel {
  padding: 1.15rem;
}

.service-help-panel .h5 {
  line-height: 1.25;
}

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

.service-content-grid .col-12,
.service-content-grid .col-lg-6 {
  width: auto;
  max-width: none;
}

.service-content-grid .col-12 {
  grid-column: 1 / -1;
}

.service-content-grid .feature-card {
  height: 100%;
  border-radius: 18px;
  box-shadow: none;
  border-color: rgba(23, 102, 163, 0.13);
  position: relative;
  overflow: hidden;
}

.service-content-grid .feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.service-content-grid .feature-card:hover {
  transform: translateY(-3px);
}

.service-feature-highlight {
  background:
    linear-gradient(135deg, rgba(23, 102, 163, 0.08), rgba(244, 182, 63, 0.10)),
    #fff;
}

.service-content-grid h3 {
  line-height: 1.25;
}

.service-content-grid p:last-child {
  margin-bottom: 0;
}

.stat-band {
  background: linear-gradient(135deg, #0f4d7b, #1766a3 48%, #2b8fd1);
  color: #fff;
  border-radius: var(--radius-xl);
}

.stat-band .display-6 {
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 220px;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 31, 51, 0.82));
  opacity: 0.9;
}

.gallery-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: #fff;
  z-index: 1;
}

.gallery-a { grid-column: span 7; min-height: 340px; }
.gallery-b { grid-column: span 5; }
.gallery-c { grid-column: span 4; }
.gallery-d { grid-column: span 4; }
.gallery-e { grid-column: span 4; }

.before-after img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.coupon-card {
  border: 2px dashed rgba(23, 102, 163, 0.25);
  background: linear-gradient(180deg, #fff, #f6fbff);
}

.cta-panel {
  background: linear-gradient(135deg, #1766a3, #2b8fd1);
  color: #fff;
}

.form-textarea-lg {
  min-height: 120px;
}

.page-header {
  padding: 4.5rem 0 2.5rem;
}

.page-header .surface {
  background: linear-gradient(135deg, rgba(23, 102, 163, 0.08), rgba(244, 182, 63, 0.10));
}

.footer {
  background: linear-gradient(180deg, #f3f8fb, #e7f0f6);
  border-top: 1px solid rgba(23, 50, 74, 0.08);
}

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

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

.footer .surface {
  border-radius: 24px;
}

.mini-form .form-control,
.mini-form .form-select,
.CUS .form-control,
.CUS .form-select {
  border-radius: 14px;
  border-color: rgba(23, 50, 74, 0.14);
  padding: 0.8rem 0.95rem;
}

.CUS fieldset {
  border: 0;
}

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

.accordion-button:not(.collapsed) {
  background: rgba(23, 102, 163, 0.08);
  color: var(--primary-dark);
}

.accordion-item {
  border-color: rgba(23, 50, 74, 0.1);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.text-primary-soft {
  color: #2677b3;
}

.service-list a {
  display: block;
  padding: 0.55rem 0;
  color: var(--text);
  border-bottom: 1px solid rgba(23, 50, 74, 0.08);
}

.service-list a:hover {
  color: var(--primary);
}

.map-embed {
  border: 0;
  width: 100%;
  min-height: 240px;
  border-radius: 20px;
}

.social-list a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(23, 50, 74, 0.1);
  margin-right: 0.4rem;
}

.breadcrumb a {
  color: var(--primary-dark);
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 5rem;
  }

  .service-layout-grid {
    grid-template-columns: 1fr;
  }

  .service-visual-stack {
    position: static;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .service-photo-main {
    aspect-ratio: 16 / 10;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-a,
  .gallery-b,
  .gallery-c,
  .gallery-d,
  .gallery-e {
    grid-column: span 6;
  }
}

@media (max-width: 575.98px) {
  .section,
  .section-sm {
    padding: 3.25rem 0;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .service-content-panel {
    padding: 1rem;
  }

  .service-visual-stack,
  .service-content-grid {
    grid-template-columns: 1fr;
  }

  .service-photo-main,
  .service-photo-small {
    aspect-ratio: 16 / 11;
  }

  .service-mini-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-a,
  .gallery-b,
  .gallery-c,
  .gallery-d,
  .gallery-e {
    grid-column: span 1;
  }
}
