/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff8f6;
  color: #30475E;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
ul {
  padding-left: 20px;
}
a {
  color: #30475E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FA6A14;
  text-decoration: underline;
}
button {
  outline: none;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #223049;
  line-height: 1.25;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
strong {
  color: #223049;
  font-weight: bold;
}

/* BRAND COLORS & PASTEL ACCENTS */
:root {
  --brand-primary: #223049;
  --brand-secondary: #F2F2F2;
  --brand-accent: #FA6A14;
  --brand-accent-soft: #FA8241;
  --pastel-pink: #FFEEF2;
  --pastel-peach: #FFF5EA;
  --pastel-blue: #EAF4FE;
  --pastel-green: #EAFBF3;
  --pastel-lavender: #f3f3fa;
  --pastel-yellow: #FFFBE3;
}

/* ===============
   LAYOUT & CONTAINER
   =============== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* =======================
   HEADER & NAVIGATION
   ======================= */
header {
  background: linear-gradient(90deg, var(--pastel-blue), var(--pastel-peach) 70%);
  box-shadow: 0 2px 12px 0 rgba(50,90,170,0.03);
  padding: 0 0 0 0;
  min-height: 70px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
header img {
  max-height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0px;
  border-radius: 6px;
  color: #223049;
  transition: background 0.16s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FA6A14;
  background: var(--pastel-peach);
}
.btn-primary {
  background: linear-gradient(90deg, #fa8241, #fa6a14 90%);
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 12px 28px;
  border-radius: 28px;
  margin-left: 18px;
  box-shadow: 0 2px 16px 0 rgba(227,125,54, 0.07);
  border: none;
  outline: none;
  transition: transform 0.13s, background 0.17s, box-shadow 0.14s;
  z-index: 2;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #fa6a14, #fa8241 90%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 32px 0 rgba(250,106,20,0.13);
}
.btn-secondary {
  background: #fff;
  color: #fa6a14;
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 32px;
  border-radius: 24px;
  border: 2px solid #fa6a14;
  margin-top: 10px;
  box-shadow: 0 1px 8px 0 rgba(250,106,20,0.07);
  transition: background 0.14s, color 0.13s, border 0.13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #fa6a14;
  color: #fff;
  border-color: #fa8241;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  padding: 0 12px;
  background: none;
  color: #30475E;
  border-radius: 5px;
  transition: background 0.14s, color 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-blue);
  color: #fa6a14;
}

/* ====================
   MOBILE BURGER MENU
   ==================== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #FFEEF2;
  box-shadow: 0 6px 32px 8px rgba(45,32,46,0.09);
  z-index: 1001;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 20px 20px 20px;
}
.mobile-menu.open {
  transform: translateX(0vw);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #FFD6AF;
  color: #223049;
  font-size: 2rem;
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 0 14px;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fa6a14;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #223049;
  padding: 15px 6px 15px 6px;
  border-radius: 10px;
  transition: background 0.14s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FA8241;
  color: #fff;
}

/* =============
   HERO SECTION
   ============= */
.hero, .news-hero, .contact-hero {
  background: linear-gradient(120deg, var(--pastel-peach), var(--pastel-blue) 90%);
  border-radius: 0 0 60px 60px / 0 0 16px 16px;
  box-shadow: 0 6px 38px 0 rgba(50,90,150,0.03);
  margin-bottom: 60px;
  padding: 60px 20px 40px 20px;
  display: flex;
  align-items: center;
}
.hero h1, .news-hero h1, .contact-hero h1 {
  font-size: 2.3rem;
  color: #223049;
  margin-bottom: 18px;
}
.hero p, .contact-hero p {
  font-size: 1.13rem;
  color: #4A6383;
  margin-bottom: 24px;
}

/* ===============
   SECTION SPACING
   =============== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 18px 0 rgba(234,180,120,0.07);
}

@media (max-width: 900px) {
  section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
}

/* ================
   FLEX UTILITIES
   ================ */
.card-container, .feature-grid, .category-grid, .content-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--pastel-lavender);
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(87,114,234,0.04);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px 18px 20px;
}
.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: flex-start;
  gap: 18px;
  padding: 20px 24px 20px 24px;
  margin-bottom: 20px;
  border-radius: 17px;
  background: #fffbe3;
  box-shadow: 0 3px 18px 0 rgba(228,160,90,0.09);
  color: #223049;
  font-size: 1.12rem;
  transition: box-shadow 0.22s, transform 0.13s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 36px 0 rgba(250,106,20,0.13);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================
   FEATURE GRID & CARDS
   ================ */
