/* =========================================
   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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  appearance: none;
}
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

/* =========================================
   CSS VARIABLES (fall-back for no vars)
=========================================== */
:root {
  --primary: #1a1a1a;      /* Close to #222F3E but deep black for sophistication */
  --secondary: #ffffff;
  --accent: #f4f5f7;       /* Slightly shaded white for subtle sections */
  --brand-secondary: #00B894; /* Brand accent for buttons */
  --gray-700: #26292E;
  --gray-600: #33353a;
  --gray-500: #54575a;
  --gray-400: #888a8e;
  --gray-300: #b3b4b6;
  --gray-200: #e5e6e9;
  --white: #fff;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(34,34,34,0.11);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 6px;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ================================
   TYPOGRAPHY
=================================== */
html {
  font-size: 16px;
}
body {
  font-family: var(--font-body), Arial, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4em;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.75em;
}
h3 {
  font-size: 1.33rem;
}
h4 {
  font-size: 1.12rem;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 0.8em;
  color: var(--gray-600);
}
.subtitle {
  font-family: var(--font-body), Arial, sans-serif;
  color: var(--gray-500);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  margin-bottom: 1.5em;
}
strong, b {
  font-weight: 700;
}

/* Font scaling for mobile/desktop */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  h3, h4 { font-size: 1.1rem; }
}

/* ===============
   CONTAINER
================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===============================
   HEADER & NAVIGATION
================================== */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 100;
  position: sticky;
  top: 0;
}
header > .container {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  min-height: 68px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 38px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: var(--gray-700);
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.24s, color 0.24s;
  display: inline-block;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--primary);
  border-bottom: 2px solid var(--brand-secondary);
}
.btn-primary, .btn-secondary {
  padding: 10px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display), Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: background 0.25s, color 0.25s, box-shadow 0.2s;
  display: inline-block;
  box-shadow: var(--shadow-sm);
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.035);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 1.5px solid var(--gray-300);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-secondary);
  color: var(--white);
  border-color: var(--brand-secondary);
  transform: translateY(-2px) scale(1.035);
}

/* Hamburger - hidden desktop, visible mobile */
.mobile-menu-toggle {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 1.7rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.2s;
  z-index: 202;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--gray-700);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(24,24,28,0.96);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.53,.01,.36,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--primary);
  color: var(--white);
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  margin: 22px 28px 16px 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 1000;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { background: var(--brand-secondary); color: var(--primary); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 15px 30px;
  margin-top: 10px;
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.025em;
  padding: 8px 0;
  transition: color 0.25s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--brand-secondary);
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile nav covers desktop nav completely */
@media (max-width: 1000px) {
  header > .container {
    gap: 10px;
  }
}

/* ================================
   HERO SECTION
================================= */
.hero {
  background: linear-gradient(110deg, #fff 80%, #e5e6e9 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
  padding: 48px 0 40px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.hero .btn-primary {
  margin-top: 22px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 240px;
    padding: 30px 0 27px 0;
  }
  .hero h1 {
    font-size: 2rem;
    text-align: center;
  }
  .hero .container { gap: 17px; }
}

/* ================================
   SECTIONS, CARDS, GRIDS
================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-lg);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0;
}
.services-list, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.service, .card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 320px;
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  transition: box-shadow 0.18s, transform 0.20s;
}
.service:hover, .card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.022);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.card-container .card {}

/* CRITICAL LAYOUTS */
.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: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 550px;
  color: var(--gray-700);
  font-size: 1.08rem;
}
.testimonial-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  font-size: .98rem;
  color: var(--gray-500);
}
.testimonial-footer img {
  height: 1em;
  display: inline-block;
  margin: 0 0.1em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Icon Rows */
.icons-row {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 16px 0 0 0;
}
.icons-row img {
  height: 43px;
  width: auto;
}

/* Lists */
ul, ol {
  margin-left: 1.15em;
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-600);
  line-height: 1.55;
}
ul li img, ol li img {
  height: 22px;
  width: 22px;
  object-fit: contain;
  margin-right: 8px;
}
ul:last-child, ol:last-child {
  margin-bottom: 0;
}

