/* ============================================================
   ROOT & TOKENS
============================================================ */
:root {
  --primary:       #1a6bff;
  --primary-dark:  #0d4fd9;
  --primary-light: #e8f0ff;
  --secondary:     #ff6b35;
  --dark:          #0f1c2e;
  --dark-2:        #1e2d42;
  --text:          #374151;
  --text-light:    #6b7280;
  --border:        #e5e7eb;
  --white:         #ffffff;
  --bg-light:      #f8fafc;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.06);
  --shadow-md:     0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:     0 16px 60px rgba(0,0,0,.14);
  --transition:    .3s ease;
  --font-body:     'Inter', sans-serif;
  --font-display:  'Playfair Display', serif;
}

/* ============================================================
   BASE RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { transition: color var(--transition); }

/* ============================================================
   TOP BAR
============================================================ */
.top-bar {
  background: var(--dark);
  font-size: .82rem;
  color: rgba(255,255,255,.85);
}
.top-bar a:hover { color: #93c5fd; }

/* ============================================================
   NAVBAR
============================================================ */
#mainNavbar {
  transition: box-shadow var(--transition), padding var(--transition);
  z-index: 1040;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
#mainNavbar.scrolled {
  box-shadow: var(--shadow-md) !important;
  padding-top: .4rem;
  padding-bottom: .4rem;
}

/* Brand */
.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem;
  flex-shrink: 0;
}
.brand-icon-light {
  background: rgba(255,255,255,.15);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name  { font-size: 1.1rem; font-weight: 800; color: var(--dark); letter-spacing: -.3px; }
.brand-tagline { font-size: .65rem; color: var(--text-light); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }

/* Nav links */
.navbar-nav .nav-link {
  font-weight: 500;
  font-size: .9rem;
  color: var(--dark);
  padding: .45rem .65rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}
.navbar-nav .btn.nav-link {
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
}
.navbar-nav .btn.nav-link:hover {
  background: var(--primary-dark);
  color: #fff !important;
}

/* Dropdown */
.dropdown-menu {
  min-width: 240px;
  animation: dropFade .2s ease;
}
@keyframes dropFade { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.dropdown-item {
  font-size: .875rem;
  font-weight: 500;
  padding: .55rem 1.1rem;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.dropdown-item:hover { background: var(--primary-light); color: var(--primary); }

/* ============================================================
   HERO
============================================================ */
.hero-section { position: relative; }
.hero-img {
  height: 100vh;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  filter: brightness(.45);
}
@media (max-width: 768px) { .hero-img { height: 75vh; min-height: 480px; } }

.hero-caption {
  /* Bootstrap sets position:absolute on .carousel-caption */
  top: 50%;
  left: 0;
  right: 0;
  bottom: auto;            /* clear Bootstrap's bottom:1.25rem */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1.2rem;
  border-radius: 999px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  margin-bottom: .75rem;
}
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 1.5rem;
  max-width: 640px;
}

.btn-cta-primary {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .025em;
  transition: all var(--transition);
  /* Keep .htl-word/.htl-inner visible inside buttons */
  overflow: visible;
}
.btn-cta-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-cta-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .025em;
  transition: all var(--transition);
  overflow: visible;
}
.btn-cta-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* Button inner text clip – same mechanism as hero title words     */
/* The <span class="htl-word"> inside a button must NOT clip the    */
/* button border—only clips the text within it.                    */
.hero-cta-btn .htl-word {
  /* Inherit display:inline-block from global rule – override clip  */
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom:  -0.06em;
  vertical-align: middle;
}
.hero-cta-btn .htl-inner {
  display: inline-block;
  /* opacity:0 comes from global .htl-inner rule; GSAP animates it */
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.8rem; height: 2.8rem;
  background-color: rgba(0,0,0,.45);
  border-radius: 50%;
  background-size: 45%;
}
.carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.6);
  border: none;
}
.carousel-indicators .active { background-color: var(--primary); width: 28px; border-radius: 5px; }

