/* Blissful Engines – Professional Corporate Style CSS (Flexbox Only) */

/* RESET & BASELINE STYLES */
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,
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;
  background: transparent;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222A35;
  background: #F8F9FB;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  color: #1660cf;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #FF6257;
  outline: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #222A35;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 10px; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 500; }

p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222A35;
  font-size: 1rem;
}

strong { font-weight: bold; }

/* SPACING & CONTAINER */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  min-height: 60vh;
}

/* FLEXBOX LAYOUTS (MANDATORY PATTERNS) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34,42,53,0.07);
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(34,42,53,0.13);
}
.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;
  padding: 20px 32px 20px 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(34,42,53,0.08);
  border-left: 5px solid #1660cf;
  min-width: 230px;
  max-width: 400px;
}
.testimonial-card p {
  margin-bottom: 6px;
  font-size: 1.08rem;
  color: #222a35;
  font-style: italic;
}
.testimonial-card span, .testimonial-card strong {
  color: #1660cf;
  font-size: 0.99rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E3E6EA;
  box-shadow: 0 1px 5px rgba(34,42,53,0.05);
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
header a img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 40px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #556077;
  padding: 7px 12px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F6FA;
  color: #1660cf;
}
.cta.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #1660cf;
  padding: 11px 28px;
  border-radius: 6px;
  display: inline-block;
  margin-left: 16px;
  border: none;
  box-shadow: 0 2px 8px rgba(34,42,53,0.08);
  letter-spacing: 0.03em;
  transition: background 0.23s, box-shadow 0.23s;
}
.cta.primary:hover, .cta.primary:focus {
  background: #FF6257;
  color: #fff;
}

.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1660cf;
  background: #FFE586;
  padding: 10px 24px;
  border-radius: 6px;
  margin: 10px 0 0 0;
  border: none;
  display: inline-block;
  box-shadow: 0 1px 4px rgba(34,42,53,0.09);
  transition: background 0.18s, color 0.18s;
}
.cta:hover, .cta:focus {
  background: #FF6257;
  color: #fff;
}

/* Hamburger Menu Style */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #222A35;
  margin-left: 16px;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 1201;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2F6FA;
  color: #1660cf;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #222A35;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.175,1);
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #FFE586;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 32px 32px 0 0;
  cursor: pointer;
  transition: color 0.23s;
  z-index: 2002;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #FF6257;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 44px;
  margin-top: 32px;
}
.mobile-nav a {
  color: #FFE586;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 8px 4px;
  border-radius: 5px;
  transition: color 0.17s, background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FF6257;
  background: rgba(255,255,255,0.07);
}

@media (max-width: 1024px) {
  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    gap: 14px;
    margin-left: 16px;
  }
  .cta.primary {
    margin-left: 0;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: relative;
  }
}

