/* --- 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; font-size: 100%; font: inherit; vertical-align: baseline;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body { line-height: 1; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button { all: unset; cursor: pointer; }
:focus { outline: 2px dashed #1597BB; outline-offset: 2px; }

/* --- BRAND COLORS & FONTS --- */
:root {
  --color-primary: #133B5C;
  --color-secondary: #1597BB;
  --color-accent: #F2F2F2;
  --color-dark: #1E1E1E;
  --color-white: #fff;
  --color-pink: #FF6489;
  --color-yellow: #FFE156;
  --color-purple: #9356DC;
  --color-green: #39D98A;
  --color-orange: #FFAC41;
  /* Playful accents */
  --box-radius: 18px;
  --shadow-base: 0 4px 24px rgba(19,59,92,0.09), 0 2px 8px rgba(21,151,187,0.08);
  --shadow-card: 0 8px 24px rgba(21,151,187,0.13);
  --transition-main: .28s cubic-bezier(.66,.12,.1,.96);
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  background-color: var(--color-accent);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 1.6rem; margin-bottom: 18px; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
h4, h5, h6 { font-weight: 700; }
p, ul, li, blockquote { font-size: 1rem; }
strong { font-weight: 700; color: var(--color-dark); }
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-secondary);
  background: var(--color-white);
  border-left: 6px solid var(--color-pink);
  border-radius: var(--box-radius);
  padding: 18px 24px;
  margin: 20px 0;
  position: relative;
}
blockquote:before {
  content: '\201C';
  font-size: 2.5rem;
  color: var(--color-purple);
  position: absolute;
  left: 14px;
  top: 12px;
  opacity: 0.14;
}
ul {
  margin-left: 14px;
  margin-bottom: 12px;
}
ul li {
  margin-bottom: 7px;
  position: relative;
  padding-left: 24px;
}
ul li::before {
  content: "\2022";
  color: var(--color-yellow);
  font-weight: 900;
  font-size: 1.3em;
  position: absolute;
  left: 0;
  top: 4px;
}

/* --- CONTAINER & WRAPPERS --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 230px;
  transition: transform var(--transition-main), box-shadow var(--transition-main);
}
.card:hover {
  transform: translateY(-7px) scale(1.03) rotate(-1deg);
  box-shadow: 0 12px 34px rgba(147,86,220,0.11), 0 2px 8px rgba(57,217,138,0.11);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px;
  gap: 12px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-grid, .features-grid, .testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.features-grid > div {
  background: var(--color-white);
  border-radius: var(--box-radius);
  padding: 24px 18px;
  box-shadow: var(--shadow-base);
  text-align: center;
  transition: transform var(--transition-main), box-shadow var(--transition-main);
  min-width: 200px;
  flex: 1 1 180px;
}
.features-grid > div:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 10px 24px rgba(147,86,220,0.13);
}
.features-grid img {
  height: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 6px var(--color-yellow));
  transition: filter .15s;
}
.features-grid > div:hover img {
  filter: drop-shadow(0 2px 12px var(--color-pink));
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: 25px 8px 30px 8px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 270px;
  color: var(--color-dark);
}
.testimonial-card blockquote {
  color: var(--color-secondary);
  background: transparent;
  border-radius: 0;
  border-left: 4px solid var(--color-pink);
  padding: 12px 10px 12px 20px;
  font-size: 1.05rem;
  margin: 0;
}
.testimonial-card p { color: var(--color-primary); font-size: 1rem; }

.address-map {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-accent);
  border-radius: 18px;
  padding: 16px 24px;
  box-shadow: var(--shadow-base);
  margin-bottom: 24px;
  font-size: 1rem;
}
.address-map img { height: 38px; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}
.contact-info img {
  filter: drop-shadow(0 2px 6px var(--color-purple));
  margin-right: 10px;
  vertical-align: middle;
  width: 22px;
  height: 22px;
}

.trust-badges {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  justify-content: flex-start;
  align-items: center;
}
.trust-badges img {
  height: 38px;
  border-radius: 50%;
  background: var(--color-yellow);
  padding: 7px;
  box-shadow: 0 2px 8px rgba(255,172,65,0.12);
}

/* --- HERO --- */
.hero {
  margin-bottom: 60px;
  padding: 48px 0;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 34px rgba(21,151,187,0.09);
  animation: heroPulse 1.8s cubic-bezier(.36,1.12,.6,.99);
}
.hero .container { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1, .hero p { color: var(--color-white)!important; }
.hero h1 { font-size: 2.5rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 28px; }
.hero .cta-primary {
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 1.08rem;
}
@keyframes heroPulse {
  0% { opacity: 0; transform: translateY(-28px) scale(.95); }
  45% { opacity: .6; }
  100% { opacity: 1; transform: none; }
}

/* --- CTA BUTTONS --- */
.cta-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-yellow);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  border: 0;
  border-radius: 30px 13px 28px 13px;
  box-shadow: 0 2px 16px rgba(255,100,137,0.14);
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background var(--transition-main), color .19s, box-shadow var(--transition-main), transform .17s;
  margin-top: 18px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-pink);
  color: var(--color-white);
  box-shadow: 0 5px 32px rgba(255,225,86,0.15);
  transform: scale(1.05) rotate(-1deg);
}

