/* === 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;
  outline: 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;
}
footer p {
  color: white;
}
body {
  line-height: 1.5;
  background-color: #F2F5F7;
  font-family: 'Roboto', Arial, sans-serif;
  color: #17536B;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}

/* === BRAND COLORS AS VARIABLES === */
:root {
  --primary: #17536B;
  --secondary: #FFFFFF;
  --accent: #A16B13;
  --bg: #F2F5F7;
  --accent-soft: #D39A3D;
  --card-shadow: 0 4px 18px rgba(23,83,107,0.08), 0 1.5px 8px rgba(161,107,19,0.10);
  --border-radius: 18px;
  --transition: 0.22s cubic-bezier(.81,-0.13,.18,1.22);
}

/* === TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
p, ul li, ol li, blockquote, dl, dd {
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #254959;
  margin-bottom: 10px;
  line-height: 1.7;
}
strong {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.01em;
}
blockquote {
  border-left: 4px solid var(--accent);
  background: rgba(255,202,133,0.18);
  padding: 12px 24px;
  margin-bottom: 20px;
  font-style: italic;
  color: #444;
  border-radius: 12px;
}

/* === CONTAINERS & SECTIONS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

/* === FLEXBOX LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--secondary);
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 300px;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
}
.card:hover {
  transform: translateY(-7px) scale(1.02) rotate(-1deg);
  box-shadow: 0 2px 48px 0 rgba(161,107,19,0.22), 0 6px 12px 0 rgba(40,77,115,0.10);
  border: 2px solid var(--accent);
}

.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: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(23,83,107, 0.08);
  margin-bottom: 20px;
  border-left: 5px solid var(--accent);
  position: relative;
  min-width: 260px;
  max-width: 620px;
  color: #1a232d;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #232831;
}
.testimonial-card strong {
  color: #17536B;
  font-weight: 600;
  margin-left: 12px;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* === SPACING === */
.section + .section {
  margin-top: 0px;
}
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px;
}

/* === HEADER === */
header {
  background: linear-gradient(90deg, #FFE5CF 0%, #F2F5F7 20%, #F2F5F7 100%);
  box-shadow: 0 1.5px 8px 0 rgba(23,83,107,0.10);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  color: #17536B;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover,
header nav a.active {
  background: var(--accent-soft);
  color: #fff;
}
header nav .btn-primary {
  background: var(--primary);
  color: #fff;
  border-radius: 18px;
  padding: 10px 24px;
  margin-left: 8px;
  font-size: 1.08rem;
  box-shadow: 0 1.5px 8px 0 rgba(161,107,19,0.12);
  border: none;
  transition: background var(--transition), transform var(--transition);
}
header nav .btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px) scale(1.045);
}
header .mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  padding: 9px 17px;
  border-radius: 8px;
  font-size: 2rem;
  border: none;
  margin-left: 22px;
  cursor: pointer;
  transition: background 0.18s;
}
header .mobile-menu-toggle:active,
header .mobile-menu-toggle:focus {
  background: var(--accent);
  outline: none;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 12px 48px 0 rgba(23,83,107,0.12);
  z-index: 2050;
  display: none;
  flex-direction: column;
  transition: transform var(--transition);
  transform: translateX(100%);
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  align-self: flex-end;
  font-size: 2.4rem;
  color: var(--primary);
  margin: 25px 26px 14px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.29rem;
  color: var(--primary);
  padding: 14px 22px;
  border-radius: 14px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  text-align: center;
}
.mobile-nav a:hover { background: var(--accent-soft); color: #fff; }


/* === SECTION, CARDS & VISUAL ELEMENTS === */
section {
  width: 100%;
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  box-sizing: border-box;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.section ul, .section ol, .text-section ul, .text-section ol {
  list-style: disc inside;
  padding-left: 22px;
  margin-bottom: 10px;
}
.section ul li, .section ol li {
  margin-bottom: 6px;
}

/* === BUTTONS === */
.btn-primary, .btn-secondary {
  padding: 11px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 22px;
  cursor: pointer;
  font-size: 1.13rem;
  margin-top: 10px;
  margin-bottom: 8px;
  text-align: center;
  display: inline-block;
  box-shadow: 0 2.5px 10px 0 rgba(23,83,107,0.13);
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.015em;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.04) translateY(-1.5px);
  box-shadow: 0 8px 32px -6px rgba(161,107,19,0.19);
}
.btn-secondary {
  background: var(--accent-soft);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.035) translateY(-1px);
}

