/* 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, 
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.6;
  min-height: 100vh;
  font-family: 'Roboto', Georgia, Times, serif;
  background: #F9F7F4;
  color: #2B2F3A;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* For elegant_classic */
}
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24405C;
  text-decoration: underline;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #A88400;
  text-decoration: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}

/* GENERAL TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, Times, serif;
  color: #24405C;
  letter-spacing: 0.5px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 24px;
}
h1 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p, li, address, ul, ol {
  font-size: 1rem;
  line-height: 1.75;
  color: #2B2F3A;
}

.subheadline {
  font-size: 1.25rem;
  font-family: 'Montserrat', Georgia, Times, serif;
  color: #546278;
  font-weight: 400;
  margin-bottom: 28px;
}

strong {
  font-weight: 700;
}

/* CONTAINER & SECTIONS */
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(36, 64, 92, 0.06);
}
@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 18px 4px;
    margin-bottom: 28px;
    border-radius: 8px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  margin-bottom: 24px;
}

/* FLEX CONTAINERS & GRIDS */
/* Used for lists of cards/content in various places - always flex! */
.feature-grid, .benefits-list, .value-list, .service-list, .use-cases, .faq-list, .testimonials, .comparison-grid, .case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-grid li, .benefits-list li, .value-list li,
.service-list li, .use-cases li, .faq-list > div {
  background: #F6F9FA;
  padding: 22px 26px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(36,64,92,0.06);
  margin-bottom: 0; /* gap handles spacing */
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: #24405C;
  font-family: 'Roboto', Georgia, Times, serif;
  position: relative;
  min-width: 220px;
}

.comparison-grid > div {
  background: #F3F4F6;
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 32%;
  margin-bottom: 0;
  color: #24405C;
  font-size: 1rem;
}
@media (max-width: 700px) {
  .feature-grid, .benefits-list, .value-list, .service-list, .use-cases, .comparison-grid, .faq-list, .case-studies {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .benefits-list li, .value-list li, .service-list li, .use-cases li, .faq-list > div, .comparison-grid > div {
    min-width: unset;
    width: 100%;
    padding: 16px 12px;
  }
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(36,64,92,0.10);
  padding: 24px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #FAFAFB;
  border-left: 6px solid #24405C;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(36,64,92,0.05);
  max-width: 400px;
  min-width: 0;
  color: #181D23;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card p {
  color: #1E2633;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-style: italic;
  font-size: 1.1rem;
}
.testimonial-card span {
  color: #A8B3C6;
  font-weight: 500;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(36, 64, 92, 0.13);
  transform: translateY(-2px) scale(1.015);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CTA BUTTONS */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Georgia, Times, serif;
  padding: 14px 32px;
  font-size: 1.13rem;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  background: #24405C;
  color: #fff;
  box-shadow: 0 2px 8px rgba(36,64,92,0.13);
  cursor: pointer;
  transition: background 0.22s, color 0.17s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  margin-top: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #163048;
  color: #F8C572;
  box-shadow: 0 6px 24px rgba(36,64,92,0.16);
  transform: translateY(-1px) scale(1.03);
}
.cta-secondary {
  background: transparent;
  border: 2px solid #24405C;
  color: #24405C;
  font-weight: 600;
  margin-left: 8px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #24405C;
  color: #fff;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(36, 64, 92, 0.07);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1rem;
  color: #24405C;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 32px;
  background: none;
  text-decoration: none;
  transition: background 0.18s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #F8C572;
  color: #24405C;
}
header .cta-primary {
  margin-left: 8px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  line-height: 1;
  border: none;
  background: #fff;
  color: #24405C;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F8C572;
  color: #24405C;
}

/* MOBILE NAV */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 64, 92, 0.91);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.82,-0.01,.16,1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.5rem;
  background: none;
  color: #fff;
  border: none;
  margin: 18px 20px 0 0;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F8C572;
}
.mobile-nav {
  margin-top: 65px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 40px;
  width: 100vw;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, Times, serif;
  color: #fff;
  background: none;
  padding: 15px 0;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 0px;
  text-decoration: none;
  width: 100%;
  min-width: 220px;
  transition: color 0.15s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F8C572;
  background: rgba(248,197,114, 0.07);
}

@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* MAIN & CONTENT */
main {
  padding-top: 16px;
  padding-bottom: 30px;
}

/* CARDS & SERVICES PREVIEW */
.services-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.services-preview > div {
  background: #F6F9FA;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(36,64,92,0.04);
  flex: 1 1 235px;
  min-width: 220px;
  max-width: 275px;
  padding: 26px 14px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.22s, transform 0.11s;
}
.services-preview > div:hover {
  box-shadow: 0 4px 26px rgba(36,64,92,0.13);
  transform: translateY(-2px) scale(1.03);
}
.services-preview h3 {
  font-size: 1.13rem;
  color: #24405C;
}
.services-preview span {
  color: #F8C572;
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Montserrat', Georgia, Times, serif;
  margin-top: 9px;
}

@media (max-width: 820px) {
  .services-preview {
    flex-direction: column;
    gap: 18px;
  }
  .services-preview > div {
    max-width: unset;
    width: 100%;
  }
}

