/* ====================================================== */
/* Reset & Normalize (Mobile-first)                       */
/* ====================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F9F9;
  color: #2D3540;
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,svg {
  max-width: 100%;
  display: block;
}
ul,ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #384F7D;
  outline-offset: 2px;
}

/* ===================== Brand + Scandinavian Clean ===================== */
:root {
  --color-primary: #384F7D;
  --color-secondary: #EFCA50;
  --color-accent: #F4F9F9;
  --color-on-primary: #fff;
  --color-body: #2D3540;
  --color-muted: #96A1B2;
  --border-radius: 16px;
  --shadow-card: 0 2px 12px 0 rgba(56,79,125,0.07);
  --shadow-hover: 0 4px 18px 0 rgba(56,79,125,0.16);
  --transition-main: 0.22s cubic-bezier(.25,.85,.5,1.15);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #384F7D;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.23;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 14px;
}
.subheadline {
  font-size: 1.05rem;
  color: #60709b;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  font-weight: 700;
  color: #384F7D;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===================== Header & Nav ====================== */
header {
  background: var(--color-accent);
  box-shadow: 0 2px 8px rgba(56,79,125,0.02);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  color: #384F7D;
  transition: background var(--transition-main), color var(--transition-main);
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.cta-btn {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-radius: 30px;
  padding: 12px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  box-shadow: var(--shadow-card);
  transition: background var(--transition-main), box-shadow var(--transition-main), transform var(--transition-main);
  margin-left: 18px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.028);
}

/* ============ Hamburger Mobile Nav Button ============= */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  margin-left: 12px;
  box-shadow: 0 2px 10px rgba(56,79,125,0.07);
  transition: background 0.2s;
  z-index: 1041;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

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

/* ============= Mobile Menu Overlay ============= */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #F4F9F9;
  box-shadow: 0 7px 32px 0 rgba(56,79,125,0.09);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.42,.17,.18,.78);
  padding: 32px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--color-primary);
  background: none;
  margin-bottom: 16px;
  border-radius: 50%;
  line-height: 1;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  justify-content: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  background: none;
  color: #384F7D;
  padding: 13px 0;
  border-radius: 0;
  display: block;
  width: 100%;
  transition: color 0.2s, background 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-secondary);
  background: #ececec;
}

@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 990px) {
  header nav, .cta-btn {
    display: none !important;
  }
}

/* ==================== HERO SECTIONS ===================== */
.hero {
  background: linear-gradient(120deg, #F4F9F9 70%, #EFCA50 250%);
  padding-bottom: 32px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  margin-top: 26px;
  max-width: 700px;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
}
.hero .cta-btn {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.5rem; }
}

/* ================== FLEXBOX PATTERNS ===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 22px 22px 18px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.025);
}
.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: 20px;
  background: #fff;
  color: #223156;
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  min-width: 240px;
  max-width: 370px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.0125);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================= SECTION SPACING =================== */
.features, .services, .testimonials, .about, .contact, .policy-section, .terms-section, .rodo-section, .cookies-policy-section, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.features .content-wrapper, .services .content-wrapper,
.about .content-wrapper, .contact .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features ul, .services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-bottom: 16px;
  padding-left: 0;
}
.features ul li, .services ul li {
  display: flex;
  align-items: center;
  background: #fff;
  gap: 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  font-size: 1rem;
  color: #384F7D;
  padding: 14px 20px 14px 14px;
  font-family: 'Roboto', Arial, sans-serif;
  min-width: 220px;
  flex: 1 1 212px;
  transition: box-shadow 0.18s;
}
.features ul li img, .services ul li img {
  width: 28px; height: 28px;
  flex: none;
}
.features ul li:hover, .services ul li:hover {
  box-shadow: var(--shadow-hover);
  background: #f8f8f8;
}

