/* 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, main, 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: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  background: #F6F6F6;
  line-height: 1.6;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* COLOR VARIABLES (with fallback) */
:root {
  --color-primary: #1A2634;
  --color-secondary: #417B9C;
  --color-accent: #F6F6F6;
  --color-card: #fff;
  --color-heading: #1A2634;
  --color-text: #23252C;
  --color-btn: #417B9C;
  --color-btn-hover: #20374a;
  --color-artistic1: #EF476F;
  --color-artistic2: #FFD166;
  --color-artistic3: #06D6A0;
  --color-artistic4: #5A189A;
  --color-shadow: rgba(34, 55, 74, 0.12);
  --radius-base: 20px;
}

/* GENERAL SPACING & LAYOUT */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-card);
  border-radius: var(--radius-base);
  box-shadow: 0 10px 32px var(--color-shadow);
  padding: 32px 24px;
  position: relative;
  transition: transform 0.2s cubic-bezier(.23,.87,.52,.99), box-shadow 0.2s cubic-bezier(.23,.87,.52,.99);
}
.card:hover {
  transform: translateY(-6px) scale(1.02) rotate(-1deg);
  box-shadow: 0 16px 48px 0 rgba(34, 55, 74, 0.20);
}

.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;
  box-shadow: 0 6px 32px 0 rgba(34, 55, 74, 0.08);
  border-radius: var(--radius-base);
  margin-bottom: 20px;
  position: relative;
  color: #222;
  transition: box-shadow 0.16s ease;
}
.testimonial-card:hover {
  box-shadow: 0 10px 42px 0 rgba(239, 71, 111, 0.14);
}
.testimonial-card blockquote {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-artistic1);
  margin-right: 12px;
}
.testimonial-card cite {
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 600;
  font-style: normal;
}
.testimonial-card div {
  font-size: 1.6rem;
  color: var(--color-artistic2);
  letter-spacing: 2px;
  margin-left: auto;
}

/* FEATURE, BENEFIT, SERVICE-LIST FLEXBOX STYLES */
.feature-grid, .service-list, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.feature-grid > div, .service-list > div, .benefits-grid > div {
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 290px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 4px 20px rgba(6, 214, 160, 0.08);
  padding: 28px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  transition: box-shadow 0.18s;
  margin-bottom: 20px;
  border: 3px solid transparent;
}
.feature-grid > div:hover,
.service-list > div:hover,
.benefits-grid > div:hover {
  border-color: var(--color-artistic1);
  box-shadow: 0 8px 32px 0 rgba(239, 71, 111, 0.14);
  z-index: 1;
}
.feature-grid img, .benefits-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 8px;
}
.feature-grid h3, .service-list h3, .benefits-grid h3 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.18rem;
  color: var(--color-artistic4);
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-grid p, .service-list p, .benefits-grid p {
  color: #23252c;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  color: var(--color-heading);
  line-height: 1.11;
  font-weight: 900;
  letter-spacing: .02em;
}
h1 {
  font-size: 2.5rem;
  color: var(--color-artistic4);
  background: linear-gradient(90deg, var(--color-artistic1) 0%, var(--color-artistic4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem;
  color: var(--color-artistic1);
  margin-bottom: 16px;
}
h3 {
  font-size: 1.38rem;
  margin-bottom: 9px;
  color: var(--color-artistic4);
}
h4 {
  font-size: 1.18rem;
  color: var(--color-primary);
}
p, li, address, cite, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-text);
}
.text-section {
  max-width: 680px;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
  color: var(--color-text);
}
li {
  line-height: 1.7;
  margin-bottom: 7px;
}
address {
  font-style: normal;
  color: #686868;
  margin-bottom: 10px;
}

/* LINK & CTA BUTTONS */
a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.12s;
}
a:hover, a:focus {
  color: var(--color-artistic1);
  text-decoration: underline;
}
.cta.primary,
button.cta.primary,
input[type="submit"].primary {
  display: inline-block;
  background: var(--color-btn);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  border-radius: 48px;
  padding: 14px 38px;
  border: none;
  font-size: 1.18rem;
  box-shadow: 0 2px 12px -2px rgba(65, 123, 156, 0.12);
  cursor: pointer;
  margin-top: 14px;
  margin-bottom: 10px;
  transition: background 0.16s, transform 0.16s, box-shadow 0.16s;
  position: relative;
  z-index: 1;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-btn-hover);
  color: #fff;
  transform: translateY(-2px) scale(1.045) rotate(-1deg);
  box-shadow: 0 6px 32px 0 rgba(239, 71, 111, 0.12);
  text-decoration: none;
}

/* MAIN NAV */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(65, 123, 156,0.06);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
}
header a img {
  height: 44px;
  margin: 20px 23px 20px 0;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  margin-top: 11px;
  flex-wrap: wrap;
}
.main-nav a {
  padding: 8px 0;
  transition: color 0.1s;
  color: var(--color-artistic4);
}
.main-nav a.cta {
  margin-left: 16px;
}

/* HIDE MENU ON MOBILE */
@media (max-width: 970px) {
  .main-nav { display: none; }
  header a img { margin: 16px 0 16px 0; }
}