/* Hero Stats Strip */
.hero-stats {
  background: var(--dark);
  padding: .75rem 0;
}
.stat-item {
  padding: 1rem .5rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-plus { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.stat-label { display: block; font-size: .78rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; margin-top: .25rem; }

/* ============================================================
   SECTION COMMON
============================================================ */
.section-padding { padding: 90px 0; }
@media (max-width: 768px) { .section-padding { padding: 60px 0; } }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: .3rem 1rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.section-label-light { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 580px;
  margin-bottom: 0;
}
.section-text { color: var(--text-light); margin-bottom: .75rem; }

/* ============================================================
   ABOUT
============================================================ */
.about-img-wrapper { position: relative; }
.about-main-img { border-radius: var(--radius-lg); }
.about-badge-box {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 120px;
}
.about-badge-number { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge-text { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; opacity: .9; }
@media (max-width:576px) { .about-badge-box { right: 10px; bottom: -10px; } }

.about-feature {
  display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 500; color: var(--dark);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .6rem .9rem;
}
.about-feature i { font-size: 1.1rem; flex-shrink: 0; }

/* ============================================================
   SERVICES CARDS
============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.service-img-wrap {
  position: relative; overflow: hidden; height: 200px;
}
.service-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.07); }

.service-overlay {
  position: absolute; inset: 0;
  background: rgba(26,107,255,.55);
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity var(--transition);
}
.service-card:hover .service-overlay { opacity: 1; }

.service-body { padding: 1.25rem; }
.service-icon {
  width: 42px; height: 42px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: .75rem;
}
.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .4rem;
}
.service-desc { font-size: .85rem; color: var(--text-light); line-height: 1.6; margin-bottom: .75rem; }
.service-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: .6rem; color: var(--primary-dark); }

/* ============================================================
   WHY CHOOSE US
============================================================ */
.why-us-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative; overflow: hidden;
}
.why-us-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(26,107,255,.15) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 50%, rgba(26,107,255,.10) 0%, transparent 70%);
}
.why-us-section .container { position: relative; z-index: 1; }

.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: background var(--transition), transform var(--transition);
  height: 100%;
}
.why-card:hover {
  background: rgba(255,255,255,.11);
  transform: translateY(-4px);
}
.why-icon {
  width: 56px; height: 56px;
  background: rgba(26,107,255,.2);
  color: #93c5fd;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.why-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.why-desc  { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.65; margin: 0; }

/* ============================================================
   PROCESS
============================================================ */
.process-line {
  position: absolute;
  top: 80px;
  left: calc(50% - 66.66%);
  width: 66.66%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  z-index: 0;
  left: 16.7%;
  width: 66.6%;
}
.process-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative; z-index: 1;
  transition: box-shadow var(--transition), transform var(--transition);
}
.process-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.process-step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: .25rem;
}
.process-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(26,107,255,.35);
}
.process-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.process-desc  { font-size: .875rem; color: var(--text-light); line-height: 1.65; margin: 0; }

/* ============================================================
   GALLERY
============================================================ */
.gallery-filter-btn { font-size: .85rem; font-weight: 600; transition: all var(--transition); }
.gallery-item { transition: opacity var(--transition), transform var(--transition); }
.gallery-item.hide { opacity: 0; transform: scale(.9); pointer-events: none; height: 0; overflow: hidden; margin: 0; padding: 0; }

.gallery-img-wrap {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.gallery-img-wrap img,
.gallery-img-wrap video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.gallery-img-wrap:hover img,
.gallery-img-wrap:hover video { transform: scale(1.07); }

.gallery-hover {
  position: absolute; inset: 0;
  background: rgba(26,107,255,.55);
  color: #fff;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  border-radius: var(--radius-md);
}
.gallery-img-wrap:hover .gallery-hover { opacity: 1; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonial-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.testi-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; letter-spacing: 2px; }
.testi-text {
  font-size: .9rem; color: var(--text-light);
  font-style: italic; line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
  flex-shrink: 0;
}
.testi-name     { font-size: .9rem; font-weight: 700; color: var(--dark); line-height: 1.2; }
.testi-location { font-size: .78rem; color: var(--text-light); }

/* ============================================================
   FAQ
============================================================ */
.faq-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-btn {
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  padding: 1rem 1.25rem;
  box-shadow: none !important;
  display: flex; align-items: center;
}
.faq-btn:not(.collapsed) { color: var(--primary); background: var(--primary-light); }
.faq-btn::after { margin-left: auto; flex-shrink: 0; }
.faq-icon { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.faq-body { font-size: .9rem; color: var(--text-light); line-height: 1.75; padding: 1rem 1.25rem 1.25rem 3.5rem; background: #fff; }

/* ============================================================
   CONTACT
============================================================ */
.contact-info-block {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-info-title { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem; }
.contact-info-text  { font-size: .875rem; color: var(--text-light); text-decoration: none; display: block; }
.contact-info-text:hover { color: var(--primary); }

.contact-form .form-control,
.contact-form .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,255,.12);
}
.contact-form .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 700;
  letter-spacing: .02em;
  transition: all var(--transition);
}
.contact-form .btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); }