/* ===================== TESTIMONIALS ====================== */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  justify-content: flex-start;
}
.testimonials h2 {
  margin-bottom: 22px;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #384F7D;
  margin-bottom: 8px;
}
.testimonial-card strong {
  font-size: 0.96rem;
  color: #6D7AC5;
  font-weight: 700;
}
.star-rating {
  color: #EFCA50;
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Contrast for testimonials */
.testimonial-card {
  background: #fff;
  color: #223156;
}

/* ====================== CARD GRIDS ======================= */
.service-block {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  min-width: 230px; max-width: 370px;
}
.service-block h3 {
  color: #384F7D;
  margin-bottom: 8px;
  font-size: 1.13rem;
}
.service-block p { color: #3e517d; font-size: 1rem; }

/* ===================== PRICING TABLE ================== */
.pricing-table, .pricing-highlights, .sale-banner, .event-types, .benefit-descriptions, .value-statement, .testimonial-quotes {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 17px 20px;
  margin-bottom: 14px;
}
.sale-banner {
  border-left: 8px solid var(--color-secondary);
  font-weight: 700;
}
.pricing-table h3 {
  font-size: 1.02rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.pricing-table ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-left: 0;
}
.pricing-table ul li {
  font-size: 1rem;
  color: #384F7D;
  padding-left: 0;
}

/* ===================== FOOTER ======================== */
footer {
  background: #F4F9F9;
  border-top: 1px solid #e3e7ee;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 16px 18px 16px;
}
.brand-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px; max-width: 340px;
}
.brand-contacts img {
  width: 46px;
  margin-bottom: 8px;
}
.brand-contacts address {
  font-style: normal;
  color: #384F7D;
  margin-bottom: 4px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-menu a {
  color: #60709b;
  font-size: 0.96rem;
  padding: 3px 0;
  transition: color .19s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-primary);
  font-weight: 500;
}
.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(56,79,125,0.05);
  width: 36px;
  height: 36px;
  justify-content: center;
  transition: background 0.16s;
}
.social-links a:hover, .social-links a:focus {
  background: var(--color-secondary);
}

/* =================== CONTACT SECTION =================== */
.contact .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
}
.address-block, .email-block, .opening-hours, .map-block {
  background: #fff;
  border-radius: 11px;
  padding: 18px 18px 15px;
  box-shadow: var(--shadow-card);
  min-width: 183px;
  max-width: 358px;
  flex: 1 1 190px;
}
.address-block img {
  width: 42px;
  margin-bottom: 6px;
}

/* ============= POLICY, TERMS, THANK YOU =============== */
.policy-section h1, .rodo-section h1, .terms-section h1, .cookies-policy-section h1, .thank-you h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.policy-section .content-wrapper, .rodo-section .content-wrapper, .terms-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
}
.policy-section ul, .terms-section ul, .rodo-section ul, .cookies-policy-section ul {
  padding-left: 20px;
  margin-bottom: 16px;
  list-style: disc inside;
}

/* =============== BLOCKQUOTES =============== */
blockquote {
  font-style: italic;
  color: #384F7D;
  border-left: 5px solid #EFCA50;
  padding-left: 16px;
  background: #FCF9EB;
  border-radius: 6px 14px 14px 6px;
  margin: 12px 0;
}