/* --- NAVIGATION --- */
header {
  background: var(--color-white);
  box-shadow: 0 2px 13px rgba(19,59,92,0.11);
  z-index: 50;
  position: sticky;
  top: 0;
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 18px;
}
header img {
  height: 48px;
  transition: filter .22s;
}
header a:hover > img {
  filter: brightness(1.24);
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 20px;
  padding: 9px 14px;
  transition: background .15s, color .19s, transform .14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-pink);
  color: var(--color-white);
  transform: scale(1.1) rotate(-3deg);
}
.main-nav .cta-primary {
  background: var(--color-yellow);
  color: var(--color-primary);
  padding: 9px 26px;
  font-size: 1.06rem;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--color-secondary);
  background: var(--color-yellow);
  border-radius: 60px;
  padding: 8px 16px;
  z-index: 102;
  position: fixed;
  right: 24px; top: 18px;
  box-shadow: 0 2px 9px rgba(21,151,187,0.13);
  transition: background .16s, color .22s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-pink);
  color: white;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: var(--color-accent);
  box-shadow: 0 2px 32px rgba(19,59,92,0.18);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform .34s cubic-bezier(.5,1.2,.7,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: none;
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--color-secondary);
  background: var(--color-yellow);
  border-radius: 48px;
  padding: 8px 16px;
  margin: 18px 18px 12px 18px;
  align-self: flex-end;
  box-shadow: 0 2px 9px rgba(255,100,137,0.13);
  transition: background .16s, color .22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-pink);
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding-left: 40px;
  padding-right: 14px;
  margin-top: 16px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  background: var(--color-white);
  border-radius: 20px;
  padding: 12px 24px;
  transition: background .13s, color .18s, transform .11s;
  margin-right: 18px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pink);
  color: var(--color-white);
  transform: scale(1.09) rotate(-2deg);
}

