/* =========================================================
   Zain Cooling Service — Main Stylesheet
   ========================================================= */

/* ---------- Fonts (local) ---------- */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-800.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  --primary: #0877C9;
  --primary-dark: #065e9f;
  --secondary: #00BCEB;
  --dark: #102A43;
  --text: #486581;
  --bg: #F4FAFD;
  --white: #FFFFFF;
  --accent: #FF8A00;
  --accent-dark: #e67a00;
  --whatsapp: #25D366;
  --border: #dbeaf4;
  --grad: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(16, 42, 67, .06);
  --shadow: 0 12px 34px rgba(8, 119, 201, .10);
  --shadow-lg: 0 22px 50px rgba(8, 119, 201, .18);
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --bs-primary: var(--primary);
  --bs-primary-rgb: 8, 119, 201;
  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: var(--text);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: var(--bs-body-font-family); color: var(--text); background: var(--white); font-size: 15.5px; line-height: 1.7; overflow-x: hidden; }
/* Stop any element from creating sideways scroll (clip keeps the sticky header working) */
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
main, .site-footer { overflow-x: clip; }
h1, h2, h3, h4, h5 { color: var(--dark); font-weight: 700; line-height: 1.25; }
a { color: var(--primary); text-decoration: none; transition: color .25s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
address { margin: 0; font-style: normal; }
::selection { background: var(--secondary); color: #fff; }

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 52px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); background: rgba(0, 188, 235, .12);
  padding: 6px 16px; border-radius: 50px; margin-bottom: 14px;
}
.section-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; margin-bottom: 10px; }
.section-sub { font-size: 1.08rem; font-weight: 500; color: var(--primary); margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 50px; padding: .65rem 1.4rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all .3s var(--ease); }
.btn-lg { padding: .85rem 1.8rem; font-size: 1rem; }
.btn i { transition: transform .3s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: #fff; border: 2px solid var(--accent); box-shadow: 0 10px 24px rgba(255, 138, 0, .32); }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 138, 0, .42); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 2px solid rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.btn-glass:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }
.btn-outline-primary { color: var(--primary); border: 2px solid var(--primary); background: transparent; }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; border: 2px solid var(--whatsapp); }
.btn-whatsapp:hover { background: #1eb457; border-color: #1eb457; color: #fff; transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: #cfe3f2; font-size: 13.5px; padding: 8px 0; }
.topbar a { color: #cfe3f2; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--secondary); margin-right: 6px; }

/* ---------- Header ---------- */
.site-header { background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); box-shadow: 0 2px 0 rgba(16, 42, 67, .04); transition: box-shadow .3s; z-index: 1030; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(16, 42, 67, .10); }
.navbar { min-height: var(--header-h); padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-size: 1.45rem; box-shadow: 0 8px 18px rgba(8, 119, 201, .3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.3rem; font-weight: 800; color: var(--dark); letter-spacing: -.3px; }
.brand-text small { font-size: .78rem; font-weight: 600; color: var(--secondary); letter-spacing: 3px; text-transform: uppercase; }
.navbar .nav-link { font-weight: 500; color: var(--dark); padding: .5rem 1rem !important; position: relative; }
.navbar .nav-link::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .3s var(--ease); }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: none; font-size: 1.9rem; color: var(--dark); padding: 2px 6px; }
.navbar-toggler:focus { box-shadow: none; }
.header-phone { align-items: center; gap: 12px; color: var(--dark); }
.header-phone small { display: block; font-size: 12px; color: var(--text); }
.header-phone strong { font-size: 1.05rem; color: var(--dark); }
.header-phone-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; animation: ring 2.4s infinite; }
.header-phone:hover strong { color: var(--primary); }
.header-call { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.header-call:hover { color: #fff; }

@keyframes ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 0, .5); }
  60% { box-shadow: 0 0 0 12px rgba(255, 138, 0, 0); }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg); padding-bottom: 40px; }
