/* ==========================================================================
   Limpol 24h — Custom Design System
   Palette: deep navy + engineering blue + water-green accent
   Type: Sora (display) + Inter (body)
   Signature: wave dividers between sections (nods to liquid/flow, on-brand
   for a sanitation company) + a subtle "flow line" animation in the hero.
   ========================================================================== */

:root {
  --navy-900: #071B34;
  --navy-800: #0B2447;
  --blue-700: #144C8C;
  --blue-600: #1B63B5;
  --blue-500: #2E86DE;
  --green-500: #17A673;
  --green-400: #2ECC94;
  --ink: #0E2033;
  --ink-soft: #4C6178;
  --bg-soft: #F4F8FB;
  --bg-card: #FFFFFF;
  --line: #E2EAF1;
  --white: #FFFFFF;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-soft: 0 10px 30px -12px rgba(11, 36, 71, .18);
  --shadow-card: 0 6px 20px -10px rgba(11, 36, 71, .16);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-soft);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-display);
  color: var(--navy-800);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { text-decoration: none; }
img { max-width: 100%; }

.text-green { color: var(--green-500) !important; }
.bg-navy { background: var(--navy-800) !important; }
.bg-soft { background: var(--bg-soft) !important; }

.container-xl { max-width: 1220px; }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-500);
  background: rgba(23, 166, 115, .1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.eyebrow svg { width: 14px; height: 14px; }

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 640px; }
.section-pad { padding: 96px 0; }
@media (max-width: 768px) { .section-pad { padding: 64px 0; } }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-display); font-weight: 600; border-radius: 12px; padding: 12px 24px; transition: all .2s ease; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

.btn-brand {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff; border: none;
  box-shadow: 0 10px 24px -8px rgba(27, 99, 181, .55);
}
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(27, 99, 181, .6); }

.btn-whats {
  background: #25D366; color: #fff; border: none;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .55);
}
.btn-whats:hover { color: #fff; transform: translateY(-2px); }

.btn-outline-navy {
  border: 2px solid rgba(255,255,255,.35); color: #fff; background: transparent;
}
.btn-outline-navy:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn-ghost-brand {
  border: 2px solid var(--blue-600); color: var(--blue-700); background: transparent;
}
.btn-ghost-brand:hover { background: var(--blue-600); color: #fff; }

/* ---------- Navbar ---------- */
.navbar-limpol {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  padding: 18px 0;
  transition: all .25s ease;
  background: transparent;
}
.navbar-limpol.scrolled {
  background: rgba(7, 27, 52, .92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 6px 24px -10px rgba(0,0,0,.35);
}
.navbar-limpol .navbar-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: #fff; display: flex; align-items: center; gap: 10px; }
.navbar-limpol .navbar-brand img { height: 42px; width: auto; }
.navbar-limpol .nav-link { color: rgba(255,255,255,.85) !important; font-weight: 600; font-size: .93rem; margin: 0 6px; }
.navbar-limpol .nav-link:hover, .navbar-limpol .nav-link.active { color: var(--green-400) !important; }
.navbar-limpol .navbar-toggler { border: none; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--blue-700) 100%);
  overflow: hidden;
  padding-top: 110px;
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .22;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(46,134,222,.35), transparent 55%);
}
.hero-flow {
  position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; line-height: 0;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46, 204, 148, .14); border: 1px solid rgba(46, 204, 148, .35);
  color: var(--green-400); font-weight: 700; font-size: .82rem;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(46,204,148,.7); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,204,148,.6); }
  70% { box-shadow: 0 0 0 10px rgba(46,204,148,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,148,0); }
}
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: 22px;
}
.hero h1 .accent { color: var(--green-400); }
.hero p.lead { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 28px; margin-top: 50px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 1.9rem; color: #fff; display: block; }
.hero-stats .stat span { color: rgba(255,255,255,.65); font-size: .85rem; }

/* Signature element: animated flow line */
.flow-line { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 0; opacity: .5; }
.flow-line path { stroke-dasharray: 12 8; animation: flowdash 6s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -200; } }

/* wave divider svg fill matches next section bg */
.wave-fill-soft { fill: var(--bg-soft); }
.wave-fill-white { fill: #fff; }
.wave-fill-navy { fill: var(--navy-800); }

/* ---------- Cards ---------- */
.card-limpol {
  background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); transition: all .25s ease; overflow: hidden; height: 100%;
}
.card-limpol:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }

.service-card .service-img { height: 190px; overflow: hidden; position: relative; }
.service-card .service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-card .service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-600), var(--green-500));
  display: flex; align-items: center; justify-content: center; color: #fff;
  margin-top: -46px; margin-left: 20px; position: relative; z-index: 2;
  box-shadow: 0 8px 18px -6px rgba(11,36,71,.4);
}
.service-card .service-body { padding: 14px 22px 24px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 14px; }
.service-card .service-link { color: var(--blue-600); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card .service-link:hover { color: var(--green-500); }

/* Feature / why-us */
.feature-item { display: flex; gap: 16px; padding: 20px; }
.feature-icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px;
  background: rgba(27,99,181,.08); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
}
.feature-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.feature-item p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* Areas */
.area-card {
  border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line);
  padding: 22px; text-align: center; transition: all .2s ease;
}
.area-card:hover { border-color: var(--green-500); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.area-card svg { color: var(--green-500); margin-bottom: 10px; }

/* Gallery */
.gallery-item { border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,52,.7), transparent 50%);
  opacity: 0; transition: opacity .25s ease; display: flex; align-items: flex-end; padding: 14px;
  color: #fff; font-size: .85rem; font-weight: 600;
}
.gallery-item:hover .overlay { opacity: 1; }

/* Testimonials */
.testimonial-card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line);
  height: 100%;
}
.testimonial-stars { color: #F5A623; margin-bottom: 14px; }
.testimonial-card p.content { color: var(--ink); font-size: 1rem; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-author b { display: block; font-size: .92rem; }
.testimonial-author span { color: var(--ink-soft); font-size: .8rem; }

/* FAQ accordion */
.accordion-limpol .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-md) !important; overflow: hidden; margin-bottom: 12px; }
.accordion-limpol .accordion-button { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); background: #fff; }
.accordion-limpol .accordion-button:not(.collapsed) { color: var(--blue-700); background: rgba(27,99,181,.05); box-shadow: none; }
.accordion-limpol .accordion-button:focus { box-shadow: none; }

/* Contact */
.contact-info-card { background: var(--navy-800); color: #fff; border-radius: var(--radius-lg); padding: 34px; }
.contact-info-card .item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-card .icon-box { width: 44px; height: 44px; border-radius: 12px; background: rgba(46,204,148,.15); color: var(--green-400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card h5 { color: #fff; font-size: .92rem; margin-bottom: 3px; }
.contact-info-card p, .contact-info-card a { color: rgba(255,255,255,.75); font-size: .92rem; margin: 0; }
.contact-info-card a:hover { color: var(--green-400); }

.form-limpol .form-control, .form-limpol .form-select {
  border-radius: 10px; border: 1.5px solid var(--line); padding: 12px 16px; font-size: .94rem;
}
.form-limpol .form-control:focus, .form-limpol .form-select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(46,134,222,.12); }
.form-limpol label { font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy-800); }

/* Footer */
.footer-limpol { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 64px 0 24px; }
.footer-limpol h5 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 18px; }
.footer-limpol a { color: rgba(255,255,255,.65); font-size: .92rem; }
.footer-limpol a:hover { color: var(--green-400); }
.footer-limpol .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-limpol .footer-brand img { height: 38px; }
.footer-limpol .footer-brand span { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.15rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social-icons a:hover { background: var(--green-500); }

/* Floating WhatsApp button */
.whats-float {
  position: fixed; bottom: 26px; right: 24px; z-index: 1040;
  width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px -6px rgba(37,211,102,.6);
  animation: floatbob 2.6s ease-in-out infinite;
}
.whats-float:hover { color: #fff; transform: scale(1.06); }
@keyframes floatbob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }

/* Sticky mobile call bar */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035;
  display: none; background: #fff; box-shadow: 0 -8px 24px -10px rgba(0,0,0,.25);
  padding: 10px 14px; gap: 10px;
}
@media (max-width: 767px) { .mobile-cta-bar { display: flex; } body { padding-bottom: 72px; } .whats-float { bottom: 90px; right: 18px; width: 56px; height: 56px; } }
.mobile-cta-bar a { flex: 1; text-align: center; padding: 12px 8px; border-radius: 10px; font-weight: 700; font-size: .88rem; }

/* Page header (inner pages) */
.page-header {
  background: linear-gradient(160deg, var(--navy-900), var(--blue-700));
  padding: 160px 0 90px; position: relative; overflow: hidden;
}
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-header p { color: rgba(255,255,255,.75); }
.breadcrumb-limpol a { color: rgba(255,255,255,.6); }
.breadcrumb-limpol .active { color: var(--green-400); }

/* Utilities */
.icon-circle { width: 60px; height: 60px; border-radius: 50%; background: rgba(27,99,181,.1); color: var(--blue-600); display:flex; align-items:center; justify-content:center; }
.glass { background: rgba(255,255,255,.08); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.14); }

/* Animate on scroll */
.aos { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.aos.in { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(7,27,52,.92); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 90%; max-height: 85vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 2rem; cursor: pointer; background:none; border:none; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2rem; background: rgba(255,255,255,.1); border: none; width: 50px; height: 50px; border-radius: 50%; }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }
