:root {
  --brand-blue: rgb(47, 46, 122);
  --brand-blue-deep: rgb(35, 34, 96);
  --brand-blue-soft: rgb(90, 104, 196);
  --brand-blue-hover: rgb(30, 29, 84);
  --brand-orange: #ff8a1f;
  --brand-orange-deep: #e86f00;
  --bg: #f3f7fc;
  --text: #132236;
  --muted: #5b6f86;
  --card: #ffffff;
  --border: #d9e4f2;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 12px 32px rgba(9, 39, 71, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(15, 79, 138, 0.14), transparent 45%),
    radial-gradient(circle at 100% 10%, rgba(255, 138, 31, 0.12), transparent 40%),
    var(--bg);
  line-height: 1.55;
  padding-bottom: 90px;
}

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

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

.top-strip {
  background: #0b2f53;
  color: #cfe2f8;
  font-size: 0.88rem;
  padding: 0.45rem 0;
}

.top-strip-link {
  color: #e5f1ff;
  font-weight: 600;
}

.top-strip-link:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.87);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 26px rgba(9, 35, 66, 0.1);
}

.navbar-brand {
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand-logo {
  height: 42px;
  width: auto;
  max-width: 240px;
  border-radius: 0;
  object-fit: contain;
  border: 0;
}

.nav-link {
  color: #2b3b4f;
  font-weight: 600;
}

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

.btn {
  border-radius: 999px;
  font-weight: 700;
  border-width: 1px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-call,
.btn-brand {
  background: linear-gradient(130deg, var(--brand-blue) 0%, var(--brand-blue-soft) 100%);
  border-color: var(--brand-blue);
  color: #fff;
}

.btn-call:hover,
.btn-brand:hover {
  background: linear-gradient(130deg, var(--brand-blue-hover) 0%, var(--brand-blue) 100%);
  border-color: var(--brand-blue-hover);
  color: #fff;
}

.btn-brand-outline {
  background: #fff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-brand-outline:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.btn-brand-ghost {
  background: #f0f6ff;
  border-color: #d6e6fb;
  color: var(--brand-blue);
}

.btn-call-mini {
  background: #f2f2ff;
  border-color: color-mix(in srgb, var(--brand-blue) 35%, #ffffff);
  color: var(--brand-blue);
}

.btn-wa-mini {
  background: #ecfbf5;
  border-color: #b8ead6;
  color: #0b7a5f;
}

.btn-main {
  background: linear-gradient(130deg, var(--brand-orange) 0%, var(--brand-orange-deep) 100%);
  border-color: var(--brand-orange-deep);
  color: #fff;
}

.btn-main:hover {
  background: linear-gradient(130deg, var(--brand-orange-deep) 0%, #c95f00 100%);
  color: #fff;
}

.hero-wrap {
  padding: 1.5rem 0 1rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1.7rem 1.2rem;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(9, 42, 73, 0.8), rgba(15, 79, 138, 0.7)),
    linear-gradient(130deg, #0f4f8a 0%, #196db9 48%, #fe8a1f 130%);
  box-shadow: var(--shadow-soft);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 0.7rem;
}

.hero-title {
  font-size: clamp(1.6rem, 4.2vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-proof-item {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.84rem;
}

.section-kicker {
  display: inline-block;
  color: var(--brand-orange-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.section-title {
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 70ch;
}

.surface-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(8, 30, 56, 0.05);
}

.badge-soft {
  display: inline-block;
  font-size: 0.73rem;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  background: #e9f3ff;
  color: var(--brand-blue);
  font-weight: 700;
}

.media-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}

.media-strip-item {
  min-height: 150px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #d8e2f1;
  scroll-snap-align: start;
}

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

.category-card {
  height: 100%;
  padding: 1rem;
}

.category-link {
  font-weight: 700;
  color: var(--brand-blue);
}

.rating-stars {
  color: #ff9800;
  letter-spacing: 1px;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.testimonial-card {
  height: 100%;
  padding: 1rem;
}

.service-tabs .nav-link {
  border: 1px solid #cbdcf1;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  background: #f2f7fe;
  color: #27425f;
  margin: 0 0.45rem 0.45rem 0;
}

.service-tabs .nav-link.active {
  background: linear-gradient(130deg, var(--brand-blue) 0%, #1b70bc 100%);
  border-color: var(--brand-blue);
  color: #fff;
}

.service-block-card {
  height: 100%;
  overflow: hidden;
}

.service-block-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.service-block-body {
  padding: 1rem;
}

.price-chip {
  margin: 0;
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #fff1e4;
  color: #a84d00;
  font-weight: 700;
  font-size: 0.88rem;
}

.location-panel {
  height: 100%;
  padding: 1rem;
}

.contact-panel {
  padding: 1.1rem;
}

.contact-success {
  border-left: 4px solid #1f9d67;
}

.emergency-banner {
  background:
    linear-gradient(135deg, rgba(15, 79, 138, 0.08), rgba(255, 138, 31, 0.1)),
    #fff;
}

.site-footer {
  margin-top: 3.1rem;
  border-top: 1px solid var(--border);
  background: #eef4fb;
}

.form-control,
.form-select {
  border-radius: 12px;
  border-color: #ccd9eb;
}

.form-control:focus,
.form-select:focus {
  border-color: #91b7e3;
  box-shadow: 0 0 0 0.18rem rgba(15, 79, 138, 0.14);
}

.alert {
  border-radius: 13px;
}

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 24px rgba(9, 35, 66, 0.14);
  backdrop-filter: blur(10px);
  z-index: 1040;
}

.mobile-cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.46rem;
  color: #fff;
  padding: 0.72rem 0.55rem;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(9, 35, 66, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.mobile-cta-btn:hover,
.mobile-cta-btn:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(9, 35, 66, 0.24);
}

.mobile-cta-btn:active {
  transform: translateY(1px);
}

.mobile-cta-icon {
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 auto;
}

.mobile-cta-call {
  background: linear-gradient(130deg, var(--brand-blue) 0%, var(--brand-blue-soft) 100%);
  border-color: var(--brand-blue);
}

.mobile-cta-call:hover,
.mobile-cta-call:focus-visible {
  background: linear-gradient(130deg, var(--brand-blue-hover) 0%, var(--brand-blue) 100%);
  border-color: var(--brand-blue-hover);
}

.mobile-cta-call .mobile-cta-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.62 10.79a15.46 15.46 0 006.59 6.59l2.2-2.2a1 1 0 011-.24 11.4 11.4 0 003.59.57 1 1 0 011 1V20a1 1 0 01-1 1C10.85 21 3 13.15 3 3a1 1 0 011-1h3.5a1 1 0 011 1c0 1.24.2 2.44.57 3.59a1 1 0 01-.25 1z'/%3E%3C/svg%3E");
}

.mobile-cta-wa {
  background: linear-gradient(130deg, var(--brand-orange) 0%, var(--brand-orange-deep) 100%);
  border-color: var(--brand-orange-deep);
}

.mobile-cta-wa:hover,
.mobile-cta-wa:focus-visible {
  background: linear-gradient(130deg, var(--brand-orange-deep) 0%, #c95f00 100%);
  border-color: #c95f00;
}

.mobile-cta-wa .mobile-cta-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 3.9A10 10 0 005 18.2L3.5 22l3.9-1.5A10 10 0 1020 3.9zM12 20a8 8 0 01-4.1-1.1l-.3-.2-2.3.9.9-2.2-.2-.3A8 8 0 1112 20zm4.4-5.9c-.2-.1-1.3-.6-1.5-.7-.2-.1-.3-.1-.5.1l-.7.8c-.1.1-.3.2-.5.1a6.6 6.6 0 01-2-1.2 7.2 7.2 0 01-1.3-1.7c-.1-.2 0-.4.1-.5l.3-.3.2-.3c.1-.1.1-.3 0-.4L9.8 8c-.1-.2-.3-.3-.5-.3h-.4c-.2 0-.4.1-.6.3-.2.2-.8.8-.8 1.9s.8 2.3.9 2.4c.1.2 1.6 2.5 3.8 3.5 2.2 1 2.2.7 2.6.7.4 0 1.3-.5 1.5-1.1.2-.6.2-1 .2-1.1 0-.1-.2-.2-.4-.3z'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .hero-wrap {
    padding: 2rem 0 1.1rem;
  }

  .hero-panel {
    padding: 2.4rem 2rem;
  }

  .media-strip {
    grid-auto-columns: minmax(260px, 300px);
  }
}

@media (max-width: 767.98px) {
  .brand-logo {
    max-width: 80px;
    height: 25px;
  }
}
.hero-kicker {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    color: #f6fbff;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-gradient-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        132deg,
        rgb(35, 34, 96) 0%,
        rgb(47, 46, 122) 48%,
        rgb(90, 104, 196) 100%
    );
    color: #ffffff;
    border-radius: 20px;
    padding: clamp(1.15rem, 2.8vw, 1.9rem);
    box-shadow: 0 18px 40px rgba(14, 58, 126, 0.24);
}

.hero-gradient-panel::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -120px;
    top: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 248, 255, 0.62) 0%, rgba(245, 248, 255, 0) 72%);
    pointer-events: none;
}

.hero-gradient-panel .lead,
.hero-gradient-panel .small {
    color: rgba(255, 255, 255, 0.9);
}

.hero-gradient-panel .btn-light {
    border-color: rgba(255, 255, 255, 0.55) !important;
}

.hero-panel-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
}

