:root {
  --primary: #f15a24;
  --primary-dark: #c94312;
  --secondary: #ffe200;
  --maroon: #8f2416;
  --green: #1f5e3b;
  --dark: #222222;
  --muted: #666666;
  --light: #fffdf7;
  --cream: #fff3d8;
  --gray: #f5f5f5;
  --border: #eadfc7;
  --shadow: 0 18px 50px rgba(34, 34, 34, 0.12);
}

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--light);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

img,
iframe,
video {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 253, 247, 0.96);
  border-bottom: 1px solid rgba(234, 223, 199, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(34, 34, 34, 0.08);
}

.navbar {
  padding: 0.85rem 0;
}

.navbar-nav {
  gap: 0.25rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 460px;
  color: var(--maroon);
  font-weight: 800;
  line-height: 1.1;
  white-space: normal;
}

.navbar-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.brand-mark {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--maroon));
  border-radius: 50%;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(232, 93, 28, 0.25);
}

.nav-link {
  position: relative;
  border-radius: 999px;
  padding: 0.62rem 1rem !important;
  color: var(--dark);
  font-weight: 750;
  line-height: 1;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-link::after {
  position: absolute;
  right: 1rem;
  bottom: 0.34rem;
  left: 1rem;
  height: 2px;
  content: "";
  background: var(--secondary);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary);
  background: rgba(241, 90, 36, 0.08);
}

.nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--maroon);
  background: linear-gradient(135deg, rgba(255, 226, 0, 0.72), rgba(241, 90, 36, 0.14));
  box-shadow: inset 0 0 0 1px rgba(241, 90, 36, 0.16), 0 8px 18px rgba(143, 36, 22, 0.08);
}

.nav-link.active::after,
.navbar-nav .nav-link.show::after,
.nav-link:hover::after,
.nav-link:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid rgba(143, 36, 22, 0.18);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  background: #fff;
  box-shadow: 0 8px 18px rgba(34, 34, 34, 0.08);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(241, 90, 36, 0.18);
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(34, 34, 34, 0.1);
}

.dropdown-item {
  font-weight: 650;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  color: var(--primary);
  background: rgba(241, 90, 36, 0.08);
}

.btn {
  border-radius: 6px;
  font-weight: 750;
  padding: 0.78rem 1.1rem;
}

.btn-sm {
  padding: 0.52rem 0.78rem;
}

.btn-primary {
  border-color: var(--primary);
  background: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.btn-outline-dark {
  border-color: var(--dark);
}

.section {
  padding: 86px 0;
}

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

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

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
  margin: 0.5rem 0 0.7rem;
  color: var(--maroon);
  font-weight: 900;
  line-height: 1.05;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-slider .carousel-item {
  min-height: calc(100vh - 84px);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 7%;
}

.hero-slider .carousel-indicators {
  margin-bottom: 2rem;
}

.hero-slider .carousel-indicators button {
  width: 34px;
  height: 4px;
  border: 0;
  background-color: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(34, 34, 34, 0.82), rgba(143, 36, 22, 0.62), rgba(34, 34, 34, 0.12)),
    radial-gradient(circle at 82% 20%, rgba(255, 226, 0, 0.34), transparent 30%);
}

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

.hero-content {
  max-width: 760px;
  padding: 78px 0;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  font-weight: 950;
  line-height: 1.02;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.35);
}

.hero p {
  max-width: 630px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-note {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  color: #2d2100;
  background: var(--secondary);
  border-radius: 999px;
  font-weight: 850;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 22px;
  background: #fff;
}

.trust-item i {
  color: var(--primary);
  font-size: 1.8rem;
}

.trust-item strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--maroon);
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-item {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(34, 34, 34, 0.06);
}

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

.branch-card img {
  height: 210px;
}

.card-item:hover img {
  transform: scale(1.05);
}

.card-body-custom {
  padding: 20px;
}

.card-body-custom h3 {
  color: var(--maroon);
  font-size: 1.22rem;
  font-weight: 850;
}

.card-body-custom p {
  color: var(--muted);
}

