/* ---------------- CSS RESET & BASE STYLES ---------------- */
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,
main, 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 {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F8F9FA;
  min-height: 100vh;
  color: #2C3E50;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2C3E50;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #A3B7C7;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
button, .cta-btn {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Typography scale */
h1 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2.75rem; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.02em; }
h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.03em; }
h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
p, li, address, blockquote { font-size: 1rem; margin-bottom: 12px; }
strong, b { font-weight: 700; }

/* Geometric accent shapes (for effects) */
.accent-shape {
  position: absolute;
  z-index: 0;
  border-radius: 24px;
  opacity: 0.08;
  background: #A3B7C7;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(44,62,80,0.07);
  position: relative;
}

@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section { margin-bottom: 36px; padding: 24px 8px; }
}

/* ---------------- HEADER & NAVIGATION ---------------- */
header {
  background: #fff;
  box-shadow: 0 3px 16px 0 rgba(44,62,80,0.07);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 0;
}
.main-nav a img {
  height: 48px;
  width: auto;
  margin-right: 28px;
  vertical-align: middle;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #2C3E50;
  letter-spacing: 0.02em;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.main-nav li a:hover, .main-nav li a.active {
  background: #A3B7C7;
  color: #fff;
}
/* CTA Button (header and main sections) */
.cta-btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: 0.033em;
  border-radius: 40px;
  background: #2C3E50;
  color: #fff;
  box-shadow: 0 4px 20px rgba(44,62,80,0.14);
  transition: background .2s, transform .13s, box-shadow .18s;
  margin-left: 22px;
  border: 3px solid #2C3E50;
}
.cta-btn:hover, .cta-btn:focus {
  background: #A3B7C7;
  border-color: #A3B7C7;
  color: #fff;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 8px 30px rgba(44,62,80,0.17);
}

@media (max-width: 900px) {
  .main-nav ul { gap: 10px; }
  .cta-btn { margin-left: 8px; }
}
@media (max-width: 768px) {
  .main-nav ul, .cta-btn { display: none; }
}

/* ---------------- MOBILE MENU ---------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 130;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #A3B7C7;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #2C3E50;
  transition: background .2s, box-shadow .17s;
  box-shadow: 0 4px 18px rgba(44,62,80,0.09);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #A3B7C7;
  color: #fff;
}
@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform .34s cubic-bezier(.7,.2,.2,1);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0); /* Menu slides in */
  box-shadow: 0 0 60px 0 rgba(44,62,80,0.15);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #2C3E50;
  background: #F8F9FA;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin: 24px 0 0 20px;
  align-self: flex-end;
  transition: background .2s;
  border: 2px solid #A3B7C7;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #A3B7C7;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 0 0 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: 0.04em;
  color: #2C3E50;
  padding: 10px 0;
  border-radius: 4px;
  transition: color .22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A3B7C7;
}

@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Overlay for mobile menu on open (optional aesthetics) */
.mobile-menu-overlay {
  display: none;
}

/* ---------------- MAIN: SECTION STYLES ---------------- */
main {
  width: 100%;
  margin: 0 auto;
  padding-top: 22px;
}
.section {
  position: relative;
  box-shadow: 0 8px 36px 0 rgba(44,62,80,0.09);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 600px) {
  .content-wrapper { gap: 15px; }
}
.text-section {
  margin-top: 17px;
  margin-bottom: 10px;
  color: #2C3E50;
  font-size: 1.02rem;
}

/* Card containers and card layout */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 240px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(44,62,80,0.08);
  padding: 24px;
  transition: box-shadow .17s, transform .14s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(44,62,80,0.14);
  transform: translateY(-2px) scale(1.025);
  z-index: 2;
}
@media (max-width: 600px) {
  .card-container, .content-grid { gap: 12px; }
  .card { padding: 16px; }
}

/* Feature list items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 14px;
  background: #F8F9FA;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(44,62,80,0.05);
  margin-bottom: 20px;
}
.feature-item img { width: 32px; height: 32px; margin-bottom: 5px; }

/* Text + image (if any) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* ---------------- TESTIMONIAL CARDS ---------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(44,62,80,0.09);
  border-left: 6px solid #A3B7C7;
  font-size: 1.03rem;
  max-width: 600px;
}
.testimonial-card blockquote {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  font-weight: 600;
  color: #2C3E50;
  line-height: 1.4;
  background: none;
}
.testimonial-card p {
  margin: 0;
  color: #2C3E50;
  font-weight: 700;
  font-size: 1rem;
}
@media (max-width: 600px) {
  .testimonial-card { padding: 14px 10px; max-width: 100%; }
}

/* ---------------- PRICE TAGS ---------------- */
.price {
  background: #A3B7C7;
  color: #fff;
  border-radius: 10px;
  padding: 3px 12px;
  font-weight: 700;
  font-size: .98em;
  margin-left: 10px;
}