.hero-main-content {
    min-width: 0;
}

.hero-benefits-card {
    align-self: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-benefits-card h2 {
    color: #ffffff;
}

.hero-benefits-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.btn-primary {
    --bs-btn-bg: var(--brand-blue);
    --bs-btn-border-color: var(--brand-blue);
    --bs-btn-hover-bg: var(--brand-blue-hover);
    --bs-btn-hover-border-color: var(--brand-blue-hover);
    --bs-btn-active-bg: var(--brand-blue-deep);
    --bs-btn-active-border-color: var(--brand-blue-deep);
    --bs-btn-disabled-bg: var(--brand-blue);
    --bs-btn-disabled-border-color: var(--brand-blue);
}

.btn-outline-primary {
    --bs-btn-color: var(--brand-blue);
    --bs-btn-border-color: var(--brand-blue);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--brand-blue);
    --bs-btn-hover-border-color: var(--brand-blue);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--brand-blue-hover);
    --bs-btn-active-border-color: var(--brand-blue-hover);
    --bs-btn-disabled-color: var(--brand-blue);
    --bs-btn-disabled-border-color: var(--brand-blue);
    background: #ffffff;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
    box-shadow: 0 0 0 0.18rem rgba(47, 46, 122, 0.14);
}

.hero-media-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 40vw);
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
}

