/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f6f7fa;
  color: #151515;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ROOT VARIABLES & MONOCHROME SOPHISTICATION */
:root {
  --brand-primary: #21365B;
  --brand-secondary: #388659;
  --brand-accent: #F5F7FB;
  --mono-bg: #fff;
  --mono-bg-alt: #f6f7fa;
  --mono-dark: #151515;
  --mono-mid: #333;
  --mono-light: #e9e9e9;
  --shadow-lg: 0 8px 32px rgba(14,20,25,0.08);
  --shadow-md: 0 2px 8px rgba(30,30,40,0.09);
  --radius: 12px;
  --radius-sm: 8px;
  --gap-section: 60px;
  --gap-card: 24px;
  --gap-inner: 20px;
  --trans-fast: .18s cubic-bezier(.4,0,.2,1);
  --trans-slow: .28s cubic-bezier(.4,0,.2,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #151515;
  letter-spacing: -0.01em;
  margin-bottom: 0.75em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.17;
  margin-bottom: 24px;
  color: #111;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, blockquote {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #222;
}
blockquote {
  border-left: 4px solid #151515;
  padding-left: 16px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-style: italic;
  color: #131313;
}
cite {
  display: block;
  margin-top: 10px;
  font-size: 0.98rem;
  color: #686868;
  font-style: normal;
}
a.cta, .cta, button.cta {
  display: inline-block;
  font-family: var(--font-display);
  padding: 13px 36px;
  background: #fff;
  color: #111;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 20px;
  border: 2px solid #151515;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: background var(--trans-fast), color var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
  cursor: pointer;
  letter-spacing: 0.01em;
}
a.cta:hover, .cta:hover, button.cta:hover, a.cta:focus, .cta:focus, button.cta:focus {
  background: #151515;
  color: #fff;
  border-color: #21365B;
  box-shadow: 0 4px 16px rgba(14,20,25,0.19);
}

/* CONTAINER & CONTENT WRAPPER */
.container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

/* SECTION SPACING & LAYOUT RULES */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}


/* HERO SECTION */
.hero-section {
  background: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
  padding: 40px 0;
}
.hero-section h1 {
  color: #151515;
  font-size: 2.6rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.hero-section p {
  font-size: 1.18rem;
  color: #232323;
  margin-bottom: 24px;
}

/* FLEX-BASED CARD AND GRID COMPONENTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 24px;
  min-width: 240px;
  flex: 1 1 320px;
  transition: box-shadow var(--trans-slow), transform var(--trans-slow);
}
.card:hover, .card:focus-visible {
  box-shadow: 0 6px 26px rgba(20,20,32,0.15);
  transform: translateY(-4px) scale(1.01);
  z-index: 2;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 26px 22px 26px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  transition: box-shadow var(--trans-fast), transform var(--trans-fast);
  border: 1.5px solid #ddd;
}
.service-card:hover {
  box-shadow: 0 6px 32px rgba(21,21,21,0.11);
  transform: translateY(-2px) scale(1.018);
  border-color: #151515;
}
.service-price {
  display: inline-block;
  font-family: var(--font-display);
  color: #21365B;
  margin-top: 16px;
  padding: 3px 17px;
  background: #f6f7fa;
  border-radius: var(--radius-sm);
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 1.5px 6px rgba(33,54,91,0.04);
}

/* LISTS & FEATURES */
ul, ol {
  padding-left: 0;
  margin-bottom: 22px;
}
li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem;
  line-height: 1.7;
}
li strong {
  font-weight: 700;
  font-family: var(--font-display);
  color: #151515;
}
li img {
  width: 26px;
  margin-right: 9px;
  flex-shrink: 0;
  border-radius: 5px;
}
.feature-item {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin: 0 0 18px 0;
  color: #2b2b2b;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px 24px 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 20px;
  border: 1px solid #dedede;
  transition: box-shadow var(--trans-fast), border-color var(--trans-fast);
}
.testimonial-card:hover {
  border-color: #21365B;
  box-shadow: 0 6px 24px rgba(30,24,50,0.13);
}
.testimonial-card blockquote {
  color: #1d1d1d;
  margin-bottom: 0;
  border: none;
  padding: 0;
  font-size: 1.06rem;
  font-weight: 500;
  font-family: var(--font-display);
}
.testimonial-card cite {
  color: #939393;
  font-family: var(--font-body);
  font-size: 0.92rem;
  text-align: right;
  margin-left: auto;
}

