/* ========== SNG ROYAL — LANDING CSS ==========
   Palette:
   - Background : White / Light Grey
   - Headings   : Dark Navy  (#0B1B33)
   - CTA primary: Orange     (#FF6A00)
   - WhatsApp   : Green      (#25D366)
*/

:root {
  --bg:            #ffffff;
  --bg-grey:       #f6f7f9;
  --text:          #1a1d24;
  --text-muted:    #5b6473;
  --navy:          #0b1b33;
  --navy-dark:     #07142a;
  --orange:        #cf0a2c;
  --orange-dark:   #cf0a2c;
  --whatsapp:      #25d366;
  --whatsapp-dark: #1ebe5d;
  --border:        #e6e8ec;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .form-title {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--navy);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar a { color: #fff; font-weight: 600; }
.top-bar a:hover { color: var(--orange); }
.top-bar .fa-star { color: #f5b400; }

/* ========== HEADER ========== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  z-index: 1040;
}
.brand-mark {
  background: var(--navy);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  width: 44px; height: 44px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.brand-text small { font-size: 11px; color: var(--text-muted); }
.navbar .nav-link { color: var(--text); font-weight: 500; }
.navbar .nav-link:hover { color: var(--orange); }

/* ========== BUTTONS ========== */
.btn-cta {
    background: var(--orange);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 12px 26px;
    transition: background .25s, transform .2s, box-shadow .25s;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.35);
    font-size: 15px;
}
.btn-cta:hover, .btn-cta:focus {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,106,0,0.45);
}
.btn-cta-pulse { animation: ctaPulse 2.4s ease-in-out infinite; }
@keyframes ctaPulse {
  0%   { box-shadow: 0 4px 14px rgba(255,106,0,0.35); }
  50%  { box-shadow: 0 4px 28px rgba(255,106,0,0.65), 0 0 0 8px rgba(255,106,0,0.10); }
  100% { box-shadow: 0 4px 14px rgba(255,106,0,0.35); }
}

.btn-cta-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 8px;
  padding: 6px 16px;
  font-weight: 600;
  transition: all .2s;
}
.btn-cta-outline:hover { background: var(--orange); color: #fff; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  transition: background .2s;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-dark {
    background: var(--navy);
    border: none;
    color: #fff !important;
    font-size: 15px;
    line-height: 30px;
}
.btn-dark:hover { background: var(--navy-dark); }
.btn-outline-dark {
    border-color: var(--navy);
    color: var(--navy);
    line-height: 35px;
}span.brand-text {
    line-height: 12px;
}
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

/* ========== TRUST BAR ========== */
.trust-bar {
  background: var(--navy);
  color: #fff;
  padding: 22px 0;
}
.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}
.trust-num .fa-star { color: #f5b400; font-size: 1.4rem; }
.trust-label {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ========== HERO ========== */
.hero-section {
    padding: 31px 0;
    position: relative;
    background: url(../images/hero.webp) center / cover no-repeat;
    min-height: 600px;
    overflow: hidden;
}
/* Light warm overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 248, 235, 0.92) 0%, rgb(255 252 245 / 56%) 52%, rgb(255 245 228 / 49%) 100%);
    z-index: 0;
}.ba-caption {
    display: none;
}
/* Subtle dot-grid texture for depth */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11,27,51,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 1;
  pointer-events: none;
}
.hero-section .container { position: relative; z-index: 2; }

.hero-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--navy);
}
.hero-title .text-accent { color: var(--orange); }
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.hero-sub strong { color: var(--navy); }
.hero-points li {
  padding: 5px 0;
  color: var(--text);
  font-weight: 500;
}
.hero-points .fa-check-circle { color: #16a34a; }
.hero-section .text-muted { color: var(--text-muted) !important; }

/* ========== LEAD FORM ========== */
.lead-form {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 22px;
  padding: 34px 30px;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,255,255,0.08) inset;
}

/* Accent underline below form title */
.form-title-wrap {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 4px;
}
.form-title-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 3px;
  background: linear-gradient(90deg, var(--orange), #ff9640);
  border-radius: 99px;
}
.form-title { color: var(--navy); font-size: 1.4rem; }

