/* ======= CSS RESET & BASE ========== */
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;
}
html { scroll-behavior: smooth; }

/* 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;
  font-family: 'Lato', Arial, sans-serif;
  color: #24485D;
  background: #fff;
  min-height: 100vh;
  font-size: 16px;
}
img { max-width: 100%; display: block; border: 0; }

ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
a:focus { outline: 2px solid #EDA18B; outline-offset: 2px; }


/* ======= BRAND COLORS & FONTS ========== */
:root {
  --primary: #24485D;           /* Deep blue */
  --secondary: #FFFFFF;
  --accent: #EDA18B;            /* Pastel orange/coral */
  --yellow: #FFE066;
  --cyan: #27C9E1;
  --green: #A0E28D;
  --pink: #FFB6D5;
  --shadow: 0 6px 24px 0 rgba(36, 72, 93, 0.11), 0 1.5px 4px 0 rgba(36, 72, 93, 0.04);

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Lato', Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  src: local('Playfair Display'), local('PlayfairDisplay-Bold');
}
@font-face {
  font-family: 'Lato';
  font-weight: 400;
  src: local('Lato'), local('Lato-Regular');
}


/* ====== STRUCTURE CLASSES & CONTAINERS ====== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.text-section {
  font-size: 1.08rem;
  color: #24485D;
  line-height: 1.7;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    justify-content: flex-start;
  }
}


/* ======= HEADER & NAVIGATION ====== */
header {
  background: var(--primary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  position: relative;
  min-height: 72px;
  box-shadow: 0 2px 16px 0 rgba(36, 72, 93, 0.09);
  z-index: 100;
}
header > a img {
  height: 48px;
  width: auto;
  display: block;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--secondary);
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.20s cubic-bezier(0.65,0,0.35,1), color 0.18s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--primary);
  background: var(--accent);
}

.cta.primary {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 13px 30px;
  border: none;
  border-radius: 26px;
  box-shadow: 0 2px 10px 0 rgba(185,105,73,0.08);
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.25s, color 0.20s, transform 0.20s;
  outline: none;
  letter-spacing: 0.03em;
  position: relative;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.055) rotate(-1deg);
  box-shadow: 0 4px 18px 0 rgba(237,161,139,0.19);
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary);
  border: 0;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
  z-index: 120;
  transition: background 0.26s, transform 0.17s;
  box-shadow: 0 2px 10px 0 rgba(237,161,139,0.14);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.1) rotate(5deg);
}

@media (min-width: 1025px) {
  .mobile-menu-toggle { display: none; }
}

/* Show mobile menu toggle only on small screens */
@media (max-width: 1024px) {
  header nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}


/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(36,72,93, 0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.40s cubic-bezier(0.86, 0, 0.07, 1);
  opacity: 0;
  pointer-events: none;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-close {
  background: none;
  color: var(--accent);
  font-size: 2.3rem;
  border: none;
  margin: 32px 0 18px 24px;
  cursor: pointer;
  transition: color 0.16s;
  align-self: flex-start;
  z-index: 2060;
  padding-bottom: 50px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-left: 38px;
  margin-top: 14px;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  padding: 12px 3px 12px 0;
  border-radius: 12px;
  transition: background 0.18s, color 0.21s, transform 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  transform: translateX(6px) scale(1.05) skewX(-3deg);
}

/* Hide mobile menu on desktop */
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}


/* ===== HERO SECTION / H1 ===== */
h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.13;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  text-shadow: 1.5px 3px 0 var(--yellow), 0.5px 1px 2px var(--accent), 0 2px 8px #EDA18B20;
  word-break: break-word;
}
@media (min-width: 600px) {
  h1 { font-size: 3.3rem; }
}
@media (min-width: 1025px) {
  h1 { font-size: 4rem; }
}

h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  text-shadow: 1.5px 3px 0 var(--accent), 0 1.5px 5px #EDA18B1D;
}
@media (min-width: 600px) {
  h2 { font-size: 2.3rem; }
}
@media (min-width: 1025px) {
  h2 { font-size: 2.8rem; }
}

h3 {
  font-family: var(--font-body);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 4px;
}

p, li, strong {
  font-family: var(--font-body);
  color: #24485D;
}
strong {
  font-weight: bold;
  color: #24485D;
}


/* ====== STANDARD LAYOUTS & FLEXBOX CONTAINERS ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border-radius: 20px;
  position: relative;
  padding: 24px 16px;
  transition: box-shadow 0.22s cubic-bezier(0.4,0,0.2,1), transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px 0 rgba(237,161,139,0.25);
  transform: translateY(-3px) scale(1.025) rotate(-0.4deg);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* UL LIS and Icon Highlights */
ul li, ol li {
  margin-bottom: 12px;
  padding-left: 0;
  font-size: 1.07rem;
  line-height: 1.7;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
ul li img {
  margin-right: 10px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px #EDA18B55) brightness(1.12);
  border-radius: 10px;
  background-color: var(--yellow);
  padding: 3px;
  animation: icon-pop 1.3s infinite alternate cubic-bezier(0.5, 1.7, 0.4, 1.2);
}
@keyframes icon-pop {
  0%   { transform: scale(1) rotate(-2deg); }
  100% { transform: scale(1.14) rotate(5deg); }
}


/* ====== TESTIMONIAL CARDS ======== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe0;
  border-radius: 22px;
  box-shadow: 0 3px 18px 0 #EDA18B29, 0 1.5px 5px 0 #24485d11;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  position: relative;
  min-width: 220px;
  max-width: 500px;
  width: 100%;
  color: #222;
  border-left: 8px solid var(--accent);
  transition: box-shadow 0.19s, transform 0.15s;
}
.testimonial-card .text-section {
  font-family: var(--font-body);
  font-style: italic;
  color: #222;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 9px 36px 0 #EDA18B55;
  transform: scale(1.018) skewY(-1.5deg);
  background: #fffaf5;
}
.testimonial-card div:last-child {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1rem;
  font-style: normal;
  margin-top: 4px;
  align-self: flex-end;
}
@media (min-width: 768px) {
  .content-wrapper > .testimonial-card {
    width: 47%;
    min-width: 320px;
  }
}


/* ========== FOOTER ============ */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 42px 20px 62px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 54px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -4px 24px 0 #24485d23;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  opacity: .92;
  border-radius: 10px;
  padding: 6px 11px;
  transition: background 0.19s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
footer .text-section {
  font-size: 1rem;
  opacity: .93;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 0;
  color: white;
}
footer .text-section img {
  height: 20px;
  width: auto;
  margin-right: 7px;
}

/* ========== BUTTONS & INTERACTIONS ========== */
.button, button, input[type=submit], .cta {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 24px;
  cursor: pointer;
  border: none;
  background: var(--accent);
  color: var(--primary);
  font-size: 1.13rem;
  padding: 14px 32px;
  box-shadow: 0 2px 12px 0 #EDA18B22;
  transition: background 0.22s, color 0.18s, transform 0.16s;
  margin-bottom: 6px;
  margin-top: 6px;
}
.button:hover, button:hover, .cta:hover, .cta:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.04) rotate(-1deg);
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff9f4;
  color: var(--primary);
  border-top: 4px solid var(--accent);
  box-shadow: 0 -4px 24px 0 #24485d22;
  z-index: 3000;
  padding: 18px 16px 18px 16px;
  font-family: var(--font-body);
  font-size: 1.10rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  animation: slideUpCookie 0.8s cubic-bezier(.25,1.7,.84,.94);
  opacity: 1;
  transition: opacity 0.28s;
}
@keyframes slideUpCookie {
  0%   { transform: translateY(100%); opacity: 0; }
  95% { transform: translateY(-8px); }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner.hide {
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
  align-items: center;
}
.cookie-btn {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  border-radius: 20px;
  border: none;
  padding: 10px 22px;
  margin: 0 6px 0 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  box-shadow: 0 2px 10px 0 #EDA18B13;
  transition: background 0.17s, color 0.14s, transform 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.05) rotate(-2deg);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  width:100vw;
  height:100vh;
  background: rgba(36,72,93, .82);
  z-index: 3070;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  transition: opacity 0.2s;
  opacity: 0;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff9f4;
  color: var(--primary);
  border-radius: 24px 24px 0 0;
  padding: 32px 22px 36px 22px;
  width: 95%;
  max-width: 420px;
  box-shadow: 0 -5px 36px 0 #EDA18B45;
  position: relative;
  animation: slideModalIn 0.39s cubic-bezier(.38,1.11,.67,1.03);
}
@keyframes slideModalIn {
  0% { transform: translateY(160px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  font-family: var(--font-display);
  margin-bottom: 19px;
  color: var(--primary);
  font-size: 1.25rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 17px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-toggle label {
  font-family: var(--font-body);
  font-weight: 500;
}
.cookie-toggle input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 19px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 19px;
  background: none;
  color: var(--primary);
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  opacity: .73;
  transition: opacity 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  opacity: 1;
}

/* ========== SPACING FOR MAIN & SECTIONS ========== */
main {
  padding-bottom: 58px;
  min-height: 68vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
section:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 600px) {
  section {
    padding: 22px 8px;
    border-radius: 16px;
    margin-bottom: 38px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ========== PLAYFUL & DYNAMIC ANIMATIONS ========== */
.cta.primary {
  animation: bounceIn 1.6s 1 cubic-bezier(.57,1.33,.77,0.92);
}
@keyframes bounceIn {
  0% { transform: scale(.7) translateY(42px); opacity: 0; }
  40% { transform: scale(1.09) translateY(-13px); opacity: 1; }
  70% { transform: scale(0.98) translateY(5px); }
  100% { transform: scale(1) translateY(0); }
}

h1 span, h2 span {
  display: inline-block;
  animation: colorPop 2s infinite alternate cubic-bezier(0.57, 2, 0.5, 1.1);
}
@keyframes colorPop {
  0% { color: var(--primary); }
  75% { color: var(--accent); text-shadow: 0 2px 8px #EDA18B42; }
  100% { color: var(--cyan); }
}


/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  header, footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  header > a img { height: 34px; }
  footer .text-section { font-size: .97rem; }
}


/* ========== MISC FORMS, INPUTS, INTERACTIVITY ========== */
input, textarea, select {
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
  margin-bottom: 12px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}


/* ========== ACCESSIBILITY ========== */
:focus-visible {
  outline: 3px solid var(--accent) !important;
  outline-offset: 2px;
}


/* ========== PLAYFUL EXTRAS ========== */
.card {
  background: #fffefd;
  border-top: 5px solid var(--cyan);
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 #27c9e122;
}
.card::after {
  content: '';
  display: block;
  position: absolute;
  right: 12px; bottom: 9px;
  width: 34px; height: 34px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: .18;
  z-index: 0;
  animation: floatDot 2.2s infinite alternate;
}
@keyframes floatDot {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-9px) scale(1.11); }
}


/* ========== PRINT SUPPORT ========== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  body, section, main { background: #fff !important; color: #222 !important; }
}
