/* --------------------------------------------------------
   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, 
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F7F7;
  color: #20415A;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  background: none;
}
img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}

/* --------------------------------------------------------
   ROOT VARIABLES
---------------------------------------------------------*/
:root {
  --color-primary: #20415A;
  --color-secondary: #F7F7F7;
  --color-accent: #9A5A21;
  --color-card-bg: #FFFFFF;
  --color-border: #D8DDE5;
  --color-on-dark: #FFFFFF;
  --color-dark: #162633;
  --color-grey: #EAECEF;
  --color-input: #F4F4F4;
  --shadow-card: 0 2px 14px 0 rgba(34,49,63,0.08);
  --shadow-elevate: 0 4px 18px 2px rgba(34,49,63,0.07);
  --radius: 16px;
  --radius-btn: 40px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --------------------------------------------------------
   BASE TYPOGRAPHY & STYLE
---------------------------------------------------------*/
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-secondary);
  color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}
p, ul, ol {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 18px;
  line-height: 1.6;
}
strong {
  font-weight: 700;
  color: var(--color-accent);
}
a {
  color: var(--color-primary);
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-accent);
}

.small, small {
  font-size: 0.875rem;
  color: #657487;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-grid, .case-summary-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
}
.feature-grid > div, .case-card {
  background: var(--color-card-bg);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 24px 20px;
  flex: 1 1 230px;
  min-width: 200px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2.5px solid var(--color-border);
  transition: box-shadow 0.18s, border-color 0.2s;
  position: relative;
}
.feature-grid > div:hover, .case-card:hover {
  box-shadow: var(--shadow-elevate);
  border-color: var(--color-accent);
}

ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.5em;
}
ul li, ol li {
  margin-bottom: 0.5em;
  font-size: 1rem;
}
ul li strong, ol li strong {
  color: var(--color-accent);
}

/* Card Container spacing */
.card-container, .case-summary-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card, .case-card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-card-bg);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  margin-bottom: 20px;
  border-left: 6px solid var(--color-accent);
  color: var(--color-primary);
  transition: box-shadow 0.16s;
}
.testimonial-card p {
  margin: 0;
  color: #184460;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card span {
  color: var(--color-accent);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-elevate);
}

.testimonial-list li {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 18px;
  border-left: 6px solid var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border-radius: var(--radius-btn);
  background: var(--color-accent);
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-top: 10px;
  box-shadow: 0 3px 16px 0 rgba(34,49,63,0.08);
  transition: background 0.17s, color 0.14s, box-shadow 0.12s;
  border: none;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 6px 18px 2px rgba(34,49,63,0.13);
}
.button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  background: var(--color-primary);
  color: var(--color-on-dark);
  border-radius: var(--radius-btn);
  padding: 11px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 18px;
  border: none;
  transition: background 0.15s, color 0.12s;
  cursor: pointer;
}
.button:hover, .btn:hover,
.button:focus, .btn:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

.info-box {
  background: var(--color-grey);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 20px;
  border-left: 6px solid var(--color-accent);
  font-size: 1.1rem;
}
.trust-badges {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.trust-badges img {
  max-height: 38px;
}
.visitor-info-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.faq-item {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 22px 16px 22px;
  border-left: 4px solid var(--color-primary);
}
.faq-item h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.faq-item p {
  margin-bottom: 0;
}

/* Divider/Section Styling */
.section:nth-child(even),
main section:nth-child(even) {
  background: var(--color-grey);
}

.cta-section {
  text-align: center;
  margin-top: 40px;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.cta-section .content-wrapper {
  align-items: center;
}

/***** HEADER *****/
header {
  background: var(--color-card-bg);
  box-shadow: 0 1px 7px 0 rgba(32,65,90,0.08);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 85px;
  position: relative;
}
header img {
  max-height: 48px;
  margin-right: 32px;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
nav.main-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 8px;
  color: var(--color-primary);
  transition: background 0.13s, color 0.12s;
}
nav.main-nav a:hover, nav.main-nav a.active {
  background: var(--color-accent);
  color: var(--color-on-dark);
}

.mobile-menu-toggle {
  display: none;
  height: 44px;
  width: 44px;
  border-radius: 50%;
  font-size: 2rem;
  background: var(--color-primary);
  color: var(--color-on-dark);
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.17s, color 0.15s;
  z-index: 301;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
  background: var(--color-accent);
  color: var(--color-on-dark);
}

/***** MOBILE MENU OVERLAY *****/
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-primary);
  z-index: 400;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.5,.2,.25,1), opacity 0.28s;
  padding: 0;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: var(--color-on-dark);
  border: none;
  font-size: 2rem;
  margin: 22px 28px 6px 0;
  cursor: pointer;
  transition: color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 24px;
  gap: 8px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-on-dark);
  padding: 18px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  transition: background 0.11s, color 0.10s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(154,90,33,0.18);
  color: var(--color-accent);
}

/***** HERO SECTION *****/
.hero {
  background: var(--color-primary);
  color: var(--color-on-dark);
  padding: 68px 0 48px 0;
  border-radius: 0 0 46px 46px;
  margin-bottom: 36px;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  color: var(--color-on-dark);
}
.hero h1, .hero h2, .hero h3 {
  color: var(--color-on-dark);
}
.hero p {
  color: #ECF3F8;
  font-size: 1.24rem;
  margin-bottom: 18px;
}
.hero .cta-button {
  background: var(--color-accent);
  color: var(--color-on-dark);
}
.hero .cta-button:hover {
  background: var(--color-on-dark);
  color: var(--color-accent);
}

