/* ==== RESET & NORMALIZATION ==== */
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,
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FFF;
  color: #2d2c2b;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
a {
  color: #0A4169;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.48,.22,.22,.98);
}
a:hover, a:focus {
  color: #F1B92A;
}
ul, ol {
  margin: 0 0 16px 24px;
  padding: 0;
}
li {
  margin-top: 8px;
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #0A4169;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.25rem; margin-top: 0; }
h2 { font-size: 1.75rem; margin-top: 16px; }
h3 { font-size: 1.2rem; margin-top: 16px; }
h4, h5, h6 { font-weight: 600; margin-top: 14px; }
p { margin-bottom: 16px; }
strong { font-weight: 700; color: #0A4169; }
small { font-size: 0.88rem; }
table {  border-collapse: collapse; width: 100%; margin-bottom: 24px; background: #FFF; border-radius: 12px; box-shadow: 0 1px 7px rgba(10,65,105,0.04); overflow: hidden; }
th, td { text-align: left; padding: 14px; }
th { background: #F9E4AC; color: #0A4169; font-weight: bold; }
td { border-bottom: 1px solid #eee; }
tr:last-child td { border-bottom: none; }

/* ==== BRAND COLORS ==== */
:root {
  --color-primary: #0A4169;
  --color-secondary: #F1B92A;
  --color-accent: #D9EBF6;
  --color-bg: #FFF;
  --color-card: #FFF9EE;
  --color-shadow: rgba(160,112,0,0.08);
}

/* ==== CONTAINERS & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.feature-grid > div {
  background: var(--color-card);
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 26px 22px 18px 22px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 22px rgba(241,185,42,0.20);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(241,185,42,0.13);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(10,65,105,0.07);
  color: #29344b;
  margin-bottom: 24px;
  flex-direction: row;
  flex-wrap: wrap;
}
.testimonial-card blockquote {
  font-size: 1.07rem;
  font-style: italic;
  color: #29271f;
  margin: 0;
}
.testimonial-card span {
  color: #87740e;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.client-stories blockquote {
  font-size: 1rem;
  color: #29344b;
  background: #fff9ee;
  border-left: 5px solid #F1B92A;
  padding: 16px 24px 16px 18px;
  border-radius: 16px;
  margin-bottom: 16px;
}
.client-stories span {
  color: #0A4169;
  opacity: 0.90;
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section,
.confirmation-message,
.infographic,
.case-study,
.tech-pillars,
.stat-highlights,
.open-hours,
.map-location,
.trust-indicators,
.contact-info
{
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(105, 64, 10, 0.06);
  padding: 20px 24px;
  margin-bottom: 20px;
  font-size: 1.03rem;
}

.cta-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #FFF9EE;
  border-radius: 16px;
  box-shadow: 0 1px 7px rgba(225,180,60,0.10);
  padding: 18px 24px 22px 24px;
  margin-bottom: 24px;
}

.map-location {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ==== BUTTONS & CTAs ==== */
.cta-primary,
.cta-secondary,
.cookie-btn,
button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  text-align: center;
  padding: 13px 32px;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
}
.cta-primary {
  background: var(--color-secondary);
  color: #0A4169;
  box-shadow: 0 2px 8px rgba(241,185,42,0.17);
}
.cta-primary:hover, .cta-primary:focus {
  background: #FFD364;
  color: #0A4169;
  box-shadow: 0 5px 13px rgba(241,185,42,0.26);
}
.cta-secondary {
  background: #FFF;
  border: 2px solid var(--color-secondary);
  color: #0A4169;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-secondary);
  color: #0A4169;
}

.cookie-btn {
  min-width: 110px;
  margin-right: 12px;
  margin-bottom: 6px;
  background: var(--color-secondary);
  color: #0A4169;
  border-radius: 30px;
  box-shadow: 0 1px 6px rgba(241,185,42,0.10);
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFD364;
  color: #0A4169;
}

button:active {
  filter: brightness(0.97);
}


/* ==== HEADER & NAV ==== */
header {
  width: 100%;
  background: #FFF9EE;
  box-shadow: 0 2px 10px rgba(10,65,105,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 0;
  position: relative;
  min-height: 74px;
  z-index: 22;
}
header a img {
  height: 44px;
  margin-left: 24px;
  margin-right: 12px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin: 0 18px;
  flex-wrap: wrap;
}
header nav a {
  color: #5b534a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border-radius: 16px;
  padding: 7px 13px;
  transition: background 0.12s;
}
header nav a:hover, header nav a:focus {
  background: #F9E4AC;
  color: #0A4169;
}
header .cta-primary {
  margin-left: 12px;
  margin-right: 14px;
  padding-left: 25px;
  padding-right: 25px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #0A4169;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(241,185,42,0.18);
  position: relative;
  z-index: 80;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 310px;
  height: 100vh;
  background: #FFF9EE;
  box-shadow: -3px 0 22px rgba(10,65,105,0.12);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.54,.09,.59,.99);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-secondary);
  color: #0A4169;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 2rem;
  align-self: flex-end;
  margin: 16px 16px 12px 0;
  box-shadow: 0 2px 7px rgba(241,185,42,0.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 20px 18px 0 32px;
}
.mobile-nav a {
  font-size: 1.08rem;
  color: #0A4169;
  font-family: 'Montserrat', sans-serif;
  padding: 10px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9E4AC;
  color: #F1B92A;
}

/* ==== FOOTER ==== */
footer {
  background: #0A4169;
  color: #fffef6;
  padding: 44px 0 18px 0;
  font-size: 1rem;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -3px 32px rgba(10,65,105,0.10);
}
footer .container {
  padding-bottom: 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  border-bottom: 1px solid rgba(241,185,42,0.16);
  padding-bottom: 23px;
}
.footer-main > img {
  height: 38px;
  margin-right: 22px;
  border-radius: 6px;
  background: #fff9ee;
  padding: 7px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 150px;
  flex: 1 1 160px;
}
.footer-links a {
  color: #F1B92A;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  border-radius: 8px;
  padding: 3px 8px;
}
.footer-links a:hover, .footer-links a:focus {
  background: #FFD364;
  color: #0A4169;
}
.footer-contact {
  min-width: 170px;
  color: #fffef6;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.footer-legal {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 22px;
  color: #F9E4AC;
}
.footer-legal small {
  font-size: 0.96rem;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff9ee;
  border-top: 3px solid #F1B92A;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -2px 16px rgba(241,185,42,0.11);
  z-index: 900;
  font-size: 1.05rem;
  transition: transform 0.3s cubic-bezier(.55,.18,.62,.85), opacity 0.2s;
}
.cookie-consent-banner.hide { transform: translateY(110%); opacity: 0; pointer-events: none; }
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(10,65,105,0.25);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.45,.10,.53,.93);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF9EE;
  color: #0A4169;
  padding: 38px 30px 30px 30px;
  border-radius: 26px;
  max-width: 98vw;
  min-width: 310px;
  width: 410px;
  box-shadow: 0 7px 28px rgba(10,65,105,0.13);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(32px);
  transition: transform 0.23s cubic-bezier(.59,.13,.59,.91);
}
.cookie-modal-overlay.open .cookie-modal {
  transform: translateY(0);
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 7px;
  margin-bottom: 7px;
}
.cookie-modal label {
  font-weight: 600;
  font-size: 1.02rem;
  color: #0A4169;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #F1B92A;
  width: 21px; height: 21px;
  border-radius: 6px;
}
.cookie-modal .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 12px;
  justify-content: flex-end;
}

/* ==== MISC ==== */
blockquote {
  border-left: 5px solid #F1B92A;
  padding-left: 14px;
  font-style: italic;
  background: #FFF;
  border-radius: 10px;
}

.case-study, .stat-highlights {
  background: #FFF9EE;
  border-radius: 16px;
  padding: 18px 26px;
  box-shadow: 0 1px 6px rgba(241,185,42,0.07);
  font-size: 1.08rem;
  margin-bottom: 20px;
  color: #0A4169;
}

.infographic p {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.trust-indicators p {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
}
 
.open-hours p strong {
  color: #0A4169;
}

.confirmation-message {
  text-align: center;
  font-size: 1.15rem;
  color: #0A4169;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1220px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 980px) {
  .feature-grid {
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .footer-main {
    gap: 26px;
  }
}
@media (max-width: 840px) {
  header nav {
    gap: 7px;
    font-size: 0.96rem;
  }
  .feature-grid > div, .card {
    max-width: 100%;
    min-width: 170px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section {
    padding: 23px 7vw;
    margin-bottom: 32px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  header nav {
    display: none;
  }
  header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: relative;
    margin-left: auto;
    margin-right: 13px;
  }
  header {
    padding: 0 0 0 0;
    min-height: 60px;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
  }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.19rem; }
  h3 { font-size: 1.07rem; }
  .footer-links, .footer-contact { font-size: 0.98rem; }
  .confirmation-message, .cookie-modal { font-size: 1rem; }
  .section, .case-study, .text-section, .stat-highlights {
    padding: 15px 6vw;
    margin-bottom: 18px;
  }
  .mobile-menu {
    width: 95vw;
    min-width: 0;
    max-width: 95vw;
  }
  .cookie-modal {
    padding: 22px 10px 18px 10px;
    min-width: 0;
    width: 98vw;
  }
}

/* ==== MICRO-INTERACTIONS & TRANSITIONS ==== */
.cta-primary, .cta-secondary, .cookie-btn, button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.17s, color 0.14s, box-shadow 0.17s, transform 0.13s;
}
.cta-primary:active, .cta-secondary:active, .cookie-btn:active {
  transform: scale(0.97);
}
.mobile-menu.open {
  animation: slideInMenu 0.36s cubic-bezier(.68,.12,.61,.98);
}
@keyframes slideInMenu {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.mobile-menu {
  will-change: transform;
}

/* ==== SCROLLBAR (subtle for a friendly feel) ==== */
::-webkit-scrollbar {
  width: 10px;
  background: #FFF9EE;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #F1B92A;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFD364;
}

/* ==== FORM ELEMENTS ==== */
input, textarea, select {
  border-radius: 8px;
  border: 1.5px solid #D9EBF6;
  padding: 10px 13px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFF;
  box-shadow: 0 1px 3px rgba(10,65,105,0.06);
  margin-bottom: 15px;
  transition: border .14s, box-shadow .16s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px #f1b92a47;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0A4169;
  margin-bottom: 8px;
}

/* ==== VISUAL HIERARCHY & SPACING ENFORCED ==== */
.section, .card, .content-wrapper, .feature-grid, .feature-item, .testimonial-card, .card-container, .content-grid, .text-image-section {
  margin-bottom: 20px;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { gap: 24px; }
.card { margin-bottom: 20px; }
.content-grid { gap: 20px; }
.text-image-section { gap: 30px; }
.testimonial-card { gap: 20px; padding: 20px; }
.feature-item { gap: 15px; }

/* ==== Z-INDEX ORDERING FOR OVERLAYS, NAV ==== */
header { z-index: 22; }
.mobile-menu { z-index: 99; }
.mobile-menu-toggle { z-index: 100; }
.cookie-consent-banner { z-index: 900; }
.cookie-modal-overlay { z-index: 998; }

/* ==== SHADOWS & CORNERS FOR FRIENDLINESS ==== */
.card, .feature-grid > div, .testimonial-card, .text-section, .case-study, .tech-pillars, .cta-banner, .stat-highlights {
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
}
input, textarea, select {
  border-radius: 10px;
}

/* ==== ACCENT COLOR IN TABLES ==== */
table thead {
  background: #FFF5DB;
}
table th {
  color: #0A4169;
  border-bottom: 2px solid #F1B92A;
}
table td {
  font-size: 1rem;
}

/* ==== ACCESSIBILITY: DARK TEXT ON LIGHT BG IN TESTIMONIALS ==== */
.testimonial-card, .testimonial-card blockquote, .client-stories blockquote, .stat-highlights {
  color: #27251c;
  background: #fff9ee;
}
.testimonial-card span, .client-stories span {
  color: #0A4169;
}

/* ==== HIDE/SHOW CLASSES FOR COOKIE MODAL AND BANNER ==== */
.cookie-modal-overlay { display: none; }
.cookie-modal-overlay.open { display: flex; }

/* ==== SELECTIVE OVERRIDES FOR CONSISTENCY ==== */
main section:last-child {
  margin-bottom: 0;
}

/* ==== PRINT STYLES (Optional) ==== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
  .section {
    margin-bottom: 24px;
    padding: 8px 0;
  }
}

/* ==== END ==== */
