/* -----------------------------------------------------
   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, 
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.5;
  min-height: 100vh;
  background: #FFFDFB;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

/* Remove tap highlight color */
* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

/* -----------------------------------------------------
   BRAND FONTS AND COLORS
----------------------------------------------------- */
:root {
  --primary: #005A76;
  --primary-rgb: 0,90,118;
  --secondary: #1DBF73;
  --accent: #F3F9FA;
  --warning: #FFD985;
  --cta: #F77F00;
  --cta-dark: #D96B00;
  --text: #252525;
  --text-secondary: #5F5651;
  --background: #FFFDFB;
  --card-bg: #FFFDFB;
  --shadow: 0 2px 20px rgba(0,90,118,0.07), 0 1.5px 4.5px rgba(0,0,0,0.04);
  --radius: 18px;
  --radius-soft: 12px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* -----------------------------------------------------
   GENERAL TYPOGRAPHY
----------------------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16px;
  background: var(--background);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: var(--space-2);
}
h2 {
  font-size: 2rem;
  margin-bottom: var(--space-2);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-1);
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li {
  font-size: 1rem;
  color: var(--text-secondary);
}
strong, b {
  color: var(--primary);
  font-weight: 700;
}
address {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.97rem;
}

/* -----------------------------------------------------
   SPACING & LAYOUT UTILITY CLASSES (MANDATORY PATTERNS)
----------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-3);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.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;
  background-color: #FFF8EC;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 300px;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0,90,118,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------------------------------
   CONTAINER & CENTERING
----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
  justify-content: center;
}

/* -----------------------------------------------------
   HEADER & NAVIGATION
----------------------------------------------------- */
header {
  background: var(--accent);
  box-shadow: 0 2px 12px rgba(0,90,118,0.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 16px;
  gap: var(--space-4);
}
header img {
  height: 40px;
  min-width: 120px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  padding: 10px 0 8px 0;
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  border-radius: 2px;
  transition: color 0.18s, border-bottom 0.18s;
}
header nav a:hover,
header nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.cta-primary {
  background: var(--cta);
  color: #FFF !important;
  font-family: var(--font-display);
  padding: 12px 28px;
  border-radius: 32px;
  font-weight: bold;
  font-size: 1.11rem;
  box-shadow: 0 2px 12px rgba(247,127,0,0.11);
  transition: background 0.18s, box-shadow 0.23s, color 0.18s, transform 0.18s;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--cta-dark);
  color: #FFF;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 30px rgba(247,127,0,0.14);
}