.comparison-grid, .process-steps-grid, .contact-short, .contact-info-group, .contact-detail-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-short {
  justify-content: space-between;
  align-items: center;
}
.contact-info ul, .contact-info-group ul, .contact-detail-group ul {
  margin: 0 0 8px 0;
}
/* OTher highlights */
.team-highlights, .trust-section {
  background: var(--accent);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-top: 18px;
}
.cta-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  min-width: 160px;
}
@media (max-width: 1024px) {
  .contact-short, .comparison-grid, .process-steps-grid, .contact-info-group, .contact-detail-group {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .cta-column { align-items: flex-start; }
}

/* ===============================
   PRICING SPANS
================================= */
.price {
  display: inline-block;
  color: var(--primary);
  background: var(--accent);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 3px;
  font-size: 1.09em;
}

/* ===============================
   FOOTER
================================== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0 28px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo-social img {
  height: 38px;
}
.footer-nav {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--gray-200);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.85;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-secondary);
  opacity: 1;
}
.footer-contact {
  font-size: 0.96rem;
  color: var(--gray-300);
}
@media (max-width: 920px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .footer-nav {
    gap: 14px;
  }
}

/* ===============================
   RESPONSIVE
================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section,
  .hero {
    padding: 20px 4px;
    border-radius: var(--radius-md);
  }
  .content-wrapper {
    gap: 18px;
  }
  .services-list, .card-container, .card-grid {
    gap: 14px;
    flex-direction: column;
  }
  .service, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 17px 9px;
    border-radius: var(--radius-sm);
  }
  .testimonial-card {
    padding: 12px 7px;
    border-radius: var(--radius-sm);
    font-size: .97rem;
  }
  .icons-row {
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .team-highlights, .trust-section {
    padding: 10px 7px;
    border-radius: var(--radius-sm);
  }
}
@media (max-width: 600px) {
  .section { padding: 18px 0; }
  .hero { padding: 12px 0; min-height: 120px; }
}
/* Text-image section layout adaptation */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
}

/* ================================
   COOKIES CONSENT BANNER & MODAL
================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--gray-700);
  color: var(--white);
  width: 100%;
  z-index: 1800;
  box-shadow: 0 -4px 24px rgba(10,10,12,0.21);
  padding: 24px 18px 16px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  animation: slidein-cookie 0.55s cubic-bezier(.36,.9,.44,1.31);
}
@keyframes slidein-cookie {
  0% { transform: translateY(90px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner .cookie-text { flex: 1 1 350px; font-size: 1.05rem; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-direction: row;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 19px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 0;
  cursor: pointer;
  border: none;
  transition: background .2s, color .2s, border .2s;
}
.cookie-banner .cookie-accept {
  background: var(--brand-secondary);
  color: var(--primary);
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: var(--white);
  color: var(--brand-secondary);
  border: 1.5px solid var(--brand-secondary);
}
.cookie-banner .cookie-reject {
  background: var(--gray-400);
  color: var(--primary);
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--gray-400);
}
.cookie-banner .cookie-settings {
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--brand-secondary);
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: var(--brand-secondary);
  color: var(--primary);
}
@media (max-width: 630px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
    padding: 14px 5px 11px 5px;
    font-size: .96rem;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
    width: 100%;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(20,20,27,0.88);
  z-index: 1900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.5, .05, .32, 1.29);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--white);
  color: var(--primary);
  min-width: 320px; max-width: 400px;
  width: 92vw;
  border-radius: var(--radius-lg);
  padding: 36px 22px 22px 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: fadein-modal 0.34s cubic-bezier(.36,.9,.44,1.21);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes fadein-modal {
  from { transform: translateY(30px); opacity:0; }
  to { transform: none; opacity:1; }
}
.cookie-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.25em;
}
.cookie-modal-close {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  width: 37px; height: 37px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  transition: background .12s;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-secondary); color: var(--primary); }
.cookie-modal h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0;
}
.cookie-modal section {
  margin: 0;
  padding: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.cookie-toggle {
  min-width: 38px;
  min-height: 24px;
  background: var(--gray-300);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .17s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--brand-secondary);
}
.cookie-toggle-slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: left .17s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-slider {
  left: 17px;
}
.cookie-modal .always-enabled {
  font-style: italic;
  color: var(--gray-400);
  margin-left: 9px;
  font-size: 0.97em;
}
.cookie-modal .cookie-save {
  background: var(--brand-secondary);
  color: var(--primary);
  border-radius: var(--radius-md);
  margin-top: 22px;
  padding: 11px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  border: none;
  transition: background .22s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.cookie-modal .cookie-save:hover,
.cookie-modal .cookie-save:focus {
  background: var(--primary);
  color: var(--white);
}

/* ================================
   ANIMATIONS & MICROINTERACTIONS
================================== */
.card, .service {
  transition: box-shadow .22s, transform .15s;
}
.btn-primary, .btn-secondary {
  transition: background .22s, color .22s, transform .19s, box-shadow .17s;
}
.main-nav a {
  transition: color 0.16s, border-color 0.22s;
}
.footer-nav a {
  transition: color 0.18s;
}
.testimonial-card {
  transition: box-shadow .19s, transform .19s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) scale(1.02);
}

/* ========================================
   MISC, Z-INDEX LAYERING & FOCUS
========================================== */
:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}
@media (pointer: fine) {
  a, button, .btn-primary, .btn-secondary {
    outline: none;
    box-shadow: none;
  }
  a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 2px;
  }
}
[tabindex="-1"]:focus { outline: none; }

::-webkit-scrollbar {
  width: 9px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 12px;
}

/*
  END OF STYLE.CSS
--------------------------------------------------
*/
