/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  background: #fcfcfc;
  font-family: "Roboto", Arial, sans-serif;
  color: #263e50;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
}
a {
  color: #263e50;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #f7b32b;
}
ul,
ol {
  padding-left: 1.25em;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th,
td {
  border: 2px solid #e0e6f6;
  padding: 14px 10px;
  text-align: left;
  background: #fffeef;
  font-family: "Roboto", Arial, sans-serif;
}
th {
  background: #f7b32b;
  color: #263e50;
  font-size: 18px;
  font-weight: 700;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}
::-webkit-input-placeholder {
  color: #96a8b2;
}
::-moz-placeholder {
  color: #96a8b2;
}
:-ms-input-placeholder {
  color: #96a8b2;
}
::placeholder {
  color: #96a8b2;
}

/* COLOR VARIABLES & FONTS ======================================== */
:root {
  --primary: #263e50;
  --secondary: #f7b32b;
  --accent: #ffffff;
  --info: #66d2f7;
  --success: #27d35d;
  --danger: #f75c5c;
  --background: #fcfcfc;
  --alt1: #ffeeb2;
  --alt2: #dbf6fd;
  --gray: #f3f6f9;
  --shadow: 0 6px 24px rgba(38, 62, 80, 0.1);
  --radius: 19px;
  --card-radius: 17px;
  --transition: 0.25s cubic-bezier(0.71, 1.7, 0.77, 1.24);
  --font-display: "Montserrat", "Comic Sans MS", cursive, sans-serif;
  --font-body: "Roboto", Arial, sans-serif;
}

/* LAYOUT UTILS & CONTAINERS ====================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX LAYOUTS ================================================ */
.feature-grid,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--alt1);
  box-shadow: var(--shadow);
  border-radius: var(--card-radius);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  min-width: 210px;
}
.content-grid {
  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;
  background: var(--alt2);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(38, 62, 80, 0.09);
  color: #263e50;
  position: relative;
  min-height: 80px;
  animation: fadeInCard 1s cubic-bezier(0.58, 0.04, 0.49, 1.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@keyframes fadeInCard {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* TYPOGRAPHY ===================================================== */
h1,
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: -0.8px;
  line-height: 1.1;
}
.hero h1 {
  font-size: 2.15rem;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
  text-shadow: 0 2px 5px #fff4be66;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
  letter-spacing: 0.03em;
}
p,
li,
table,
th,
td {
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--primary);
}
.secondary-text {
  color: #636363;
  font-size: 15px;
  margin-top: 10px;
}
.testimonial-card p {
  color: #263e50;
  font-size: 17px;
  font-style: italic;
  font-family: var(--font-display);
}
.testimonial-meta {
  color: #268df7;
  font-style: normal;
  font-size: 15px;
  font-family: var(--font-body);
  margin-left: 20px;
}
.text-section {
  margin-bottom: 24px;
}

/* NAVIGATION & HEADER ============================================ */
header {
  background: var(--primary);
  color: var(--accent);
  position: relative;
  min-height: 65px;
  z-index: 50;
  box-shadow: 0 7px 24px -11px rgba(38, 62, 80, 0.08);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 18px;
}
.nav-bar img {
  width: 160px;
  min-width: 64px;
  height: auto;
  margin-right: 16px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  padding: 6px 17px;
  border-radius: 10px;
  position: relative;
  transition: color 0.17s, background 0.2s;
}
nav a:hover,
nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 6px 16px -7px #f7b32b70;
}
.cta-button {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 900;
  border: none;
  border-radius: 19px;
  padding: 13px 32px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 5px 20px -8px #f7b32b88;
  margin-left: 10px;
  transition: background 0.19s, color 0.17s,
    box-shadow 0.27s cubic-bezier(0.68, 1.8, 0.53, 0.39);
  text-align: center;
  outline: none;
  letter-spacing: 0.015em;
  position: relative;
}
.cta-button:hover,
.cta-button:focus {
  background: #ffe571;
  color: var(--primary);
  box-shadow: 0 8px 24px -7px #f7b32bcc;
  transform: scale(1.032) translateY(-2px) rotate(-1.8deg);
}

