/* =====================================================
   CONSTRACKT — Premium Construction Landing
   Brand: Orange #F37021 · Green #0E6E3E · Cream #F8F8F6
   ===================================================== */

:root {
  --c-orange: #F37021;
  --c-orange-dark: #D85A12;
  --c-green: #0E6E3E;
  --c-green-dark: #094B2A;
  --c-cream: #F8F8F6;
  --c-charcoal: #1A1A1A;
  --c-gray: #6B7280;
  --c-line: #E7E7E4;
  --shadow-sm: 0 4px 14px rgba(20,20,20,.06);
  --shadow-md: 0 12px 30px rgba(20,20,20,.10);
  --shadow-lg: 0 24px 60px rgba(20,20,20,.18);
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  scroll-behavior: smooth;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  /* Lock the page horizontally and stop pinch-zoom on touch devices */
  touch-action: pan-y;
  -ms-touch-action: pan-y;
  overscroll-behavior-x: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html { -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--c-charcoal);
  background: #fff;
  line-height: 1.65;
}
/* iOS double-tap zoom defence */
a, button, .btn, .nav-link, input, textarea, select, label, .filter-btn, .g-item, .service-card, .t-card, .why-card, .about-point-card {
  touch-action: manipulation;
  -webkit-touch-callout: none;
}
h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-charcoal);
}

a { text-decoration: none; transition: color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease; }
img { max-width: 100%; height: auto; }
section { scroll-margin-top: 90px; }

/* Brand helpers */
.text-brand-orange { color: var(--c-orange) !important; }
.text-brand-green  { color: var(--c-green)  !important; }
.bg-brand-orange   { background: var(--c-orange) !important; color: #fff !important; }
.bg-brand-green    { background: var(--c-green)  !important; color: #fff !important; }
.bg-cream          { background: var(--c-cream); }
.text-white-75     { color: rgba(255,255,255,.78) !important; }

/* Buttons */
.btn-brand {
  background: var(--c-orange);
  color: #fff;
  border: 0;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(243,112,33,.35);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--c-orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(243,112,33,.45);
}
.btn-outline-brand {
  border: 2px solid var(--c-orange);
  color: var(--c-orange);
  background: transparent;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
}
.btn-outline-brand:hover { background: var(--c-orange); color: #fff; }
.btn-outline-light { border-radius: 999px; font-weight: 600; padding: .8rem 1.6rem; border-width: 2px; }

/* =========== PRELOADER =========== */
#preloader {
  position: fixed; inset: 0;
  background: #fff;
  z-index: 9999;
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { position: relative; display: grid; place-items: center; gap: 1.2rem; }
.preloader-ring {
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 3px solid var(--c-cream);
  border-top-color: var(--c-orange);
  border-right-color: var(--c-green);
  animation: spin 1s linear infinite;
}
.preloader-logo {
  position: absolute;
  top: 18px;
  width: 104px; height: 104px;
  object-fit: contain;
  animation: pulse 1.8s ease-in-out infinite;
}
.preloader-text {
  font-family: 'Plus Jakarta Sans';
  font-weight: 600;
  color: var(--c-green);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-top: 1.4rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100%{ transform: scale(1); } 50%{ transform: scale(.92); } }

/* =========== HEADER =========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1030;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: .25rem 0;
}
.site-header .navbar { padding: .6rem 1rem; }
.site-header .nav-link {
  color: rgba(255,255,255,.92);
  font-weight: 600;
  padding: .55rem 1rem !important;
  position: relative;
}
.site-header .nav-link::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .35rem;
  height: 2px; background: var(--c-orange); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header.is-scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
}
.site-header.is-scrolled .nav-link { color: var(--c-charcoal); }
.site-header.is-scrolled .brand-wordmark strong,
.site-header.is-scrolled .brand-wordmark em { color: var(--c-charcoal); }
.brand-logo { object-fit: contain; }
.brand-wordmark {
  display: flex; flex-direction: column; line-height: 1.1;
  font-family: 'Plus Jakarta Sans';
}
.brand-wordmark strong { color: #fff; font-size: 1.15rem; letter-spacing: .04em; }
.brand-wordmark em { color: rgba(255,255,255,.7); font-style: normal; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.navbar-toggler { color: #fff; border: 1px solid rgba(255,255,255,.4); font-size: 1.5rem; }
.site-header.is-scrolled .navbar-toggler { color: var(--c-charcoal); border-color: rgba(0,0,0,.15); }
.navbar-toggler:focus { box-shadow: none; }

/* Mobile offcanvas */
.mobile-nav { width: 320px; }
.mobile-links { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 1.15rem; }
.mobile-links li a { display: block; padding: .8rem 0; color: var(--c-charcoal); border-bottom: 1px solid var(--c-line); }
.mobile-links li a:hover { color: var(--c-orange); padding-left: .4rem; }

/* =========== HERO =========== */
.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: -2;
  pointer-events: none;
  background: #0d2e1d;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(120deg, rgba(9,75,42,.78) 0%, rgba(9,75,42,.35) 45%, rgba(20,20,20,.55) 100%),
    radial-gradient(60% 80% at 80% 80%, rgba(243,112,33,.25), transparent 70%);
}
.hero-content { padding-top: 130px; padding-bottom: 80px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #fff;
  font-weight: 600; font-size: .85rem; letter-spacing: .04em;
}
.hero-eyebrow i { color: var(--c-orange); }
.hero-title {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.02;
  margin: 1.2rem 0 1.4rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  max-width: 640px;
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18);
}
.hero-trust > div { display: flex; flex-direction: column; }
.hero-trust strong {
  font-family: 'Plus Jakarta Sans'; font-size: 2rem; font-weight: 800;
  color: #fff;
}
.hero-trust span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-size: .75rem; letter-spacing: .25em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.hero-scroll span {
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--c-orange), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line { 0%,100%{ transform: scaleY(.5); transform-origin: top; } 50%{ transform: scaleY(1); } }

/* =========== SECTIONS COMMON =========== */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 60px; }
.section-eyebrow {
  display: inline-block; padding: .4rem 1rem;
  background: rgba(243,112,33,.1); color: var(--c-orange);
  border-radius: 999px; font-weight: 700; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-sub { color: var(--c-gray); font-size: 1.08rem; }

/* =========== ABOUT =========== */
.about-collage {
  position: relative; padding: 30px 30px 60px 0;
}
.about-img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.about-img.main { width: 100%; aspect-ratio: 4/5; }
.about-img.accent {
  position: absolute; right: -10px; bottom: 0;
  width: 55%; aspect-ratio: 4/3;
  border: 8px solid #fff;
}
.about-badge {
  position: absolute; left: -10px; top: 30px;
  background: var(--c-orange); color: #fff;
  padding: 1.2rem 1.4rem; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .9rem;
}
.about-badge strong { font-family: 'Plus Jakarta Sans'; font-size: 2.5rem; line-height: 1; color: #fff; }
.about-badge span { font-size: .82rem; line-height: 1.3; }
/* About points — desktop 2×2 grid, mobile swipeable auto-scroll strip */
.about-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.about-point-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.about-point-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-orange);
}
.about-point-card i {
  color: var(--c-green);
  font-size: 1.4rem;
  flex: 0 0 auto;
  margin-top: 2px;
}
.about-point-card span {
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-charcoal);
  line-height: 1.4;
}