/* Pill urgency badge */
.urgency {
  background: linear-gradient(135deg, #fff8f0 0%, #fff2e0 100%);
  color: #b34700;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,106,0,0.18);
  box-shadow: 0 2px 8px rgba(255,106,0,0.08);
}

/* Pill-shaped inputs */
.lead-form .form-control,
.lead-form .form-select {
  border: 1.5px solid #e8eaee;
  border-radius: 50px;
  background: #f7f8fa;
  padding: 11px 20px;
  font-size: 14.5px;
  color: var(--text);
  height: auto;
  transition: border-color .22s, background .22s, box-shadow .22s;
}
.lead-form textarea.form-control {
  border-radius: 16px;
  resize: none;
}
.lead-form .form-control:focus,
.lead-form .form-select:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,106,0,0.12);
  outline: none;
}

/* Gradient pill submit button inside form */
.lead-form .btn-cta {
    background: linear-gradient(135deg, #cf0a2c 0%, #ff4262 100%);
    border-radius: 50px;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 22px rgba(255, 106, 0, 0.42);
}
.lead-form .btn-cta:hover {
  background: linear-gradient(135deg, #e85a00 0%, #ff7a10 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,106,0,0.52);
}

/* ========== SECTIONS ========== */
.section-title { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: .5rem; }
.section-sub { color: var(--text-muted); }
.section-sub .fa-star { color: #f5b400; }
.bg-light-grey { background: var(--bg-grey); }
.section-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ========== SERVICE CARDS ========== */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(11,27,51,0.10);
  border-color: var(--orange);
}
.service-card img {
    width: 100%;
    height: 262px;
    object-fit: cover;
}
.service-card h5 {
  color: var(--navy);
  margin-bottom: .5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

/* ========================================================
   BEFORE / AFTER SLIDER
   ======================================================== */
.ba-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transition: transform .3s, box-shadow .3s;
}
.ba-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(11,27,51,0.12);
}

/* Slider container */
.ba-slider {
  position: relative;
  height: 280px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

/* Both image layers fill the slider */
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Before = grayscale/desaturated (plain wall look) */
.ba-img-before img {
  filter: grayscale(1) brightness(0.85);
}

/* After = full colour, clipped to reveal left portion (JS controls) */
.ba-img-after {
  clip-path: inset(0 50% 0 0); /* starts at 50%, updated by JS */
  transition: none;
}

/* BEFORE / AFTER badge tags */
.ba-tag {
  position: absolute;
  bottom: 12px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 20px;
  color: #fff;
  pointer-events: none;
}
.ba-tag-before { left: 12px;  background: rgba(10,10,10,0.68); }
.ba-tag-after  { right: 12px; background: var(--orange); }

/* Draggable handle */
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;            /* JS updates this */
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: ew-resize;
  pointer-events: none; /* slider element handles events */
}
.ba-handle-line {
  flex: 1;
  width: 2px;
  background: rgba(255,255,255,0.9);
}
.ba-handle-btn {
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.28);
  color: var(--navy);
  font-size: 17px;
  flex-shrink: 0;
  pointer-events: none;
}

/* "Slide to Compare" hint — fades out on first drag */
.ba-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(11,27,51,0.72);
  color: #fff;
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  z-index: 30;
  transition: opacity .4s ease;
  animation: hintBounce 1.8s ease-in-out infinite;
}
.ba-slider.dragged .ba-hint { opacity: 0; }
@keyframes hintBounce {
  0%, 100% { transform: translate(-50%, -50%); }
  30%       { transform: translate(calc(-50% - 9px), -50%); }
  70%       { transform: translate(calc(-50% + 9px), -50%); }
}

