/* === 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,
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1B3A52;
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.69,.2,.3,1.4);
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  appearance: none;
  box-shadow: none;
}

/* === BRAND COLORS === */
:root {
  --color-primary: #1B3A52;
  --color-secondary: #EFEFEF;
  --color-accent: #FFBC42;
  --color-energy-pink: #FF2F92;
  --color-energy-blue: #11B8FF;
  --color-energy-green: #37F19D;
  --color-bg: #fff;
  --color-dark: #162635;
  --color-light: #FBFBFB;
  --color-gray: #757E97;
  --shadow-card: 0 6px 18px rgba(27,58,82,0.10);
  --shadow-cta: 0 2px 8px rgba(255,47,146,0.11);
  --radius-card: 18px;
  --radius-btn: 25px;
  --transition-smooth: all 0.3s cubic-bezier(.48,.12,.33,1.11);
}

body {
  background: var(--color-bg);
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4 {
  font-family: 'Roboto Slab', Cambria, serif;
  font-weight: bold;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
  text-shadow: 0 2px 0 var(--color-accent),0 4px 16px rgba(255,47,146,0.06);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
  text-shadow: 0 2px 0 var(--color-energy-pink),0 4px 12px rgba(17,184,255,0.05);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-energy-pink);
  text-shadow: 0 2px 0 var(--color-secondary);
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, li, .hero-subline {
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 12px;
}
.hero-subline {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-energy-pink);
  margin-bottom: 10px;
}
strong {
  font-weight: bold;
  color: var(--color-primary);
}

@media (max-width: 540px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.15rem; }
}

/* === LAYOUT: CONTAINER & SECTION === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
/* backward compatibility: */
.section { padding: 40px 20px; }

.content-wrapper {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (max-width: 540px) {
  .container { padding: 0 8px; }
  .section, section { padding-top: 28px; }
}

/* === FLEXBOX UTILITIES & MUST-HAVE ALIGNMENTS == */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  min-width: 250px;
  flex: 1 1 270px;
  transition: box-shadow 0.25s,transform 0.32s;
}
.card:hover {
  box-shadow: 0 10px 22px rgba(255,47,146,0.17);
  transform: translateY(-2px) scale(1.04);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: var(--color-light);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 12px rgba(27,58,82,0.12);
  border: 2px solid var(--color-accent);
  transition: box-shadow 0.2s;
  max-width: 590px;
}
.testimonial-card p {
  font-size: 1.15rem;
  font-style: italic;
  color: #222c40;
}
.testimonial-meta {
  color: var(--color-gray);
  font-size: 0.98rem;
  font-weight: bold;
  text-align: right;
  align-self: flex-end;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(89deg, var(--color-energy-blue) 0%, var(--color-secondary) 40%, var(--color-accent) 100%);
  padding: 60px 0 60px 0;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 680px;
}
.hero h1,
.hero .hero-subline {
  color: var(--color-primary);
  text-shadow: 0 2px 8px rgba(27,58,82,0.03);
}
.hero .cta {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .hero {
    padding: 36px 0 38px 0;
    margin-bottom: 36px;
  }
}

/* === FEATURES GRID === */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(255,188,66,0.13);
  padding: 28px 18px 22px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 270px;
  text-align: center;
  transition: filter 0.22s, box-shadow 0.2s, transform 0.3s;
  position: relative;
  z-index: 1;
}
.feature img {
  height: 48px;
  width: 48px;
  margin-bottom: 10px;
}
.feature h3 {
  color: var(--color-energy-blue);
}
.feature p {
  font-size: 0.97rem;
}
.feature:hover {
  filter: brightness(1.07) drop-shadow(0 4px 14px rgba(255,47,146,0.05));
  box-shadow: 0 8px 26px rgba(17,184,255,0.17);
  transform: translateY(-2px) scale(1.04);
}

/* === SERVICES === */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-block {
  background: var(--color-secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  flex: 1 1 300px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.22s;
}
.service-block h2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.2rem;
  justify-content: space-between;
}
.service-price {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 16px;
  padding: 3px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: 8px;
}
.service-block:hover {
  box-shadow: 0 8px 24px rgba(255,188,66,0.19);
  transform: translateY(-2px) scale(1.03);
}

