/* GoCISO — static rebuild of the former WordPress/Flatsome site */

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-700.woff2") format("woff2");
}

:root {
  --primary: #446084;
  --primary-dark: #334862;
  --accent-blue: rgb(111, 166, 212);
  --text: #4a4a4a;
  --text-muted: #777;
  --heading: #555;
  --border: #ececec;
  --container: 1080px;
  --header-h: 90px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: #111; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
  margin: 0 0 0.5em;
}
h1 { font-size: 1.7em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.25em; }
h5 { font-size: 0.95em; }
h6 { font-size: 0.85em; opacity: 0.8; }
p { margin: 0 0 1.3em; }
ul { margin: 0 0 1.3em; padding-left: 1.3em; }
li { margin-bottom: 0.6em; }

.uppercase { text-transform: uppercase; letter-spacing: 0.05em; }
.text-center { text-align: center; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: #fff;
  padding: 10px 15px;
}
.skip-link:focus { left: 10px; top: 10px; }

.icon { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 2.5em;
  padding: 0 1.2em;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.97em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, opacity 0.3s, background-color 0.3s;
}
.button-primary { background: var(--primary); color: #fff; }
.button-primary:hover { color: #fff; box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.2); }
.button-gradient {
  background: linear-gradient(to right, var(--primary), #6fa6d4) border-box;
  color: #fff;
}
.button-gradient:hover { color: #fff; opacity: 0.9; }
.button-white { background: #fff; color: #666; }
.button-white:hover { color: #111; box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.05); }
.button-block { display: flex; width: 100%; }
.button-shadow { border-radius: 5px; box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); }
.button-shadow:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.22); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  transition: box-shadow 0.3s;
}
.site-header.is-stuck { box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12); }
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  transition: height 0.3s;
}
.site-header.is-stuck .header-inner { height: 70px; }
.logo { width: 250px; margin-right: auto; }
.logo img { max-height: var(--header-h); width: auto; }
.site-header.is-stuck .logo img { max-height: 70px; }

.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block;
  padding: 10px 13px;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(102, 102, 102, 0.85);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: #111; }
.nav-divider { width: 1px; height: 30px; margin: 0 7px; background: rgba(0, 0, 0, 0.1); }
.header-social { display: flex; gap: 2px; }
.header-social a { padding: 10px 8px; color: #999; font-size: 1rem; display: flex; }
.header-social a:hover { color: #111; }

.menu-toggle,
.mobile-contact { display: none; }

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
}
.drawer.is-open { visibility: visible; }
.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer.is-open .drawer-overlay { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  background: #fff;
  padding: 50px 0 20px;
  transform: translateX(-100%);
  transition: transform 0.3s;
  overflow-y: auto;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 5px 10px;
}
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { margin: 0; border-top: 1px solid var(--border); }
.drawer li:last-child { border-bottom: 1px solid var(--border); }
.drawer a {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 15px 20px;
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(102, 102, 102, 0.85);
}
.drawer a:hover { color: #111; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  background: #446084 url("../img/pexels-tima-miroshnichenko-5380642-scaled.jpg") 62% 60% / cover no-repeat;
}
.hero .container { padding-top: 30px; padding-bottom: 30px; }
.hero-box {
  width: 60%;
  margin-left: 5%;
  padding: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 3px -2px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.14);
}
.hero-box h6 { text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3em; }
.hero-box h1 {
  font-size: 1.25em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Sections ---------- */
.section { padding: 30px 0; }
.section-white { background: #fff; }
.section-gray { background: rgb(209, 209, 209); padding: 10px 0; }
.section-light { background: rgb(245, 247, 251); padding: 60px 0; }
.section-sky { background: rgb(208, 237, 251); }

.section-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0.5em 0 1.5em;
  font-size: 1.25em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: currentColor;
  opacity: 0.1;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Services */
.service { text-align: center; }
.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1em;
  padding: 6px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--primary);
}
.service-icon img { width: 100%; height: 100%; object-fit: contain; }
.service h3 { font-size: 0.95em; text-transform: uppercase; letter-spacing: 0.05em; }
.service p { color: var(--text-muted); font-size: 0.95em; }

/* FAQ */
.faq-card { background: #fff; padding: 50px; margin-bottom: 20px; }
.faq details { border-top: 1px solid #ddd; }
.faq details:last-child { border-bottom: 1px solid #ddd; }
.faq summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6em 0;
  font-size: 1.1em;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #111; }
.faq summary .icon {
  width: 1.6em;
  height: 1.6em;
  padding: 0.2em;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  transition: transform 0.3s;
  color: #999;
}
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details[open] summary { color: var(--primary); }
.faq .faq-body { padding: 0.5em 0 0.5em 2.6em; }

/* Pricing */
.pricing-title { text-align: center; font-size: 2.25rem; margin-bottom: 1em; }
.price-card {
  display: flex;
  flex-direction: column;
  padding: 50px;
  background: #fff;
}
.price-card h3 { text-align: center; font-size: 1.4em; margin-bottom: 1em; }
.price-card .price {
  text-align: center;
  font-size: 1.6em;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}
.price-card .price-big { font-size: 300%; font-weight: 700; font-style: normal; text-transform: none; }
.price-card .price-note { text-align: center; font-size: 0.8em; font-weight: 700; font-style: italic; }
.price-card .divider { height: 2px; margin: 5px 0 25px; background: var(--accent-blue); }
.price-card ul { flex: 1; }
.price-card .center { text-align: center; margin-bottom: 0.5em; }
.price-card-blue { background: var(--accent-blue); color: #fff; }
.price-card-blue h3,
.price-card-blue .price { color: #fff; }
.price-card-blue .divider { background: #fff; }

/* How it works */
.lead-strong { text-align: center; font-weight: 700; margin-bottom: 2em; }
.step { text-align: center; padding: 0 10px; }
.step img { width: 25%; margin: 0 auto 1.2em; }
.step h3 { font-size: 1.25em; }

/* CTA */
.cta {
  min-height: 300px;
  padding: 60px 0;
  text-align: center;
  display: flex;
  align-items: center;
}
.cta h2 { font-size: 1.6em; }

/* ---------- Contact page ---------- */
.page-title {
  background: var(--primary);
  color: #fff;
  padding: 20px 0;
}
.page-title h1 { color: #fff; margin: 0; font-size: 1.7em; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px 0 50px;
}
.contact-grid .button { border-radius: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #5b5b5b;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9em;
  padding: 15px 0 30px;
}
.site-footer strong { color: rgba(255, 255, 255, 0.7); }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 40px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #fff;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 849px) {
  :root { --header-h: 70px; }
  .main-nav { display: none; }
  .menu-toggle,
  .mobile-contact {
    display: flex;
    align-items: center;
    background: none;
    border: 0;
    padding: 10px;
    color: #666;
    font-size: 1.3rem;
    cursor: pointer;
  }
  .header-inner { justify-content: space-between; }
  .logo { width: auto; margin: 0 auto; }
  .logo img { max-height: 60px; }
  .site-header.is-stuck .logo img { max-height: 55px; }
  .grid-3,
  .contact-grid { grid-template-columns: 1fr; }
  .faq-card,
  .price-card { padding: 30px; }
  .back-to-top { display: none; }
  .site-footer { text-align: center; }
}

@media (max-width: 549px) {
  .hero-box { width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