.hero-media-item {
    scroll-snap-align: start;
}

.hero-media-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(20, 40, 90, 0.14);
}

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

.gallery-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(16, 34, 78, 0.12);
    border: 1px solid var(--border);
    background: #fff;
}

.gallery-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 220ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
    transform: scale(1.04);
}

.service-card-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.service-card-text p {
    margin-bottom: 0.65rem;
}

.service-card-text ul {
    margin-bottom: 0.65rem;
    padding-left: 1.2rem;
}

.service-card-price {
    color: var(--brand-orange);
    font-weight: 700;
}

.service-tabs .nav-link {
    border-radius: 999px;
    margin-right: 0.35rem;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
}

.service-tabs .nav-link.active {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

.service-cta-banner {
    border: 1px solid color-mix(in srgb, var(--brand-orange) 20%, var(--border));
    background: linear-gradient(165deg, color-mix(in srgb, var(--brand-orange) 10%, #fff), #fff);
    border-radius: 18px;
    padding: 1.1rem;
}

.rating-stars {
    color: #f59e0b;
    letter-spacing: 0.03em;
}

@media (min-width: 768px) {
    .hero-panel-grid {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
        align-items: center;
    }

    .hero-media-strip {
        grid-auto-columns: minmax(320px, 30vw);
    }

    .hero-media-item img {
        height: 260px;
    }

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

    .gallery-card img {
        height: 220px;
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
