/* =============================================
   CSS RESET & BASE STYLES – Ultra-Modern Minimalist
   ============================================= */
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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #24344D;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 1rem;
  font-weight: 400;
}

img, picture {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

a {
  color: #24344D;
  text-decoration: none;
  transition: color 0.18s;
}

a:hover, a:focus {
  color: #F1C40F;
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #24344D;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem;  margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }

p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #24344D;
}

strong, b {
  font-weight: 600;
  color: #24344D;
}

blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.2px;
  border-left: 4px solid #F1C40F;
  padding-left: 20px;
  margin: 32px 0;
  color: #24344D;
  background: #F7F7F7;
}

.customer-name {
  display: block;
  font-weight: 600;
  margin: 10px 0 2px 0;
  font-size: 1rem;
  color: #24344D;
}

.stars {
  color: #F1C40F;
  font-size: 1.1em;
  letter-spacing: 0.06em;
}

/* Responsive Type Scale */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  p { font-size: 1rem; }
}

/* =============================================
   CONTAINERS & SECTIONS
   ============================================= */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(36,52,77,0.04);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 20px 8px;
    border-radius: 0;
    box-shadow: none;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E5EAF2;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  min-height: 64px;
}

header img {
  height: 40px;
  align-self: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 0 0 2px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  color: #24344D;
}

.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2px solid #F1C40F;
  color: #24344D;
}

.main-nav .cta-primary {
  margin-left: 10px;
  padding: 10px 16px;
  background: #24344D;
  color: #fff;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(36,52,77,0.08);
  display: inline-block;
  transition: background 0.16s, transform 0.16s;
}

.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #F1C40F;
  color: #24344D;
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #24344D;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.18s;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  header .container {
    padding: 0 8px;
    height: 60px;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =============================================
   MOBILE MENU – Hamburger
   ============================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.64,0,.35,1), opacity 0.2s;
  box-shadow: 0 10px 40px 0 rgba(36,52,77,0.08);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #24344D;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 20;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F1C40F;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 80px 0 0 32px;
}

.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #24344D;
  padding: 4px 0;
  transition: color 0.18s;
}

.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F1C40F;
}

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

/* =============================================
   HERO SECTION & CTA BUTTONS
   ============================================= */
.hero {
  padding: 56px 0 48px 0;
  background: #F7F7F7;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  text-align: center;
  gap: 24px;
}
.hero h1 {
  color: #24344D;
  font-size: 2.6rem;
  margin-bottom: 12px;
}
.hero .tagline {
  color: #7786A1;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 28px;
}

.cta-primary {
  display: inline-block;
  background: #24344D;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  border: none;
  box-shadow: 0 4px 16px 0 rgba(36,52,77,0.05);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F1C40F;
  color: #24344D;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.cta-secondary {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: #24344D;
  border: 2px solid #24344D;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
  margin-top: 28px;
  transition: background 0.17s, color 0.18s, border 0.18s;
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #24344D;
  color: #fff;
  border-color: #24344D;
}

@media (max-width: 768px) {
  .hero {
    padding: 32px 0 24px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* =============================================
   CARD LAYOUTS & FLEX SPACING – Minimalist Style
   ============================================= */
.card-container, .service-list, .testimonial-list, .before-after-stories, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}

.card, .service-card, .testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(36,52,77,0.07);
  margin-bottom: 20px;
  padding: 28px 24px 24px 24px;
  gap: 15px;
  transition: box-shadow 0.17s, transform 0.11s;
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(36,52,77,0.13);
  transform: translateY(-2px) scale(1.02);
}

.service-card span.price {
  margin-top: 8px;
  display: block;
  color: #24344D;
  font-weight: 600;
  font-size: 1.13rem;
}

@media (max-width: 900px) {
  .card-container, .service-list, .testimonial-list, .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .card-container, .service-list, .testimonial-list, .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .service-card, .testimonial-card, .card {
    padding: 18px 12px 16px 12px;
    border-radius: 12px;
  }
}

/* =============================================
   FEATURE GRID & LIST
   ============================================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li {
  flex: 1 1 210px;
  background: #F7F7F7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(36,52,77,0.05);
  padding: 26px 18px 20px 18px;
  gap: 15px;
  min-width: 0;
  margin-bottom: 0;
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  opacity: 0.9;
}
.feature-grid strong {
  font-size: 1.1rem;
  color: #24344D;
}
.feature-list {
  margin-bottom: 8px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

@media (max-width: 900px) {
  .feature-grid li { flex: 1 1 230px; }
}
@media (max-width: 768px) {
  .feature-grid { flex-direction: column; }
  .feature-grid li {
    width: 100%;
    padding: 18px 10px 12px 10px;
    border-radius: 9px;
  }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  background: #F7F7F7;
  border-radius: 14px;
  padding: 20px 24px 20px 24px;
  min-width: 0;
  flex: 1 1 265px;
  box-shadow: 0 4px 20px 0 rgba(36,52,77,0.06);
  transition: box-shadow 0.14s, transform 0.11s;
  color: #24344D;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(36,52,77,0.11);
  transform: translateY(-2px) scale(1.03);
}
.testimonial-content p {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #24344D;
}

@media (max-width: 800px) {
  .testimonial-list { flex-direction: column; gap: 13px; }
  .testimonial-card { border-radius: 9px; padding: 13px 14px; }
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: #F7F7F7;
  padding: 40px 0;
  border-radius: 16px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .cta-section {
    border-radius: 0;
    padding: 26px 0;
    margin-bottom: 36px;
  }
}

/* =============================================
   TABLES (PRICING)
   ============================================= */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(36,52,77,0.05);
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  padding: 16px 14px;
  text-align: left;
  color: #24344D;
}
.pricing-table thead {
  background: #F7F7F7;
}
.pricing-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid #E5EAF2;
}
.pricing-table th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #24344D;
  font-size: 1.03em;
}