.feature-grid > div, .category-card {
  background: #EAF4FE;
  border-radius: 13px;
  padding: 22px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 210px;
  box-shadow: 0 2px 14px 0 rgba(90,170,250,0.07);
  transition: box-shadow 0.2s, transform 0.16s;
  margin-bottom: 20px;
}
.category-card {
  background: #FFF5EA;
  box-shadow: 0 2px 13px 0 rgba(250,132,65,0.07);
}
.feature-grid > div:hover, .category-card:hover {
  box-shadow: 0 4px 32px 0 rgba(250,132,65,0.09);
  transform: translateY(-3px) scale(1.04);
}
.feature-grid img, .category-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.feature-grid h3, .category-card h3 {
  font-size: 1.13rem;
  margin-bottom: 8px;
  color: #223049;
}

/* ===============
   TIPS, USP, NEWS
   =============== */
.tips ul, .usp ul, .news-list ul, .guide-list ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}
.tips li, .usp li, .news-list li, .guide-list li {
  padding: 18px 18px 16px 22px;
  background: #EAFBF3;
  border-radius: 11px;
  color: #30475E;
  font-size: 1.06rem;
  box-shadow: 0 2px 10px 0 rgba(65,230,180,0.05);
  transition: box-shadow 0.16s, transform 0.12s;
}
.tips li strong, .usp li strong, .news-list li strong, .guide-list li strong {
  color: #fa6a14;
  font-weight: 700;
}

.tips li:hover, .usp li:hover, .news-list li:hover, .guide-list li:hover {
  box-shadow: 0 6px 24px 0 rgba(60,130,250,0.12);
  transform: translateY(-2px);
}

/* ================
   CTA SECTION
   ================ */
.cta {
  background: linear-gradient(90deg, #FAF3E7 30%, #EAF4FE 100%);
  text-align: center;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px 40px 20px;
  box-shadow: 0 5px 34px 0 rgba(250,132,65,0.04);
}
.cta h2 {
  font-size: 1.6rem;
  color: #223049;
  margin-bottom: 18px;
}
.cta .btn-primary {
  margin: 0 auto;
  display: inline-block;
}

/* ================
   FOOTER
   ================ */
footer {
  background: #F2F2F2;
  padding: 48px 0 24px 0;
  color: #223049;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 48px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #223049;
  transition: color 0.14s;
  font-size: 1.01rem;
  margin-bottom: 3px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FA6A14;
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  width: 55px;
  height: 55px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-social a img {
  width: 27px;
  height: 27px;
  filter: grayscale(0.35);
  opacity: 0.82;
  transition: filter 0.17s, opacity 0.13s, transform 0.13s;
}
.footer-social a:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.13);
}

/* ================
   OTHER UTILS
   ================ */
.text-section p {
  margin-bottom: 17px;
  font-size: 1.07rem;
  color: #30475E;
}
.text-section img {
  width: 21px;
  height: 21px;
  vertical-align: middle;
  margin-right: 7px;
}

