/* ==== CSS RESET & BASE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #254B29;
  background: #ffffff;
  line-height: 1.5;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ==== BRAND COLORS ==== */
:root {
  --color-primary: #254B29;
  --color-secondary: #4E676D;
  --color-accent: #EFEFEF;
  --color-electric-cyan: #09D9D1;
  --color-vivid-orange: #FF6D1F;
  --color-hot-pink: #FE267C;
  --color-sunny-yellow: #FFE600;
  --color-dark: #131B19;
  --color-white: #fff;
  --shadow-card: 0 6px 24px rgba(9,217,209,0.10), 0 2px 6px rgba(254,38,124,0.06);
  --radius-large: 22px;
  --radius-btn: 14px;
  --transition: 0.22s cubic-bezier(.5,1.6,.4,1);
}

/* ==== TYPOGRAPHY ==== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -1px;
  color: var(--color-primary);
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-vivid-orange);
  margin-bottom: 16px;
  line-height: 1.14;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.26rem;
  font-weight: 700;
  color: var(--color-hot-pink);
  margin-bottom: 12px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}
p {
  margin-bottom: 18px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* ==== NAVIGATION HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(9,217,209,0.04), 0 1px 6px rgba(220,102,42,0.04);
  position: sticky;
  top: 0;
  z-index: 1010;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo-link {
  margin-right: 20px;
  min-width: 120px;
  transition: transform 0.13s;
  display: flex;
  align-items: center;
}
.logo-link:hover {
  transform: scale(1.07) rotate(-2deg);
}
.main-nav ul {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  padding: 6px 10px 7px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 2;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--color-electric-cyan);
  color: var(--color-dark);
}
.cta-btn {
  background: linear-gradient(90deg,#09D9D1 44%, #FE267C 116%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 1.13rem;
  border: none;
  border-radius: var(--radius-btn);
  padding: 13px 28px 13px 28px;
  box-shadow: 0 4px 14px rgba(254,38,124,0.13), 0 1.5px 5px rgba(9,217,209,0.08);
  cursor: pointer;
  transition: background 0.22s, box-shadow var(--transition), color 0.18s;
  position: relative;
  z-index: 2;
  margin-left: 16px;
  outline: none;
  text-shadow: 0 2px 8px rgba(254,230,0,0.09);
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FE267C 0%, #09D9D1 90%);
  color: var(--color-sunny-yellow);
  box-shadow: 0 8px 20px rgba(254,38,124,0.15), 0 3px 14px rgba(9,217,209,0.12);
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-electric-cyan);
  color: var(--color-dark);
  font-size: 2rem;
  padding: 6px 15px 8px 15px;
  border-radius: 10px;
  border: 2px solid var(--color-hot-pink);
  margin-left: auto;
  z-index: 1050;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-hot-pink);
  color: var(--color-white);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #09D9D1 0%, #FE267C 110%);
  box-shadow: -6px 0 28px rgba(39,112,170,0.18);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.66,.1,.15,1.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--color-white);
  background: rgba(255,255,255,0.13);
  border: none;
  border-radius: 8px;
  margin: 22px 20px 10px 0;
  padding: 6px 14px;
  align-self: flex-end;
  transition: background 0.17s, color 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-sunny-yellow);
  color: var(--color-hot-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 32px 40px 0 30px;
  width: 85%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-white);
  background: rgba(255,255,255,0.09);
  margin-bottom: 8px;
  border-radius: 13px;
  padding: 18px 18px 17px 16px;
  box-shadow: 0 4px 12px rgba(254,38,124,0.06);
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--color-hot-pink);
  color: var(--color-sunny-yellow);
}

/* ==== HERO SECTIONS ==== */
.hero {
  background: linear-gradient(98deg, #09D9D1 0%, #FE267C 99%);
  color: var(--color-primary);
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 50px 0 40px 0;
  margin-bottom: 62px;
  box-shadow: 0 12px 38px rgba(9,217,209,0.09), 0 2px 18px rgba(254,38,124,0.06);
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 670px;
  color: var(--color-dark);
  margin: 0 auto;
}
.hero h1 {
  color: var(--color-primary);
  text-shadow: 0 3px 10px rgba(254,230,0,0.09);
}
.hero .subheadline {
  color: var(--color-dark);
}

/* ==== MAIN SECTIONS SPACING ==== */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==== FEATURE GRID/CARD ==== */
.features .feature-grid,
.features ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 14px;
  justify-content: flex-start;
}
.features .feature-grid li,
.feature-grid li {
  background: var(--color-accent);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 20px 24px 20px;
  min-width: 240px;
  max-width: 320px;
  transition: transform 0.19s, box-shadow 0.18s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
.feature-grid li h3 {
  font-size: 1.18rem;
  margin-bottom: 4px;
}
.feature-grid li p {
  color: var(--color-secondary);
  font-size: 0.99rem;
}
.feature-grid li:hover {
  transform: translateY(-7px) scale(1.04) skew(-2deg,1deg);
  box-shadow: 0 10px 32px rgba(254,38,124,0.16), 0 14px 58px rgba(9,217,209,0.11);
  background: #fffbe6;
}
.features > .container,
.about-section > .container,
.services > .container,
.testimonials > .container,
.contact-info > .container,
.faq-section > .container {
  padding-top: 0;
  margin-bottom: 0;
}
.features h2 {
  color: var(--color-vivid-orange);
}

/* ==== CARD, CARD-CONTAINER, GRID CLASSES ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 26px 20px 20px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.19s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 12px 42px rgba(254,38,124,0.17), 0 8px 31px rgba(9,217,209,0.11);
  transform: translateY(-6px) scale(1.02);
}
.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;
  background: #fff;
  border-radius: var(--radius-large);
  padding: 24px 24px 20px 24px;
  box-shadow: 0 4px 28px rgba(39,112,170,0.12), 0 1.5px 9px rgba(254,38,124,0.08);
  margin-bottom: 20px;
  flex-direction: column;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: var(--color-dark);
  margin-bottom: 10px;
  font-weight: 600;
}
.testimonial-meta {
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* ==== ABOUT/LEGAL/CONTACT ==== */
.about-section, .contact-info, .faq-section, .legal-section {
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: 0 6px 32px rgba(9,217,209,0.07), 0 2px 9px rgba(254,38,124,0.05);
  margin-bottom: 60px;
  padding: 36px 12px 36px 12px;
}
.about-section h2, .contact-info h2, .faq-section h2, .legal-section h1, .legal-section h2 {
  color: var(--color-hot-pink);
}
.about-section ul, .contact-info ul, .faq-section ul, .legal-section ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.about-section ul li, .contact-info ul li, .faq-section ul li, .legal-section ul li {
  padding-left: 0;
  position: relative;
  font-size: 1rem;
  color: var(--color-secondary);
  line-height: 1.47;
}

/* ==== SERVICES ==== */
.services {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-electric-cyan);
  border-radius: var(--radius-large);
  box-shadow: 0 6px 20px rgba(39,112,170,0.11);
  color: var(--color-dark);
}
.services h2 {
  color: var(--color-primary);
}
.services ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.services ul li {
  color: var(--color-dark);
  font-size: 1.07rem;
}
.services .cta-btn {
  margin-top: 23px;
}