/* =========== SERVICES =========== */
.services-grid { margin-top: 1rem; }
.service-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.service-thumb::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent);
}
.service-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.service-card:hover .service-thumb img { transform: scale(1.08); }
.service-body { padding: 1.5rem 1.5rem 1.8rem; position: relative; }
.service-icon {
  position: absolute; top: -28px; right: 1.5rem;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--c-green); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem;
  box-shadow: 0 10px 24px rgba(14,110,62,.35);
  transition: background .3s ease, transform .3s ease;
}
.service-card:hover .service-icon { background: var(--c-orange); transform: rotate(-6deg); }
.service-body h3 {
  font-size: 1.25rem; margin: 0 0 .6rem; line-height: 1.25;
}
.service-body p { color: var(--c-gray); margin-bottom: 1.2rem; font-size: .96rem; }
.service-link {
  color: var(--c-green); font-weight: 700; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .35rem;
}
.service-link:hover { color: var(--c-orange); gap: .65rem; }

/* =========== WHY US =========== */
.why-section {
  position: relative;
  color: #fff;
  isolation: isolate;
}
.why-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.why-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(9,75,42,.92), rgba(20,20,20,.85));
}
.why-section .section-title { color: #fff; }
.glass {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.why-card {
  padding: 1.8rem 1.6rem;
  border-radius: var(--r-lg);
  color: #fff;
  height: 100%;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  background: rgba(243,112,33,.18);
  border-color: rgba(243,112,33,.4);
}
.why-card i {
  font-size: 2rem; color: var(--c-orange); margin-bottom: 1rem; display: inline-block;
}
.why-card h4 { color: #fff; margin-bottom: .4rem; font-size: 1.15rem; }
.why-card p { margin: 0; color: rgba(255,255,255,.78); font-size: .94rem; }

/* =========== PROJECTS GALLERY =========== */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.4rem;
}
.filter-btn {
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-charcoal);
  padding: .5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600; font-size: .9rem;
  transition: all .25s ease;
}
.filter-btn:hover { border-color: var(--c-orange); color: var(--c-orange); }
.filter-btn.is-active { background: var(--c-green); color: #fff; border-color: var(--c-green); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.g-item {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: opacity .4s ease, transform .4s ease;
}
.g-item.g-tall { grid-row: span 2; }
.g-item.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.g-item:hover img { transform: scale(1.08); }
.g-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,75,42,.85), transparent 55%);
  opacity: 0; transition: opacity .35s ease;
}
.g-item:hover::after { opacity: 1; }
.g-caption {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  color: #fff; z-index: 2;
  display: flex; flex-direction: column;
  transform: translateY(12px); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.g-item:hover .g-caption { transform: translateY(0); opacity: 1; }
.g-caption em { font-style: normal; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--c-orange); }
.g-caption strong { font-family: 'Plus Jakarta Sans'; font-size: 1.1rem; }
.g-item.is-hidden { display: none; }