/* Caption below slider */
.ba-caption {
  padding: 14px 16px;
  font-size: 14px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ba-location { font-size: 12px; color: var(--text-muted); }

/* ========== WHY CHOOSE US ========== */
.why-card {
  padding: 28px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-align: center;
}
.why-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(11,27,51,0.09);
}
.why-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #fff4ed, #ffe8d6);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.6rem;
  color: var(--orange);
  transition: background .25s;
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--orange), #ff8c2a);
  color: #fff;
}
.why-card h6 {
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

/* ========== MID-PAGE CTA STRIP ========== */
.mid-cta {
  background: linear-gradient(135deg, var(--orange) 0%, #e85000 100%);
  color: #fff;
  padding: 38px 0;
}
.mid-cta-title {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  margin-bottom: .4rem;
}
.mid-cta-sub { color: rgba(255,255,255,0.92); font-size: 1rem; margin: 0; }
.mid-cta .btn-light { color: var(--orange); font-weight: 700; }
.mid-cta .btn-light:hover { background: #f1f1f1; }

/* ========== TESTIMONIALS ========== */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
}
.testimonial .stars { color: #f5b400; margin-bottom: .5rem; font-size: 1.05rem; }
.testimonial p { color: var(--text); font-style: italic; }

/* ========== CTA SECTION ========== */
.cta-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }
.cta-section h2 { color: #fff; }
.cta-section .btn-light { color: var(--navy); font-weight: 700; }

/* ========== FOOTER ========== */
.site-footer {
  background: #07142a;
  color: #b8c0cc;
  padding: 50px 0 24px;
}
.site-footer h5, .site-footer h6 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: #b8c0cc; }
.site-footer a:hover { color: var(--orange); }
.site-footer .fab, .site-footer .fas { color: var(--orange); }

/* ========== STICKY FLOATING BUTTONS (desktop only) ========== */
.float-btn {
  position: fixed;
  right: 20px;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 1050;
  transition: transform .2s;
}
.float-btn:hover { transform: scale(1.1); }
.float-icon { font-size: 27px; color: #fff; }
.float-whatsapp {
  bottom: 100px;
  background: var(--whatsapp);
  animation: pulseGreen 2s ease-in-out infinite;
}
.float-call {
  bottom: 24px;
  background: var(--orange);
  animation: pulseOrange 2s ease-in-out infinite;
}
@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0   rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0   rgba(37,211,102,0); }
}
@keyframes pulseOrange {
  0%   { box-shadow: 0 0 0 0   rgba(255,106,0,0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(255,106,0,0); }
  100% { box-shadow: 0 0 0 0   rgba(255,106,0,0); }
}

/* ========================================================
   MOBILE BOTTOM NAV — native app feel
   ======================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1.5px solid var(--border);
  display: flex;
  z-index: 1060;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
  /* iOS safe area */
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mob-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px 8px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none !important;
  transition: color .2s, background .2s;
  letter-spacing: 0.3px;
  gap: 3px;
}
.mob-nav-item i {
  font-size: 22px;
  display: block;
  line-height: 1;
}
.mob-nav-item:hover  { color: var(--orange); }
.mob-nav-item.mob-nav-active { color: var(--orange); }

.mob-nav-wa {
  color: var(--whatsapp) !important;
}
.mob-nav-wa:hover { color: var(--whatsapp-dark) !important; }

.mob-nav-cta {
  background: var(--orange);
  color: #fff !important;
  border-radius: 0;
}
.mob-nav-cta:hover { background: var(--orange-dark); color: #fff !important; }
.mob-nav-cta i { color: #fff !important; }

/* body padding on mobile so content doesn't hide behind bottom nav */
@media (max-width: 991px) {
  body { padding-bottom: 70px; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .navbar-collapse { padding-top: 12px; }
  .navbar-collapse .d-flex { flex-direction: column; }
  .navbar-collapse .btn { width: 100%; margin-top: 6px; }
}
@media (max-width: 575px) {
  .hero-section { padding: 30px 0; }
  .lead-form { padding: 18px; }
  .trust-num { font-size: 1.45rem; }
  .ba-slider { height: 240px; }
  .ba-handle-btn { width: 40px; height: 40px; font-size: 15px; }
  .mid-cta { padding: 28px 0; }
}
img.footer-logo {
    height: auto;
    background: #fff;
    padding: 10px;
    width: 144px;
}