/* ==== FAQ ==== */
.faq-section ul li strong {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--color-hot-pink);
}

/* ==== FOOTER ==== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 44px 0 25px 0;
  margin-top: 62px;
  box-shadow: 0 -2px 14px rgba(9,217,209,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 12px;
}
.footer-nav ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav ul li a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-nav ul li a:hover,
.footer-nav ul li a:focus {
  color: var(--color-hot-pink);
}
.footer-nav a img {
  max-width: 110px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 7px rgba(39,112,170,0.12));
}
.footer-contact {
  color: var(--color-accent);
  font-size: 1rem;
  line-height: 1.6;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom: 2px;
}
.footer-copy {
  margin-top: 22px;
  color: #dfeee7;
  font-size: 0.94rem;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ==== BUTTONS, FORMS =====  */
button, .cta-btn {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ==== MICRO-INTERACTIONS & TRANSITIONS ==== */
.card, .feature-grid li, .cta-btn, .mobile-nav a, .testimonial-card {
  transition: box-shadow 0.16s var(--transition), transform 0.17s var(--transition), background 0.18s, color 0.16s;
}
.cta-btn:active {
  transform: scale(0.98);
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg,#FFF270 50%,#FE267C 150%);
  color: var(--color-primary);
  padding: 24px 16px;
  box-shadow: 0 -6px 33px rgba(39,112,170,0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2000;
  font-family: 'Montserrat', Arial, sans-serif;
  gap: 18px;
  animation: slideInBanner 0.4s cubic-bezier(.57,1.41,.49,1) 1;
}
@keyframes slideInBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner__text {
  font-size: 1rem;
  max-width: 720px;
  color: var(--color-primary);
}
.cookie-banner__actions {
  display: flex;
  gap: 15px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 19px;
  border-radius: 11px;
  border: none;
  background: var(--color-hot-pink);
  color: #fff;
  transition: background 0.17s, color 0.14s, transform 0.12s;
  margin-right: 1px;
}
.cookie-btn.accept {
  background: var(--color-electric-cyan);
  color: var(--color-dark);
}
.cookie-btn.reject {
  background: #ffd1a8;
  color: #cd1800;
}
.cookie-btn.settings {
  background: var(--color-sunny-yellow);
  color: var(--color-dark);
}
.cookie-btn:focus, .cookie-btn:hover {
  filter: brightness(1.08) drop-shadow(0 2px 8px rgba(254,38,124,0.13));
  transform: scale(1.06);
}

/* COOKIE CONSENT MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 98vw;
  max-width: 420px;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  color: var(--color-primary);
  border-radius: var(--radius-large);
  box-shadow: 0 12px 66px rgba(9,217,209,0.13), 0 6px 38px rgba(254,38,124,0.14);
  z-index: 2110;
  padding: 38px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: popfade 0.22s cubic-bezier(.57,1.41,.49,1) 1;
}
@keyframes popfade {
  from { opacity: 0; transform: translate(-50%, -44%) scale(0.92); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cookie-modal__header h3 {
  color: var(--color-hot-pink);
  font-size: 1.12rem;
}
.cookie-modal__close {
  background: #FFE600;
  color: var(--color-primary);
  border-radius: 7px;
  border: none;
  font-size: 1.55rem;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.13s, color 0.12s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--color-hot-pink);
  color: #fff;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-accent);
}
.cookie-modal__category.essential label {
  color: var(--color-secondary);
  font-weight: 700;
}
.cookie-modal__toggle {
  appearance: none;
  width: 39px;
  height: 22px;
  background: var(--color-electric-cyan);
  border-radius: 13px;
  position: relative;
  outline: none;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal__toggle:checked {
  background: var(--color-hot-pink);
}
.cookie-modal__toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.cookie-modal__toggle:checked::before {
  transform: translateX(16px);
}
.cookie-modal__actions {
  display: flex;
  gap: 17px;
  margin-top: 10px;
  justify-content: flex-end;
}

/* ==== MEDIA QUERIES (RESPONSIVENESS) ==== */
@media (max-width: 1100px) {
  .feature-grid li {
    min-width: 48%;
    max-width: 100%;
  }
  .main-nav ul {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid li {
    min-width: 100%;
  }
  .footer-nav {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
  .footer-nav ul {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .main-nav ul, .footer-nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .main-nav ul li a {
    font-size: 1.01rem;
    padding: 7px 6px;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 12px 16px;
  }
  .hero {
    padding: 35px 0 29px 0;
    min-height: 180px;
    margin-bottom: 24px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .feature-grid, .features .feature-grid {
    gap: 14px;
    flex-direction: column;
  }
  .feature-grid li {
    min-width: 0;
    max-width: 100%;
    padding: 18px 12px 17px 13px;
  }
  .card, .testimonial-card {
    padding: 13px 12px 13px 13px;
  }
  .about-section, .contact-info, .faq-section, .legal-section {
    padding: 18px 7px 21px 7px;
  }
  .services {
    padding: 18px 8px;
    border-radius: 14px;
  }

  .mobile-menu-toggle {
    display: block;
  }
  .main-nav > ul,
  .main-nav .cta-btn {
    display: none;
  }
}
@media (max-width: 520px) {
  h1, .h1 {
    font-size: 1.54rem;
    margin-bottom: 10px;
  }
  h2, .h2 {
    font-size: 1.12rem;
    margin-bottom: 8px;
  }
  h3, .h3 {
    font-size: 0.99rem;
    margin-bottom: 4px;
  }
  .testimonial-card p, .services ul li {
    font-size: 0.99rem;
  }
  .card, .testimonial-card {
    padding: 10px 7px 10px 8px;
    margin-bottom: 13px;
  }
  .section, section {
    margin-bottom: 33px;
    padding: 16px 3px;
  }
  .content-wrapper {
    gap: 7px;
  }
  .footer-copy {
    margin-top: 13px;
    font-size: 0.83rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    padding: 14px 6px;
  }
}
@media (max-width: 370px) {
  .mobile-nav a {
    font-size: 1.12rem;
    padding: 13px 10px 13px 9px;
  }
}
/* Responsive flex adaptation for text-image-sections */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ==== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid var(--color-vivid-orange);
  outline-offset: 2px;
}

/* ===================== END ===================== */