/* =====================================================================
   iZitech Solutions — Modern Corporate ICT Stylesheet
   Palette: teal-blue (#006b95) primary + orange (#f97316) accent
   Author: iZitech redesign 2026
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --brand:        #006b95;   /* primary teal-blue */
  --brand-dark:   #004f70;
  --brand-darker: #0a2540;   /* deep navy for text/footer */
  --brand-light:  #e6f2f7;
  --accent:       #f97316;   /* orange accent */
  --accent-dark:  #ea580c;
  --ink:          #1a2b3a;   /* body text */
  --muted:        #5c7182;   /* secondary text */
  --line:         #e4ebf0;   /* borders */
  --bg:           #ffffff;
  --bg-soft:      #f4f8fa;   /* soft section bg */
  --bg-soft-2:    #eef4f7;
  --white:        #ffffff;
  --radius:       14px;
  --radius-sm:    10px;
  --shadow-sm:    0 2px 10px rgba(10, 37, 64, .06);
  --shadow:       0 12px 30px rgba(10, 37, 64, .10);
  --shadow-lg:    0 24px 60px rgba(10, 37, 64, .16);
  --container:    1180px;
  --ease:         cubic-bezier(.22, 1, .36, 1);
  --font:         'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--brand-darker); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
section { position: relative; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--brand-darker); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto 54px; }
.section-head.left { margin-left: 0; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: #fff; color: var(--brand-darker); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--brand-darker);
  color: #cdd8e2;
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.topbar a { color: #cdd8e2; }
.topbar a:hover { color: #fff; }
.topbar .tb-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-info span i { color: var(--accent); margin-right: 7px; }
.topbar .tb-social { display: flex; gap: 14px; }
.topbar .tb-social a { font-size: .9rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.nav-brand img { height: 46px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > li > a {
  display: block;
  padding: 10px 15px;
  color: var(--brand-darker);
  font-weight: 500;
  font-size: .96rem;
  border-radius: 8px;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a { color: var(--brand); }
.nav-menu > li.active > a { position: relative; }
.nav-menu > li.active > a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

/* dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle .caret { font-size: .7rem; margin-left: 5px; transition: transform .25s var(--ease); }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 244px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s var(--ease);
}
.has-dropdown:hover > .dropdown,
.has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
}
.dropdown li a i { color: var(--brand); width: 18px; text-align: center; }
.dropdown li a:hover { background: var(--brand-light); color: var(--brand); }
.dropdown li a[target="_blank"]::after {
  content: "\f35d";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: .62rem; color: var(--muted); margin-left: auto;
}

.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  color: var(--brand-darker);
  font-size: 1.4rem;
}

/* ---------- Hero (homepage slider) ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  overflow: hidden;
  background: var(--brand-darker);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s var(--ease), transform 6s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,37,64,.92) 0%, rgba(10,37,64,.72) 42%, rgba(0,107,149,.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 120px 0;
}
.hero-content {
  max-width: 660px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
@media (max-width: 640px) { .hero-content { padding: 28px 24px; } }
.hero-content .eyebrow { color: #ffd8b8; }
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-content p { color: #d7e3ec; font-size: 1.14rem; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; z-index: 4;
  bottom: 32px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
}
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: transparent; cursor: pointer; padding: 0;
  transition: all .3s var(--ease);
}
.hero-dots button.active { background: var(--accent); border-color: var(--accent); width: 30px; border-radius: 6px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,37,64,.93), rgba(0,107,149,.72));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 10px; }
.breadcrumbs { font-size: .92rem; color: #cfe0ea; }
.breadcrumbs a { color: #cfe0ea; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { margin: 0 8px; opacity: .6; }

/* ---------- Intro strip ---------- */
.intro-strip { background: var(--brand); }
.intro-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 22px;
  flex-wrap: wrap;
}
.intro-strip h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.intro-strip h2 span { color: #ffd8b8; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: all .35s var(--ease);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card .ico {
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: all .35s var(--ease);
}
.service-card:hover .ico { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: .96rem; }

/* ---------- Feature / about split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split-media.bordered { position: relative; }
.split-body h2 { margin-bottom: 18px; }
.split-body p { margin-bottom: 16px; }

/* tabs */
.tabs { margin-top: 26px; }
.tab-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab-btns button {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-darker);
  font-weight: 500; font-family: var(--font);
  cursor: pointer; font-size: .9rem;
  transition: all .25s var(--ease);
}
.tab-btns button.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }

/* check list */
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 9px 0; color: var(--ink); font-size: .97rem;
}
.check-list li i { color: var(--accent); margin-top: 4px; }

/* ---------- Counters ---------- */
.counters { background: linear-gradient(120deg, var(--brand-darker), var(--brand)); color: #fff; }
.counter-item { text-align: center; padding: 10px; }
.counter-item .num { font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1; }
.counter-item .num span { color: var(--accent); }
.counter-item .lbl { color: #cbdae6; margin-top: 8px; font-size: .95rem; }

/* ---------- Pricing ---------- */
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: all .35s var(--ease);
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow); }
.price-card.featured::before {
  content: "Popular";
  position: absolute; top: 16px; right: -34px;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .05em;
  padding: 5px 40px; transform: rotate(45deg);
}
.price-card .plan { font-size: 1.05rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.price-card .amount { font-size: 2.4rem; font-weight: 800; color: var(--brand-darker); margin: 14px 0 4px; }
.price-card .amount sup { font-size: 1.1rem; top: -14px; color: var(--muted); }
.price-card .per { color: var(--muted); font-size: .85rem; margin-bottom: 20px; }
.price-card ul { text-align: left; margin: 6px 0 24px; flex: 1; }
.price-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; color: var(--ink); display: flex; gap: 10px; }
.price-card ul li i { color: var(--accent); }
.price-card form { margin-top: auto; }
.price-card .paynow-btn {
  width: 100%;
  background: var(--accent); color: #fff; border: none;
  padding: 13px; border-radius: 50px; font-weight: 600; cursor: pointer;
  font-family: var(--font); font-size: .95rem; transition: all .3s var(--ease);
}
.price-card .paynow-btn:hover { background: var(--accent-dark); }

/* ---------- Video carousel ---------- */
.video-carousel { max-width: 900px; margin: 0 auto; position: relative; }
.video-track { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-slide { display: none; }
.video-slide.active { display: block; }
.video-slide video { width: 100%; height: auto; display: block; }
.video-nav { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.video-nav button {
  width: 12px; height: 12px; border-radius: 50%; border: none;
  background: #c3d2dc; cursor: pointer; transition: all .3s var(--ease); padding: 0;
}
.video-nav button.active { background: var(--brand); width: 30px; border-radius: 6px; }

/* ---------- Projects ---------- */
.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover img { transform: scale(1.08); }
.work-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,.92) 0%, rgba(10,37,64,.15) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; opacity: 1; transition: all .4s var(--ease);
}
.work-card .overlay span { color: var(--accent); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.work-card .overlay h3 { color: #fff; font-size: 1.15rem; margin-top: 6px; }

/* ---------- Work card: view affordance ---------- */
.work-card { cursor: pointer; border: none; padding: 0; width: 100%; font-family: inherit; text-align: left; background: none; }
.work-card .view-badge {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
  transform: translateY(-8px); opacity: 0; transition: all .35s var(--ease);
}
.work-card:hover .view-badge, .work-card:focus-visible .view-badge { transform: none; opacity: 1; }
.work-card .overlay .tag-hint { color:#e5eef4; font-size:.8rem; margin-top:8px; opacity:.85; display:flex; align-items:center; gap:6px; }

/* ---------- Lightbox / project modal ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(8, 22, 38, .82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; animation: fade .3s var(--ease); }
.lightbox-dialog {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  max-width: 940px; width: 100%; max-height: 90vh;
  display: grid; grid-template-columns: 1.15fr 1fr; box-shadow: var(--shadow-lg);
}
.lightbox-media { background: #0a2540; display: flex; align-items: center; justify-content: center; }
.lightbox-media img { width: 100%; height: 100%; max-height: 90vh; object-fit: cover; }
.lightbox-body { padding: 40px; overflow-y: auto; }
.lightbox-body .lb-cat { color: var(--accent); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.lightbox-body h3 { font-size: 1.6rem; margin: 8px 0 16px; }
.lightbox-body p { margin-bottom: 14px; }
.lightbox-body .lb-meta { list-style: none; margin: 18px 0 0; padding: 0; }
.lightbox-body .lb-meta li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink); }
.lightbox-body .lb-meta li i { color: var(--brand); width: 18px; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--brand-darker); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; transition: all .25s var(--ease);
}
.lightbox-close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }
@media (max-width: 760px) {
  .lightbox-dialog { grid-template-columns: 1fr; max-height: 92vh; }
  .lightbox-media img { max-height: 34vh; }
  .lightbox-body { padding: 26px; }
}

/* ---------- Cards slider (products / team) ---------- */
.cards-slider { position: relative; overflow: hidden; }
.cards-viewport { overflow: hidden; }
.cards-track { display: flex; transition: transform .5s var(--ease); }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  min-height: 100%;
}
.info-card .quote-ico { color: var(--brand-light); font-size: 2.2rem; margin-bottom: 12px; }
.info-card p { font-size: .96rem; color: var(--muted); margin-bottom: 20px; }
.info-card .who { display: flex; align-items: center; gap: 14px; }
.info-card .who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.info-card .who .name { font-weight: 600; color: var(--brand-darker); }
.info-card .who .role { font-size: .82rem; color: var(--accent); }
.slider-arrows { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.slider-arrows button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--brand);
  cursor: pointer; font-size: 1rem; transition: all .3s var(--ease);
}
.slider-arrows button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff; border-radius: var(--radius);
  padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #d7e6ef; margin: 0; }

/* ---------- Contact ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-bottom: 44px; }
.contact-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; transition: all .3s var(--ease);
}
.contact-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-box .ico {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-light); color: var(--brand); border-radius: 50%; font-size: 1.3rem;
}
.contact-box .lbl { font-weight: 600; color: var(--brand-darker); margin-bottom: 4px; }
.contact-box a, .contact-box p { font-size: .92rem; color: var(--muted); word-break: break-word; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-form { background: #fff; padding: 44px; }
.contact-form h3 { margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .85rem; font-weight: 500; color: var(--brand-darker); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .95rem; color: var(--ink);
  transition: border-color .25s var(--ease); background: var(--bg-soft);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.contact-map { min-height: 100%; }
.contact-map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-darker); color: #a9bccb; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.site-footer p { color: #a9bccb; font-size: .93rem; }
.footer-brand img { height: 44px; margin-bottom: 18px; background:#fff; padding:6px 10px; border-radius:8px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #a9bccb; font-size: .93rem; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .93rem; color: #a9bccb; }
.footer-contact li i { color: var(--accent); margin-top: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #fff; transition: all .3s var(--ease);
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: .86rem; color: #8ba1b2;
}
.footer-bottom a { color: #8ba1b2; }
.footer-bottom a:hover { color: #fff; }

/* ---------- AI Chatbot widget ---------- */
#chatbot-widget { position: fixed; bottom: 26px; right: 26px; z-index: 1200; }
#chatbot-button {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow); transition: all .3s var(--ease);
}
#chatbot-button:hover { background: var(--accent); transform: scale(1.06); }
#chatbot-button i { font-size: 1.5rem; }
#chatbot-button .chatbot-label { font-size: .55rem; font-weight: 600; letter-spacing: .05em; }
#chatbot-window {
  position: absolute; bottom: 78px; right: 0;
  width: 340px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; display: none; flex-direction: column;
}
#chatbot-window.open { display: flex; animation: fade .3s var(--ease); }
#chatbot-header {
  background: var(--brand); color: #fff; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; font-weight: 600;
}
#chatbot-header button { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
#chatbot-messages { padding: 16px; height: 300px; overflow-y: auto; background: var(--bg-soft); display: flex; flex-direction: column; gap: 10px; }
.message { padding: 10px 14px; border-radius: 14px; font-size: .9rem; max-width: 85%; line-height: 1.45; }
.message.bot { background: #fff; border: 1px solid var(--line); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.message.user { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
#chatbot-input-area { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
#chatbot-input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 50px; font-family: var(--font); font-size: .9rem; }
#chatbot-input:focus { outline: none; border-color: var(--brand); }
#chatbot-send { background: var(--brand); color: #fff; border: none; width: 42px; border-radius: 50%; cursor: pointer; transition: background .25s var(--ease); }
#chatbot-send:hover { background: var(--accent); }

/* ---------- Reveal on scroll ---------- */
/* Visible by default (fail-safe: if JS is missing, content still shows). */
.reveal { opacity: 1; transform: none; }
/* Only hide+animate once JS has flagged the document. */
.has-js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.has-js .reveal.in { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
#to-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 1100;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-darker); color: #fff; border: none; cursor: pointer;
  opacity: 0; visibility: hidden; transition: all .3s var(--ease); font-size: 1rem;
}
#to-top.show { opacity: 1; visibility: visible; }
#to-top:hover { background: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-map iframe { min-height: 320px; }

  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh; width: 300px; max-width: 84vw;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 84px 20px 30px;
    gap: 2px;
    box-shadow: var(--shadow-lg);
    transition: right .35s var(--ease);
    overflow-y: auto;
    z-index: 1050;
  }
  .nav-menu.open { right: 0; }
  .nav-menu > li > a { padding: 13px 14px; border-radius: 8px; }
  .nav-menu > li.active > a::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--brand-light);
    margin: 2px 0 6px 12px; padding: 2px 0; min-width: auto; display: none;
  }
  .has-dropdown.open > .dropdown { display: block; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,37,64,.5);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease);
    /* Must sit BELOW the header (z-index:1000) so the slide-in menu, which
       lives inside the header, stays tappable. Above page content only. */
    z-index: 990;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero-inner { padding: 90px 0; }
  .cta-band { padding: 36px 26px; }
  .contact-form { padding: 28px; }
  .topbar .tb-info { gap: 14px; font-size: .8rem; }
  .intro-strip .container { flex-direction: column; text-align: center; }
}