/* =========== STATS =========== */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-dark) 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(243,112,33,.35), transparent 70%);
  border-radius: 50%;
}
.stat-card { padding: 1rem; }
.stat-card i { font-size: 2.2rem; color: var(--c-orange); margin-bottom: .6rem; display: block; }
.stat-card .counter {
  font-family: 'Plus Jakarta Sans';
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: #fff; font-weight: 800; line-height: 1; margin: 0;
}
.stat-card p { margin: .4rem 0 0; color: rgba(255,255,255,.78); font-weight: 500; letter-spacing: .04em; }

/* =========== TESTIMONIALS =========== */
.testimonial-carousel { padding: 0 0 60px; }
.t-card {
  background: #fff;
  padding: 2rem 1.8rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
  height: 100%;
  position: relative;
}
.t-quote { position: absolute; top: 14px; right: 18px; font-size: 4rem; color: rgba(243,112,33,.15); line-height: 1; }
.t-card p { font-size: 1.02rem; color: var(--c-charcoal); line-height: 1.65; }
.t-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--c-line); }
.t-avatar { width: 52px; height: 52px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; font-family: 'Plus Jakarta Sans'; }
.t-author strong { font-family: 'Plus Jakarta Sans'; display: block; color: var(--c-charcoal); }
.t-author span { font-size: .85rem; color: var(--c-gray); display: block; }
.t-stars { color: var(--c-orange); font-size: .8rem; margin-top: 4px; }
.t-control {
  position: absolute; top: auto; bottom: -20px;
  width: 48px; height: 48px;
  background: var(--c-green); color: #fff; border-radius: 50%;
  display: grid; place-items: center;
  opacity: 1; transition: background .25s ease;
}
.t-control:hover { background: var(--c-orange); }
.carousel-control-prev.t-control { left: calc(50% - 60px); }
.carousel-control-next.t-control { right: calc(50% - 60px); left: auto; }

