/* ========================== */
/* CSS RESET & NORMALIZE 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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFEFCF;
  color: #205072;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.24s cubic-bezier(.77,0,.18,1);
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #205072;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.8rem; margin-bottom: 16px; line-height: 1.11; }
h2 { font-size: 2rem; margin-bottom: 16px; line-height: 1.13; }
h3 { font-size: 1.4rem; margin-bottom: 12px; line-height: 1.16; }
h4 { font-size: 1.15rem; }

p, li, address {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #205072;
  font-size: 1rem;
  line-height: 1.65;
}

strong { font-weight: 700; }

/* =============== */
/* BRAND COLORS    */
/* =============== */
:root {
  --color-primary: #205072;
  --color-secondary: #88A6A6;
  --color-accent: #FFEFCF;
  --color-fun1: #FAE539;
  --color-fun2: #FF7C6A;
  --color-success: #57CC99;
  --color-error: #E84646;
  --fun-shadow: 0 4px 20px 0 rgba(184, 255, 251, 0.18);
}

/* ============================ */
/* CONTAINER & LAYOUT STRUCTURE */
/* ============================ */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffbe9;
  border-radius: 32px;
  box-shadow: 0 6px 26px 0 rgba(32,80,114,0.09);
  position: relative;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
  align-items: flex-start;
}

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

.text-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.address-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 1.05em;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 24px; }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 18px 0 rgba(32,80,114,0.10);
  transition: box-shadow 0.23s cubic-bezier(.96,.03,.39,.97), transform 0.21s;
  padding: 24px 18px;
  min-width: 240px;
}
.card:hover {
  box-shadow: 0 8px 32px 2px rgba(32,80,114,0.20);
  transform: translateY(-4px) scale(1.025) rotate(-1.5deg);
}

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

/* ============================== */
/* HEADER & NAVIGATION STYLES     */
/* ============================== */
header {
  background: var(--color-primary);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  position: relative;
  z-index: 15;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 18px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 7px;
}

nav, .mobile-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
header nav a,
.mobile-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 8px 14px;
  border-radius: 18px;
  transition: background 0.2s, color 0.22s, box-shadow 0.21s;
}
header nav a:hover,
.mobile-nav a:hover {
  background: var(--color-fun1);
  color: var(--color-primary);
  box-shadow: 0 4px 16px 0 rgba(250,229,57,0.10);
}