.hero .carousel-item {
  height: clamp(560px, 86vh, 760px);
  background-size: cover; background-position: center; position: relative;
}
.hero .carousel-item.active .hero-text > * { animation: heroIn .9s var(--ease) both; }
.hero .carousel-item.active .hero-text > *:nth-child(2) { animation-delay: .12s; }
.hero .carousel-item.active .hero-text > *:nth-child(3) { animation-delay: .24s; }
.hero .carousel-item.active .hero-text > *:nth-child(4) { animation-delay: .36s; }
.hero .carousel-item.active { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { background-size: 112% auto; } to { background-size: 100% auto; } }
@media (max-aspect-ratio: 3/2) { .hero .carousel-item.active { animation: none; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(16, 42, 67, .88) 0%, rgba(8, 119, 201, .72) 42%, rgba(0, 188, 235, .18) 75%, rgba(0, 188, 235, 0) 100%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-bottom: 60px; }
.hero-text { max-width: 640px; color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
  padding: 7px 16px; border-radius: 50px; margin-bottom: 20px; backdrop-filter: blur(4px);
}
.hero-badge i { color: var(--secondary); }
.hero h1, .hero .hero-title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 800; margin-bottom: 18px; letter-spacing: -.5px; }
.hero h1 span, .hero .hero-title span { color: transparent; background: linear-gradient(90deg, #7fe3ff, #fff); -webkit-background-clip: text; background-clip: text; }
.hero-text p { font-size: clamp(1rem, 1.5vw, 1.15rem); color: #e3f2fb; margin-bottom: 30px; max-width: 540px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero .carousel-indicators { bottom: 72px; margin-bottom: 0; }
.hero .carousel-indicators [data-bs-target] { width: 12px; height: 12px; border-radius: 50%; border: 0; margin: 0 5px; opacity: .55; transition: all .3s; }
.hero .carousel-indicators .active { width: 34px; border-radius: 10px; opacity: 1; background: var(--accent); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 8%; opacity: 1; }
.hero-arrow { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .4); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all .3s; backdrop-filter: blur(4px); }
.carousel-control-prev:hover .hero-arrow, .carousel-control-next:hover .hero-arrow { background: #fff; color: var(--primary); }

.trust-wrap { position: relative; z-index: 5; margin-top: -48px; }
.trust-strip {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.trust-item { display: flex; align-items: center; gap: 14px; padding: 24px 22px; border-right: 1px solid var(--border); transition: background .3s; }
.trust-item:last-child { border-right: 0; }
.trust-item:hover { background: var(--bg); }
.trust-icon { flex: 0 0 52px; height: 52px; border-radius: 14px; background: rgba(0, 188, 235, .12); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all .3s; }
.trust-item:hover .trust-icon { background: var(--grad); color: #fff; }
.trust-item strong { display: block; color: var(--dark); font-size: .98rem; }
.trust-item small { color: var(--text); font-size: .82rem; }

/* ---------- About ---------- */
.about { background: var(--bg); padding-top: 70px; }
.about-media { position: relative; padding: 0 0 30px 30px; }
.about-media img { border-radius: 24px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: 24px; background: var(--grad); opacity: .9; z-index: 1; }
.about-dots { position: absolute; right: -14px; top: -18px; width: 120px; height: 120px; background-image: radial-gradient(var(--secondary) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .5; z-index: 0; }
.about-badge {
  position: absolute; right: 20px; bottom: 0; z-index: 3; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px; animation: floaty 4s ease-in-out infinite;
}
.about-badge i { font-size: 2rem; color: var(--accent); }
.about-badge strong { display: block; color: var(--dark); font-size: 1.1rem; line-height: 1.1; }
.about-badge span { font-size: .85rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.about .section-sub { margin-bottom: 18px; font-size: 1.1rem; }
.about-text { margin-bottom: 26px; }
.about-point { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; color: var(--dark); transition: all .3s var(--ease); }
.about-point i { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: rgba(0, 188, 235, .12); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; transition: all .3s; }
.about-point:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.about-point:hover i { background: var(--grad); color: #fff; }

/* ---------- Services ---------- */
.services { background: #fff; }
.services::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 340px; background: linear-gradient(180deg, var(--bg), #fff); z-index: 0; }
.services .container { position: relative; z-index: 1; }
.service-card {
  height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-img { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 119, 201, 0) 50%, rgba(16, 42, 67, .45)); }
.service-card:hover .service-img img { transform: scale(1.1); }
.service-icon {
  position: absolute; left: 18px; bottom: 16px; z-index: 2; width: 54px; height: 54px; border-radius: 16px;
  background: var(--grad); color: #fff; font-size: 1.45rem; display: inline-flex; align-items: center; justify-content: center;
  border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 18px rgba(8, 119, 201, .35); transition: transform .4s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); }
.service-body { padding: 24px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-body p { font-size: .95rem; margin-bottom: 22px; flex: 1; }
.service-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-actions .btn { padding: .6rem .8rem; font-size: .9rem; }
.btn-call { background: rgba(8, 119, 201, .1); color: var(--primary); border: 2px solid transparent; }
.btn-call:hover { background: var(--primary); color: #fff; }
.btn-wa { background: var(--whatsapp); color: #fff; border: 2px solid var(--whatsapp); }
.btn-wa:hover { background: #1eb457; border-color: #1eb457; color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 10px; background: #fff; }
.cta-inner {
  background: var(--grad); border-radius: 24px; padding: 44px 48px; color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-lg);
}
.cta-inner::before, .cta-inner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta-inner::before { width: 260px; height: 260px; right: -60px; top: -120px; }
.cta-inner::after { width: 160px; height: 160px; left: 30%; bottom: -100px; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.85rem); margin-bottom: 6px; }
.cta-inner p { margin: 0; color: #e6f7fd; }

/* ---------- Why choose us ---------- */
.why-us { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.feature-card {
  height: 100%; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px;
  position: relative; overflow: hidden; transition: all .4s var(--ease); z-index: 1;
}
.feature-card::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .4s; z-index: -1; }
.feature-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(0, 188, 235, .08); transition: all .4s; z-index: -1; }
.feature-icon {
  width: 66px; height: 66px; border-radius: 18px; background: rgba(0, 188, 235, .12); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px; transition: all .4s var(--ease);
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; transition: color .4s; }
.feature-card p { margin: 0; transition: color .4s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { background: rgba(255, 255, 255, .15); transform: scale(1.4); }
.feature-card:hover .feature-icon { background: #fff; color: var(--primary); transform: rotateY(180deg); }
.feature-card:hover h3, .feature-card:hover p { color: #fff; }

/* ---------- Gallery ---------- */
.gallery { background: #fff; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden; border: 0; padding: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--dark), var(--primary)); box-shadow: var(--shadow-sm); cursor: pointer;
}
.gallery-item.g-big { grid-column: span 2; grid-row: span 2; }
.gallery-item.g-tall { grid-row: span 2; }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); pointer-events: none; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 42, 67, 0) 45%, rgba(16, 42, 67, .8));
  opacity: .75; transition: opacity .4s;
}
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.gallery-caption {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; font-weight: 600; font-size: .95rem; text-align: left;
  display: flex; align-items: center; gap: 8px;
}
.gallery-item:not(.g-video) .gallery-caption::before { content: "\F52A"; font-family: "bootstrap-icons"; font-weight: 400; color: var(--secondary); }
.gallery-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--accent); font-size: 2rem; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .25); transition: transform .3s var(--ease);
}
.gallery-item:hover .gallery-play { transform: translate(-50%, -50%) scale(1.1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(10, 25, 41, .94); display: flex; align-items: center; justify-content: center;
  padding: 60px 70px; animation: lbIn .3s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #000; }
.lb-stage figcaption { color: #fff; margin-top: 14px; font-weight: 500; text-align: center; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1);
  color: #fff; font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center; transition: all .3s;
}
.lb-btn:hover { background: #fff; color: var(--primary); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); color: #b8cde0; font-size: .9rem; }
body.lb-open { overflow: hidden; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-info { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; height: 100%; border: 1px solid var(--border); }
.contact-info h3 { font-size: 1.35rem; margin-bottom: 22px; }
.contact-info h3 i { color: var(--secondary); }
.contact-list { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #829ab1; font-weight: 600; }
.contact-list a { color: var(--dark); font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--primary); }
.contact-list address { color: var(--dark); font-weight: 500; font-size: .95rem; }
.ci-icon { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.contact-actions .btn { padding: .85rem 1rem; }
.map-card { position: relative; height: 100%; min-height: 440px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; background: #e8f1f7; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-directions {
  position: absolute; left: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff; font-weight: 600; padding: 10px 18px; border-radius: 50px; box-shadow: 0 8px 20px rgba(8, 119, 201, .35); transition: all .3s;
}
.map-directions:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b8cde0; padding-top: 72px; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.brand-light .brand-text strong { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--secondary); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #b8cde0; display: inline-flex; align-items: center; gap: 6px; transition: all .3s; }
.footer-links a::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: .7rem; color: var(--secondary); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact i { color: var(--secondary); margin-top: 3px; }
.footer-contact a { color: #b8cde0; word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: all .3s; }
.footer-social a:hover { background: var(--grad); transform: translateY(-3px); }
.footer-bottom { margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; text-align: center; font-size: .9rem; }

/* ---------- Floating actions ---------- */
.float-whatsapp, .float-call, .back-to-top {
  position: fixed; right: 22px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: #fff; border: 0; box-shadow: 0 10px 24px rgba(16, 42, 67, .25); transition: all .3s var(--ease);
}
.float-whatsapp { bottom: 22px; background: var(--whatsapp); font-size: 1.75rem; }
.float-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); z-index: -1; animation: pulse 2s infinite; }
.float-whatsapp:hover { color: #fff; transform: scale(1.08); }
.float-call { bottom: 90px; background: var(--accent); font-size: 1.4rem; animation: ring 2.4s infinite; }
.float-call:hover { color: #fff; transform: scale(1.08); }
.back-to-top { bottom: 158px; width: 46px; height: 46px; right: 27px; background: var(--primary); font-size: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(16px); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--dark); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Scroll animations ---------- */
[data-animate] { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .navbar .nav-link { padding: .5rem .7rem !important; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 70px; }
  .section { padding: 72px 0; }
  .navbar { min-height: var(--header-h); }
  .navbar-collapse { background: #fff; border-radius: 14px; margin-top: 10px; padding: 8px 6px; box-shadow: var(--shadow); }
  .navbar .nav-link::after { display: none; }
  .navbar .nav-link { border-radius: 10px; }
  .navbar .nav-link.active, .navbar .nav-link:hover { background: var(--bg); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
  .about-media { margin-right: 10px; }
  /* slide-in from the side becomes slide-up on tablets & phones */
  [data-animate="fade-right"], [data-animate="fade-left"] { transform: translateY(40px); }
  .cta-inner { padding: 36px 30px; }
}
@media (max-width: 767.98px) {
  body { font-size: 15px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .hero .carousel-item { height: 600px; background-position: 65% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(16, 42, 67, .78) 0%, rgba(8, 119, 201, .72) 100%); }
  .hero-content { text-align: center; justify-content: center; padding-bottom: 80px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-btns .btn { flex: 1 1 100%; max-width: 320px; }
  .trust-wrap { margin-top: -40px; }
  .trust-item { padding: 16px 14px; gap: 10px; flex-direction: column; text-align: center; }
  .trust-icon { flex: 0 0 auto; width: 46px; height: 46px; font-size: 1.3rem; }
  .trust-item small { display: none; }
  .trust-item strong { font-size: .88rem; }
  .about-media { padding: 0 0 20px 20px; }
  .about-dots { right: 0; top: -14px; width: 90px; height: 90px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .gallery-caption { left: 10px; right: 10px; bottom: 10px; font-size: .82rem; }
  .gallery-play { width: 52px; height: 52px; font-size: 1.6rem; }
  .lightbox { padding: 60px 12px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
  .about-badge { right: 10px; padding: 12px 14px; }
  .contact-info { padding: 24px 20px; }
  .map-card { min-height: 340px; }
  .cta-inner { text-align: center; justify-content: center; }
  .cta-inner .d-flex { justify-content: center; width: 100%; }
  .float-whatsapp { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .float-call { width: 52px; height: 52px; right: 16px; bottom: 80px; }
  .back-to-top { right: 19px; bottom: 144px; }
}
@media (max-width: 399.98px) {
  .brand-text strong { font-size: 1.1rem; }
  .brand-icon { width: 40px; height: 40px; font-size: 1.25rem; }
  .service-actions, .contact-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-animate] { opacity: 1; transform: none; }
}