/* =============== RESPONSIVE DESIGN ===================== */
@media (max-width: 990px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .content-wrapper, .features .content-wrapper, .services .content-wrapper,
  .card-container, .content-grid {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .features ul, .services ul, .testimonials .content-wrapper {
    flex-direction: column !important;
    gap: 20px;
  }
  .address-block, .email-block, .opening-hours, .map-block {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .section, .features, .services, .testimonials, .about, .contact, .policy-section, .terms-section, .rodo-section, .thank-you, .cookies-policy-section {
    padding: 30px 6px;
  }
  .hero .container, .footer .container {
    padding: 0 8px;
  }
  .testimonials .content-wrapper {
    gap: 16px !important;
  }
  .testimonial-card, .service-block, .features ul li {
    min-width: 0; max-width: 100%;
  }
  .hero h1 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  h1, .policy-section h1, .rodo-section h1, .terms-section h1, .cookies-policy-section h1, .thank-you h1 {
    font-size: 1.16rem;
  }
  h2 {
    font-size: 1.02rem;
  }
  .container {
    padding: 0 2px;
  }
  footer .container {
    padding: 18px 2px 12px 2px;
  }
}

/* =================== BUTTONS & INTERACTIONS ==================== */
button, .cta-btn, .footer-menu a, .mobile-menu-close {
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), transform var(--transition-main);
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}

/* ================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffdfa;
  color: #384F7D;
  box-shadow: 0 -2px 18px 0 rgba(56,79,125,0.08);
  z-index: 1300;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border-radius: 16px 16px 0 0;
  font-size: 1rem;
  animation: cookie-slide-up 0.55s cubic-bezier(.19,.9,.49,1.17);
}
@keyframes cookie-slide-up {
  0% {transform: translateY(100%); opacity: 0;}
  80% {transform: translateY(-12px);}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 20px;
  margin-top: 7px;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 9px 17px;
  font-size: 1rem;
  cursor: pointer;
  background: #EFCA50;
  color: #384F7D;
  transition: background 0.18s, color 0.18s;
  margin-right: 0;
}
.cookie-banner .cookie-btn.accept {
  background: #384F7D;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #d2b23f;
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #223156;
  color: #fff;
}

/* ============== Cookie Banner: modal popup ============= */
.cookie-modal {
  position: fixed;
  left: 10vw;
  right: 10vw;
  top: 12vh;
  background: #fff;
  color: #223156;
  border-radius: 18px;
  box-shadow: 0 10px 48px 0 rgba(56,79,125,0.16);
  z-index: 1400;
  max-width: 450px;
  margin: 0 auto;
  padding: 35px 28px 25px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookiemodal-appear 0.28s cubic-bezier(.19,.9,.49,1.17);
}
@keyframes cookiemodal-appear {
  0% { opacity:0; transform: scale(0.92); }
  100% {opacity:1; transform: scale(1);}
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #384F7D;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #384F7D;
  margin-right: 2px;
}
.cookie-category label {
  font-size: 1rem;
  color: #384F7D;
}
.cookie-modal .category-essential {
  color: #60709B;
  font-size: 0.97rem;
  font-style: italic;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 9px 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  font-size: 1.65rem;
  color: #384F7D;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EFCA50;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-modal {
    left: 2vw; right: 2vw; padding: 17px 7px 11px 17px;
    max-width: 95vw;
  }
}

/* =========== MISC (Lists, hr, etc) ============ */
ul, ol {
  margin-bottom: 12px;
  margin-left: 16px;
}
ul li, ol li {
  margin-bottom: 7px;
  font-size: 1rem;
  color: #384F7D;
}
hr {
  border: none;
  border-top: 1px solid #E3E7EE;
  margin: 24px 0;
}
a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #EFCA50;
  text-decoration: underline;
}

/* ========== Accessibility: high-contrast for testimonials ========== */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #223156;
  background: #fff !important;
  text-shadow: none;
  border: none;
}
/* Star ratings use color for high contrast */
.star-rating {
  text-shadow: 1px 1px 0 #fff,0 2px 3px #f4f9f9;
  color: #efbc05;
  letter-spacing: 0.17em;
}

/* ========== Animation for all ui buttons ========== */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .footer-menu a, .service-block, .testimonial-card, .features ul li {
  will-change: transform, box-shadow;
}

/* ========== Utility classes ========== */
.d-none {display: none !important;}
.text-center {text-align: center;}
.text-right {text-align: right;}
.mb-30 {margin-bottom: 30px;}
.mb-60 {margin-bottom: 60px;}

/* ===================== END OF STYLE ==================== */