/* ============================================================
AYUSH UPVC — style.css  (mobile-first)

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #1B3A5C;
  --secondary: #4A5568;
  --accent:    #F2711C;
  --bg:        #F7F8FA;
  --text:      #2D2D2D;
  --white:     #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--primary);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 8px auto 14px;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

/* ---------- Scroll Reveal ---------- */
/* Base hidden state; JS toggles .is-visible as each element enters the
   viewport so content eases in one piece at a time instead of all at once. */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1),
              transform 0.7s cubic-bezier(.22,.61,.36,1);
  transition-delay: 0s;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-left  { transform: translateX(-36px); }
.reveal-left.is-visible  { transform: translateX(0); }

.reveal-right { transform: translateX(36px); }
.reveal-right.is-visible { transform: translateX(0); }

.reveal-scale { transform: scale(0.9); }
.reveal-scale.is-visible { transform: scale(1); }

/* Direct children of a .reveal-stagger container pick up an increasing
   delay by position, so grids/lists reveal one after another rather than
   simultaneously. Add both classes: container gets .reveal-stagger,
   each child gets .reveal (or a variant). */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.23s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.41s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger > .reveal:nth-child(n+7) { transition-delay: 0.58s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: #d9600f; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--white);
  padding: 11px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--white); color: var(--primary); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-whatsapp:hover { background: #1da851; }

.btn-secondary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-secondary:hover { background: #142d4a; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 6px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.top-bar a:hover { color: var(--accent); }

/* ---------- Site Header ---------- */
.site-header {
  background: var(--white);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.09);
}

.logo-link { display: flex; align-items: center; gap: 8px; }

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 900;
}
.logo-text small {
  font-size: 0.68rem;
  color: var(--secondary);
}

/* Desktop nav */
.main-nav { display: none; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 24px; }
.main-nav ul li a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.main-nav ul li a:hover,
.main-nav ul li a.active { color: var(--accent); border-bottom-color: var(--accent); }