/* FOOTER */
footer {
  background: #24405C;
  color: #FFF;
  padding: 44px 0 28px 0;
  font-size: 1rem;
  font-family: 'Roboto', Georgia, Times, serif;
}
footer .container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #A8B3C6;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Montserrat', Georgia, Times, serif;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #F8C572;
  text-decoration: underline;
}
footer .brand {
  flex: 1 0 80px;
  display: flex;
  align-items: center;
  margin: 0 30px;
}
footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer .footer-contact span, footer .footer-contact a {
  color: #F8C572;
  font-size: 1rem;
  line-height: 1.65;
}
footer a {
  transition: color 0.13s;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  footer .brand {
    margin: 12px 0 0 0;
  }
}

/* ADDRESS & EMBEDDED MAP */
address {
  font-style: normal;
  line-height: 1.7;
  margin-top: 10px;
  color: #24405C;
  font-size: 1rem;
}
.embedded-map {
  width: 100%;
  min-height: 220px;
  background: #f2ede5;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.13rem;
  color: #A8B3C6;
}

/* FAQ LIST */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-list > div {
  background: #F6F9FA;
  border-left: 4px solid #F8C572;
  border-radius: 10px;
  padding: 16px 18px 16px 22px;
  margin-bottom: 0;
  color: #24405C;
  min-width: 240px;
  font-size: 1rem;
  font-family: 'Roboto', Georgia, Times, serif;
}
@media (max-width: 700px) {
  .faq-list {
    flex-direction: column;
    gap: 16px;
  }
  .faq-list > div {
    width: 100%;
    min-width: unset;
  }
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #FFF7E7;
  color: #24405C;
  box-shadow: 0 -2px 18px rgba(36,64,92,0.11);
  z-index: 3003;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 40px 23px 36px;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.8,.1,.2,1), opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 2 1 380px;
  font-size: 1.03rem;
  color: #24405C;
  font-family: 'Roboto', Georgia, Times, serif;
  margin-right: 12px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 26px;
  border-radius: 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 600;
  border: none;
  margin: 0;
  background: #24405C;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.14s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(36,64,92,0.12);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #163048;
  color: #F8C572;
}
.cookie-btn.secondary {
  background: transparent;
  color: #24405C;
  border: 2px solid #24405C;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #24405C;
  color: #FFF7E7;
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 10px;
    font-size: 1rem;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    gap: 7px;
  }
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 64, 92, 0.16);
  z-index: 3011;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(36,64,92,0.17);
  max-width: 420px;
  width: 93vw;
  padding: 38px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 3012;
}
.cookie-modal h2 {
  color: #24405C;
  margin-bottom: 8px;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1.4rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
  color: #24405C;
  font-family: 'Montserrat', Georgia, Times, serif;
}
.cookie-toggle {
  width: 32px;
  height: 18px;
  background: #F6F9FA;
  border-radius: 10px;
  position: relative;
  margin-left: 4px;
  border: 1px solid #A8B3C6;
  transition: background 0.15s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  top: 1.5px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #A8B3C6;
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
}
.cookie-toggle input:checked + .slider {
  left: 15px;
  background: #24405C;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  align-items: center;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
  margin: 0;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  background: none;
  border: none;
  color: #24405C;
  font-size: 1.45rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F8C572;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 24px 10px 18px 10px;
    border-radius: 10px;
  }
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: 'Roboto', Georgia, Times, serif;
  font-size: 1rem;
  border: 1px solid #A8B3C6;
  border-radius: 7px;
  background: #FFF;
  padding: 12px 13px;
  margin-bottom: 18px;
  color: #1E2633;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #24405C;
  outline: none;
}

button {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1rem;
}

/* MICRO-INTERACTIONS */
.card, .services-preview > div, .testimonial-card, .faq-list > div {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover,
.services-preview > div:hover,
.faq-list > div:hover {
  box-shadow: 0 7px 26px rgba(36,64,92, 0.11);
  transform: translateY(-3px) scale(1.02);
}

/* SHADOWS & EFFECTS */
.shadow-sm { box-shadow: 0 1px 7px rgba(36,64,92,0.08); }
.shadow-md { box-shadow: 0 3px 18px rgba(36,64,92,0.12); }
.shadow-lg { box-shadow: 0 7px 34px rgba(36,64,92,0.16); }

/* ONLY FLEX, NO GRID! */
/* REQUIRED FLEX ENFORCED BELOW */
.features, .card-grid, .card-container, .services-preview, .content-grid, .comparison-grid, .testimonials, .case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* SPACING & CLASSIC ELEGANCE */
.section, .card, .services-preview > div, .testimonial-card, .faq-list > div {
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .section, .card, .services-preview > div, .testimonial-card, .faq-list > div {
    margin-bottom: 14px;
  }
}

/* ACCESSIBILITY: proper color contrast */
.testimonial-card, .faq-list > div {
  background: #FAFAFB;
  color: #181D23;
}
.testimonial-card p,
.testimonial-card span {
  color: #1E2633;
}

/* MISC */
::-webkit-input-placeholder { color: #A8B3C6; }
::-moz-placeholder { color: #A8B3C6; }
:-ms-input-placeholder { color: #A8B3C6; }
::placeholder { color: #A8B3C6; }

/* Hide outline from mouse click, keep for keyboard */
:focus:not(:focus-visible) { outline: none; }

/* Typography scale for responsiveness */
@media (max-width: 670px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.08rem; }
  .subheadline { font-size: 1.1rem; }
}

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