.map-wrap { line-height: 0; }

/* ============================================================
   SOCIAL BUTTONS
============================================================ */
.social-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-btn {
  width: 40px; height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.social-btn.whatsapp:hover { background: #25d366; color: #fff; }
.social-btn-sm { width: 34px; height: 34px; font-size: .875rem; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.social-btn-sm:hover { color: #fff; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); }
.footer-heading {
  font-size: .85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #fff; margin-bottom: 1.1rem;
}
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a {
  font-size: .875rem; color: rgba(255,255,255,.55); text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .875rem; color: rgba(255,255,255,.55);
  margin-bottom: .65rem;
}
.footer-contact li i { color: var(--primary); flex-shrink: 0; margin-top: .2rem; }
.footer-contact a { color: rgba(255,255,255,.55); text-decoration: none; transition: color var(--transition); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  margin-top: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   FLOATING BUTTONS
============================================================ */
.floating-btn {
  position: fixed;
  right: 1.25rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  text-decoration: none;
  z-index: 2000;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.floating-btn:hover { transform: scale(1.12); box-shadow: var(--shadow-lg); }

.whatsapp-float { bottom: 6.5rem; background: #25d366; color: #fff; }
.call-float     { bottom: 11.5rem; background: var(--primary); color: #fff; }
.top-float      { bottom: 1.5rem; background: var(--dark); color: #fff; opacity: 0; pointer-events: none; transition: opacity .3s ease, transform var(--transition); }
.top-float.visible { opacity: 1; pointer-events: auto; }

.floating-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  background: var(--dark);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: .35rem .75rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.floating-btn:hover .floating-tooltip { opacity: 1; }

/* ============================================================
   ANIMATIONS (Hero slide-up)
============================================================ */
@keyframes slideUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.animate-slide-up { animation: slideUp .7s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .5s; }
.delay-4 { animation-delay: .7s; }

/* ============================================================
   BOOTSTRAP OVERRIDES
============================================================ */
.btn-primary  { background-color: var(--primary); border-color: var(--primary); font-weight: 600; }
.btn-primary:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); font-weight: 600; }
.btn-outline-primary:hover { background-color: var(--primary); border-color: var(--primary); }

/* ============================================================
   PROCESS VERTICAL TIMELINE (mobile)
============================================================ */
.process-line-v {
  position: absolute;
  left: 50%;
  top: 60px;
  width: 3px;
  height: calc(100% - 120px);
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 4px;
}
@media (max-width: 767px) {
  .process-line-v { left: 28px; transform: none; height: calc(100% - 80px); top: 40px; }
  .process-card   { padding-left: 1.5rem; text-align: left; }
  .process-icon   { margin-left: 0; margin-right: auto; }
}
@media (max-width: 575px) { .process-line-v { display: none; } }

/* ============================================================
   MOBILE STICKY BOTTOM CTA BAR
============================================================ */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1050;
  display: flex;
  background: var(--dark);
  border-top: 2px solid rgba(255,255,255,.08);
  padding-bottom: env(safe-area-inset-bottom, 0px); /* iOS notch */
}
.mobile-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  padding: .7rem .25rem;
  text-decoration: none;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background var(--transition);
}
.mobile-cta-btn i     { font-size: 1.2rem; }
.mobile-cta-btn.call  { color: #fff;    background: var(--primary); }
.mobile-cta-btn.call:hover { background: var(--primary-dark); }
.mobile-cta-btn.whatsapp { color: #fff; background: #25d366; }
.mobile-cta-btn.whatsapp:hover { background: #1da851; }
.mobile-cta-btn.quote { color: #fff;   background: var(--secondary); }
.mobile-cta-btn.quote:hover { background: #e05a27; }

/* Push page content above the bar on mobile */
@media (max-width: 991px) {
  body { padding-bottom: 70px; }
}

/* Hide floating WhatsApp/Call on mobile (bar handles it) */
@media (max-width: 991px) {
  .whatsapp-float,
  .call-float { display: none; }
  .top-float  { bottom: 5.5rem; right: .75rem; }
}

/* ============================================================
   LIGHTBOX MODAL
============================================================ */
#galleryModal .modal-dialog { max-width: 90vw; }
#galleryModal .modal-body { background: transparent; }

/* ============================================================
   TOUCH DEVICES – always show service & gallery overlays
============================================================ */
@media (hover: none) {
  .service-overlay {
    opacity: 1;
    background: rgba(26,107,255,.42);
  }
  .gallery-hover {
    opacity: 1;
    background: rgba(26,107,255,.38);
  }
  .service-card:hover { transform: none; }
  .gallery-img-wrap:hover img { transform: none; }
}

/* ============================================================
   RESPONSIVE  ≤ 1199px  (large tablet / small laptop)
============================================================ */
@media (max-width: 1199px) {
  .hero-title  { font-size: clamp(1.8rem, 4.5vw, 3rem); }
  .section-padding { padding: 80px 0; }
}

/* ============================================================
   RESPONSIVE  ≤ 991px  (tablet landscape / small desktop)
============================================================ */
@media (max-width: 991px) {
  /* Navbar */
  .navbar-collapse {
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: .5rem;
  }
  .navbar-nav .nav-link { padding: .65rem .75rem; border-radius: 8px; }
  .navbar-nav .ms-lg-2 { margin-top: .5rem; }
  .navbar-nav .btn.nav-link { display: block; text-align: center; }
  /* Dropdown stays inline inside collapsed menu */
  .dropdown-menu {
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
    margin-top: .25rem;
    animation: none;
  }

  /* About */
  .about-badge-box { bottom: 8px; right: 8px; padding: .75rem 1rem; min-width: 100px; }
  .about-badge-number { font-size: 1.6rem; }

  /* Process – hide decorative line */
  .process-line { display: none !important; }

  /* Why cards */
  .why-card { padding: 1.5rem 1.25rem; }

  /* Stats strip – 2 columns */
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: .75rem .5rem; }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ============================================================
   RESPONSIVE  ≤ 767px  (tablet portrait)
============================================================ */
@media (max-width: 767px) {
  /* Section */
  .section-padding { padding: 60px 0; }
  .section-title   { font-size: clamp(1.55rem, 5vw, 2rem); }
  .section-sub     { font-size: .95rem; }

  /* Hero */
  .hero-img { height: 85vh; min-height: 520px; }
  .hero-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero-sub   { font-size: .95rem; }
  .carousel-control-prev,
  .carousel-control-next { display: none; }

  /* About – stack so image appears below text (readability) */
  .about-img-wrapper { margin-bottom: 2.5rem; }
  .about-badge-box   { bottom: -14px; right: 14px; }

  /* Process – vertical timeline */
  .process-card { padding: 1.5rem 1.25rem; }
  .process-step-num { font-size: 2.8rem; }

  /* Gallery filters – horizontal scroll on small screens */
  .gallery-filters {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .5rem;
    justify-content: flex-start !important;
    scroll-snap-type: x mandatory;
  }
  .gallery-filters::-webkit-scrollbar { height: 4px; }
  .gallery-filters::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
  .gallery-filter-btn { flex-shrink: 0; scroll-snap-align: start; }

  /* Testimonials – carousel on mobile */
  .testimonial-card { padding: 1.25rem; }

  /* FAQ */
  .faq-btn  { font-size: .88rem; padding: .85rem 1rem; }
  .faq-body { padding: .85rem 1rem 1rem 2.75rem; font-size: .875rem; }

  /* Contact */
  .contact-info-block { gap: .75rem; }
  .map-wrap iframe   { height: 260px !important; }

  /* Footer */
  .site-footer .row > [class*='col-'] { border-bottom: 1px solid rgba(255,255,255,.07); padding-bottom: 1.5rem; }
  .site-footer .row > [class*='col-']:last-child { border-bottom: none; }

  /* Floating buttons – tighter on phones */
  .whatsapp-float { bottom: 5.25rem; right: 1rem; }
  .call-float     { bottom: 9.75rem; right: 1rem; }
  .top-float      { bottom: 1rem;   right: 1rem; }
}

/* ============================================================
   RESPONSIVE  ≤ 575px  (mobile portrait)
============================================================ */
@media (max-width: 575px) {
  /* Hero */
  .hero-img     { height: 92vh; min-height: 500px; }
  .hero-badge   { font-size: .72rem; padding: .3rem .9rem; }
  .hero-title   { font-size: clamp(1.4rem, 7vw, 2rem); }
  .hero-sub     { font-size: .88rem; margin-bottom: 1.25rem; }
  .hero-cta     { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-caption  { padding: 1.25rem .75rem; }

  /* Stats strip – 2×2 */
  .stat-item { padding: .65rem .25rem; }
  .stat-number { font-size: 1.6rem; }
  .stat-plus   { font-size: 1.1rem; }
  .stat-label  { font-size: .7rem; }

  /* About */
  .about-badge-box { position: relative; bottom: auto; right: auto; margin: -1rem auto 0; display: flex; align-items: center; gap: .75rem; justify-content: center; padding: .75rem 1.5rem; border-radius: var(--radius-sm); }
  .about-badge-number { font-size: 1.4rem; }
  .about-feature { font-size: .82rem; padding: .5rem .75rem; }

  /* Services */
  .service-img-wrap { height: 170px; }
  .service-body     { padding: 1rem; }

  /* Why cards */
  .why-card { padding: 1.25rem 1rem; }
  .why-icon { width: 48px; height: 48px; font-size: 1.3rem; }

  /* Process */
  .process-card    { padding: 1.25rem 1rem; }
  .process-icon    { width: 54px; height: 54px; font-size: 1.4rem; }
  .process-step-num { font-size: 2.4rem; }

  /* Testimonials */
  .testimonial-card { padding: 1rem; }

  /* FAQ body indent reduced */
  .faq-body   { padding-left: 1rem; }
  .faq-icon   { display: none; }   /* remove icon to save space */

  /* Contact form */
  .contact-form .form-control,
  .contact-form .form-select { font-size: .9rem; padding: .6rem .85rem; }

  /* Footer */
  .footer-desc { font-size: .82rem; }
  .footer-links a,
  .footer-contact li { font-size: .82rem; }

  /* Floating buttons smaller */
  .floating-btn   { width: 46px; height: 46px; font-size: 1.15rem; }
  .whatsapp-float { bottom: 5rem;  right: .75rem; }
  .call-float     { bottom: 9.25rem; right: .75rem; }
  .top-float      { bottom: .75rem; right: .75rem; }
  /* Hide tooltip on tiny screens */
  .floating-tooltip { display: none; }
}

/* ============================================================
   RESPONSIVE  ≤ 400px  (small / compact phones)
============================================================ */
@media (max-width: 400px) {
  .hero-title  { font-size: 1.35rem; }
  .hero-sub    { font-size: .82rem; }
  .brand-name  { font-size: .95rem; }
  .brand-icon  { width: 36px; height: 36px; font-size: 1rem; border-radius: 8px; }
  .section-title { font-size: 1.4rem; }
  .service-img-wrap { height: 150px; }
  .gallery-item .gallery-img-wrap { border-radius: var(--radius-sm); }
  .stat-number { font-size: 1.4rem; }
  .faq-btn     { font-size: .82rem; }
  .floating-btn { width: 42px; height: 42px; font-size: 1.05rem; }
  .whatsapp-float { bottom: 4.75rem; }
  .call-float     { bottom: 8.75rem; }
}

/* ============================================================
   PAGE HERO (inner pages – services, gallery, contact, etc.)
============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(26,107,255,.22) 0%, transparent 65%),
              radial-gradient(ellipse at 80% 20%, rgba(26,107,255,.12) 0%, transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: .65rem;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  line-height: 1.7;
}
.breadcrumb-nav { margin-bottom: 1.25rem; }
.breadcrumb-nav .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: .85rem; }
.breadcrumb-nav .breadcrumb-item { color: rgba(255,255,255,.55); }
.breadcrumb-nav .breadcrumb-item a { color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--transition); }
.breadcrumb-nav .breadcrumb-item a:hover { color: #fff; }
.breadcrumb-nav .breadcrumb-item.active { color: rgba(255,255,255,.85); }
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ============================================================
   SERVICE DETAIL SECTIONS
============================================================ */
.service-detail-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.service-detail-section:last-of-type { border-bottom: none; }
.service-detail-section.bg-alt { background: var(--bg-light); }
.service-feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.service-feature-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; color: var(--text); margin-bottom: .6rem; font-weight: 500;
}
.service-feature-list li i { color: var(--primary); font-size: 1rem; flex-shrink: 0; margin-top: .15rem; }
.service-detail-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.service-badge-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .78rem; font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}

/* ============================================================
   PRODUCT CARDS
============================================================ */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 1.5rem; color: #fff; text-align: center;
}
.product-card-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.product-card-title { font-size: 1.05rem; font-weight: 700; margin: 0; }
.product-card-body { padding: 1.5rem; }
.product-spec-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.product-spec-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: .45rem 0; border-bottom: 1px solid var(--border); font-size: .85rem;
}
.product-spec-list li:last-child { border-bottom: none; }
.product-spec-label { color: var(--text-light); font-weight: 500; }
.product-spec-value { color: var(--dark); font-weight: 600; text-align: right; }

/* ============================================================
   GALLERY PAGE (extended grid)
============================================================ */
.gallery-grid-lg .gallery-img-wrap { aspect-ratio: 4/3; }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card-icon {
  width: 60px; height: 60px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}
.contact-card-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .3rem; }
.contact-card-text  { font-size: .875rem; color: var(--text-light); margin: 0; }
.contact-card-text a { color: var(--text-light); text-decoration: none; }
.contact-card-text a:hover { color: var(--primary); }

/* ============================================================
   ABOUT PAGE
============================================================ */
.milestone-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.milestone-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.milestone-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.milestone-label { font-size: .82rem; color: var(--text-light); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin-top: .3rem; }

/* Responsive adjustments for inner pages */
@media (max-width: 767px) {
  .page-hero { padding: 60px 0 40px; }
  .page-hero-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .service-detail-section { padding: 60px 0; }
  .service-detail-img { height: 280px; }
}

/* ============================================================
   HERO HEADING – PREMIUM WORD REVEAL
   Each word slides right → left with stagger + clip mask
============================================================ */

/* Block wrapper that replaces each original <br> line */
.htl-line {
  display: block;
}

/* Per-word overflow-hidden clip mask.
   overflow:hidden hides the inner span while it is still
   translated off to the right – the reveal effect. */
.htl-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;     /* prevent bottom-descender clipping */
  padding-bottom: 0.08em;     /* space for g, y, p tails              */
  margin-bottom:  -0.08em;    /* compensate so line-height is unchanged */
  line-height: inherit;
}

/* The physical element that moves.
   opacity:0 keeps it invisible before JS/GSAP sets the from-state. */
.htl-inner {
  display: inline-block;
  will-change: transform, opacity;
  opacity: 0;
}

/* ── CSS-only fallback (GSAP blocked / noscript) ─────────── */
.htl-inner.htl-css-anim {
  animation: htlReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes htlReveal {
  from {
    transform: translateX(80px) rotate(5deg);
    opacity: 0;
  }
  to {
    transform: translateX(0)   rotate(0deg);
    opacity: 1;
  }
}

/* ── Respect prefers-reduced-motion ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .htl-inner {
    opacity:    1 !important;
    transform:  none !important;
    animation:  none !important;
    will-change: auto !important;
  }
  .hero-vert-accent { display: none !important; }
}

/* ── Decorative vertical-text accent (desktop only) ─────── */
.hero-vert-accent {
  position: absolute;
  right: 2.25rem;
  top: 50%;
  /* translateY(-50%) centres it; translateX sets start off-screen (GSAP overrides) */
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-body);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .22);
  padding-right: .9rem;
  border-right: 1.5px solid rgba(255, 255, 255, .13);
  opacity: 0;               /* GSAP will reveal */
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  z-index: 5;
}

@media (max-width: 991px) {
  .hero-vert-accent { display: none !important; }
}
