/* =====================================================
   Home / Site-wide Design System
   Matched to the live site: blue primary, orange section
   labels, thin-border cards, blue footer.
   ===================================================== */

:root {
  --primary: #1A73E8;
  --primary-dark: #1557B0;
  --primary-light: #E8F0FE;
  --accent-label: #E8730C;
  --whatsapp: #25D366;
  --star-gold: #FBB714;

  --surface: #FFFFFF;
  --background: #F6F7F9;
  --footer-bg: #1A56DB;

  --on-surface: #1A1A2E;
  --on-surface-muted: #5F6368;
  --on-footer: #EAF0FE;
  --on-footer-muted: #C3D3FB;

  --border: #DFE1E6;
  --border-strong: #C7CBD1;

  --radius-card: 10px;
  --radius-btn: 8px;
  --radius-pill: 999px;

  --shadow-hover: 0 4px 16px rgba(26,26,46,.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--surface);
  color: var(--on-surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-title, .hero h1 {
  font-family: 'Poppins', 'Inter', sans-serif;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--alt { background: var(--background); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-label); margin: 0 0 8px;
}
.section-title { font-size: 30px; font-weight: 600; margin: 0 0 16px; line-height: 1.25; }
.section-lead { color: var(--on-surface-muted); font-size: 15px; line-height: 1.7; max-width: 680px; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Google-colored "Google" text, matching the real site ---------- */
.google-g1 { color: #4285F4; }
.google-o1 { color: #EA4335; }
.google-o2 { color: #FBBC05; }
.google-g2 { color: #4285F4; }
.google-l  { color: #34A853; }
.google-e  { color: #EA4335; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; border-radius: var(--radius-btn);
  padding: 12px 26px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn--outline:hover { background: var(--primary-light); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #1FB855; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); border-color: var(--border-strong); }

/* ---------- Top App Bar ---------- */
.appbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.appbar__inner {
  position: relative;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.appbar__logo img { height: 40px; }
.appbar__nav { display: flex; align-items: center; gap: 28px; }
.appbar__nav a {
  text-decoration: none; color: var(--on-surface); font-size: 14px; font-weight: 500;
  position: relative; padding: 4px 0;
}
.appbar__nav a:hover { color: var(--primary); }
.appbar__nav .has-dropdown { position: relative; }
.appbar__dropdown {
  display: none; position: absolute; top: 100%; left: 0; margin-top: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: var(--shadow-hover);
  padding: 8px; min-width: 220px; max-height: 340px; overflow-y: auto;
}
.appbar__nav .has-dropdown:hover .appbar__dropdown { display: block; }
.appbar__dropdown a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 13px; }
.appbar__dropdown a:hover { background: var(--background); }
.appbar__cta { display: flex; align-items: center; gap: 10px; }
.appbar__cta .btn { padding: 9px 18px; font-size: 13px; }

.appbar__search { position: relative; display: flex; align-items: center; }
.appbar__search-toggle {
  background: none; border: none; font-size: 17px; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--on-surface-muted);
}
.appbar__search-toggle:hover { background: var(--background); color: var(--primary); }
.appbar__search-input {
  width: 0; opacity: 0; padding: 0; border: none; font-family: inherit; font-size: 13px;
  transition: width .2s ease, opacity .2s ease, padding .2s ease;
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  border-radius: var(--radius-pill); background: var(--background);
}
.appbar__search.is-open .appbar__search-input {
  width: 200px; opacity: 1; padding: 8px 14px; border: 1px solid var(--border);
}

/* ---------- Hamburger (mobile/tablet only) ---------- */
.appbar__hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  color: var(--on-surface); font-size: 22px; flex-shrink: 0;
}

@media (max-width: 920px) {
  .appbar__hamburger { display: flex; }

  .appbar__nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px 24px 16px;
    box-shadow: var(--shadow-hover);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .appbar__nav.is-open { display: flex; }
  .appbar__nav a { padding: 12px 0; font-size: 15px; }

  .appbar__nav .has-dropdown:hover .appbar__dropdown { display: none; }
  .appbar__nav .has-dropdown.is-open > .appbar__dropdown { display: block; }
  .appbar__dropdown {
    position: static; margin: 0 0 6px 12px; padding: 0;
    border: none; box-shadow: none; max-height: none; min-width: 0;
  }

  .appbar__cta .btn--primary span,
  .appbar__cta .btn--whatsapp span { display: none; }
}

@media (max-width: 640px) {
  .appbar__inner { padding: 0 16px; }
  .appbar__cta .btn { padding: 9px 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 42px; font-weight: 600; line-height: 1.2; margin: 0 0 18px; }
.hero p { font-size: 16px; line-height: 1.7; color: var(--on-surface-muted); margin: 0 0 28px; max-width: 520px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__slider { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4/3; background: #fff; border: 1px solid var(--border); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slider-nav { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.hero__slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.6); border: none; cursor: pointer; padding: 0; }
.hero__slider-dot.is-active { background: #fff; width: 22px; border-radius: 4px; }
.hero__slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.9); border: none; width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 16px; box-shadow: var(--shadow-hover);
}
.hero__slider-arrow--prev { left: 12px; }
.hero__slider-arrow--next { right: 12px; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}

/* ---------- Client marquee ---------- */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee-scroll 60s linear infinite; align-items: center; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 42px; width: auto; object-fit: contain; opacity: .8; filter: grayscale(30%); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee-track--images img { height: 130px; width: 100px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); opacity: 1; filter: none; }

/* ---------- Core Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { padding: 28px 22px; text-align: left; }
.service-card__icon {
  width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid var(--primary); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px;
}
.service-card h3 { font-size: 16px; margin: 0 0 6px; font-weight: 600; }
.service-card p { font-size: 13px; color: var(--on-surface-muted); margin: 0; }

@media (max-width: 860px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Why choose us / stats (plain text, no card wrapper) ---------- */
.stats-plain { display: flex; flex-direction: column; gap: 16px; }
.stat-plain { display: flex; align-items: baseline; gap: 12px; }
.stat-plain__num { font-size: 30px; font-weight: 700; color: var(--primary); font-family: 'Poppins', sans-serif; white-space: nowrap; }
.stat-plain__label { font-size: 14px; color: var(--on-surface-muted); }

.why-choose-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; margin-top: 32px; }
.why-choose-grid h3 { font-size: 16px; margin: 0 0 6px; font-weight: 600; }
.why-choose-grid p { font-size: 13px; color: var(--on-surface-muted); line-height: 1.6; }

.trust-badge { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.trust-badge__icon { width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.trust-row { display: flex; align-items: center; gap: 10px; }
.trust-row__score { font-size: 32px; font-weight: 700; color: var(--on-surface); }

@media (max-width: 860px) { .why-choose-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Reviews section wrapper (homepage-specific header around the shared widget) ---------- */
.home-reviews__header { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 24px; }
.home-reviews__header img { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border); }
.home-reviews__header strong { font-size: 16px; }

/* ---------- About stats ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { text-align: center; padding: 24px 16px; }
.team-card img { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; border: 1px solid var(--border); }
.team-card h3 { font-size: 15px; margin: 0 0 2px; font-weight: 600; }
.team-card p { font-size: 12px; color: var(--on-surface-muted); margin: 0; }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Blog cards ---------- */
.blog-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-teaser-card { overflow: hidden; text-decoration: none; color: var(--on-surface); display: block; }
.blog-teaser-card__thumb { aspect-ratio: 16/10; background: var(--background); }
.blog-teaser-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-teaser-card__body { padding: 16px 18px; }
.blog-teaser-card span.eyebrow { display: block; margin-bottom: 8px; }
.blog-teaser-card h3 { font-size: 15px; margin: 0 0 8px; line-height: 1.4; font-weight: 600; }
.blog-teaser-card__link { font-size: 13px; color: var(--primary); font-weight: 600; }
@media (max-width: 860px) { .blog-teaser-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--on-footer); padding: 56px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--on-footer-muted); text-decoration: none; font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-brand__logo { background: #fff; display: inline-flex; padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; }
.footer-brand__logo img { height: 30px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: var(--on-footer-muted); max-width: 280px; }
.footer-brand a { color: var(--on-footer); }
.footer-map { border-radius: var(--radius-card); overflow: hidden; margin-bottom: 40px; border: 1px solid rgba(255,255,255,.15); }
.footer-map iframe { width: 100%; height: 260px; border: 0; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 18px 0; text-align: center; font-size: 12px; color: var(--on-footer-muted); }

/* ---------- Sticky bottom Call + WhatsApp bar (mobile only — desktop already has a persistent header) ---------- */
.sticky-contact-bar { display: none; }

@media (max-width: 767px) {
  body { padding-bottom: 54px; }
  .sticky-contact-bar {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    box-shadow: 0 -2px 12px rgba(26,26,46,.12);
  }
  .sticky-contact-bar__btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 0; font-size: 14px; font-weight: 600; text-decoration: none; color: #fff;
  }
  .sticky-contact-bar__btn--call { background: var(--primary); }
  .sticky-contact-bar__btn--whatsapp { background: var(--whatsapp); }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 190;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }

@media (max-width: 767px) {
  .back-to-top { bottom: 70px; right: 16px; }
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