/* Hide regular nav on mobile, show burger */
.mobile-menu-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  background: #fffbe9;
  color: var(--color-primary);
  border: none;
  border-radius: 14px;
  margin-left: 6px;
  cursor: pointer;
  z-index: 115;
  box-shadow: 0 1px 8px 0 rgba(250,229,57,0.14);
  transition: background 0.15s, color 0.22s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-fun1);
  color: #205072;
  outline: none;
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* ============= */
/* MOBILE MENU   */
/* ============= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250,229,57, 0.99);
  box-shadow: 0 1px 24px 1px #20507233;
  z-index: 1030;
  transform: translateX(100%);
  transition: transform 0.43s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 10px;
  padding: 7px 16px;
  align-self: flex-end;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px 0 rgba(32,80,114,0.13);
  cursor: pointer;
  transition: background 0.21s, color 0.21s;
}
.mobile-menu-close:hover {
  background: #FF7C6A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  background: #fffbe9;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.22rem;
  border-radius: 10px;
  padding: 14px 10px;
  box-shadow: 0 1px 12px 0 rgba(136,166,166,0.095);
  transition: background 0.16s, box-shadow 0.19s, color 0.18s;
  text-align: left;
}
.mobile-nav a:hover {
  background: var(--color-fun2);
  color: #fff;
  box-shadow: 0 5px 18px 2px #ff7c6a44;
}

/* =============== */
/* MAIN AND SECTIONS */
/* =============== */
main {
  margin-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (min-width: 750px) {
  section {
    padding-left: 0;
    padding-right: 0;
  }
}

/* =================== */
/* BUTTONS             */
/* =================== */
.button-primary, .mobile-nav .button-primary {
  background: linear-gradient(94deg,#FAE539 45%, #FF7C6A 100%);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  padding: 13px 32px;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 12px var(--color-fun2, #FF7C6A33);
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.20s, transform 0.13s;
  position: relative;
  z-index: 1;
}
.button-primary:hover,
.button-primary:focus {
  background: linear-gradient(94deg,#FF7C6A 45%, #FAE539 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 6px 22px -1px #FAE53944;
  outline: none;
}

/* =================== */
/* FLEXBOX CARD+LISTS  */
/* =================== */
ul, ol {
  margin-left: 0;
  margin-top: 0;
  padding-left: 0;
}
ul > li, ol > li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 0;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 10px;
}
ul > li img {
  height: 28px;
  width: 28px;
  margin-right: 6px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 10px;
  padding: 3px;
  box-shadow: 0 1px 6px #88A6A61b;
}
ol > li strong { color: #FF7C6A; margin-right: 5px; }

/* ================ */
/* TESTIMONIALS     */
/* ================ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFEFCF;
  color: #205072;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 #20507210;
  margin-bottom: 20px;
  min-width: 240px;
  border-left: 8px solid #FF7C6A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  position: relative;
  transition: box-shadow 0.21s, border-color 0.18s;
}
.testimonial-card strong {
  color: #205072;
  font-size: 1em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 #FF7C6A28, 0 2px 12px 0 #20507210;
  border-left-color: #FAE539;
}

@media (max-width: 700px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ================ */
/* FOOTER           */
/* ================ */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 32px 0 20px 0;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding-right: 8px;
  transition: color 0.2s;
}
footer nav a:hover { color: #FAE539; }
footer address {
  margin-top: 8px;
  color: #fff;
  font-style: normal;
  font-size: 0.99rem;
  opacity: 0.95;
}
footer img {
  height: 44px;
  width: auto;
}

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

/* ============ */
/* TYPOGRAPHY   */
/* ============ */
body, p, li, address {
  font-size: 1rem;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.38rem; }
h3 { font-size: 1.15rem; }

@media (min-width: 650px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.25rem; }
}

/* Fun/Playful font tweaks */
h1, h2, h3 {
  text-shadow: 1px 2px 0 #fafafa88, 0 4px 18px #ff7c6a11;
  letter-spacing: 0.03em;
}
h1 {
  background: linear-gradient(90deg, #fa3939, #FF7C6A);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: #205072;
  font-weight: 900;
  animation: bounceIn 1.0s cubic-bezier(.77,0,.18,1) 1;
}
@keyframes bounceIn {
  0%{ transform: scale(0.8) translateY(40px); opacity: 0.2; }
  75%{ transform: scale(1.07) translateY(-6px); opacity: 1; }
  100%{ transform: scale(1) translateY(0); opacity: 1; }
}

/* =================== */
/* INTERACTIONS        */
/* =================== */
.card, .testimonial-card, .button-primary {
  transition: transform 0.23s cubic-bezier(.85,.09,.33,1.13), box-shadow 0.28s, border-color 0.22s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98) rotate(1deg);
}
.card::before {
  content: '';
  display: block;
  position: absolute;
  top: -12px; left: -12px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #FAE539;
  opacity: 0.095;
  z-index: 0;
  pointer-events: none;
  animation: floatAnim 2s infinite cubic-bezier(.79,.06,.72,.86) alternate;
}
@keyframes floatAnim {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(5px) scale(1.04); }
}

/* =============== */
/* COOKIES BANNER  */
/* =============== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background: #FAE539;
  color: #205072;
  box-shadow: 0 -2px 18px -5px #20507236;
  z-index: 2000;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: slideInUp 0.66s cubic-bezier(.77,0,.18,1);
}
@keyframes slideInUp {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner button {
  border: none;
  border-radius: 18px;
  padding: 8px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05em;
  font-weight: 700;
  margin-right: 10px;
  background: #205072;
  color: #fff;
  box-shadow: 0 1px 8px #20507210;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.15s;
}
.cookie-banner button.accept {
  background: #57CC99;
}
.cookie-banner button.reject {
  background: #E84646;
}
.cookie-banner button.settings {
  background: #fff;
  color: #205072;
  border: 2px solid #88A6A6;
}
.cookie-banner button:hover {
  filter: brightness(1.16);
  box-shadow: 0 3px 24px #20507221;
}
/* =============== */
/* COOKIE MODAL     */
/* =============== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,80,114,0.09);
  z-index: 2050;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #FFEFCF;
  color: #205072;
  border-radius: 22px;
  box-shadow: 0 8px 40px #20507233;
  padding: 32px 28px 24px 28px;
  min-width: 260px;
  max-width: 95vw;
  font-size: 1.1em;
  animation: scaleInModal 0.44s cubic-bezier(.54,1.79,.44,1.01);
}
@keyframes scaleInModal {
  0%{ transform: scale(0.88) translateY(80px); opacity:0; }
  90%{ transform: scale(1.08) translateY(-4px); opacity:1; }
  100%{ transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h3 {
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fffbe9;
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 1px 6px #20507214;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #205072;
  margin-right: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  justify-content: flex-end;
}
.cookie-modal button,
.cookie-modal-actions button {
  padding: 8px 28px;
  border: none;
  border-radius: 14px;
  background: #FAE539;
  color: #205072;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px #20507219;
  transition: background 0.18s, box-shadow 0.17s;
}
.cookie-modal-actions button:hover {
  background: #FF7C6A;
  color: #fff;
}

/* =============== */
/* FORM ELEMENTS   */
/* =============== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 8px;
  border: 1.5px solid #88A6A6;
  padding: 7px 16px;
  margin-bottom: 14px;
  background: #fff;
  color: #205072;
  font-size: 1.04em;
  width: 100%;
  box-shadow: 0 1px 4px #20507210;
  transition: border 0.17s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #FF7C6A;
  box-shadow: 0 2px 10px #FF7C6A23;
}

/* ============= */
/* MISC          */
/* ============= */
::-webkit-scrollbar {
  width: 11px;
  background: #FFEFCF;
}
::-webkit-scrollbar-thumb {
  background: #FAE539;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF7C6A;
}

/* ============= */
/* RESPONSIVE    */
/* ============= */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
}
@media (max-width: 700px) {
  .section, section, .cookie-banner {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 14px;
  }
  .testimonial-card, .card {
    min-width: unset;
    font-size: .97em;
    padding: 14px 8px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.11rem; }
  h3 { font-size: 1rem; }
  .footer address, .footer nav, .footer .container {
    font-size: .97em;
  }
}