/* =============
   COOKIE BANNER
   ============= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: #fffbe3;
  box-shadow: 0 -2px 18px 0 rgba(250,132,65,0.09);
  padding: 24px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  transition: transform 0.35s, opacity 0.22s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-message {
  color: #223049;
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.56;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.btn-cookie-accept, .btn-cookie-reject, .btn-cookie-settings {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 10px 19px;
  border-radius: 20px;
  font-size: 1.01rem;
  margin: 0 1px;
  box-shadow: 0 1px 2px 0 rgba(250,132,65,0.04);
  transition: background 0.13s, color 0.13s, border 0.12s;
}
.btn-cookie-accept {
  background: #fa6a14;
  color: #fff;
  border: none;
}
.btn-cookie-accept:hover, .btn-cookie-accept:focus {
  background: #fa8241;
  color: #fff;
}
.btn-cookie-reject {
  background: #fff;
  color: #fa6a14;
  border: 2px solid #fa6a14;
}
.btn-cookie-reject:hover, .btn-cookie-reject:focus {
  background: #fa6a14;
  color: #fff;
}
.btn-cookie-settings {
  background: #EAF4FE;
  border: 2px solid #fa8241;
  color: #fa6a14;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #fa8241;
  color: #fff;
  border-color: #fa6a14;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20000;
  width: 100vw;
  height: 100vh;
  background: rgba(34,48,73,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fffbe3;
  border-radius: 26px;
  max-width: 430px;
  width: 94vw;
  box-shadow: 0 8px 38px 0 rgba(250,132,65,0.14);
  padding: 32px 32px 27px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  position: relative;
  animation: cookiePopIn 0.32s cubic-bezier(.77,0,.18,1);
}
@keyframes cookiePopIn {
  0% {
    transform: scale(0.93) translateY(50px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0px);
    opacity: 1;
  }
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #223049;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1.08rem;
  color: #223049;
  font-weight: 500;
  cursor: pointer;
}
.cookie-toggle {
  position: relative;
  width: 46px;
  height: 26px;
  background: #EAFBF3;
  border-radius: 26px;
  margin-right: 4px;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 46px;
  height: 26px;
  margin: 0;
}
.cookie-toggle span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: #fa6a14;
  border-radius: 50%;
  transition: left 0.17s, background 0.13s;
  z-index: 1;
}
.cookie-toggle input:checked + span {
  left: 22px;
  background: #fa8241;
}
.cookie-toggle input:disabled + span {
  background: #d3d3d3;
}
.btn-cookie-save {
  background: #fa8241;
  color: #fff;
  font-weight: 600;
  border-radius: 18px;
  padding: 12px 20px;
  border: none;
  transition: background 0.13s;
}
.btn-cookie-save:hover,
.btn-cookie-save:focus {
  background: #fa6a14;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 17px;
  font-size: 1.5rem;
  background: none;
  color: #223049;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 0 9px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fa6a14;
  color: #fff;
}

/* ==============
   MEDIA QUERIES
   ============== */
@media (max-width: 1060px) {
  .main-nav {
    gap: 13px;
    font-size: 0.97rem;
  }
  .footer-nav {
    gap: 21px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  footer .container {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    font-size: 1rem;
    padding: 12px 16px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 8px;
    padding: 0 8px;
  }
  .feature-grid, .category-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  section {
    padding: 22px 5px;
  }
  .footer-contact, .footer-brand {
    font-size: 0.95rem;
  }
}
@media (max-width: 600px) {
  .hero, .news-hero, .contact-hero {
    padding: 37px 5px 25px 5px;
    margin-bottom: 36px;
    border-radius: 0 0 28px 28px / 0 0 8px 8px;
  }
  .footer-brand img {
    width: 37px;
    height: 37px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px 7px;
  }
  .cookie-banner-message {
    font-size: 0.98rem;
  }
}

/* ============
   MICRO-ANIMATIONS
   ============ */
.btn-primary, .btn-secondary, .btn-cookie-accept, .btn-cookie-reject, .btn-cookie-settings, .btn-cookie-save {
  transition: background 0.13s, color 0.13s, transform 0.14s, border 0.13s;
}
.card, .feature-grid > div, .category-card, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.12s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 33px 0 rgba(90,170,250,0.13);
  transform: scale(1.017);
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.96);
}
@media (pointer: fine) {
  .btn-primary:hover { filter: brightness(1.04); }
  .btn-secondary:hover { filter: brightness(1.04); }
}

/* ============
   ACCESSIBILITY
   ============ */
:focus {
  outline: 2px solid #fa6a14;
  outline-offset: 2px;
}


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