/* ====================================================== */
/* CSS RESET & BASELINE NORMALIZER                       */
/* ====================================================== */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f3f7f5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #266964;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  outline: none;
  cursor: pointer;
}

:root {
  --primary: #266964;
  --secondary: #e8c867;
  --accent: #f3f7f5;
  --error: #bc3a1e;
  --header-bg: #ffffff;
  --footer-bg: #f3f7f5;
  --shadow: rgba(38,105,100,.08) 0 4px 24px;
  --radius: 18px;
}

/* ====================================================== */
/* TYPOGRAPHY & HIERARCHY                                */
/* ====================================================== */
h1, .display {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  color: #266964;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #266964;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #266964;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #266964;
}
p, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #363c35;
  line-height: 1.6;
}
strong {
  color: #266964;
}
.note {
  font-size: 0.98rem;
  color: #7b8f77;
  background: #f3f7f5;
  border-left: 4px solid #e8c867;
  padding: 10px 18px;
  border-radius: 12px;
  margin-top: 16px;
  margin-bottom: 10px;
}

/* Artistic headers */
h1, h2 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  height: 5px;
  width: 54px;
  margin-top: 8px;
  background: var(--secondary);
  border-radius: 5px;
  opacity: 0.6;
}
h1 {
  margin-bottom: 20px;
}

.section h2::after {
  width: 40px;
}

@media (max-width:768px) {
  h1 {font-size:1.45rem;}
  h2 {font-size:1.14rem;}
  h3 {font-size:1rem;}
}

/* Artistic subtitle accent */
.subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

/* ====================================================== */
/* CONTAINER & LAYOUT FLEX SYSTEM                        */
/* ====================================================== */
.container {
  width: 100%;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  gap: 14px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px 0 rgba(38,105,100,0.08);
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  padding: 22px 17px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 10px 28px 0 rgba(38,105,100,0.17);
  transform: translateY(-6px) scale(1.03);
  z-index: 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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffdfa;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(38,105,100,0.08);
  margin-bottom: 20px;
  border: 1.5px dashed #e8c867;
  max-width: 470px;
  color: #243228;
}
.testimonial-card p {
  color: #343; 
  font-size: 1.07rem;
  font-style: italic;
  text-align: center;
}
.testimonial-card span {
  color: #4d6970;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Montserrat',Arial,sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Spacing & gap for general list/ul/ol */
ul, ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
}
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
ul li img, ol li img {
  width: 26px;
  height: 26px;
}

/* Responsive for content-wrapper */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 32px;
  }
  .content-wrapper, .text-section, .card-container, .content-grid {
    gap: 16px;
  }
  .testimonial-card {
    padding: 12px 9px;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .features {
    gap: 10px;
  }
}

/* ====================================================== */
/* HEADER, NAVIGATION, BRANDING                          */
/* ====================================================== */
header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background: var(--header-bg);
  box-shadow: 0 1.5px 8px 0 rgba(38,105,100,0.07);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 50px;
  width: auto;
  display: block;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 20px;
  color: #266964;
  border-radius: 22px;
  transition: background 0.2s, color 0.2s;
  position: relative;
  letter-spacing: 0.01em;
}
.main-nav a:hover {
  background: var(--secondary);
  color: #1c3730;
}
.main-nav .cta {
  background: var(--primary);
  color: #fff;
  font-weight: bold;
  border-radius: 999px;
  padding: 9px 24px;
  box-shadow: 0 2px 10px 0 rgba(38,105,100,0.12);
  transition: background 0.2s, transform 0.18s;
}
.main-nav .cta:hover,
.main-nav .cta:focus {
  background: #13453b;
  transform: scale(1.07);
}

/* ================= MOBILE NAVIGATION ================ */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  line-height: 1;
  background: var(--secondary);
  color: #13453b;
  border-radius: 50%;
  padding: 8px 14px;
  margin-left: 8px;
  z-index: 85;
  border: 2px solid #fff9ed;
  transition: background .18s, box-shadow .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ffe17e;
  box-shadow: 0 0 7px #e8c86744;
}

/* Hide .main-nav and show burger on mobile */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  justify-content: flex-start;
  align-items: flex-start;
  background: rgba(38, 105, 100, 0.97);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  width: 100vw;
  height: 100vh;
  box-shadow: 0 2px 20px 0 #0000003a;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #e8c867;
  color: #28544a;
  font-size: 2.1rem;
  border-radius: 50%;
  align-self: flex-end;
  margin: 20px 25px 10px 0;
  padding: 8px 12px;
  margin-bottom: 12px;
  transition: background .18s, color .18s;
  z-index: 10000;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ebba33;
  color: #266964;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  width: 100%;
  margin-top: 32px;
  padding-left: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  color: #fffdfa;
  padding: 10px 0;
  border-radius: 6px;
  transition: color 0.17s, background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #266964;
  background: #e8c867;
  padding-left: 12px;
  font-weight: bold;
}

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

/* ====================================================== */
/* HERO IMAGE & CREATIVE BACKGROUNDS                     */
/* ====================================================== */
section:first-of-type {
  background: linear-gradient(-2deg, #e8c867 0%, #fffdfa 85%);
  box-shadow: 0 5px 26px 0 rgba(38,105,100,0.11);
  min-height: 190px;
  border-radius: var(--radius);
  position: relative;
}
section:first-of-type h1,
section:first-of-type p {
  color: #13453b;
}

section:first-of-type .cta {
  margin-top: 18px;
}

/* Hero backgrounds for artistic flair */
@media (max-width:900px) {
  section:first-of-type,
  section.hero {
    min-height: 110px;
    padding-bottom: 32px;
  }
}

/* ====================================================== */
/* BUTTONS & CTA STYLES                                  */
/* ====================================================== */
.cta,
button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 13px 36px;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 5px 12px 0 rgba(38,105,100,0.13);
  border: 0;
  transition: background 0.22s, box-shadow 0.2s, transform 0.13s;
  margin-top: 7px;
  margin-bottom: 7px;
  text-align: center;
  outline: none;
  text-shadow: 0 2px 5px #00000018;
}
.cta:hover,.cta:focus,
button.cta:hover,button.cta:focus {
  background: #e8c867;
  color: #13453b;
  transform: scale(1.05) translateY(-2px);
}
a.cta:active {
  background: #13453b;
  color: #fff;
}

/* Buttons inside cookie banner/modal */
.cookie-btn {
  display: inline-flex;
  align-items: center;
  background: #e8c867;
  color: #13453b;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 10px;
  padding: 9px 22px;
  margin-right: 12px;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 1px 7px #2657501c;
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn:hover,
.cookie-btn:focus {
  background: #13453b;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff1e3;
  color: #bc3a1e;
  border: 1px solid #ffd6af;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #bc3a1e;
  color: #fff;
}

/* ====================================================== */
/* CARDS, FEATURES, ARTISTIC ACCENTS                     */
/* ====================================================== */
.card {
  border: 1.5px solid #e8c867;
  background: #fffdfa;
}
.card strong {
  color: #e8c867;
}
.card h3 {
  color: #266964;
  margin-bottom: 6px;
}
.feature-item img {
  width: 32px; height: 32px;
  min-width: 32px;
  margin-right: 4px;
}

/* Artistic backgrounds for featured sections */
.section:nth-of-type(2),
.section.features {
  background: #e8c86715;
  box-shadow: 0 3px 15px 0 #e8c86732;
}

/* List with emphasized icons */
ul li img {
  filter: drop-shadow(0 0 3px #e8c86738);
}
ul li strong {
  color: #266964;
  font-size: 1.07rem;
}

.section:last-of-type .cta {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 1.14rem;
}

ol {
  counter-reset: artistic-counter;
}
ol li {
  position: relative;
  padding-left: 36px;
}
ol li:before {
  counter-increment: artistic-counter;
  content: counter(artistic-counter) ".";
  position: absolute;
  left: 0;
  top: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #e8c867;
  font-size: 1.19rem;
  font-weight: 700;
}

/* FAQ/Question highlight */
ul li strong, ol li strong {
  color: #e8c867;
}

/* ====================================================== */
/* FOOTER                                               */
/* ====================================================== */
footer {
  width: 100%;
  background: var(--footer-bg);
  border-top: 1.5px solid #e8c86736;
  box-shadow: 0 -2px 12px 0 #e8c86719;
  padding: 24px 0;
  position: relative;
  z-index: 10;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 24px;
  padding: 0 6px;
}
.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 6px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #266964;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 0;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.footer-nav a:hover {
  color: #fffdfa;
  background: #e8c867;
  padding-left: 11px;
}
.footer-contact {
  font-size: 0.97rem;
  color: #436964;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 7px;
  line-height: 1.6;
}

@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* ====================================================== */
/* RESPONSIVE STYLES                                     */
/* ====================================================== */
@media (max-width: 600px) {
  .section,
  section,
  .card,
  .container {
    padding: 9px 2vw !important;
  }
  .card {
    min-width: 100%;
    font-size: 1.05em;
  }
  .card-container, .content-grid {
    gap: 10px;
  }
}

/* Adaptive font-size/spacing */
@media (max-width: 480px) {
  .footer-contact, p, li, span {
    font-size: .96rem;
  }
}

/* ====================================================== */
/* FORM ELEMENTS (should you add forms in the future)     */
/* ====================================================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid #e8c867;
  font-size: 1rem;
  margin-bottom: 18px;
  background: #fcfaf5;
  box-shadow: 0 1px 4px 0 #f3f7f533;
  outline: none;
  transition: border-color .12s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #266964;
  box-shadow: 0 0 0 2px #e8c86744;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
}

/* ====================================================== */
/* LINKS & MICROTYPICAL HOVER EFFECTS                    */
/* ====================================================== */
a {
  position: relative;
}
a:not(.cta):not(.cookie-btn)::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #e8c867;
  transition: width .2s;
  position: absolute;
  bottom: -2px;
  left: 0;
}
a:not(.cta):not(.cookie-btn):hover::after,
a:not(.cta):not(.cookie-btn):focus::after {
  width: 100%;
}

a:active {
  color: #13453b;
}

/* ====================================================== */
/* COOKIE CONSENT BANNER                                 */
/* ====================================================== */
.cookie-consent-banner {
  position: fixed;
  z-index: 20000;
  width: 100vw;
  left: 0;
  bottom: 0;
  background: #266964;
  color: #fffdfa;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
  padding: 18px 8vw 18px 8vw;
  box-shadow: 0 -5px 24px 0 #00000042;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
  transition: transform 0.24s, opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-text {
  max-width: 420px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 18px;
    padding: 13px 8px;
    font-size: .98rem;
    align-items: flex-start;
  }
  .cookie-consent-banner .cookie-actions {
    gap: 9px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(38,105,100,0.77);
  z-index: 24000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fffdfa;
  color: #266964;
  border-radius: 18px;
  box-shadow: 0 6px 28px 0 #28544a81;
  padding: 36px 30px 28px 30px;
  max-width: 410px;
  min-width: 260px;
  margin: 28px auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  z-index: 24500;
  transform: translateY(0);
  transition: transform 0.18s;
  animation: pop-modal 0.26s cubic-bezier(.48,1.6,.4,1.27) 1;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 7px;
}
.cookie-modal-close {
  background: #e8c867;
  color: #13453b;
  font-size: 1.55rem;
  border-radius: 50%;
  align-self: flex-end;
  padding: 5px 13px 5px 13px;
  margin-top: -23px;
  margin-right: -22px;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #ffd11f;
  color: #266964;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  border-radius: 14px;
  background: #e8c867;
  position: relative;
  appearance: none;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-toggle:checked {
  background: #266964;
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(.77,0,.175,1);
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-category--disabled label {
  color: #989898!important;
  font-style:italic;
}
.cookie-category--disabled .cookie-toggle {
  background: #e4e4e4;
  cursor: default;
}

@keyframes pop-modal {
  0% { transform: scale(0.8) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* ====================================================== */
/* MICRO-ANIMATIONS & INTERACTIONS                       */
/* ====================================================== */
section, .section, .content-wrapper, .card, .testimonial-card {
  transition: box-shadow 0.18s, background 0.17s;
}
.card, .testimonial-card {
  will-change: transform, box-shadow;
}

.cta, .cookie-btn {
  transition: background 0.18s, color 0.18s, transform 0.13s;
}

/* Minor fade-in effect for main content */
main {
  animation: mainfadein 0.44s cubic-bezier(.6,-0.25,.18,1.25);
}
@keyframes mainfadein {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: none; }
}

/* Subtle hover up for list items */
ul li:hover, ol li:hover {
  background: #fcf7e6;
  border-radius: 9px;
  transition: background 0.13s;
}

/* ============ ARTISTIC/DECORATIVE ELEMENTS ============ */
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: -34px;
  top: -34px;
  width: 78px;
  height: 46px;
  background: url('../assets/paw-deco.svg') no-repeat center;
  background-size: contain;
  opacity: 0.12;
  z-index: 0;
}
@media (max-width: 600px) {
  .section::before {
    left: -14px;top: -18px;width: 33vw;height: 8vw;
  }
}
.section:last-of-type::before { display: none; }

/* Custom artistic fonts for certain headlines */
.text-section h3, .text-section h2, .section h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  letter-spacing: 0.04em;
  color: #13453b;
}

/* ===================== MISC ===================== */
::-webkit-scrollbar { width: 8px; background: #e8c86718; }
::-webkit-scrollbar-thumb { background: #e8c86772; border-radius:4px; }

/* ===================== A11Y ==================== */
:focus-visible {
  outline: 2px solid #e8c867;
  outline-offset: 2px;
}

/* End of style.css for TierZenit (Artistic/Creative) */