.btn-nav-quote {
  background: var(--accent);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-nav-quote:hover { background: #d9600f; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--white);
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  padding: 20px 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  z-index: 99;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu ul li { border-bottom: 1px solid #f0f0f0; }
.mobile-menu ul li a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}
.mobile-menu ul li a.active,
.mobile-menu ul li a:hover { color: var(--accent); }
.mobile-menu .btn-mobile-quote {
  display: block;
  text-align: center;
  background: var(--accent);
  color: var(--white);
  padding: 12px;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 16px;
  border: none;
  width: 100%;
  cursor: pointer;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .hamburger { display: none; }
  .logo-img { height: 70px; }
  .logo-text strong { font-size: 1.5rem; }
  .logo-text small { font-size: 0.83rem; }
}

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  overflow: hidden;
  height: 72vh;
  min-height: 420px;
  max-height: 680px;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* Hero slide backgrounds */
.slide-1 { background: url('/images/hero/upvc-office-partitions.avif') center/cover no-repeat; }
.slide-2 { background:url('/images/hero/glass-railing-slider.jpg') center/cover no-repeat; }
.slide-3 { background: url('/images/hero/modular-kitchen-slider.jpg') center/cover no-repeat; }
.slide-4 { background: url('/images/hero/steel-railings-slider.jpg') center/cover no-repeat; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.slide-content {
  text-align: center;
  color: var(--white);
  max-width: 680px;
}
.slide-content .tag {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  background: rgba(242,113,28,0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.slide-content h1 {
  font-size: clamp(1.7rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slide-content p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  opacity: 0.88;
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Slide text: fade/slide in AFTER the background transition ---------- */
/* .slider-track transitions transform over 0.65s (see below) — the text
   animation delay is timed to start right as that finishes, then each
   child staggers in slightly after the last for a nicer reveal. */
.slide-content > .tag,
.slide-content > h1,
.slide-content > p,
.slide-content > .hero-btns {
  opacity: 0;
  transform: translateY(24px);
  animation: none;
}

.slide.active .slide-content > .tag,
.slide.active .slide-content > h1,
.slide.active .slide-content > p,
.slide.active .slide-content > .hero-btns {
  animation: slideContentIn 0.6s ease-out forwards;
}

/* Stagger: base delay (0.65s) matches .slider-track's transition duration,
   plus a small offset per element so they don't all pop in at once. */
.slide.active .slide-content > .tag        { animation-delay: 0.65s; }
.slide.active .slide-content > h1          { animation-delay: 0.75s; }
.slide.active .slide-content > p           { animation-delay: 0.85s; }
.slide.active .slide-content > .hero-btns  { animation-delay: 0.95s; }

@keyframes slideContentIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Prev/Next arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.1rem;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(242,113,28,0.7); border-color: var(--accent); }
.arrow-prev { left: 16px; }
.arrow-next { right: 16px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.dot.active { background: var(--accent); transform: scale(1.3); }

/* ---------- About Teaser ---------- */
.about-teaser { background: var(--white); padding: 70px 20px; overflow: hidden; }

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

/* Logo mark + brand name lockup, side by side like the icon+wordmark
   reference (no photo frame, no floating stat badge). */
.about-media {
  width: 100%;
  max-width: 380px;
  flex-shrink: 0;
}
.about-brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}
.about-logo-icon {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
}
.about-logo-icon img { width: 100%; height: 100%; object-fit: contain; }

/* Brand name lines beside the icon, revealed one word at a time.
   JS wraps each word in .word and sets its animation-delay so the line
   fills in left-to-right instead of appearing all at once; the second
   line's delays start only after the first line finishes (see main.js). */
.about-brand-reveal { text-align: left; }
.about-brand-line {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary);
  line-height: 1.3;
}
.about-brand-line--sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.3px;
}
.about-brand-line .word { display: inline-block; opacity: 0; transform: translateY(14px); }
.about-brand-reveal.is-visible .word {
  animation: fadeInUp 0.5s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .about-brand-line .word {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.about-content { text-align: center; }
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,113,28,0.12);
  color: var(--accent);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  font-weight: 700;
}
.about-content p {
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto;
}
.about-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(27,58,92,0.1);
}
.stat { text-align: center; padding: 0 22px; border-right: 1px solid rgba(27,58,92,0.1); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.stat span { font-size: 0.82rem; color: var(--secondary); }

@media (min-width: 768px) {
  .about-inner { flex-direction: row; align-items: center; gap: 64px; }
  .about-content { text-align: left; }
  .about-content p { max-width: none; margin: 0; }
  .about-badge { justify-content: flex-start; }
  .about-stats { justify-content: flex-start; }
  .stat { padding: 0 22px; }
  .stat:first-child { padding-left: 0; }
}

/* ---------- Services ---------- */
.services-section { background: var(--bg); padding: 70px 20px; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 480px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: transform 0.28s cubic-bezier(.22,.61,.36,1), box-shadow 0.28s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,0.14); }
.service-img { position: relative; }
.service-img img { transition: transform 0.4s ease; }
.service-card:hover .service-img img { transform: scale(1.06); }

.service-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Gradient placeholders per card */
.si-1 { background: linear-gradient(135deg, #1B3A5C, #2d5986); }
.si-2 { background: linear-gradient(135deg, #2d5986, #4A5568); }
.si-3 { background: linear-gradient(135deg, #374151, #2d3748); }
.si-4 { background: linear-gradient(135deg, #2d3748, #1B3A5C); }
.si-5 { background: linear-gradient(135deg, #1B3A5C, #374151); }
.si-6 { background: linear-gradient(135deg, #4A5568, #1B3A5C); }

.service-img-placeholder {
  font-size: 2.8rem;
  opacity: 0.6;
  color: var(--white);
}

.service-body { padding: 16px 20px 20px; }
.service-body h3 { font-size: 1rem; color: var(--primary); font-weight: 700; margin-bottom: 3px; }
.service-nepali { font-size: 0.8rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; display: block; }
.service-body p { font-size: 0.87rem; color: var(--secondary); line-height: 1.65; }

/* ---------- Why Choose Us ---------- */
.why-us { background: var(--primary); padding: 70px 20px; }
.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.7); }
.why-us .section-divider { background: var(--accent); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 480px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: background 0.22s, transform 0.28s;
}
.why-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-5px); }

.why-img {
  height: 160px;
  overflow: hidden;
}
.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.why-card:hover .why-img img { transform: scale(1.07); }

.why-card h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin: 16px 16px 5px; }
.why-card .why-nepali { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin: 0 16px 18px; }

/* ---------- Values Cards (About page — image version) ---------- */
.values-section { background: var(--bg); padding: 70px 20px; }
.values-section .section-title { color: var(--primary); }
.values-section .section-divider { background: var(--accent); }

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 480px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: relative;
  transition: transform 0.28s, box-shadow 0.28s;
  cursor: default;
}
.value-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

/* Image area */
.value-img {
  height: 190px;
  overflow: hidden;
  position: relative;
}
.value-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.value-card:hover .value-img img { transform: scale(1.07); }

/* Orange bar that slides up from bottom of image on hover */
.value-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.value-card:hover .value-img::after { transform: scaleX(1); }

/* Text area */
.value-body {
  padding: 16px 18px 20px;
  text-align: center;
}
.value-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  transition: color 0.2s;
}
.value-card:hover .value-body h4 { color: var(--accent); }
.value-body .value-nepali {
  font-size: 0.82rem;
  color: var(--secondary);
}

/* ---------- Gallery Preview ---------- */
/* ---------- Owners Section ---------- */
.owners-section { background: var(--bg); padding: 70px 20px; }

.owners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 700px;
  margin: 36px auto 0;
}
@media (min-width: 600px) { .owners-grid { grid-template-columns: 1fr 1fr; } }

.owner-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  padding: 32px 24px;
  text-align: center;
}

.owner-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
}

.owner-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.owner-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #e8edf2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.owner-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.owner-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}

.owner-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.owner-contacts a {
  font-size: 0.88rem;
  color: var(--primary);
  transition: color 0.2s;
}
.owner-contacts a:hover { color: var(--accent); }

/* ---------- Gallery ---------- */
.gallery-preview { background: var(--white); padding: 70px 20px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 480px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-thumb:hover .gallery-overlay { opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.gallery-thumb:hover img { transform: scale(1.07); }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
}
.gp-1 { background: linear-gradient(135deg, #1B3A5C, #2d5986); }
.gp-2 { background: linear-gradient(135deg, #4A5568, #2d3748); }
.gp-3 { background: linear-gradient(135deg, #2d5986, #4A5568); }
.gp-4 { background: linear-gradient(135deg, #374151, #1B3A5C); }
.gp-5 { background: linear-gradient(135deg, #1B3A5C, #4A5568); }
.gp-6 { background: linear-gradient(135deg, #2d3748, #374151); }
.gp-7 { background: linear-gradient(135deg, #2d5986, #1B3A5C); }
.gp-8 { background: linear-gradient(135deg, #4A5568, #1B3A5C); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,58,92,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  color: var(--white);
  font-size: 1.5rem;
}

.gallery-cta { text-align: center; margin-top: 32px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--accent);
  padding: 50px 20px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; margin-bottom: 10px; }
.cta-banner p { font-size: 0.97rem; opacity: 0.9; margin-bottom: 24px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-light {
  background: var(--white);
  color: var(--accent);
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.btn-light:hover { background: var(--accent); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  padding: 11px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-outline-light:hover { background: var(--white); color: var(--accent); }

/* Call Us Now - blue, always on by default */
.btn-outline-light.btn-call {
  background: #1a73e8;
  color: var(--white);
  border-color: #1a73e8;
}
.btn-outline-light.btn-call:hover {
  background: #1558b0;
  border-color: #1558b0;
}

/* Chat on WhatsApp - green, always on by default */
.btn-outline-light.btn-wa-cta {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-outline-light.btn-wa-cta:hover {
  background: #1eb856;
  border-color: #1eb856;
}
/* ---------- Footer ---------- */
footer {
  background: #111827;
  color: rgba(255,255,255,0.75);
  padding: 56px 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand .footer-logo span { color: var(--accent); }
.footer-brand p { font-size: 0.87rem; line-height: 1.75; margin-bottom: 18px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover { background: var(--accent); color: var(--white); }
.social-links .social-fb:hover  { background: #1877F2; }
.social-links .social-ig:hover  { background: #E1306C; }
.social-links .social-yt:hover  { background: #FF0000; }
.social-links .social-wa:hover  { background: #25D366; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.87rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  margin-bottom: 10px;
}
.contact-line span.icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-line a { color: rgba(255,255,255,0.65); }
.contact-line a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- Floating Buttons ---------- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 22px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.87rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.float-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0,0,0,0.28); }

.float-btn.quote { background: var(--accent); color: var(--white); padding: 12px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
.float-btn.quote:hover { background: #d9600f; }

.float-btn.wa { background: #25D366; color: var(--white); padding: 12px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
.float-btn.wa:hover { background: #1da851; }

/* ---------- Scroll to Top ---------- */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
  z-index: 200;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover { background: var(--accent); }

/* ---------- Quote Modal ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 10px;
  width: 100%;
  max-width: 470px;
  padding: 32px 28px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--accent); }

.modal h2 { font-size: 1.25rem; color: var(--primary); font-weight: 700; margin-bottom: 4px; }
.modal .modal-sub { font-size: 0.87rem; color: var(--secondary); margin-bottom: 22px; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.87rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 88px; }

.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  padding: 13px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.form-submit:hover { background: #d9600f; }

/* Contact page map */
.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  line-height: 0;
}
.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Success alert */
.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Error alert */
.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--primary);
  padding: 56px 20px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.page-hero p { font-size: 0.97rem; opacity: 0.8; }
.breadcrumb { font-size: 0.82rem; opacity: 0.65; margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--accent); }
