/* Sismos Solutions — single stylesheet (replaces 30+ Elementor/Astra CSS files) */
:root {
  --blue: #0067DA;
  --blue-dark: #0056b3;
  --purple: #9C3CEF;
  --purple-dark: #8a2be2;
  --purple-band: #46099B;
  --dark: #1D2A37;
  --text: #222222;
  --muted: #7A7A7A;
  --bg-light: #F5F5F5;
  --bg-lighter: #FAFAFA;
  --white: #FFFFFF;
  --radius: 5px;
  --container: 1200px;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-head: "Blinker", var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--text); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  transition: background .25s, color .25s;
  text-align: center;
}
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: var(--text); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.site-logo img { width: 149px; height: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav li { position: relative; list-style: none; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--blue); }
.main-nav .has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
  transform: translateY(2px);
}
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  border-top: 3px solid var(--blue);
  padding: 6px 0;
  z-index: 10;
}
.main-nav .has-sub:hover > .sub-menu,
.main-nav .has-sub:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { padding: 9px 18px; font-weight: 400; font-size: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dark);
  opacity: .7;
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 90px 20px 70px; }
.hero h1 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 65px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 10px;
}
.hero p { font-size: 18px; line-height: 1.9; margin: 0 0 18px; }
.hero .btn { margin-top: 7px; }

/* ---------- Page band (inner pages) ---------- */
.page-band {
  position: relative;
  color: var(--white);
  text-align: center;
  background-size: cover;
  background-position: center;
}
.page-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dark);
  opacity: .7;
}
.page-band .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 95px; }
.page-band h1 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
}

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-light { background: var(--bg-light); }
.section-lighter { background: var(--bg-lighter); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 45px; }
.section-head h2 { font-size: 40px; }
.section-head .divider {
  width: 70px;
  height: 3px;
  background: var(--blue);
  border: 0;
  margin: 14px auto 18px;
}
.section-head p { color: var(--muted); }

/* ---------- Service cards (What We Offer / Services) ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 34px 26px 30px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(29, 42, 55, .07);
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(29, 42, 55, .12); }
.service-card .icon { width: 90px; height: 90px; object-fit: contain; margin: 0 auto 20px; }
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; min-height: 96px; }
.service-card .btn { margin-top: 8px; padding: 10px 24px; font-size: 14px; }

/* ---------- Split (About / service detail) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.split img { border-radius: 8px; box-shadow: 0 12px 35px rgba(29, 42, 55, .15); }
.split h2 { font-size: 40px; }
.split .divider { width: 70px; height: 3px; background: var(--blue); border: 0; margin: 0 0 22px; }
.split p { color: #444; }

/* ---------- Clients ---------- */
.clients { text-align: center; }
.clients .logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.clients .logos img {
  width: 150px;
  height: 84px;
  object-fit: cover;
  border-radius: 6px;
  filter: grayscale(100%);
  opacity: .75;
  transition: filter .3s, opacity .3s, transform .3s;
}
.clients .logos img:hover { filter: none; opacity: 1; transform: scale(1.04); }

/* ---------- Functionality band ---------- */
.functionality { background: var(--purple-band); color: var(--white); padding: 55px 0 65px; }
.functionality .section-head h2 { color: var(--white); }
.functionality .section-head .divider { background: rgba(255, 255, 255, .6); }
.functionality .section-head p { color: rgba(255, 255, 255, .8); }
.fn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.fn-item { text-align: center; color: var(--white); }
.fn-item img { width: 74px; height: 74px; object-fit: contain; margin: 0 auto 16px; }
.fn-item h3 { color: var(--white); font-size: 21px; margin-bottom: 8px; }
.fn-item p { color: rgba(255, 255, 255, .82); font-size: 14.5px; margin: 0; }

/* ---------- Lists / content pages ---------- */
.content-narrow { max-width: 960px; margin: 0 auto; }
.content-narrow h2 { font-size: 32px; margin-top: 1.4em; }
.content-narrow h3 { font-size: 24px; margin-top: 1.6em; color: var(--blue); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li {
  position: relative;
  padding: 6px 0 6px 34px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 10px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}
.job {
  background: var(--white);
  border-left: 4px solid var(--purple);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin-bottom: 22px;
  box-shadow: 0 6px 24px rgba(29, 42, 55, .06);
}
.job h3 { color: var(--purple); font-size: 20px; margin-bottom: 8px; }
.job p { margin: 0; color: #444; font-size: 15px; }
.note {
  background: var(--bg-lighter);
  border-radius: 8px;
  padding: 20px 24px;
  color: #444;
}
.note strong { color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 55px; }
.contact-card {
  background: var(--white);
  border-radius: 8px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(29, 42, 55, .08);
}
.contact-card .ico {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(0, 103, 218, .1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card .ico svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 19px; margin-bottom: 6px; }
.contact-card p { color: var(--muted); margin: 0; font-size: 15px; }
.contact-card a { color: var(--blue); }

.contact-form-wrap { max-width: 760px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 103, 218, .12);
}
.form-group .error { color: #d33; font-size: 13px; margin-top: 5px; }
.form-group input.invalid, .form-group textarea.invalid { border-color: #d33; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 15px;
}
.alert-success { background: #e7f6ec; color: #1d6b36; border: 1px solid #b7e0c4; }
.alert-error { background: #fdeaea; color: #8f1d1d; border: 1px solid #f2b8b8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .78); font-size: 15px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 65px 0 45px;
}
.site-footer h3 { color: var(--white); font-size: 19px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--blue); }
.site-footer img.footer-logo { max-width: 170px; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--white); }
.footer-about p { margin: 0 0 16px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.socials a:hover { background: var(--purple); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-contact li { padding-left: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
}
.footer-bottom a { color: rgba(255, 255, 255, .9); }

/* ---------- Misc ---------- */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 900;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--purple); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 50px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav a { padding: 10px 10px; font-size: 14px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
    display: none;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }
  .nav-open .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .main-nav a { padding: 12px 22px; }
  .main-nav .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    border-top: 0;
    border-left: 3px solid var(--blue);
    padding: 0 0 0 10px;
  }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .fn-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 35px; }
  .hero p { font-size: 16px; }
  .hero-content { padding: 70px 16px 55px; }
  .page-band .container { padding-top: 80px; padding-bottom: 65px; }
  .page-band h1 { font-size: 34px; }
  .section { padding: 50px 0; }
  .section-head h2, .split h2 { font-size: 30px; }
  .cards-4 { grid-template-columns: 1fr; }
  .fn-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 45px 0 30px; }
  .service-card p { min-height: 0; }
}