/* LAYOUT STRUCTURES */
.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;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/***** HEADER & NAVIGATION *****/
header {
  background: #fff;
  box-shadow: 0 1.5px 10px rgba(40,30,40,0.04);
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: grayscale(0.15) contrast(0.95);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #222;
  opacity: 0.98;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast), color var(--trans-fast);
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  background: #21365B;
  color: #fff;
}
.main-nav a.cta {
  background: #151515;
  color: #fff;
  margin-left: 12px;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(30,30,40,0.06);
  transition: background 0.17s, color 0.17s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #21365B;
  color: #fff;
}

/***** MOBILE MENU *****/
.mobile-menu-toggle {
  display: none;
  background: #151515;
  color: #fff;
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 120;
  border: none;
  outline: none;
  transition: background var(--trans-fast), color var(--trans-fast);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #21365B;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  background: #fff;
  box-shadow: -4px 0 34px rgba(33,54,91,0.08), 2px 0 17px rgba(33,54,91,0.03);
  padding: 34px 28px 20px 30px;
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  max-width: 340px;
  height: 100vh;
  z-index: 200;
  transition: transform 0.33s cubic-bezier(.86,.01,.15,.98), right 0s 0.19s;
  transform: translateX(100vw);
}
.mobile-menu.open {
  transform: translateX(0);
  right: 0;
  transition: transform 0.34s cubic-bezier(.69,.01,.36,1.06);
}
.mobile-menu-close {
  background: #151515;
  color: #fff;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 20px;
  right: 22px;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 300;
  transition: background var(--trans-fast), color var(--trans-fast);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #21365B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: #131313;
  font-size: 1.08rem;
  padding: 13px 8px 13px 0;
  border-radius: 6px;
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #21365B;
  color: #fff;
  padding-left: 12px;
}

/***** FOOTER *****/
footer {
  background: #fff;
  box-shadow: 0 -2px 12px rgba(32,41,71,0.05);
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: auto;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-menu a {
  font-size: 0.97rem;
  color: #3b3b3b;
  opacity: 0.8;
  font-weight: 500;
  transition: color .16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #151515;
  opacity: 1;
}
.brand-credits {
  font-size: 0.96rem;
  color: #afafaf;
  font-family: var(--font-body);
  text-align: right;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #151515;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px 22px 20px 24px;
  box-shadow: 0 -2px 22px rgba(25,25,38,0.18);
  z-index: 3000;
  animation: cookie-slide-in 0.45s cubic-bezier(.2,1.02,.35,1.06);
  font-size: 1rem;
}
@keyframes cookie-slide-in {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  transition: background var(--trans-fast), color var(--trans-fast), border var(--trans-fast);
  cursor: pointer;
  margin: 0 2px;
  border: 1.5px solid #fff;
  background: #fff;
  color: #151515;
  box-shadow: 0 1.5px 7px rgba(0,0,0,0.04);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #21365B;
  color: #fff;
  border-color: #fff;
}
.cookie-settings {
  background: #fff;
  color: #151515;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #ddd;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3100;
  background: rgba(20,20,20,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #151515;
  border-radius: var(--radius);
  min-width: 300px;
  max-width: 94vw;
  box-shadow: 0 6px 42px rgba(0,0,0,0.21);
  padding: 38px 36px 26px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 26px;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #e1e1e1;
  border-radius: 13px;
  transition: background .21s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #21365B;
}
.cookie-slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .21s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: #151515;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--trans-fast);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #21365B;
}

/* GENERAL MICRO-INTERACTIONS */
button, a, input, select {
  transition: color 0.18s, background 0.18s, border 0.18s, box-shadow 0.18s, outline 0.18s;
}
:focus-visible {
  outline: 2px solid #21365B;
  outline-offset: 2px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  .service-card, .card {
    min-width: 190px;
    max-width: 90vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 17px;
  }
  .service-cards, .card-container {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .hero-section {
    padding: 32px 0;
    margin-bottom: 38px;
  }
  section, .section {
    padding: 28px 8px;
    margin-bottom: 42px;
  }
  .service-cards,
  .card-container,
  .content-grid,
  .footer-menu,
  .content-wrapper {
    flex-direction: column !important;
    gap: 16px;
    align-items: stretch;
  }
  .service-card, .card {
    min-width: 0;
    max-width: 100vw;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 12px 16px 14px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-menu {
    gap: 12px;
    font-size: 1rem;
    flex-direction: column !important;
    align-items: flex-start;
  }
  .brand-credits {
    text-align: left;
    margin-top: 15px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  section, .section {
    padding-left: 5px;
    padding-right: 5px;
  }
  .cookie-modal-content {
    padding: 20px 10px;
  }
  .cookie-banner {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* HIGH CONTRAST FOR TESTIMONIALS ON ALL DEVICES */
.testimonial-card, .testimonial-card blockquote {
  background: #fff !important;
  color: #151515 !important;
}

/* Selection effect */
::selection {
  background: #d1d1d1;
  color: #111;
}

/* END OF CSS */
