/* ======= CSS RESET & NORMALIZATION ======= */
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, main, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F3ED;
  color: #2D3042;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button:focus, a:focus, input:focus {
  outline: 2px solid #A3B7FF;
  outline-offset: 2px;
}

/* ======= SOFT PASTEL COLOR PALETTE ======= */
:root {
  --primary: #1E2541;
  --secondary: #D3A35E;
  --accent: #F4F3ED;
  --pastel-pink: #F7CED7;
  --pastel-blue: #B5D0FF;
  --pastel-green: #D6F5E3;
  --pastel-yellow: #FFF8DE;
  --pastel-lilac: #E3D5F6;
  --pastel-mint: #E6F8F3;
  --pastel-base: #F9F9F7;
  --shadow: 0 8px 20px rgba(120, 120, 140, 0.08);
  --radius: 18px;
  --radius-card: 16px;
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: #2D3042;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.7rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, address {
  font-size: 1.06rem;
  color: #364057;
  margin-bottom: 18px;
}
em {
  font-style: italic;
  color: #A58ECF;
}
strong {
  color: #1E2541;
  font-weight: 600;
}

/* ======= REUSABLE FLEX CONTAINERS ======= */
.container {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px !important;
  position: relative;
  background: var(--pastel-base);
  box-shadow: var(--shadow);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 12px 30px rgba(136, 150, 180, 0.15);
  transform: translateY(-4px) scale(1.018);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(80,95,120,0.07);
  margin-bottom: 20px;
  position: relative;
  flex-direction: row;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-base);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  flex: 1 1 210px;
  min-width: 210px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 38px; height: 38px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px #dabfd78a);
}
.feature-item:hover {
  box-shadow: 0 12px 30px rgba(163, 169, 210, 0.12);
  transform: translateY(-3px) scale(1.03);
}

/* ======= MAIN NAV ======= */
header {
  background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--accent) 80%);
  box-shadow: 0 2px 8px rgba(60,70,120,0.03);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  position: relative;
}
.main-nav > a {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  background: transparent;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  transition: background 0.16s, color 0.14s;
}
.main-nav > a:hover:not(.cta-primary), .main-nav > a:focus:not(.cta-primary) {
  background: var(--pastel-yellow);
  color: var(--secondary);
}
.main-nav img {
  width: 40px; height: 40px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}