/* === CTA BUTTONS === */
.cta,
button.cta,
.main-cta {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: 'Roboto Slab', Cambria, serif;
  font-weight: bold;
  font-size: 1.15rem;
  border-radius: var(--radius-btn);
  padding: 14px 32px;
  box-shadow: var(--shadow-cta);
  transition: background 0.23s, color 0.23s, box-shadow 0.2s, transform 0.22s;
  border: none;
  cursor: pointer;
  margin: 6px 10px 6px 0;
  display: inline-block;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  outline: 0 !important;
}
.cta.secondary {
  background: var(--color-energy-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(17,184,255,0.11);
}
.cta:focus, .main-cta:focus {
  outline: 2px dashed var(--color-primary);
}
.cta:hover, .main-cta:hover {
  background: var(--color-energy-pink);
  color: #fff;
  box-shadow: 0 2px 18px 2px rgba(255,47,146,0.16);
  transform: translateY(-2px) scale(1.04);
}
.cta.secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

/* === NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(27,58,82,0.03), 0 0.5px 3px rgba(255,47,146,0.03);
  z-index: 90;
  position: sticky;
  top: 0;
}
.main-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  justify-content: flex-start;
  font-size: 1rem;
  background: #fff;
}
.main-navigation img {
  height: 36px;
  margin-right: 16px;
}
.main-navigation a {
  color: var(--color-primary);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.15s, color 0.15s;
  font-family: 'Roboto Slab', Cambria, serif;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: var(--color-accent);
  color: #fff;
}
.main-navigation .main-cta {
  margin-left: 8px;
  margin-top: 0;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--color-accent);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(27,58,82,0.09);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-energy-pink);
  color: #fff;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 36px rgba(27,58,82,0.26);
  z-index: 9999;
  overflow-y: auto;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(0.58,0.01,0,.99);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-energy-pink);
  font-size: 2.3rem;
  border: none;
  align-self: flex-end;
  margin: 24px 30px 8px 10px;
  cursor: pointer;
  transition: color 0.22s;
}
.mobile-menu-close:hover {
  color: var(--color-energy-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 30px 32px;
  font-size: 1.24rem;
  font-weight: bold;
  align-items: flex-start;
  margin-top: 18px;
}
.mobile-nav a {
  padding: 10px 12px;
  width: 100%;
  border-radius: 16px;
  color: var(--color-primary);
  background: none;
  transition: background 0.17s, color 0.17s;
  font-family: 'Roboto Slab', Cambria, serif;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: #fff;
}
@media (max-width: 1000px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu.open,
  .mobile-menu-toggle { display: none !important; }
  .main-navigation { display: flex !important; }
}

/* === FOOTER === */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 32px 0 14px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: .90;
  transition: color .2s;
}
.footer-nav a:hover {
  color: var(--color-accent);
}
.footer-copy {
  text-align: center;
  font-size: 0.92rem;
  opacity: 0.70;
}

/* === CONTACT/TEASER === */
.contact-info ul,
.contact-data ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.map-snippet {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0 14px 0;
}
.cta-section {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .cta-section { flex-direction: column; gap: 12px; }
}

/* === FAQ LIST === */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-item {
  background: var(--color-secondary);
  border-left: 6px solid var(--color-energy-blue);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(17,184,255,0.08);
  padding: 20px 20px 14px 20px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: border 0.19s, box-shadow 0.23s;
}
.faq-item h2 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}
.faq-item:hover {
  border-left: 8px solid var(--color-energy-pink);
  box-shadow: 0 10px 24px rgba(255,47,146,0.07);
}

/* === CONFIRMATION === */
.confirmation-section {
  background: linear-gradient(91deg, var(--color-energy-green) 0%, var(--color-secondary) 64%, var(--color-accent) 100%);
  border-radius: var(--radius-card);
  margin: 40px auto 80px auto;
  padding: 44px 0;
  box-shadow: 0 8px 38px rgba(27,58,82,0.08);
  min-height: 280px;
}
.confirmation-section .cta {
  margin-top: 14px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9990;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  box-shadow: 0 -2px 15px rgba(27,58,82,0.13);
  padding: 18px 12px 18px 22px;
  gap: 22px;
  transition: transform 0.29s cubic-bezier(.67,.03,.37,.97), opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}
.cookie-banner-message {
  font-size: 1rem;
  color: var(--color-dark);
  flex: 1;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner .cookie-settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 16px;
  padding: 9px 18px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .cookie-settings:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .cookie-accept {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 16px;
  padding: 9px 18px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.13s;
}
.cookie-banner .cookie-accept:hover {
  background: var(--color-energy-blue);
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: var(--color-energy-pink);
  color: #fff;
  border-radius: 16px;
  padding: 9px 18px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner .cookie-reject:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 10px 14px 12px;
  }
  .cookie-banner-actions {
    width: 100%;
    gap: 7px;
  }
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,58,82,0.31);
  align-items: center;
  justify-content: center;
  animation: fadein 0.3s;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 7px 40px rgba(27,58,82,0.22);
  padding: 30px 26px 20px 26px;
  min-width: 300px;
  max-width: 95vw;
  width: 420px;
  position: relative;
  animation: popup 0.27s cubic-bezier(.5,.9,.31,1.2);
}
.cookie-modal h2 {
  margin-bottom: 10px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-category {
  background: var(--color-secondary);
  border-radius: 14px;
  padding: 11px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  color: var(--color-dark);
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-energy-blue);
}
.cookie-category.essential label {
  opacity: 0.8;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--color-energy-pink);
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--color-accent);
}
@keyframes fadein {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes popup {
  0% { transform: scale(0.8) translateY(90px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* === GENERAL FLEX AND SPACING UTILITIES === */
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.p-20 { padding: 20px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }

/* === LINKS === */
a, .main-cta {
  transition: color 0.19s, background 0.19s, box-shadow 0.2s;
}
a:focus, .main-cta:focus {
  outline: 2px dotted var(--color-energy-blue);
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1050px) {
  .features-grid, .card-container, .services-list, .faq-list {
    gap: 16px;
  }
}
@media (max-width: 868px) {
  .features-grid, .card-container, .services-list, .faq-list {
    flex-direction: column;
    align-items: stretch;
  }
  .feature, .card, .service-block, .faq-item {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 540px) {
  .content-wrapper { gap: 18px; }
}

/* == PRINT == */
@media print {
  header,.hero,footer,.mobile-menu,.cookie-banner,.cookie-modal-overlay { display: none !important; }
}
