/* ============================
   CSS 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #FAFBFE;
  color: #242C35;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol { list-style-position: inside; }
a { text-decoration: none; color: inherit; }
strong { font-weight: 600; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #242C35;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 24px; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
p, ul, ol {
  margin-bottom: 1.3em; 
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(247, 249, 250, 0.92);
  border-radius: 22px;
  box-shadow: 0 6px 24px rgba(150,160,180,0.10);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section { margin-bottom: 12px; }

/* ============================
   COLORS & BRANDING
   ============================ */
:root {
  --primary: #242C35;
  --secondary: #E5B05C;
  --accent: #F7F9FA;
  --pastel-blue: #cce4f6;
  --pastel-lavender: #f0e8f9;
  --pastel-blush: #ffe7ea;
  --pastel-mint: #e4fcf6;
  --pastel-yellow: #fffbe5;
  --pastel-green: #e5f6e0;
  --focus-ring: #afddee;
}

/* ============================
   HEADER & NAV
   ============================ */
header {
  background: linear-gradient(180deg, #e8f8ff 0%, #fffaf1 100%);
  box-shadow: 0 3px 18px rgba(36,44,53,0.03);
  padding: 0;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 0 16px;
}
.main-nav {
  display: flex; 
  gap: 30px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #242C35;
  opacity: 0.9;
  font-weight: 500;
  position: relative;
  transition: color .18s;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E5B05C;
  outline: none;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #ffe7ea 0%, #f0e8f9 100%);
  color: #242C35;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 36px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 9px rgba(94,105,135,0.08);
  margin-left: 18px;
  transition: background .16s, color .16s, box-shadow .18s;
  cursor: pointer;
  letter-spacing: .5px;
}
.cta-button:hover, .cta-button:focus {
  background: #e4fcf6;
  color: #242C35;
  box-shadow: 0 8px 25px rgba(203,222,255,0.13);
  outline: none;
}

/* =============
   MOBILE NAV
   ============= */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #242C35;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color .13s;
  z-index: 130;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #E5B05C;
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 251, 254, .98);
  box-shadow: 6px 0 26px 0 rgba(180,150,160,0.09);
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.61,0,.5,1);
  z-index: 210;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform .38s cubic-bezier(.13,1,.51,1);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 0 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: #242C35;
  cursor: pointer;
  z-index: 220;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E5B05C;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100vw;
  padding: 20px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #242C35;
  padding: 12px 0;
  border-radius: 10px;
  font-weight: 600;
  transition: background .13s, color .16s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e4fcf6;
  color: #E5B05C;
  outline: none;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  .cta-button { padding: 10px 22px; margin-left: 7px; }
}
@media (max-width: 900px) {
  header .container {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: #f0e8f9;
  padding: 48px 0 28px 0;
  margin-top: 40px;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -6px 28px rgba(186,164,204,0.09);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin: 16px 0 6px 0;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.93;
  border-bottom: 1.5px dotted #E5B05C;
  transition: color .16s, border .17s;
  padding-bottom: 3px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E5B05C;
  border-bottom: 2px solid #E5B05C;
  outline: none;
}
footer p {
  font-size: .98rem;
  opacity: .75;
  margin-top: 14px;
}

/* ==========================
   TYPOGRAPHY
   ========================== */
body, p, li {
  color: #242C35;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.text-section h2,
.text-section h3 {
  color: #775eae;
  margin-bottom: 10px;
}
.service-price {
  background: #ffe7ea;
  color: #242C35;
  font-size: .99rem;
  border-radius: 8px;
  padding: 2px 10px;
  margin-left: 12px;
  font-weight: 500;
  vertical-align: middle;
  display: inline-block;
}

/* ==========================
   FLEXBOX PATTERN CLASSES
   ========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px rgba(208, 186, 231, 0.08);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  transition: box-shadow .18s, transform .16s;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 28px rgba(186,164,204,0.17);
  transform: translateY(-4px);
}
.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;
  margin-bottom: 20px;
  background: #fffbe5;
  border-radius: 20px;
  box-shadow: 0 5px 22px rgba(229,176,92,.07);
  border: 1.5px solid #ffe7ea;
  max-width: 600px;
  font-size: 1.07rem;
}
.testimonial-card strong {
  color: #242C35;
}
.testimonial-card p {
  color: #242C35;
  font-size: 1.09rem;
}
.testimonial-card div:last-child {
  color: #E5B05C;
  font-size: 1.2rem;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 12px;
}
.features-grid > div {
  background: #e4fcf6;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(133,211,201,0.10);
  padding: 26px 22px;
  min-width: 185px;
  max-width: 320px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .16s, background .18s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 19px rgba(56,221,198,0.11);
  background: #f0e8f9;
}
.features-grid img {
  width: 42px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============================
   LISTS & CONTENT
   ============================= */
ul, ol {
  padding-left: 1.17em;
  margin-bottom: 18px;
  color: #242C35;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 1rem;
}
ul li strong { color: #775eae; }

/* =============================
   BUTTONS & INTERACTIONS
   ============================= */
button, .cta-button, input[type="button"], input[type="submit"] {
  cursor: pointer;
  outline: none;
  transition: background .14s, color .14s, box-shadow .17s;
  font-family: 'Montserrat', Arial, sans-serif;
}
button:focus, .cta-button:focus { box-shadow: 0 0 0 3px var(--focus-ring); }

/* =============================
   SECTIONS
   ============================= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 768px) {
  section, .section {
    margin-bottom: 32px;
    padding: 30px 8px;
  }  
}

/* Helper classes for extra spacing */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }

/* =============================
   RESPONSIVE FLEX & CARDS
   ============================= */
@media (max-width: 900px) {
  .features-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 14px;
  }
  .features-grid > div { max-width: 100%; min-width: unset; }
  .testimonial-card { max-width: unset; }
  .content-grid { flex-direction: column; gap: 14px; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 16px; }
}
@media (max-width: 510px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.12rem; }
}