.cta-primary {
  margin-left: 10px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  background: linear-gradient(90deg, #F7CED7 15%, #E3D5F6 65%);
  color: var(--primary) !important;
  font-weight: bold;
  padding: 8px 22px !important;
  border-radius: 54px;
  text-shadow: none;
  box-shadow: 0 2px 14px rgba(211,163,94,0.09); 
  border: none;
  transition: background 0.24s, color 0.15s, box-shadow 0.17s;
  cursor: pointer;
  font-size: 1.12rem;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #B5D0FF 14%, #D6F5E3 80%);
  color: var(--primary);
  box-shadow: 0 6px 28px rgba(163,149,255, 0.09);
}

/* ======= HERO SECTIONS ======= */
.hero {
  background: linear-gradient(120deg, #F7CED7 0%, #E6F8F3 45%, #FFF8DE 100%);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 8px 42px rgba(197,186,255,0.06);
  margin-bottom: 40px;
  padding: 46px 0 46px 0;
}
.hero .container, .hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 14px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
}
.hero p {
  font-size: 1.13rem;
  color: #434853;
  margin-bottom: 26px;
}
.hero .cta-primary {
  margin-top: 8px;
}

/* ======= FEATURES SECTION ======= */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.features .feature-item {
  background: linear-gradient(135deg, #E6F8F3 50%, #F7CED7 100%);
  min-width: 210px;
  flex: 1 1 220px;
}
.features h2 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 2rem;
}

/* ======= SERVICES SECTION ======= */
.services ul, .features ul, .about-features ul, .contact ul {
  list-style: disc outside;
  padding-left: 22px;
}
.services ul li, .features ul li, .about-features ul li, .contact ul li {
  margin-bottom: 16px;
  font-size: 1.08rem;
  color: #383c49;
}
.services .cta-primary {
  margin-top: 12px;
}

/* ======= TESTIMONIALS ======= */
.testimonials .testimonial-card {
  padding: 24px 38px 20px 24px;
  background: linear-gradient(90deg, #FFFFFF 70%, #B5D0FF 120%);
  border-left: 7px solid #E3D5F6;
  color: #202334;
  border-radius: 20px 16px 30px 20px;
  box-shadow: 0 2px 12px rgba(94,89,96,0.08);
  margin-bottom: 20px;
}
.testimonials .testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card p {
  color: #22252e;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-meta {
  color: var(--secondary);
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-left: 14px;
  margin-top: 0;
}

/* ======= CONFIRMATION / ABOUT / LEGAL ======= */
.confirmation, .about-story, .about-features, .legal, .contact {
  background: #FFF8DE;
  border-radius: 30px;
  box-shadow: 0 2px 18px rgba(189,180,193,0.06);
  margin-bottom: 50px;
}
.confirmation h1, .about-story h1, .contact h1, .legal h1 {
  color: var(--primary);
}
.confirmation .cta-primary {
  margin-top: 18px;
}
.text-section, .confirmation .text-section {
  margin-bottom: 24px;
}

/* ======= FOOTER ======= */
footer {
  background: linear-gradient(90deg, #E6F8F3 0%, #E3D5F6 80%);
  padding: 34px 0 0 0;
  border-radius: 44px 44px 0 0;
  box-shadow: 0 -3px 16px rgba(192,190,255,0.09);
  margin-top: 60px;
}
.footer-nav, .footer-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 10px;
}
.footer-nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.7;
  margin-right: 8px;
  margin-left: 8px;
  transition: color 0.17s, opacity 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact {
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 0;
}
.footer-logo img {
  width: 47px; height: 47px;
  margin-right: 12px;
  vertical-align: middle;
}
.footer-info address {
  font-size: 1rem;
  color: #495169;
  line-height: 1.5;
  font-style: normal;
  margin-top: 0;
}
.footer-info a {
  color: #2d4582;
  text-decoration: underline dotted;
  transition: color 0.18s;
}
.footer-info a:hover, .footer-info a:focus {
  color: var(--secondary);
}

/* ======= MOBILE NAVIGATION ======= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  background: var(--pastel-lilac);
  color: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  z-index: 199;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(116,110,140,0.11);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(251,251,255, 0.98);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: var(--pastel-blue);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  position: absolute;
  top: 18px; right: 26px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(122,130,190,0.16);
  transition: background 0.14s, color 0.14s;
  z-index: 401;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  margin-top: 110px;
  margin-left: 32px;
}
.mobile-nav a {
  font-size: 1.35rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  background: transparent;
  padding: 10px 10px 10px 0;
  border-radius: 12px;
  transition: background 0.15s, color 0.13s;
  min-width: 210px;
  min-height: 40px;
  line-height: 1.12;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 800;
  background: linear-gradient(90deg, #F7CED7 0%, #E6F8F3 100%);
  color: #362e3b;
  padding: 24px 16px 20px 16px;
  box-shadow: 0 -2px 18px rgba(94,124,172,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  border-radius: 26px 26px 0 0;
  animation: cookieBannerIn 0.5s cubic-bezier(0.68,0,0.29,1) 0.1s 1;
}
@keyframes cookieBannerIn
{ 0% { transform: translateY(100%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-banner button {
  padding: 8px 22px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  border-radius: 24px;
  border: none;
  background: var(--pastel-blue);
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 1px 8px rgba(163, 169, 210, 0.10);
}
.cookie-banner button.accept {
  background: var(--pastel-green);
  color: #306736;
}
.cookie-banner button.reject {
  background: var(--pastel-pink);
  color: #9b2225;
}
.cookie-banner button.settings {
  background: var(--pastel-lilac);
  color: var(--primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--secondary);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35, 32, 36, 0.52);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.4,0,0.2,1);
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-dialog {
  background: linear-gradient(110deg, #FFF8DE 50%, #E6F8F3 100%);
  border-radius: 26px;
  box-shadow: 0 6px 38px rgba(162, 152, 179, 0.15);
  padding: 34px 28px 28px 28px;
  min-width: 320px;
  max-width: 98vw;
  color: #23223d;
  animation: cookieModalIn 0.35s cubic-bezier(0.7,0,0.2,1);
}
@keyframes cookieModalIn {
  0% { transform: scale(0.92) translateY(-60px); opacity: 0; }
  90% { transform: scale(1.03) translateY(2px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-dialog h2 {
  font-size: 1.35rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  margin-bottom: 18px;
  color: var(--primary);
}
.cookie-modal-dialog .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-modal-dialog label {
  font-size: 1.07rem;
  color: #343853;
  font-weight: 500;
}
.cookie-modal-dialog .cookie-switch {
  width: 38px; height: 22px;
  background: #e4e6ef;
  border-radius: 16px;
  position: relative;
  margin-right: 7px;
  transition: background 0.19s;
  cursor: pointer;
  display: inline-block;
}
.cookie-modal-dialog .cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-modal-dialog .cookie-switch:before {
  content: '';
  display: block;
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #a7d7b5;
  transition: left 0.13s, background 0.15s;
}
.cookie-modal-dialog .cookie-switch input[type="checkbox"]:checked + span {
  background: var(--pastel-green);
}
.cookie-modal-dialog .cookie-switch input[type="checkbox"]:checked + span:before {
  left: 19px; background: #5ac88e;
}
.cookie-modal-dialog .cookie-actions {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal-dialog button {
  padding: 7px 18px;
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 20px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  cursor: pointer;
  border: none;
  transition: background 0.12s, color 0.1s;
}
.cookie-modal-dialog button:hover, .cookie-modal-dialog button:focus {
  background: var(--secondary);
  color: #fff;
}

/* ======= FORM ELEMENTS ======= */
input, textarea, select {
  background: #fff;
  padding: 8px 14px;
  border: 1.5px solid #E3D5F6;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--primary);
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #B5D0FF;
}
label {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-weight: 500;
}

/* ======= GENERAL SPACING, CARDS, MICRO-ANIMATION ======= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .content-grid {
  gap: 24px;
}
.text-image-section, .feature-item, .testimonial-card, .content-grid {
  gap: 20px;
}

/* ======= TRANSITIONS AND EFFECTS ======= */
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.15s;
}
a, button {
  transition: color 0.13s, background 0.16s, box-shadow 0.16s;
}

/* ======= RESPONSIVE DESIGN ======= */
@media (max-width: 1150px) {
  .container {
    padding-right: 10px;
    padding-left: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
  }
  .feature-item {
    min-width: 180px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
  }
  .footer-logo img {
    margin-bottom: 6px;
  }
  .section, section {
    padding: 29px 7px !important;
    margin-bottom: 32px !important;
  }
  .card, .feature-item, .testimonial-card {
    padding: 18px 8px;
    font-size: 1.02rem;
  }
  .container {
    padding-right: 6px;
    padding-left: 6px;
  }
  .hero {
    padding: 36px 0 36px 0;
    border-radius: 0 0 22px 22px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .features .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .card {
    min-width: unset;
    width: 100%;
  }
  .content-grid, .card-container, .feature-grid {
    flex-direction: column;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 16px 11px 16px 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-modal-dialog {
    padding: 18px 4vw 18px 4vw;
    min-width: unset;
  }
}
@media (max-width: 450px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1rem; }
  .cookie-banner {
    padding: 14px 4px 10px 4px;
    font-size: 0.94rem;
  }
}

/* ======= UTILITY CLASSES ======= */
.text-center { text-align: center !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.rounded { border-radius: var(--radius-card); }

/* ======= PRINT STYLES (hide nav/footer/cookie on print) ======= */
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff !important; }
}