/* HERO SECTION =================================================== */
.hero {
  background: linear-gradient(90deg, #dbf6fd 40%, #fcfcfc 100%);
  border-bottom: 4px solid var(--secondary);
  box-shadow: 0 6px 22px -8px #9ce7f7;
  padding: 48px 0 40px 0;
  margin-bottom: 44px;
  position: relative;
  z-index: 5;
  min-height: 190px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}
.hero p {
  color: var(--primary);
  font-size: 1.23rem;
  margin-bottom: 14px;
  margin-top: -8px;
  font-family: var(--font-display);
}

/* FEATURES & CARDS =============================================== */
.feature-grid > div {
  flex: 1 1 210px;
  background: var(--alt1);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 17px 20px 17px;
  margin-bottom: 20px;
  min-width: 180px;
  min-height: 230px;
  transition: box-shadow 0.22s, transform 0.22s, background 0.21s;
  position: relative;
  overflow: hidden;
}
.feature-grid > div img {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 8px #ffe57188);
  transition: transform 0.3s;
}
.feature-grid > div:hover,
.feature-grid > div:focus {
  box-shadow: 0 14px 36px -14px #ffc1073c;
  background: #fffee9;
  transform: translateY(-7px) scale(1.025) rotate(-2deg);
}
.feature-grid > div:hover img {
  transform: scale(1.15) rotate(-16deg);
}

.card {
  background: #ffe571;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  min-width: 215px;
  margin-bottom: 20px;
  animation: fadeInCard 0.9s cubic-bezier(0.53, 0.31, 0.32, 1.63);
}

/* FAQ ============================================================ */
.faq-list h2 {
  color: var(--secondary);
  font-size: 1.21rem;
  font-weight: bold;
  margin-top: 24px;
  margin-bottom: 8px;
}
.faq-list ul {
  margin-bottom: 18px;
}

/* MAP PLACEHOLDER ================================================ */
.map-embed-placeholder {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff0c8;
  padding: 17px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-style: italic;
  box-shadow: 0 1px 7px #f7b32b22;
}

/* FOOTER ========================================================= */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 40px 0 20px 0;
  border-top: 6px solid var(--secondary);
  box-shadow: 0 -6px 22px -5px #d2dabf1a;
}
footer p {
  color: white;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}
.footer-nav img {
  width: 62px;
  height: auto;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
footer nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 16px;
  padding: 4.5px 0;
  border-radius: 0;
  background: none;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}

/* TABLES ========================================================= */
table {
  border-radius: 13px;
  overflow: hidden;
  background: #fffeef;
  box-shadow: 0 2px 8px #ffeb8e11;
}

/* BUTTONS & INTERACTIVE ========================================== */
button,
.cta-button {
  font-family: var(--font-display);
  transition: all 0.19s cubic-bezier(0.71, 1.7, 0.77, 1.24);
  cursor: pointer;
  outline: none;
}
button:active,
.cta-button:active {
  transform: scale(0.97) rotate(-2deg) translateY(1.5px);
}