@media (max-width: 600px) {
  header .container {
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .mobile-menu-close {
    font-size: 1.7rem;
    margin: 22px 16px 0 0;
  }
  .mobile-nav {
    padding: 18px 18px;
    gap: 18px;
  }
}

/* HERO */
.hero {
  background: #F2F6FA;
  padding: 64px 0 54px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}
.hero h1 {
  font-size: 2.1rem;
  color: #1660cf;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #2e3440;
  line-height: 1.55;
}


/* FEATURES, GRIDS, SECTION BOXES */
section.features, section.services, section.about, section.legal, section.contact {
  background: #fff;
}
.features .container, .services .container, .about .container, .legal .container, .contact .container {
  padding: 0;
}
.features h2, .services h2, .about h2 {
  color: #1660cf;
  margin-bottom: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.text-section {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
ul.feature-grid, ul.review-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 8px;
}
ul.feature-grid > li, ul.review-grid > li {
  flex: 1 1 240px;
  background: #F8F9FB;
  border-radius: 12px;
  padding: 24px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 1px 5px rgba(34,42,53,0.05);
  position: relative;
  min-width: 220px;
  max-width: 320px;
  transition: box-shadow 0.22s;
}
ul.feature-grid > li:hover, ul.review-grid > li:hover {
  box-shadow: 0 2px 22px 0 rgba(34,42,53,0.12);
}
ul.feature-grid img, ul.review-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}
.about ul, .text-section ul {
  padding-left: 18px;
  margin: 8px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about ul li, .text-section ul li {
  list-style: disc inside;
  font-size: 1rem;
}

/* TESTIMONIALS */
.testimonials {
  background: #F2F6FA;
}
.testimonials .container {
  flex-direction: column;
}
.testimonials h2 {
  color: #1660cf;
  margin-bottom: 30px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #232A34;
  color: #fff;
  padding: 44px 0 26px 0;
  border-top: 1px solid #e3e6ea;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer .brand-contact p{
  color: #fff;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #FFE586;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  border-radius: 5px;
  padding: 5px 10px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FF6257;
  background: rgba(255,229,134,0.19);
}
.brand-contact {
  color: #c9d8e7;
  text-align: center;
  font-size: 0.99rem;
  margin-top: 4px;
  line-height: 1.4;
}
.brand-contact strong { color: #FFE586; }

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232A34;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 3001;
  padding: 21px 28px;
  gap: 36px;
  box-shadow: 0 -1px 12px 0 rgba(34, 42, 53, 0.21);
  font-size: 1rem;
  animation: slideup 0.4s cubic-bezier(.23,1,.32,1);
}
@keyframes slideup {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  margin: 0;
  color: #fff;
  max-width: 420px;
  line-height: 1.45;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  min-width: 46px;
  padding: 9px 20px;
  border-radius: 5px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-left: 0;
  background: #1660cf;
  color: #fff;
  transition: background 0.22s, color 0.1s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FF6257;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #FFE586;
  color: #222A35;
  border: 1px solid #FFE586;
  margin-left: 0;
  transition: background 0.22s, color 0.1s;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #FF6257;
  color: #fff;
  border-color: #FF6257;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3101;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,42,53, 0.56);
  align-items: center;
  justify-content: center;
  animation: modalbg 0.32s cubic-bezier(.77,0,.175,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes modalbg {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #222A35;
  border-radius: 12px;
  max-width: 430px;
  width: 96vw;
  padding: 30px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 8px 32px 0 rgba(34,42,53,0.15);
  animation: modalpop 0.22s cubic-bezier(.77,0,.175,1);
}
@keyframes modalpop {
  from { transform: scale(.92); opacity:0; } to { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #1660cf;
  font-weight: 700;
}
.cookie-modal .cookie-category {
  margin-bottom: 12px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #232A34;
  flex: 1 1 auto;
  font-weight: 500;
}
.cookie-modal input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #1660cf;
  border-radius: 4px;
  border: 1.5px solid #a0b7d2;
}
.cookie-modal .always-enabled {
  opacity: 0.7;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  min-width: 54px;
  padding: 9px 22px;
}
.cookie-modal .modal-actions .cookie-settings {
  background: #FFE586;
  color: #222A35;
  border-color: #FFE586;
}
.cookie-modal .modal-actions .cookie-settings:hover, .cookie-modal .modal-actions .cookie-settings:focus {
  background: #FF6257;
  color: #fff;
  border-color: #FF6257;
}


/* RESPONSIVE DESIGN */
@media (max-width: 1120px) {
  .container { max-width: 98vw; }
}
@media (max-width: 992px) {
  .feature-grid > li, .review-grid > li {
    min-width: 160px;
    max-width: 48%;
  }
}
@media (max-width: 770px) {
  .section { padding: 26px 9px; }
  .content-grid, .features .content-wrapper, .testimonials .content-wrapper, ul.feature-grid, ul.review-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > li, .review-grid > li {
    max-width: 100%;
    min-width: unset;
    margin: 0 auto;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .hero {
    padding: 46px 0 38px 0;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.1rem; margin-bottom:12px; }
  h3 { font-size: 1.05rem; margin-bottom:6px; }
  .footer-nav {
    gap: 14px;
    font-size: 15px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .hero { padding: 29px 0 24px 0; }
  .section { padding: 18px 2px; margin-bottom: 28px; }
  .testimonial-card {
    padding: 14px 10px 13px 10px;
    font-size: .96rem;
    min-width: 0; max-width: 100%;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    font-size: 0.91rem;
    padding: 14px 6px 14px 9px;
    align-items: flex-start;
  }
}

/* FORM, CONTACT, ICONS */
.contact ul, .contact .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact li img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
.contact li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 8px;
  margin-bottom: 6px;
}
.contact strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-right: 4px;
}

/* LEGAL CONTENT */
.legal {
  background: #fff;
}
.legal .text-section {
  max-width: 760px;
  gap: 14px;
  line-height: 1.55;
}
.legal a {
  color: #1660cf;
}
.legal a:hover, .legal a:focus {
  color: #FF6257;
}

/* THANK YOU, DANKE */
.hero .cta, .about .cta {
  margin-top: 18px;
}

/* micro-interactions for cards & btns */
.card, .testimonial-card, .feature-grid > li, .review-grid > li {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .testimonial-card:hover, .feature-grid > li:hover, .review-grid > li:hover {
  box-shadow: 0 6px 26px 0 rgba(34,42,53,0.11);
  transform: translateY(-3px) scale(1.015);
}
.cta, .cta.primary, .cookie-banner button {
  transition: background 0.18s, color 0.17s, box-shadow 0.18s;
}


/* REMOVE DOUBLE TAP ZOOM ON BUTTONS FOR MOBILE*/
@media (hover: none) and (pointer: coarse) {
  .cta, .cta.primary, button {
    touch-action: manipulation;
  }
}

/* ENSURE NO OVERLAP ANYWHERE */
.card, .testimonial-card, .feature-grid > li, .review-grid > li {
  margin-bottom: 20px;
}
.section, .features, .about, .testimonials, .services, .legal, .contact {
  margin-bottom: 60px;
}


/* UTILITY CLASSES */
.text-center { text-align: center; }
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.items-center { align-items: center !important; }
.gap-20 { gap: 20px !important; }