/* ---------------- FOOTER ---------------- */
footer {
  background: #2C3E50;
  color: #fff;
  margin-top: 60px;
  padding: 40px 0 0 0;
}
footer .container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px 0 20px;
  margin: 0 auto;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #A3B7C7;
  padding-bottom: 20px;
}
footer section, footer nav, footer div {
  flex: 1 1 200px;
}
footer h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  color: #A3B7C7;
  margin-bottom: 8px;
  font-weight: 700;
}
footer address, footer nav ul, footer div ul {
  font-size: 0.98rem;
  color: #F8F9FA;
}
footer a {
  color: #A3B7C7;
  transition: color .25s;
}
footer a:hover, footer a:focus { color: #fff; }
footer .text-section {
  padding: 18px 0 10px 0;
  color: #A3B7C7;
  font-size: .97rem;
  text-align: right;
}
@media (max-width: 900px) {
  footer .content-wrapper { gap: 18px; }
}
@media (max-width: 600px) {
  footer .content-wrapper { flex-direction: column; gap: 12px; }
  footer .text-section { text-align: left; font-size: .93rem; }
}

/* ---------------- FORMS & ADDRESS ---------------- */
address {
  font-style: normal;
  color: inherit;
  line-height: 1.5;
}

/* ---------------- COOKIE CONSENT BANNER ---------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #2C3E50;
  color: #fff;
  box-shadow: 0 -2px 16px rgba(44,62,80,.13);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  z-index: 8000;
  font-size: 0.98rem;
  transition: transform .28s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner strong { color: #A3B7C7; }
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  border-radius: 20px;
  padding: 9px 24px;
  border: none;
  outline: none;
  margin: 0;
  background: #A3B7C7;
  color: #fff;
  margin-right: 10px;
  transition: background .19s, transform .13s;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #F8F9FA;
  color: #2C3E50;
}
.cookie-btn.settings {
  background: #F8F9FA;
  color: #2C3E50;
  border: 2px solid #A3B7C7;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A3B7C7;
  color: #fff;
}

/* Cookie modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44,62,80,0.32);
}
.cookie-modal-overlay.open { display: block; }
.cookie-modal {
  display: none;
  flex-direction: column;
  gap: 22px;
  position: fixed;
  bottom: 50%; left: 50%;
  transform: translate(-50%,50%) scale(.96);
  min-width: 320px;
  background: #fff;
  color: #2C3E50;
  border-radius: 22px;
  box-shadow: 0 14px 48px 0 rgba(44,62,80,0.21);
  padding: 36px 24px 22px 24px;
  z-index: 10001;
  animation: openModal .28s cubic-bezier(.7,.2,.2,1);
}
.cookie-modal.open {
  display: flex;
  transform: translate(-50%,0) scale(1);
}
@keyframes openModal {
  from { transform: translate(-50%,60%) scale(.96); opacity: 0;} to {transform: translate(-50%,0) scale(1); opacity: 1;}
}
.cookie-modal h2 { font-size: 1.3rem; color: #2C3E50; margin-bottom: 12px; font-family: 'Montserrat', Arial, sans-serif; }
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 14px; right: 16px;
  background: #A3B7C7;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.16rem;
  width: 36px; height: 36px;
  cursor: pointer;
  transition: background .19s;
}
.cookie-modal .close-cookie-modal:hover { background: #2C3E50; }

.cookie-modal ul {
  margin: 0 0 1em 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #A3B7C7;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  margin-right: 6px;
  transition: background .18s;
}
.cookie-toggle:checked { background: #2C3E50;}
.cookie-toggle:disabled { opacity: .6; cursor: not-allowed;}
.cookie-toggle::before {
  content: "";
  position: absolute;
  left: 4px; top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .22s;
}
.cookie-toggle:checked::before {
  transform: translateX(20px);
}
.cookie-modal .cookie-btn-group {
  justify-content: flex-end;
  margin-top: 10px;
  gap: 12px;
}
@media (max-width: 520px) {
  .cookie-modal { min-width: 80vw; padding: 24px 7vw 18px 7vw; }
  .cookie-modal ul { gap: 8px; font-size: 1em; }
}

/* Hide modal with CSS class */
.cookie-modal.hide { display: none !important; }

/* ---------------- UTILITIES & ACCESSIBILITY ---------------- */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  white-space: nowrap;
}

/* ---------------- LISTS, BLOCKS & MISC ---------------- */
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.5;
}
ul li img {
  width: 28px; height: 28px; vertical-align: middle; margin-right: 6px;
}

blockquote {
  border-left: 5px solid #A3B7C7;
  padding-left: 16px;
  margin: 0 0 10px 0;
  color: #2C3E50;
  font-style: italic;
  background: none;
}

/* ---------------- ANIMATIONS & MICRO-INTERACTIONS ---------------- */
a, button, .cta-btn, .card, .cookie-btn {
  transition: background 0.20s, color 0.20s, box-shadow .18s, transform .14s;
}

.card, .testimonial-card, .feature-item, .cta-btn {
  will-change: transform, box-shadow;
}

/* ---------------- RESPONSIVE ADJUSTMENTS ---------------- */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .cta-btn { padding: 10px 18px; font-size: 1rem; }
  .section { padding: 18px 3vw; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; margin-bottom: 10px; }
  h2 { font-size: 1rem; }
  h3 { font-size: .96rem; }
}

/* ---------------- PRINT OPTIMIZATION ---------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none; }
  .section, .content-wrapper, .container { box-shadow: none !important; padding: 0 !important; margin: 0 0 18px 0 !important; }
}

/* ---------------- END ---------------- */