/* Responsive Nav */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: var(--cta);
  cursor: pointer;
  margin-right: 8px;
  margin-left: auto;
  z-index: 206;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(253,243,230,0.98);
  z-index: 210;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.67,.28,.41,.87);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 24px 24px 28px;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--cta);
  font-size: 2.1rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 215;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--primary);
}
.mobile-menu nav.mobile-nav {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}
.mobile-menu nav.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 13px 12px 13px 25px;
  transition: background 0.21s, color 0.18s;
  width: 100%;
  display: block;
}
.mobile-menu nav.mobile-nav a:hover,
.mobile-menu nav.mobile-nav a:focus {
  background: var(--cta);
  color: #FFF;
}
/* Hamburger visible on mobile only */
@media (max-width: 1020px) {
  header .container nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1020px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* -----------------------------------------------------
   HERO / BANNERS
----------------------------------------------------- */
section:first-child {
  background: linear-gradient(101deg, #FFD985 30%, #F3F9FA 65%);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  margin-bottom: 0;
}
section:first-child h1 {
  color: var(--cta-dark);
  margin-top: 10px;
  margin-bottom: var(--space-2);
  text-shadow: 0 3px 18px rgba(245,185,64,0.05);
}

/* -----------------------------------------------------
   SECTION LAYOUTS & CARDS
----------------------------------------------------- */
section {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}
ul, ol {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-left: 0;
}
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.02rem;
  padding: 12px 0 0 0;
}
ul li img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #FFF8EC;
  padding: 5px;
  object-fit: contain;
  box-shadow: 0 2px 8px 0 rgba(253,201,131,0.08);
}
section article {
  background: #F3F9FA;
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 14px 0 rgba(0,90,118,0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  background: #FFF;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

/* -----------------------------------------------------
   TESTIMONIALS
----------------------------------------------------- */
.testimonial-card {
  background: #FFF8EC;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 28px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 1.09rem;
  transition: box-shadow 0.25s;
}
.testimonial-card span {
  color: var(--secondary);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.01rem;
}
.testimonial-card strong {
  color: var(--primary);
}

/* -----------------------------------------------------
   BUTTONS & LINKS
----------------------------------------------------- */
button, .btn, input[type="submit"], input[type="button"] {
  font-family: var(--font-display);
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 28px;
  background: var(--cta);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(247,127,0,0.13);
  transition: background 0.18s, box-shadow 0.17s, color 0.18s, transform 0.18s;
}
button:hover, .btn:hover, button:focus, .btn:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--cta-dark);
  color: #FFF;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 32px rgba(247,127,0,0.11);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #18945C;
  color: #FFF;
  transform: translateY(-1.5px) scale(1.02);
}
/* Links in resources */
ul li a, .content-wrapper a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.18s;
}
ul li a:hover, .content-wrapper a:hover {
  color: var(--cta-dark);
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  background: var(--accent);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: 0 -2px 18px rgba(0,90,118,0.08);
  padding: 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: 32px;
  padding-bottom: 32px;
}
footer img {
  width: 48px;
  height: auto;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
footer nav a {
  color: var(--primary);
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 500;
  border-radius: 2px;
  padding: 3px 8px;
  transition: color 0.18s, background 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  background: #fff;
}
footer address {
  color: var(--text-secondary);
  font-size: 0.89rem;
  text-align: right;
}

/* -----------------------------------------------------
   MAP LOCATION BLOCK
----------------------------------------------------- */
.map-location {
  margin-top: var(--space-2);
  background: #F3F9FA;
  padding: 16px 20px;
  border-radius: var(--radius-soft);
  font-size: 1rem;
}

/* -----------------------------------------------------
   RESPONSIVE DESIGN (MOBILE FIRST)
----------------------------------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
  }
  section {
    padding: 30px 8px;
  }
  .section {
    padding: 32px 10px;
    margin-bottom: 42px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .container {
    max-width: 100vw;
    padding-left: 5px;
    padding-right: 5px;
  }
  .content-wrapper {
    padding: 0 2px;
    gap: var(--space-2);
  }
  footer .container, header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  header img {
    height: 28px;
    min-width: 90px;
  }
  footer img {
    width: 36px;
  }
  .testimonial-card {
    padding: 15px 10px;
    font-size: 0.95rem;
  }
}

/* -----------------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
----------------------------------------------------- */
section, .card, .testimonial-card {
  transition: box-shadow 0.24s, background 0.16s, border-radius 0.23s;
}
.card-container .card:hover, .content-grid .card:hover {
  box-shadow: 0 7px 42px 0 rgba(0,90,118,0.13);
  transform: translateY(-3px) scale(1.02);
}

/* -----------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF8EC;
  color: var(--primary);
  box-shadow: 0 -2px 13px rgba(0,90,118,0.10);
  border-radius: 18px 18px 0 0;
  z-index: 3000;
  padding: 28px 10px 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  opacity: 1;
  transition: bottom 0.28s cubic-bezier(.52,.07,.49,1.01), opacity 0.23s;
  font-family: var(--font-body);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: -200px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 9px;
}
.cookie-banner button {
  padding: 11px 20px;
  font-size: 1rem;
  border-radius: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .accept:hover { background: #18945C; }
.cookie-banner .reject {
  background: #FFD985;
  color: var(--primary);
}
.cookie-banner .reject:hover { background: #FCDA7B; }
.cookie-banner .settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid #FFD985;
}
.cookie-banner .settings:hover {
  background: #FFD985;
  color: var(--primary);
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 4000;
  background: rgba(0,0,0,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.27s;
}
.cookie-modal.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,90,118,0.21);
  max-width: 410px;
  width: 96vw;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookie-modal-in 0.33s cubic-bezier(.79,-0.02,.33,1.07);
}
@keyframes cookie-modal-in {
  from { transform: translateY(70px) scale(0.88); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal .modal-title {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 1.6rem;
  color: var(--cta-dark);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 4010;
  padding: 0;
  line-height: 1;
  font-family: inherit;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 0 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #F3F9FA;
  border-radius: var(--radius-soft);
  padding: 11px 16px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 19px;
  height: 19px;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 9px;
}
.cookie-actions button {
  padding: 11px 20px;
  border-radius: 28px;
  font-family: var(--font-display);
  font-size: 1.03rem;
}
.cookie-category .always-on {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.93rem;
  margin-left: 3px;
}

@media (max-width: 500px) {
  .cookie-modal .modal-content {
    max-width: 98vw;
    padding: 26px 7vw 18px 7vw;
  }
  .cookie-banner {
    padding: 18px 3vw 10px 3vw;
    border-radius: 12px 12px 0 0;
  }
}

/* -----------------------------------------------------
   NO GRID OR COLUMNS, FLEX ONLY!
----------------------------------------------------- */
/* All layouts use flexbox as per instructions */

/* -----------------------------------------------------
   MISC UTILITY CLASSES
----------------------------------------------------- */
.rounded {
  border-radius: var(--radius) !important;
}
.centered {
  margin: 0 auto;
  text-align: center;
}
.bg-accent {
  background: var(--accent);
}
.bg-primary {
  background: var(--primary);
  color: #fff;
}
.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.shadow {
  box-shadow: var(--shadow);
}
.gap-2 {
  gap: var(--space-2);
}

/* -----------------------------------------------------
   ACCESSIBILITY
----------------------------------------------------- */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* -----------------------------------------------------
   END OF CSS
----------------------------------------------------- */