@media (max-width: 600px) {
  .pricing-table, .pricing-table thead, .pricing-table tbody, .pricing-table tr, .pricing-table th, .pricing-table td {
    display: block;
    width: 100%;
  }
  .pricing-table th, .pricing-table td {
    padding: 10px 7px;
  }
  .pricing-table thead { display: none; }
  .pricing-table tr {
    margin-bottom: 14px;
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(36,52,77,0.03);
    border-radius: 12px;
    overflow: hidden;
  }
}

/* =============================================
   TEXT BLOCKS / TEXT SECTIONS
   ============================================= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 22px; align-items: flex-start; }
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #fff;
  width: 100%;
  border-top: 1px solid #E5EAF2;
  margin-top: 44px;
}
footer .container { padding: 0 20px; }
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 36px 0 24px 0;
}
footer img {
  height: 40px;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 8px 0 0 0;
}
.footer-contact p {
  font-size: 1rem;
  color: #7786A1;
  margin-bottom: 2px;
}
.footer-contact a {
  color: #24344D;
}
.legal-nav a {
  font-size: 0.98rem;
  color: #A9B2C3;
}
.legal-nav a:hover, .legal-nav a:focus {
  color: #F1C40F;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    gap: 18px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0 14px 0;
  }
}

/* =============================================
   GENERIC BUTTON STYLES
   ============================================= */
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #24344D;
  color: #fff;
  transition: background 0.15s, color 0.16s, box-shadow 0.13s;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #F1C40F;
  color: #24344D;
  outline: none;
}

/* =============================================
   MICRO-INTERACTIONS & TRANSITIONS
   ============================================= */
.card, .service-card, .testimonial-card, .feature-grid li {
  transition: box-shadow 0.15s, transform 0.12s;
}
.cta-primary, .cta-secondary, button, a.cta-primary, .mobile-menu-toggle {
  transition: background 0.16s, color 0.16s, transform 0.13s, box-shadow 0.10s;
}

/* =============================================
   COOKIE CONSENT BANNER & MODAL
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -8px 40px 0 rgba(36,52,77,0.09);
  border-top: 1px solid #E5EAF2;
  z-index: 1100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.33s cubic-bezier(.42,0,.16,1), opacity 0.21s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  color: #24344D;
  margin-bottom: 0;
  flex: 2 1 300px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button, .cookie-banner .cta-secondary {
  padding: 8px 14px;
  font-size: 1rem;
  border-radius: 7px;
  background: #24344D;
  color: #fff;
  border: none;
  font-weight: 600;
  transition: background 0.17s, color 0.15s;
}
.cookie-banner .cta-secondary {
  background: transparent;
  color: #24344D;
  border: 1.5px solid #24344D;
}
.cookie-banner button:hover, .cookie-banner button:focus, .cookie-banner .cta-secondary:hover, .cookie-banner .cta-secondary:focus {
  background: #F1C40F;
  color: #24344D;
  border-color: #F1C40F;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    padding: 14px 7px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 10px;
  }
}

.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.96);
  background: #fff;
  z-index: 2001;
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 8px 48px 0 rgba(36,52,77,0.17);
  border-radius: 18px;
  padding: 34px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.16s, transform 0.26s cubic-bezier(.64,0,.3,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-40%) scale(0.94);
}
.cookie-modal h3 {
  margin-bottom: 0.5em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #E5EAF2;
  color: #24344D;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-size: 1rem;
}
.cookie-modal .toggle {
  width: 40px; height: 22px;
  background: #E5EAF2;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
}
.cookie-modal .toggle input[type=checkbox] {
  display: none;
}
.cookie-modal .toggle span {
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #A9B2C3;
  border-radius: 50%;
  transition: left 0.14s, background 0.14s;
}
.cookie-modal .toggle input:checked + span {
  left: 20px;
  background: #F1C40F;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cookie-actions button {
  background: #24344D;
  color: #fff;
  border-radius: 7px;
  padding: 8px 14px;
  font-size: 1rem;
  border: none;
  font-weight: 600;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal .cookie-actions button:hover,
.cookie-modal .cookie-actions button:focus {
  background: #F1C40F;
  color: #24344D;
}
/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,52,77, 0.18);
  z-index: 2000;
  opacity: 1;
  animation: fadeInCookieOverlay 0.17s;
}
@keyframes fadeInCookieOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =============================================
   MISC FORMATTING + CONTACT
   ============================================= */
.basic-contact-info {
  font-size: 1rem;
  color: #24344D;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 20px 0;
}
.basic-contact-info a {
  color: #24344D;
  text-decoration: underline;
}
.contact-box {
  background: #F7F7F7;
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px 0 rgba(36,52,77,0.05);
}

@media (max-width: 700px) {
  .contact-box { padding: 12px 7px; }
  .basic-contact-info {
    font-size: 0.97rem;
    gap: 9px;
  }
}

/* =============================================
   UTILITIES
   ============================================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.text-center { text-align: center; }

/* =============================================
   FLEXBOX REQUIRED LAYOUTS – OVERRIDES (MANDATORY)
   ============================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .card-container { flex-direction: column; gap: 13px; }
  .content-grid { flex-direction: column; gap: 13px; }
  .text-image-section { flex-direction: column; gap: 22px; align-items: flex-start; }
}
section {
  padding: 10px 0;
}
/* =============================================
   END
   ============================================= */