/* MOBILE BURGER MENU ============================================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 16px;
  background: var(--secondary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  font-size: 2em;
  font-weight: bold;
  color: var(--primary);
  z-index: 100;
  box-shadow: 0 3px 18px -7px #f7b32bcc;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus {
  background: #ffeeb2;
  outline: 2px solid var(--secondary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38, 62, 80, 0.95);
  transform: translateX(100%);
  box-shadow: -4px 0 24px #263e5090;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.33s cubic-bezier(0.89, 1.6, 0, 0.98);
  will-change: transform;
  overflow-y: auto;
  padding: 0;
  gap: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 22px 0 0;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 13px;
  width: 44px;
  height: 44px;
  font-size: 1.5em;
  box-shadow: 0 4px 12px -2px #f7b32b99;
  transition: background 0.16s;
  cursor: pointer;
}
.mobile-menu-close:focus {
  background: #ffe571;
  outline: 2px solid var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  margin-left: 32px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.3rem;
  background: none;
  border-radius: 11px;
  padding: 12px 8px;
  transition: background 0.18s, color 0.15s;
  text-decoration: none;
}
.mobile-nav a:hover,
.mobile-nav a:active,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* COOKIE CONSENT BANNER ========================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbea;
  color: #263e50;
  box-shadow: 0 -5px 18px #f7b32b22;
  padding: 19px 18px 19px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  animation: slideUpBanner 0.7s;
}
@keyframes slideUpBanner {
  0% {
    transform: translateY(90px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-consent-banner .cookie-text {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}
.cookie-consent-banner .cookie-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 5px;
}
.cookie-consent-banner button {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 14px;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  transition: background 0.15s, box-shadow 0.2s, color 0.13s;
  box-shadow: 0 2px 9px -2px #f7b32baa;
}
.cookie-consent-banner .cookie-reject {
  background: #ffeeb2;
  color: #6d5410;
}
.cookie-consent-banner .cookie-settings {
  background: #dbf6fd;
  color: #14707e;
}
.cookie-consent-banner button:focus {
  outline: 2px solid var(--secondary);
  background: #ffe571;
}

/* COOKIE PREFERENCES MODAL ======================================= */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38, 62, 80, 0.6);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cookie-modal {
  background: #fffbea;
  color: var(--primary);
  border-radius: 20px;
  box-shadow: 0 9px 30px #f7b32b26;
  max-width: 440px;
  width: 90vw;
  padding: 38px 26px 32px 26px;
  position: relative;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: floatIn 0.5s cubic-bezier(0.45, 1.7, 0.25, 0.95);
}
@keyframes floatIn {
  0% {
    transform: scale(0.92) translateY(50px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 9px;
  color: var(--secondary);
}
.cookie-modal .cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 46px;
  height: 24px;
  background: #dddddd;
  border-radius: 14px;
  position: relative;
  outline: none;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .cookie-switch:checked {
  background: #dbf6fd;
}
.cookie-modal .cookie-switch:before {
  content: "";
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
}
.cookie-modal .cookie-switch:checked:before {
  left: 24px;
  background: #68d3f7;
}
.cookie-modal .cookie-category-name {
  font-size: 16px;
  font-weight: bold;
  color: #263e50;
}
.cookie-modal .cookie-essential {
  color: #27d35d;
  font-weight: bold;
  font-size: 15px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.cookie-modal .cookie-modal-close {
  background: #f7b32b;
  color: #263e50;
  border: none;
  border-radius: 12px;
  padding: 8px 17px;
  font-family: var(--font-display);
  font-weight: bold;
  cursor: pointer;
}

/* ELEMENT SPACING ================================================ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 24px;
}
ul li:not(:last-child),
ol li:not(:last-child) {
  margin-bottom: 6px;
}

/* TABLE RESPONSIVE =============================================== */
@media (max-width: 900px) {
  table,
  th,
  td {
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  table,
  th,
  td {
    font-size: 14px;
    padding: 8px 5px;
    min-width: 62px;
  }
  .content-wrapper {
    max-width: 99vw;
    padding: 0 5px;
  }
}

/* RESPONSIVE DESIGN ============================================== */
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
}
@media (max-width: 899px) {
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .feature-grid {
    gap: 16px;
  }
  .card-container,
  .content-grid {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .nav-bar nav {
    display: none;
  }
  .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
  }
  .hero {
    padding-top: 30px;
    padding-bottom: 22px;
  }
  h1,
  .hero h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 430px) {
  h1,
  .hero h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.07rem;
  }
  .cookie-modal {
    padding: 13vw 3vw 9vw 3vw;
  }
  .cookie-modal .cookie-modal-actions {
    flex-direction: column;
    gap: 6px;
  }
}

/* PLAYFUL, DYNAMIC ANIMATIONS ==================================== */
.feature-grid > div {
  animation: popIn 0.94s cubic-bezier(0.21, 2.04, 0.37, 0.84);
}
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.91) rotate(3deg);
  }
  60% {
    transform: scale(1.06) rotate(-2deg);
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.cta-button {
  animation: ctaBounce 2.9s infinite cubic-bezier(0.75, 2.13, 0.23, 0.67)
    alternate;
}
@keyframes ctaBounce {
  0% {
    box-shadow: 0 5px 20px -8px #f7b32b88;
  }
  46% {
    transform: scale(1.036) translateY(-3px) rotate(-2deg);
    box-shadow: 0 8px 22px -7px #f7b32bcc;
  }
  100% {
    transform: none;
    box-shadow: 0 5px 20px -8px #f7b32b88;
  }
}

/* MISC PLAYFUL TOUCHES =========================================== */
.feature-grid > div:after {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: absolute;
  bottom: 13px;
  right: 20px;
  background: #f7b32b44;
  z-index: 0;
  pointer-events: none;
  opacity: 0.47;
}
.feature-grid > div:nth-child(2):after {
  background: #69d2f7cc;
  right: 15px;
  opacity: 0.21;
}
.feature-grid > div:nth-child(3):after {
  background: #27d35d44;
  bottom: 5px;
  right: 23px;
}

h1,
h2,
h3,
.cta-button {
  text-shadow: 0 2px 5px #f7b32b13;
}

/* Accessibility: Focus styles */
a:focus,
button:focus,
.cta-button:focus {
  outline: 2.5px solid #f7b32b;
  outline-offset: 1.5px;
  background: #fffeef;
  color: var(--primary);
}

/* END */