/* ============= */
/* ACCESSIBILITY */
/* ============= */
:focus-visible {
  outline: 2px dashed #FF7C6A;
  outline-offset: 3px;
}

/* ================ */
/* FUN MICRO ANIMS  */
/* ================ */
.button-primary, .cookie-banner button, .mobile-nav a {
  position: relative;
  overflow: hidden;
}
.button-primary::after, .cookie-banner button:active::after, .mobile-nav a:active::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0px;
  height: 0px;
  border-radius: 50%;
  background: #FAE539a4;
  opacity: 0.21;
  pointer-events: none;
  transform: translate(-50%,-50%);
  animation: ripple 0.48s;
}
@keyframes ripple {
  from { width: 0; height: 0; opacity: 0.23; }
  to { width: 180px; height: 180px; opacity: 0; }
}

/* Fun background circles */
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: -32px; top: -24px;
  width: 90px; height: 90px;
  background: #FF7C6A15;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: bgCircleFloat 2.8s infinite alternate cubic-bezier(.86,.10,0,1.00);
}
@keyframes bgCircleFloat {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(10px) scale(1.085); }
}

/* =============== */
/* PRINT           */
/* =============== */
@media print { 
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  section, .container, .content-wrapper {
    background: white !important;
    box-shadow: none !important;
    color: black !important;
  }
}