@media (max-width: 1020px) {
  .main-nav { gap: 13px; }
  .features-grid > div { min-width: 150px; }
}
@media (max-width: 900px) {
  .container { padding: 0 7px; }
  .main-nav a { font-size: .96rem; padding: 7px 8px; }
  .card, .features-grid > div, .testimonial-card { min-width: 160px; }
}
@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .container { padding: 0 2vw; }
  .features-grid, .card-container, .testimonials-grid { flex-direction: column; gap: 20px; }
  .features-grid > div, .card, .testimonial-card { flex: 1 1 100%; min-width: 0; }
  .content-wrapper, .text-section { gap: 13px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .hero h1 { font-size: 1.64rem; }
  .hero { padding: 32px 0; }
}
@media (max-width: 480px) {
  .section { padding: 24px 2vw; }
  .card-content { padding: 16px 5vw; }
  .address-map { flex-direction: column; gap: 10px; padding: 12px 8px; font-size: .99rem; }
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 36px 0 26px 0;
  border-radius: 40px 40px 0 0;
  margin-top: 70px;
  box-shadow: 0 -7px 28px rgba(19,59,92,0.07);
}
footer > .container {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-nav, .footer-brand, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-nav {
  flex: 1 1 160px;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.01rem;
  padding: 6px;
  border-radius: 8px;
  transition: color .14s, background .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-pink);
  background: var(--color-white);
}
.footer-brand {
  align-items: center;
  gap: 6px;
}
.footer-brand img {
  height: 36px;
  border-radius: 19px;
  background: var(--color-accent);
  padding: 4px;
  box-shadow: 0 2px 9px rgba(21,151,187,0.07);
}
.footer-brand span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-yellow);
}
.footer-legal {
  flex: 2 1 220px;
  gap: 9px;
  font-size: .97rem;
  color: var(--color-accent);
  margin-top: 7px;
}
@media (max-width: 800px) {
  footer > .container { flex-direction: column; gap: 18px; align-items: center; }
  .footer-legal { max-width: 98vw; text-align: center; }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  width: 100%;
  padding: 24px 18px;
  background: var(--color-white);
  box-shadow: 0 -4px 26px rgba(19,59,92,0.12);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  border-radius: 16px 16px 0 0;
  opacity: 1;
  transition: opacity .26s, transform .27s;
  animation: cookiePop .5s cubic-bezier(.7,.82,.36,1.16);
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
@keyframes cookiePop {
  0% { opacity: 0; transform: translateY(70px); }
  100% { opacity: 1; transform: none; }
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--color-primary);
  flex: 1 1 240px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 17px 9px 16px 9px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: var(--color-yellow);
  color: var(--color-primary);
  margin-right: 3px;
  transition: background .16s, color .13s, transform .13s;
  box-shadow: 0 2px 9px rgba(21,151,187,0.08);
}
.cookie-btn.accept {
  background: var(--color-green);
  color: var(--color-white);
}
.cookie-btn.reject {
  background: var(--color-pink);
  color: var(--color-white);
}
.cookie-btn.settings {
  background: var(--color-purple);
  color: var(--color-white);
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: scale(1.07) rotate(-2deg);
  background: var(--color-secondary);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(19,59,92,0.22);
  z-index: 305;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .22s;
}
.cookie-modal-backdrop.hidden { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: var(--color-accent);
  padding: 30px 30px 24px 30px;
  border-radius: 24px;
  max-width: 370px;
  box-shadow: 0 8px 32px rgba(21,151,187,0.18);
  animation: modalAppear .33s cubic-bezier(.7,.82,.36,1.16);
  position: relative;
}
@keyframes modalAppear {
  0% { opacity: 0; transform: translateY(-50px) scale(.93); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-secondary);
  font-size: 1.32rem;
  margin-bottom: 14px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.cookie-modal .category.essential label {
  color: var(--color-green);
  font-weight: 700;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 18px; height: 18px;
  margin-right: 5px;
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 1.2rem;
  background: var(--color-yellow);
  border-radius: 50%;
  padding: 5px 10px;
  color: var(--color-secondary);
  transition: background .14s, color .15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--color-pink);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-modal { width: 95vw; max-width: none; padding: 18px 8vw; }
  .cookie-banner { padding: 18px 4vw; gap: 18px; flex-direction: column; align-items: flex-start; }
}

/* --- PLAYFUL ANIMATIONS & MICRO-INTERACTIONS --- */
.features-grid > div, .card, .testimonial-card, .cta-primary, .cookie-btn {
  transition: transform .21s cubic-bezier(.7,.15,.17,1.1), box-shadow .18s;
}
.card:hover, .features-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 38px rgba(255,172,65,0.12), 0 2px 6px rgba(57,217,138,0.10);
  transform: scale(1.035) rotate(-1deg);
}
.testimonial-card:hover {
  transform: scale(1.04) rotate(1.5deg);
}
.testimonial-card strong { color: var(--color-pink); }

/* --- Misc --- */
a {
  transition: color .17s, background .16s;
}
a:active { opacity: .83; }

::-webkit-scrollbar {
  width: 10px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-yellow);
  border-radius: 9px;
}

/* Utility */
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-18 { margin-top: 18px !important; }
.mb-18 { margin-bottom: 18px !important; }

/* --- FORM STYLES (if any form is present) --- */
input, textarea, select {
  font-family: inherit;
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: 11px;
  border: 1.5px solid var(--color-secondary);
  font-size: 1rem;
  background: var(--color-accent);
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-pink);
}

/* --- ERROR & SUCCESS MESSAGES --- */
.success-msg {
  background: var(--color-green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.error-msg {
  background: var(--color-pink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* --- Z-INDEX SAFE --- */
header { z-index: 50; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 300; }
.cookie-modal-backdrop { z-index: 305; }

/* --- END --- */