/* =========== CONTACT =========== */
.contact-section { background: linear-gradient(180deg, #fff 0%, var(--c-cream) 100%); }
.contact-info { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-info li { display: flex; gap: 1rem; padding: .7rem 0; align-items: flex-start; }
.ci-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px;
  background: rgba(14,110,62,.1); color: var(--c-green);
  display: grid; place-items: center; font-size: 1.1rem;
}
.contact-info a { color: var(--c-charcoal); }
.contact-info a:hover { color: var(--c-orange); }
.social-row { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(14,110,62,.08); color: var(--c-green);
  display: grid; place-items: center;
  transition: all .25s ease;
}
.social-row a:hover { background: var(--c-orange); color: #fff; transform: translateY(-3px); }
.social-row.light a { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.12); }
.social-row.light a:hover { background: var(--c-orange); border-color: var(--c-orange); }

.contact-card {
  padding: 2.2rem;
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.85);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}
.contact-card .form-label { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.contact-card .form-control {
  border-radius: 12px;
  border: 1px solid var(--c-line);
  padding: .75rem 1rem;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-card .form-control:focus {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(243,112,33,.12);
}
.form-alert { padding: .9rem 1.1rem; border-radius: 12px; font-weight: 500; margin-top: 1rem; }
.form-alert.success { background: rgba(14,110,62,.1); color: var(--c-green-dark); border: 1px solid rgba(14,110,62,.2); }
.form-alert.error   { background: rgba(220,38,38,.08); color: #991b1b; border: 1px solid rgba(220,38,38,.2); }

/* =========== MAP =========== */
.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 480px; border: 0; display: block; filter: grayscale(20%) contrast(1.05); }

/* =========== FOOTER =========== */
.site-footer {
  background: linear-gradient(180deg, var(--c-charcoal) 0%, #0c0c0c 100%);
  color: rgba(255,255,255,.78);
  padding: 80px 0 24px;
  position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-green), var(--c-orange), var(--c-green));
}
.footer-top { padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.footer-wordmark strong { color: #fff; font-size: 1.2rem; letter-spacing: .04em; font-family: 'Plus Jakarta Sans'; }
.footer-wordmark em { color: rgba(255,255,255,.6); font-style: normal; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.site-footer h5 { color: #fff; margin-bottom: 1.2rem; font-size: 1rem; letter-spacing: .03em; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { padding: .35rem 0; font-size: .94rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.7); }
.footer-links a:hover, .footer-contact a:hover { color: var(--c-orange); }
.footer-contact i { color: var(--c-orange); margin-right: .55rem; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding-top: 24px; color: rgba(255,255,255,.55); font-size: .88rem;
}
.footer-bottom p { margin: 0; }

/* Float WhatsApp + back to top */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 1020;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  animation: wa-bob 2.6s ease-in-out infinite;
}
.float-wa:hover { color: #fff; transform: scale(1.08); }
@keyframes wa-bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-6px); } }

.back-to-top {
  position: fixed; right: 22px; bottom: 88px; z-index: 1020;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-orange); color: #fff; border: 0;
  display: grid; place-items: center; font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: all .3s ease;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { background: var(--c-orange-dark); }

/* =========== RESPONSIVE =========== */
@media (max-width: 1199.98px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .g-item.g-wide { grid-column: span 2; }
}
@media (max-width: 991.98px) {
  .section { padding: 80px 0; }
  .hero-content { padding-top: 110px; padding-bottom: 60px; }
  .hero-trust { gap: 1.5rem; margin-top: 2rem; padding-top: 1.4rem; }
  .hero-trust strong { font-size: 1.5rem; }
  .about-collage { padding: 0 0 40px; }
  .about-img.accent { position: static; width: 60%; margin-top: -40px; margin-left: auto; }
  .about-badge { left: 0; top: -10px; }
  .why-bg { background-attachment: scroll; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-item.g-tall { grid-row: span 1; }
  .g-item.g-wide { grid-column: span 2; }
  .carousel-control-prev.t-control { left: calc(50% - 50px); }
  .carousel-control-next.t-control { right: calc(50% - 50px); }
}
@media (max-width: 767.98px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { min-height: 92vh; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-lead { font-size: 1rem; }
  .hero-trust { gap: 1.1rem; }
  .hero-trust > div { flex: 1 1 40%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 12px; }
  .g-item.g-wide { grid-column: span 2; }
  .contact-card { padding: 1.4rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 479.98px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-item.g-wide { grid-column: span 1; }
  /* Keep CTA button pairs on one row — bigger but still compact */
  .hero-cta { gap: .7rem; flex-wrap: nowrap !important; }
  .hero-cta .btn,
  .hero-cta .btn-lg { padding: .85rem .6rem; font-size: .92rem; flex: 1 1 0; min-width: 0; text-align: center; }
  .hero-cta .btn i { display: inline-block; font-size: .85rem; }
  /* About button pair */
  .about-section .d-flex.gap-3 { gap: .6rem !important; flex-wrap: nowrap !important; }
  .about-section .d-flex .btn { padding: .8rem .6rem; font-size: .9rem; flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; }
  .about-section .d-flex .btn i { display: inline-block; font-size: .85rem; }
  /* About points — mobile swipe strip */
  .about-points-grid {
    display: flex;
    gap: .8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: -1rem;
    padding-right: 1rem;
  }
  .about-points-grid::-webkit-scrollbar { display: none; }
  .about-point-card {
    flex: 0 0 78%;
    min-width: 240px;
    scroll-snap-align: start;
    padding: 1rem;
  }
  .about-point-card span { font-size: .9rem; }
  .hero-trust { flex-direction: column; gap: .8rem; align-items: flex-start; }
  .hero-trust > div { flex-direction: row; gap: .7rem; align-items: baseline; }
  .hero-trust strong { font-size: 1.4rem; }
  .float-wa { width: 50px; height: 50px; font-size: 1.4rem; right: 14px; bottom: 14px; }
  .back-to-top { right: 14px; bottom: 76px; width: 42px; height: 42px; }
  .brand-wordmark em { display: none; }
}

/* Extra zoom lock on body for mobile */
@media (pointer: coarse) {
  body {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }
  input, textarea, [contenteditable] {
    -webkit-user-select: auto;
    user-select: auto;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-slide { transition: opacity .2s ease; transform: none; }
}