/* BURGER MENU BUTTON */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-artistic1);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  box-shadow: 0 0 10px 0 rgba(239, 71, 111, 0.09);
  position: absolute;
  right: 24px;
  top: 14px;
  cursor: pointer;
  z-index: 1030;
  transition: background 0.17s, color 0.17s, transform 0.21s;
}
@media (min-width: 971px) {
  .mobile-menu-toggle { display: none; }
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-artistic4);
  color: var(--color-artistic2);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 38, 52, 0.93);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.3s, transform 0.38s cubic-bezier(.62,.52,.35,.96);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: var(--color-artistic2);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 48px; height: 48px;
  align-self: flex-end;
  margin: 18px 14px 14px 0;
  cursor: pointer;
  box-shadow: 0 0 8px 0 #FFD16620;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-artistic1);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 42px;
  margin-top: 24px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: .04em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 6px 0 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-bottom 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-artistic2);
  border-bottom: 2px solid var(--color-artistic2);
}
@media (min-width: 971px) {
  .mobile-menu, .mobile-menu-close { display: none !important; }
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 42px 0 30px 0;
  margin-top: 50px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #FFD166;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-nav a:hover { color: #fff; }
footer address { color: #FFD166; font-size: 0.96rem; margin-bottom: 6px; }
footer div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer img {
  height: 36px;
  margin-bottom: 8px;
  margin-top: 0px;
}
footer a { color: #81A7B5; }
footer a:hover { color: #fff; text-decoration: underline; }

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 5000;
  width: 100vw;
  background: #FFF;
  color: var(--color-primary);
  padding: 28px 18px 22px 18px;
  box-shadow: 0 -8px 32px 0 rgba(26,38,52,0.12);
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-slide-up 0.65s cubic-bezier(0.25, 1.3, 0.5, 1);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.02rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.cookie-btn {
  border: none;
  border-radius: 32px;
  padding: 11px 28px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
  margin-right: 7px;
  margin-bottom: 4px;
  transition: background 0.16s, color 0.14s, box-shadow 0.14s;
  box-shadow: 0 1px 8px 0 rgba(65,123,156,0.05);
}
.cookie-btn.accept {
  background: var(--color-artistic3);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--color-artistic1);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-artistic2);
  color: var(--color-primary);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #05979f;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--color-artistic4);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff7d9;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 6000;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(26, 38, 52, 0.95);
  padding: 40px 0 40px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: var(--color-primary);
  padding: 38px 30px 28px 30px;
  border-radius: 28px;
  max-width: 440px;
  width: 92vw;
  box-shadow: 0 8px 48px 0 rgba(58, 10, 122, .27);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal-content h2 {
  color: var(--color-artistic1);
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.cookie-modal-content input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-artistic1);
}
.cookie-modal-content .cookie-pref-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-modal-content .cookie-btns {
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--color-artistic4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.3rem;
  cursor: pointer;
}
.cookie-modal-content p {
  color: var(--color-text);
}

/* MISC ELEMENTS */
blockquote, q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}
blockquote:before {
  content: open-quote;
}
blockquote:after {
  content: close-quote;
}
blockquote {
  color: var(--color-artistic1);
}

hr {
  border: none;
  border-top: 2px dashed var(--color-artistic4);
  margin: 20px 0;
}

/* Responsive Styles (Mobile First, Flexbox only) */
@media (max-width: 1230px) {
  .container { padding: 0 13px; }
}
@media (max-width: 968px) {
  .container { padding: 0 5vw; }
  .feature-grid, .service-list, .benefits-grid { gap: 18px; }
}
@media (max-width: 815px) {
  .feature-grid > div, .service-list > div, .benefits-grid > div {
    min-width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .container { gap: 19px; }
  .content-wrapper { gap: 20px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.06rem; }
  .section { padding: 29px 8px; margin-bottom: 28px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .content-grid, .feature-grid, .service-list, .benefits-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav { display: none; }
  .footer-nav { flex-direction: column; gap: 7px; text-align: left; }
  .cookie-modal-content { padding: 29px 11px 21px 11px; }
  .testimonial-card div { margin-left: 0; margin-top: 7px; }
}
@media (max-width: 520px) {
  .section { padding: 15px 3px; margin-bottom: 19px; }
  .cookie-banner { padding: 16px 6px 10px 6px; font-size: 0.99rem; }
}

/* Artistic Touches */
.card, .feature-grid > div, .service-list > div, .benefits-grid > div, .testimonial-card {
  border-radius: 22px 60px 22px 22px;
  border-left: 7px solid var(--color-artistic1);
  box-shadow: 0 4.5px 18px 0 rgba(65, 123, 156,0.10);
}
.feature-grid > div:nth-child(1) { border-left-color: var(--color-artistic1); }
.feature-grid > div:nth-child(2) { border-left-color: var(--color-artistic2); }
.feature-grid > div:nth-child(3) { border-left-color: var(--color-artistic3); }
.feature-grid > div:nth-child(4) { border-left-color: var(--color-artistic4); }
.benefits-grid > div:nth-child(1) { border-left-color: var(--color-artistic1); }
.benefits-grid > div:nth-child(2) { border-left-color: var(--color-artistic4); }

.card:before {
  content: '';
  position: absolute;
  left: -22px;
  top: 24px;
  height: 32px;
  width: 32px;
  background: var(--color-artistic1);
  border-radius: 50%;
  opacity: 0.035;
  z-index: 0;
}

/* Microinteractions/Transitions */
a, button, .cta.primary, .cookie-btn, .main-nav a, .mobile-nav a {
  transition: color 0.14s, background 0.15s, box-shadow 0.13s, transform 0.14s;
}

/* Helpers */
.hide { display: none !important; }

/* Accessibility & Contrast for Testimonials & Reviews */
.testimonial-card {
  background: #fff;
  color: #23252c;
  box-shadow: 0 4px 22px 0 rgba(65,123,156,0.08);
}
.testimonial-card cite { color: var(--color-secondary); font-weight: 700; }

/* END */