.offer-band {
  color: #2d2100;
  background:
    linear-gradient(110deg, var(--secondary), #ffe780 45%, var(--primary));
  border-radius: 8px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.offer-band h2 {
  color: var(--maroon);
  font-weight: 950;
}

.gallery-grid {
  columns: 3 280px;
  column-gap: 1rem;
}

.gallery-tile {
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.gallery-tile img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-tile span {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--maroon);
  font-weight: 800;
}

.gallery-tile p {
  margin: -0.45rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.review-card {
  height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.review-stars {
  color: #d99a00;
  font-size: 1.1rem;
}

.contact-panel {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(34, 34, 34, 0.06);
}

.map-box iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
}

.offline-map {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 32px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 226, 0, 0.18), rgba(241, 90, 36, 0.14)),
    #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(34, 34, 34, 0.06);
}

.offline-map i {
  display: inline-grid;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  font-size: 1.8rem;
}

.offline-map h3 {
  color: var(--maroon);
  font-weight: 900;
}

.offline-map p {
  max-width: 440px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

.site-footer {
  padding: 60px 0 90px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  font-weight: 850;
}

.site-footer a {
  display: block;
  margin: 0.45rem 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #222;
  background: var(--secondary);
  border-radius: 50%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  background: #20b857;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(32, 184, 87, 0.38);
  font-size: 1.7rem;
  animation: floatPulse 2.2s ease-in-out infinite;
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 41;
  display: none;
  width: 100%;
  max-width: 100vw;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 20px rgba(34, 34, 34, 0.12);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bar a {
  display: grid;
  min-width: 0;
  min-height: 58px;
  gap: 2px;
  place-items: center;
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1;
  overflow: hidden;
}

.mobile-bar i {
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
}

.mobile-bar span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-shell {
  min-height: 100vh;
  background: var(--gray);
}

.admin-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(34, 34, 34, 0.06);
}

.admin-sidebar {
  min-height: 100vh;
  background: var(--dark);
}

.admin-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.admin-brand {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0;
}

.admin-brand:hover,
.admin-brand:focus {
  color: var(--secondary) !important;
  background: transparent !important;
}

.admin-navbar-toggler {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.admin-navbar-toggler:focus {
  outline: 0;
  box-shadow: 0 0 0 0.18rem rgba(255, 226, 0, 0.24);
}

.admin-navbar-toggler i {
  font-size: 1.35rem;
  line-height: 1;
}

.admin-nav-collapse {
  gap: 0.25rem;
}

.admin-nav-collapse > a,
.admin-nav-collapse > .admin-menu-group {
  margin-bottom: 0.25rem;
}

.admin-sidebar a {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  font-weight: 650;
  line-height: 1.15;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.active,
.admin-menu-toggle:hover,
.admin-menu-toggle.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.admin-sidebar a.active,
.admin-menu-toggle.active {
  background: linear-gradient(135deg, rgba(255, 226, 0, 0.22), rgba(241, 90, 36, 0.18));
  box-shadow: inset 3px 0 0 var(--secondary), inset 0 0 0 1px rgba(255, 226, 0, 0.08);
}

.admin-menu-group {
  margin: 0.25rem 0;
}

.admin-menu-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 1rem;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-weight: 650;
  text-align: left;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-menu-toggle span {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.admin-sub-link {
  margin-left: 0.85rem;
  padding-left: 1rem !important;
  font-size: 0.92rem;
}

@media (max-width: 991px) {
  .hero,
  .hero-slider .carousel-item {
    min-height: 72vh;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar-collapse {
    margin-top: 0.85rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid rgba(234, 223, 199, 0.9);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(34, 34, 34, 0.1);
  }

  .navbar-nav {
    gap: 0.35rem;
    align-items: stretch !important;
  }

  .nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    border-radius: 8px;
  }

  .site-footer {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-bar {
    display: grid;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(34, 34, 34, 0.16);
  }

  .admin-sidebar-head {
    margin-bottom: 0;
  }

  .admin-nav-collapse {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .admin-sidebar a,
  .admin-menu-toggle {
    min-height: 44px;
  }

  .admin-sub-link {
    margin-left: 0.5rem;
  }
}

@media (max-width: 575px) {
  .navbar-brand {
    max-width: 260px;
    font-size: 0.95rem;
  }

  .section {
    padding: 58px 0;
  }

  .hero-content {
    padding: 58px 0 82px;
  }

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

  .offer-band {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
