/* ==== CSS Reset & Normalize ==== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
article, aside, footer, header, nav, section, main {
  display: block;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #18191B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s, color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #18191B;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #35506b;
  text-decoration: none;
}
/* ==== Typography ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #18191B;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 22px;
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.22;
}
.subheadline {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 22px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 18px;
  color: #222;
}
strong {
  font-weight: 700;
}
.text-section {
  margin-bottom: 16px;
}
/* ==== Container ==== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* ==== Layout Margin & Padding ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 32px rgba(48,48,48,0.06), 0 1.5px 4px rgba(48,48,48,0.07);
  padding: 28px 22px;
  transition: box-shadow 0.18s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 32px rgba(48,48,48,0.13), 0 3.5px 8px rgba(48,48,48,0.10);
  transform: translateY(-2px) scale(1.01);
  z-index: 1;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px 18px 24px;
  margin-bottom: 20px;
  background: #fafbfc;
  border-left: 4px solid #18191B;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(30,30,30,0.06);
  max-width: 620px;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  color: #18191B;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #707070;
  font-size: 0.97em;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 5px 32px rgba(48,48,48,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.project-snippet {
  background: #f5f5f6;
  border-radius: 8px;
  box-shadow: 0 1.5px 5px rgba(20,20,20,0.045);
  padding: 22px 20px 18px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-list > div {
  background: #fff;
  padding: 24px 18px 18px 18px;
  border-radius: 10px;
  box-shadow: 0 1.5px 8px rgba(72,72,72,0.09);
  min-width: 240px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s;
  margin-bottom: 20px;
}
.feature-grid > div:hover,
.service-list > div:hover {
  box-shadow: 0 6px 22px rgba(48,48,48,0.13);
}
.service-list .price {
  font-size: 1.15em;
  color: #18191B;
  background: #d6dae2;
  border-radius: 7px;
  padding: 2px 12px;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
/* ==== Buttons & Call-To-Action ==== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #18191B;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(48,48,48,0.13);
  cursor: pointer;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.16s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #35506b;
  color: #fff;
  box-shadow: 0 7px 24px rgba(48,48,48,0.17);
  transform: translateY(-2px) scale(1.03);
}
button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  transition: background 0.15s, box-shadow 0.16s, color 0.12s;
}
/* ==== Header & Navigation ==== */
header {
  background: #18191B;
  color: #fff;
  box-shadow: 0 2px 16px rgba(32,32,32,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}
header img {
  height: 38px;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-left: 40px;
  flex: 1 1 auto;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  background: #fff;
  color: #18191B;
}
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #18191B;
  border-radius: 8px;
  font-size: 2rem;
  padding: 4px 16px;
  margin-left: 12px;
  transition: background 0.14s, color 0.13s;
  z-index: 200;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #35506b;
  color: #fff;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 9px;
    margin-left: 18px;
  }
}
@media (max-width: 820px) {
  header .container {
    gap: 16px;
  }
  .main-nav {
    gap: 2px;
    margin-left: 4px;
  }
  .cta-primary {
    font-size: 1rem;
    padding: 10px 22px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 54px;
  }
}
/* ==== Mobile Menu ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,25,27,0.98);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.7,.21,.49,1.02);
  z-index: 801;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.35rem;
  border-radius: 10px;
  margin-right: 26px;
  margin-bottom: 10px;
  transition: background 0.13s, color 0.13s;
  z-index: 803;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #f4b952;
  background: #23262b;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  padding: 20px 36px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 2px;
  border-radius: 5px;
  width: 98%;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #18191B;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
/* ==== Footer ==== */
footer {
  background: #f5f7fa;
  color: #18191B;
  font-size: 1rem;
  border-top: 2px solid #e4e4e4;
  padding: 36px 0 16px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #35506b;
  text-decoration: underline;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #18191B;
}
footer p {
  font-size: 0.97em;
  color: #868686;
  margin-top: 14px;
}
/* ==== Cookie Consent Banner ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #18191B;
  color: #fff;
  padding: 18px 20px 12px 20px;
  z-index: 9998;
  box-shadow: 0 -4px 28px rgba(40,40,40,0.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.35s cubic-bezier(.7,.21,.49,1.02), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  border: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, box-shadow 0.1s;
}
.cookie-btn.accept {
  background: #35506b;
  color: #fff;
  box-shadow: 0 1.5px 5px rgba(48,48,48,0.11);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #22252c;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #18191B;
  border: 1.2px solid #d7d9dd;
  box-shadow: 0 1.5px 5px rgba(48,48,48,0.06);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fafbfc;
}
.cookie-btn.settings {
  background: none;
  color: #f4b952;
  border: 1.5px solid #f4b952;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #18191B;
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-banner {
    padding: 17px 8px 9px 8px;
    font-size: 0.98rem;
  }
  .cookie-btn {
    font-size: 0.99rem;
    padding: 8px 12px;
  }
  .cookie-banner-actions {
    gap: 6px;
  }
}
/* ==== Cookie Modal Styles ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,32,34,0.84);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #18191B;
  border-radius: 16px;
  width: 98%;
  max-width: 385px;
  padding: 34px 25px 22px 25px;
  box-shadow: 0 6px 44px rgba(40,40,40,0.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 10011;
  animation: fadeInUpModal 0.24s ease;
}
@keyframes fadeInUpModal {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 14px; top: 10px;
  font-size: 1.55rem;
  color: #18191B;
  background: none;
  border-radius: 7px;
  cursor: pointer;
  padding: 2px 10px;
  transition: background 0.12s, color 0.12s;
  z-index: 10012;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #35506b;
  background: #ededed;
}
.cookie-categories-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0 2px 0;
}
.cookie-category-label {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}
.cookie-category-description {
  font-size: 0.98em;
  color: #777;
  margin-bottom: 1px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #d7dbe2;
  border-radius: 15px;
  position: relative;
  transition: background 0.15s;
  border: none;
  margin-left: 12px;
  cursor: pointer;
}
.cookie-toggle.on {
  background: #35506b;
}
.cookie-toggle .toggle-thumb {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px; left: 2px;
  transition: left 0.18s;
}
.cookie-toggle.on .toggle-thumb {
  left: 18px;
}
.cookie-modal button.cookie-btn {
  margin-top: 10px;
  width: 100%;
}
/* ==== General Responsive Breakpoints ==== */
@media (max-width: 1060px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list {
    gap: 18px;
  }
  .footer-nav {
    gap: 12px;
  }
}
@media (max-width: 820px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .card {
    padding: 16px 10px;
  }
  .feature-grid > div, .service-list > div {
    min-width: 170px;
    font-size: 1rem;
    padding: 14px 10px 10px 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .feature-grid, .service-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .service-list > div {
    min-width: unset;
    width: 100%;
  }
  .card {
    margin-bottom: 13px;
    padding: 13px 6px;
  }
  .project-snippet {
    padding: 13px 8px 10px 12px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 10px 15px 10px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .section {
    padding: 24px 2px;
    margin-bottom: 32px;
  }
}
/* ==== Spacing Consistency for Cards/Sections ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 32px;
    padding: 24px 2px;
  }
}
/* ==== Misc UI Details ==== */
hr {
  border: none;
  border-top: 1px solid #e5e5ea;
  margin: 40px 0;
}
::-webkit-scrollbar {
  width: 10px;
  background: #e7e9ec;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: #b6bac2;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8c909b;
}
select, input, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: #222;
  background: #fafbfc;
  border: 1.3px solid #d6dae2;
  border-radius: 7px;
  padding: 10px 14px;
  margin-bottom: 16px;
  outline: none;
  width: 100%;
  transition: border-color 0.14s, box-shadow 0.15s;
}
select:focus, input:focus, textarea:focus {
  border-color: #35506b;
  box-shadow: 0 0 0 2px #e6ecf2;
}
::-webkit-input-placeholder { color: #9aa1a9; }
::-moz-placeholder { color: #9aa1a9; }
:-ms-input-placeholder { color: #9aa1a9; }
::placeholder { color: #9aa1a9; }
/* ==== Utility Classes ==== */
.hidden {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
/* ==== Monochrome Sophisticated Accents ==== */
.card, .feature-grid > div, .service-list > div, .project-snippet {
  border: 1.3px solid #e6e7eb;
}
.card {
  background: #fff;
}
.testimonial-card {
  background: #fafbfc;
  border-left: 4px solid #18191B;
}
.section {
  background: #f8f9fb;
}
@media (max-width: 700px) {
  .section {
    background: #fff;
  }
}
.cta-primary, .cookie-btn.accept {
  box-shadow: 0 1.8px 6px rgba(0,0,0,0.12);
}
@media (max-width: 600px) {
  .container {
    max-width: 100vw;
    padding: 0 3px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}
/* ==== Micro-Interactions & Animations ==== */
.cta-primary, .cookie-btn {
  transition: background 0.18s, color 0.16s, box-shadow 0.15s, transform 0.1s;
}
.testimonial-card, .card, .feature-grid > div, .service-list > div {
  transition: box-shadow 0.15s, transform 0.14s;
}
.testimonial-card:hover, .card:hover, .feature-grid > div:hover, .service-list > div:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 44px rgba(56,56,56,0.11);
  z-index: 2;
}
/* ==== Accessible Focus Styles ==== */
a:focus, button:focus, input:focus, .cta-primary:focus, .cookie-btn:focus {
  outline: 2px solid #35506b;
  outline-offset: 2px;
  z-index: 10;
}
/* ==== Adaptive Heading Scale ==== */
@media (max-width:600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.15rem; }
}