/* =============================
   TABLES (for policy & RODO)
   ============================= */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
th, td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid #f0e8f9;
  font-size: 1rem;
}
th { background: #f0e8f9; font-family: 'Montserrat', Arial, sans-serif; }

/* =============================
   FORMS (if any in future)
   ============================= */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 1px solid #b8e4fa;
  border-radius: 12px;
  padding: 9px 14px;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E5B05C;
  outline: none;
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe5;
  box-shadow: 0 -8px 32px rgba(229,176,92,.13);
  padding: 22px 15px 19px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 1.01rem;
  z-index: 350;
  transition: transform .38s cubic-bezier(.63,0,.31,1), opacity .18s;
}
.cookie-consent-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-btn {
  background: linear-gradient(90deg, #e4fcf6 0%, #ffe7ea 80%);
  color: #242C35;
  padding: 7px 19px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .14s, color .13s, box-shadow .19s;
  margin-left: 10px;
  margin-top: 7px;
  box-shadow: 0 1px 5px rgba(236,222,236,0.08);
}
.cookie-consent-banner .cookie-btn.cookie-accept {
  background: #e5f6e0;
  color: #242C35;
}
.cookie-consent-banner .cookie-btn.cookie-accept:hover {
  background: #E5B05C;
  color: #fff;
}
.cookie-consent-banner .cookie-btn.cookie-reject:hover {
  background: #ffe7ea;
  color: #901055;
}
.cookie-consent-banner .cookie-btn.cookie-settings:hover {
  background: #f0e8f9;
  color: #775eae;
}
@media (max-width: 480px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    font-size: .99rem;
    padding: 17px 4px 10px 4px;
  }
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60,40,64,.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .21s cubic-bezier(.73,0,.37,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  background: #fffbe5;
  border-radius: 28px;
  padding: 40px 36px 30px 36px;
  box-shadow: 0 8px 39px rgba(229,176,92,0.16);
  max-width: 94vw;
  width: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookie-modal-in .46s cubic-bezier(.40, 1.2, .47, 0.97);
}
@keyframes cookie-modal-in {
  from { transform: translateY(80px) scale(0.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal-dialog h2 {
  color: #242C35;
  font-size: 1.24rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
}
.cookie-modal-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #ffe7ea;
  font-size: 1rem;
}
.cookie-switch {
  appearance: none;
  width: 36px; height: 22px;
  background: #fae7fd;
  border-radius: 22px;
  position: relative;
  outline: none;
  transition: background .16s;
  vertical-align: middle;
  margin-left: 10px;
}
.cookie-switch:checked {
  background: #E5B05C;
}
.cookie-switch:before {
  content: "";
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 100%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left .18s, background .17s;
  box-shadow: 0 1px 8px rgba(229,176,92,.06);
}
.cookie-switch:checked:before {
  left: 16px;
  background: #f8e7f6;
}
.cookie-switch[disabled] {
  opacity: 0.6; pointer-events: none;
}
.cookie-modal-close {
  align-self: flex-end;
  margin-top: -16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #242C35;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #E5B05C;
  outline: none;
}
.cookie-modal-actions {
  display: flex; gap: 16px; margin-top: 13px;
}
.cookie-modal-actions .cookie-btn {
  padding: 8px 24px;
  border-radius: 13px;
  font-size: 1rem;
}
@media (max-width: 520px) {
  .cookie-modal-dialog {
    padding: 24px 8px;
    width: 98vw;
    min-width: unset;
    max-width: 99vw;
  }
}

/* ================================
   ANIMATIONS & MICRO-INTERACTIONS
   ================================ */
.cta-button, .card, .features-grid > div, .testimonial-card, button, .cookie-btn {
  transition: box-shadow .16s, background .15s, color .13s, transform .12s;
}
.card:active, .features-grid > div:active { transform: scale(0.99); }

/* ========== Dreamy Pastel Backgrounds ========== */
body {
  background: linear-gradient(120deg, #f0e8f9 0%, #e4fcf6 40%, #fffbe5 100%);
}
.section {
  background: linear-gradient(100deg, #fffbe5 0%, #ffe7ea 44%, #f0e8f9 100%);
}

/* ========== Utility classes ========== */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

/* ===============
   FOCUS VISIBLE
   =============== */
:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2.5px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ==============
   PRINT
   ============= */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display:none !important; }
  * { box-shadow: none !important; background: none !important; color: #222 !important; }
}