/* === SPECIALTY: BLOG TAGS & SEARCH === */
.blog-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.blog-tags span {
  background: var(--accent-soft);
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 10px;
  padding: 4px 14px;
  letter-spacing:0.01em;
  margin-bottom: 6px;
}
input[type="text"] {
  padding: 10px 14px;
  border-radius: 12px;
  border: 2px solid #dbe4ea;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  width: 100%;
  max-width: 410px;
  margin-bottom: 12px;
  background: #fff;
  transition: border var(--transition), box-shadow var(--transition);
}
input[type="text"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px #f1e0c0;
}

/* === TABLES === */
table {
  margin-bottom: 28px;
  background: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
th {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}
td {
  font-size: 1.01rem;
  border-bottom: 1px solid #e5e7ea;
}
tr:last-child td {
  border-bottom: none;
}

/* === DL/FAQ & CTAs === */
dl {
  margin-bottom: 22px;
}
dt {
  color: var(--primary);
  font-weight: 700;
  margin-top: 14px;
}
dd {
  margin-bottom: 8px;
  margin-left: 0px;
  color: #37576c;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 -4px 24px rgba(23,83,107, 0.06);
  margin-top: 30px;
}
footer .container {
  padding: 28px 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.045rem;
  padding: 7px 3px;
  border-radius: 6px;
  transition: background 0.18s;
}
footer nav a:hover { background: var(--accent); }
footer div > a { color: #ffde99; }
footer div > a:hover { color: #fff; text-decoration: underline; }
footer p, footer a { font-size: 0.99rem; }
footer div {
  margin-bottom: 6px;
}

/* === COOKIE CONSENT === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff6ed;
  border-top: 2.5px solid var(--accent);
  box-shadow: 0 -2.5px 20px 0 rgba(23,83,107,0.11);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  z-index: 3000;
  gap: 16px;
  font-size: 0.99rem;
  animation: cookieSlideUp 0.55s cubic-bezier(.81,-0.13,.18,1.22);
}
@keyframes cookieSlideUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-consent-banner button {
  padding: 9px 18px;
  font-size: 1rem;
  border-radius: 13px;
  border: none;
  margin: 0 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 1.5px 4px 0 rgba(161,107,19,0.09);
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-consent-banner .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-consent-banner .accept:hover {
  background: var(--accent);
}
.cookie-consent-banner .reject {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-consent-banner .reject:hover {
  background: #ffe0a4; color: var(--accent);
  border-color: var(--accent);
}
.cookie-consent-banner .settings {
  background: var(--accent-soft);
  color: #fff;
}
.cookie-consent-banner .settings:hover {
  background: var(--accent);
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 3120;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,40,53,0.32);
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.22s cubic-bezier(.81,-0.13,.18,1.22);
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff6ed;
  border-radius: 18px;
  box-shadow: 0 14px 40px 0 rgba(161,107,19,0.22);
  padding: 42px 38px 32px 38px;
  min-width: 340px; max-width: 96vw;
  position: relative;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 20px; right: 28px;
  background: none; border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-prefs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.cookie-modal .category {
  background: #fff;
  border-radius: 12px;
  padding: 13px 17px 10px 17px;
  box-shadow: 0 1px 7px 0 rgba(161,107,19,0.06);
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 19px;
}
.cookie-modal .cat-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: var(--primary);
  font-weight: 700;
}
.cookie-modal .cat-desc {
  font-size: 0.99rem;
  color: #555;
  margin-top: 4px;
}
.cookie-modal .cat-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}
.cookie-modal .switch {
  position: relative; display: inline-block;
  width: 45px; height: 22px;
}
.cookie-modal .switch input { display: none; }
.cookie-modal .slider {
  position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
  background: #ddd;
  border-radius: 15px;
  transition: background 0.16s;
}
.cookie-modal .switch input:checked + .slider { background: var(--primary); }
.cookie-modal .slider:before {
  content: '';
  position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
.cookie-modal .switch input:checked + .slider:before {
  left: 24px;
}
.cookie-modal .switch input:disabled + .slider {
  opacity: 0.34;
  background: #eee;
}
.cookie-modal .modal-actions {
  display: flex; gap: 14px; justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 10px 22px;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .modal-actions .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-modal .modal-actions .accept:hover {
  background: var(--accent);
  color: #fff;
}
.cookie-modal .modal-actions .reject {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-modal .modal-actions .reject:hover {
  background: var(--accent-soft); color: #fff; border-color: var(--accent-soft);
}

/* === RESPONSIVE DESIGN: MOBILE FIRST === */
@media (max-width: 1100px) {
  .container { padding: 0 10px; }
}
@media (max-width: 880px) {
  .card-container, .content-grid, .footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.58rem; }
  h2 { font-size: 1.18rem; }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 14px;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    max-width: 100vw;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
  }
  header .container {
    flex-direction: row;
    gap: 7px;
  }
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width:480px) {
  section, .section {
    padding: 13px 2px;
    margin-bottom: 23px;
  }
  .card {
    padding: 18px 11px;
  }
  .container {
    padding: 0 2px;
  }
  .cookie-consent-banner {
    padding: 12px 4px;
    flex-direction: column;
    gap: 8px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 20px 8px 19px 8px;
    min-width: 92vw;
  }
  .mobile-nav a {
    font-size: 1.09rem;
    padding: 12px 8px;
  }
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
.card, .testimonial-card, .btn-primary, .btn-secondary, .mobile-nav a,
header nav a, input[type="text"], .cookie-consent-banner button, .cookie-modal .modal-actions button {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), border var(--transition), transform var(--transition);
}
.card:active, .testimonial-card:active {
  transform: scale(0.98) rotate(0.5deg);
  box-shadow: 0 8px 36px -9px rgba(161,107,19,0.18);
}

/* === UNIQUE/ARTISTIC ELEMENTS === */
h1, h2 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 46px; height: 6px;
  margin-top: 7px;
  background-color: var(--accent-soft);
  border-radius: 3px;
  opacity: 0.6;
}
h1::after {
  width: 62px; height: 7px;
  background-color: var(--accent);
  opacity: 0.62;
}

/* Small decorative brush-stroke highlight for artistic spirit */
.btn-primary::after {
  content: '';
  display: block;
  width: 32px; height: 5px;
  margin: 7px auto 0 auto;
  background: var(--accent-soft);
  border-radius: 6px;
  opacity: 0.49;
  pointer-events: none;
}

/* Artistic hover underline effect for links */
header nav a, .mobile-nav a, footer nav a {
  position: relative;
}
header nav a::after, .mobile-nav a::after, footer nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2.5px;
  background: var(--accent);
  border-radius: 3px;
  position: absolute;
  left: 7px;
  bottom: 2px;
  transition: width 0.2s;
}
header nav a:hover::after, .mobile-nav a:hover::after, footer nav a:hover::after { width: 80%; }

/* Extra white space management for breathing room */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 12px;
}

/* === ACCESSIBILITY FOCUSED OUTLINES === */
a:focus, button:focus, input:focus {
  outline: 2.2px dashed var(--accent);
  outline-offset: 2px;
}

/* === PRINT STYLES (HIDE INTERACTIVE) === */
@media print {
  .cookie-consent-banner, .cookie-modal-overlay, header .mobile-menu-toggle, .mobile-menu { display: none !important; }
}

/* === END CSS FILE === */