/***** FOOTER *****/
footer {
  background: var(--color-primary);
  color: var(--color-on-dark);
  padding: 44px 0 0 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 34px;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 330px;
}
.footer-branding img {
  max-height: 42px;
  margin-bottom: 10px;
}
.footer-branding p {
  color: var(--color-on-dark);
  font-size: 1rem;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}
.footer-nav a {
  color: var(--color-on-dark);
  opacity: 0.81;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.14s;
}
.footer-nav a:hover {
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: #ECF3F8;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ECF3F8;
  margin-bottom: 0;
}
.footer-contact img {
  width: 22px;
  height: 22px;
}

/***** THANK YOU SECTION *****/
.thank-you-section .content-wrapper {
  align-items: center;
  text-align: center;
}

/***** RESPONSIVE DESIGN (Mobile-first) *****/
@media (max-width: 1020px) {
  header .container, footer .container {
    flex-direction: column;
    gap: 28px;
    height: auto;
    align-items: flex-start;
  }
  .footer-branding, .footer-contact, .footer-nav {
    max-width: 100%;
    width: 100%;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    padding: 0 6vw;
  }
  .section {
    margin-bottom: 44px;
    padding: 30px 6vw;
  }
  .feature-grid, .card-container, .content-grid, .trust-badges, .case-summary-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    height: 62px;
    gap: 10px;
    padding-right: 7px;
    padding-left: 7px;
  }
  nav.main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-nav {
    flex-direction: row;
    gap: 8vw;
    flex-wrap: wrap;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    padding: 0 6vw 28px 6vw;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.06rem;
  }

  .section, .hero {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .content-wrapper {
    gap: 13px;
  }
  .card, .case-card, .feature-grid > div {
    padding: 16px 12px;
  }
  .footer-contact p {
    font-size: 0.92rem;
  }
}

/***** MICRO-INTERACTIONS & EFFECTS *****/
.card, .case-card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.17s, border-color 0.17s, transform 0.16s;
}
.card:hover, .case-card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px 4px rgba(32,65,90,0.14);
  border-color: var(--color-accent);
  transform: translateY(-4px) scale(1.018);
}
.cta-button, .button, .btn {
  transition: background 0.16s, color 0.11s, box-shadow 0.13s, transform 0.14s;
}
.cta-button:active, .button:active, .btn:active {
  transform: scale(0.97);
}

/***** GEOMETRIC DECORATIVE ELEMENTS *****/
/* For clear geometric style, add background triangles/angles to hero, cards etc. */

/***** End Geometric Effect *****/

/***** COOKIES CONSENT BANNER & MODAL *****/
.cookie-banner {
  position: fixed;
  z-index: 10000;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-card-bg);
  color: var(--color-primary);
  box-shadow: 0 -4px 18px 0 rgba(32,65,90,0.13);
  padding: 18px 22px 18px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 1.06rem;
  border-radius: 24px 24px 0 0;
  transition: transform 0.3s, opacity 0.2s;
}
.cookie-banner.hide {
  display: none;
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 2;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  flex: 1;
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  background: var(--color-primary);
  color: var(--color-on-dark);
  border-radius: var(--radius-btn);
  padding: 9px 20px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-right: 8px;
  transition: background 0.11s, color 0.09s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-on-dark);
}
.cookie-banner .cookie-btn.reject {
  background: var(--color-grey);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cookie-banner .cookie-btn.settings {
  background: none;
  color: var(--color-accent);
  text-decoration: underline;
  border: none;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-on-dark);
}
.cookie-banner .cookie-btn.reject:hover {
  background: var(--color-accent);
  color: var(--color-on-dark);
  border: 2px solid var(--color-accent);
}

/***** COOKIE MODAL *****/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10001;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,65,90,0.53);
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: var(--color-card-bg);
  color: var(--color-primary);
  border-radius: 24px;
  padding: 36px 24px 26px 24px;
  max-width: 380px;
  width: 95vw;
  box-shadow: 0 8px 32px 5px rgba(32,65,90,0.17);
  font-family: var(--font-body);
  position: relative;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 16px;
  background: none;
  color: var(--color-accent);
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal .close-modal:hover {
  color: var(--color-primary);
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  background: var(--color-grey);
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 1rem;
}
.cookie-modal .cookie-category .cookie-switch {
  margin-left: 10px;
}
.cookie-modal .save-cookies-btn {
  background: var(--color-accent);
  color: var(--color-on-dark);
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  margin-top: 18px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  box-shadow: 0 2px 14px 0 rgba(34,49,63,0.1);
  transition: background 0.14s, color 0.11s;
}
.cookie-modal .save-cookies-btn:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* Toggle switch for cookie categories */
.cookie-switch {
  position: relative;
  width: 42px;
  height: 22px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-grey);
  border-radius: 16px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-primary);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: var(--color-on-dark);
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}

/***** MISC GEOMETRIC ANGULAR FONTS & SHAPES *****/
h1, h2, h3, .cta-button, .main-nav a, .mobile-nav a, label, .feature-grid h3 {
  font-family: var(--font-display);
  font-variation-settings: 'slnt' 0, 'wdth' 600;
  letter-spacing: 0.02em;
}

/***** UTILITY *****/
.hide { display: none !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.w-full { width: 100%; }
.mt-3 { margin-top: 1rem; }

/***** STRUCTURAL FLEX ENFORCEMENT *****/
/* Prevent grid or columns everywhere */
/* All cards/section lists use flexbox only as above! */

/***** PRINT FRIENDLY (Optional) *****/
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  .container { max-width: 100%; }
}
