/* ===== 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, 
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.42,0,.58,1);
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  border: none;
  font-family: inherit;
  font-size: 100%;
  background: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ===== VARIABLES & FALLBACKS ===== */
:root {
  --color-primary: #26374D;
  --color-secondary: #A6C8E9;
  --color-accent: #E6F2D9;
  --color-brand-electric: #27C2FF; /* additional vibrant color */
  --color-brand-magenta: #FF2D6A;
  --color-brand-yellow: #FFC700;
  --color-bg: #fff;
  --color-text-dark: #222;
  --color-text-light: #fff;
  --color-neutral-100: #F7FAFC;
  --shadow-main: 0 4px 24px 0 rgba(38, 55, 77, 0.10), 0 1.5px 8px 0 rgba(255, 45, 106, 0.06);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius-main: 18px;
  --radius-pill: 9999px;
  --transition: all 0.18s cubic-bezier(.42,0,.58,1);
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  color: var(--color-brand-magenta);
  text-shadow: 1px 3px 0 var(--color-brand-yellow);
}
h2 {
  font-size: 2rem;
  color: var(--color-primary);
}
h3 {
  font-size: 1.25rem;
  color: var(--color-brand-electric);
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p, li {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
strong, b {
  color: var(--color-brand-magenta);
}
small {
  font-size: .8125rem;
  color: var(--color-brand-electric);
}
.subheadline {
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--color-brand-electric);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
blockquote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  background: var(--color-accent);
  color: var(--color-brand-magenta);
  border-left: 4px solid var(--color-brand-electric);
  padding: 20px 24px;
  border-radius: var(--radius-main);
  margin-bottom: 18px;
  box-shadow: var(--shadow-main);
}

/* ====== LAYOUT BASE CLASSES ====== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-neutral-100);
  padding: 28px 24px;
  margin-bottom: 20px;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.16s cubic-bezier(.42,0,.58,1), transform 0.16s cubic-bezier(.42,0,.58,1);
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(38,55,77,0.17),0 2px 12px 0 rgba(255,45,106,0.10);
  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;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  padding: 30px 24px 28px 24px;
  width: 100%;
  max-width: 350px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(38,55,77,0.2),0 2px 12px 0 rgba(255,200,0,0.17);
  transform: translateY(-6px) scale(1.02);
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: flex-start;
}
.team-member {
  background: var(--color-accent);
  border-left: 4px solid var(--color-brand-electric);
  border-radius: var(--radius-main) 0 0 var(--radius-main);
  box-shadow: var(--shadow-main);
  padding: 22px 24px;
  min-width: 240px;
  flex: 1 1 0;
}

.faq-list, .service-list, .post-grid, .quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-item, .service-item, .post-preview {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.faq-item:hover, .service-item:hover, .post-preview:hover {
  box-shadow: 0 10px 30px 0 rgba(38,55,77,0.23),0 3px 12px 0 rgba(38,199,255,0.09);
  transform: translateY(-4px) scale(1.01);
}

.post-preview a {
  display: inline-block;
  color: var(--color-brand-magenta);
  font-weight: 600;
  margin-top: 6px;
  transition: color 0.1s cubic-bezier(.42,0,.58,1);
  position: relative;
}
.post-preview a:after {
  content: '';
  display: block;
  width: 70%;
  height: 2px;
  background: var(--color-brand-magenta);
  border-radius: var(--radius-pill);
  position: absolute;
  bottom: -3px;
  left: 0;
  transition: width 0.2s;
}
.post-preview a:hover {
  color: var(--color-primary);
}
.post-preview a:hover:after {
  width: 100%;
  background: var(--color-brand-yellow);
}

/* =========== TESTIMONIALS ============ */
.testimonials .testimonial-card,
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  border-left: 5px solid var(--color-brand-electric);
  color: var(--color-primary);
}
.testimonial-card p {
  font-size: 1.13rem;
  color: var(--color-primary);
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-brand-magenta);
  font-weight: 600;
}

/* =========== HERO / CTA ============= */
.hero {
  width: 100%;
  background: var(--color-brand-magenta);
  padding: 60px 0 40px 0;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  box-shadow: var(--shadow-main);
  margin-bottom: 40px;
}
.hero .container {
  justify-content: center;
}
.hero h1 {
  font-size: 2.6rem;
  color: #fff;
  text-shadow: 1px 3px 0 var(--color-brand-electric);
}
.hero .subheadline {
  color: var(--color-brand-yellow);
  font-size: 1.14rem;
  font-weight: 600;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 13px 32px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(38,55,77,0.11);
  min-width: 150px;
  margin-top: 18px;
  text-align: center;
}
.cta.primary {
  background: linear-gradient(90deg, var(--color-brand-electric) 60%, var(--color-brand-magenta));
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(38,199,255,0.18);
  border: 2px solid var(--color-brand-magenta);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-brand-yellow);
  color: var(--color-primary);
  border-color: var(--color-brand-electric);
  transform: scale(1.04);
}
.cta.secondary {
  background: #fff;
  color: var(--color-brand-magenta);
  border: 2px solid var(--color-brand-electric);
  box-shadow: 0 1.5px 6px 0 rgba(255,45,106,0.06);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-brand-magenta);
  color: #fff;
  border-color: var(--color-brand-yellow);
  box-shadow: 0 5px 12px 0 rgba(255,45,106,0.18);
  transform: scale(1.03);
}

/* =========== HEADER & NAV ============ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(38, 55, 77, 0.08);
  position: relative;
  z-index: 95;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  padding: 18px 0;
}
.main-nav a {
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
  border-radius: var(--radius-pill);
  letter-spacing: .01em;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.main-nav img {
  height: 32px;
  margin-right: 15px;
}
.main-nav a.cta {
  margin-left: auto;
}
.main-nav a:not(.cta):hover,
.main-nav a:not(.cta):focus {
  background: var(--color-accent);
  color: var(--color-brand-magenta);
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 16px;
  right: 26px;
  z-index: 102;
  background: var(--color-brand-magenta);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--color-brand-electric);
  box-shadow: 0 3px 12px 0 rgba(38,199,255,0.12);
  transition: filter 0.1s, background var(--transition);
}
.mobile-menu-toggle:active {
  background: var(--color-brand-electric);
  filter: brightness(1.10);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(38,55,77,0.96);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.48,0,.52,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  box-shadow: -2px 0 26px 0 rgba(38,199,255,0.16);
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-brand-magenta);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin: 18px 34px 10px 0;
  border: 2px solid var(--color-brand-electric);
  align-self: flex-end;
  transition: background var(--transition), border var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-brand-electric);
  color: var(--color-primary);
  border-color: var(--color-brand-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 26px 36px 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  padding: 15px 0;
  font-family: var(--font-display);
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-brand-yellow);
  background: rgba(255,255,255,0.06);
}

/* =========== FOOTER ============ */
footer {
  background: var(--color-primary);
  color: #fff;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 70px;
  box-shadow: 0 -4px 24px rgba(38, 199, 255, 0.1);
  padding: 38px 0 22px 0;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-main-menu, .footer-utility-menu {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-main-menu a, .footer-utility-menu a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition);
}
.footer-main-menu a:hover, .footer-utility-menu a:hover {
  background-color: var(--color-brand-electric);
  color: var(--color-primary);
}
.footer-brand-contact {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  color: #fff;
  flex-wrap: wrap;
  margin-top: 12px;
}
.footer-brand-contact img {
  height: 25px;
  width: auto;
}

/* ======= LISTS & LEGAL ======== */
ul {
  padding-left: 18px;
  margin-bottom: 18px;
}
ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 14px;
}
ul li:before {
  content: '•';
  position: absolute;
  left: 0; top: 0.2em;
  color: var(--color-brand-magenta);
  font-size: 1.12em;
  font-weight: bold;
}
.legal h1, .legal h2 {
  color: var(--color-brand-magenta);
}
.legal ul li:before, .legal ul li {
  color: var(--color-brand-electric);
}
.legal {
  background: var(--color-accent);
  border-radius: var(--radius-main);
  margin-bottom: 44px;
  padding: 48px 18px;
  box-shadow: var(--shadow-main);
}

/*  ========== MISCELLANEOUS CARDS  ========= */
.about-snippet, .inspiration, .thank-you {
  background: var(--color-accent);
  border-radius: var(--radius-main);
  padding: 44px 24px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-main);
}

.quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.quotes blockquote {
  flex: 1 1 200px;
}

/* ========== GENERAL SPACING ========= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100%;
  background: var(--color-brand-magenta);
  color: #fff;
  z-index: 1400;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 16px 6vw;
  box-shadow: 0 -4px 32px 0 rgba(255,45,106,0.15);
  font-size: 1rem;
  animation: slideUpBanner 0.54s cubic-bezier(.55,.01,.96,.63);
}
@keyframes slideUpBanner {
  from { transform: translateY(180px); opacity:0;} to {transform:none; opacity:1;}
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  max-width: 550px;
}
.cookie-banner .cookie-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-brand-electric);
  background: #fff;
  color: var(--color-brand-magenta);
  padding: 10px 26px;
  margin-left: 10px;
  font-size: 1rem;
  margin-right: 3px;
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.cookie-banner .cookie-btn.accept {
  background: var(--color-brand-electric);
  color: #fff;
  border-color: #fff;
}
.cookie-banner .cookie-btn.accept:hover {
  background: var(--color-brand-yellow);
  color: var(--color-brand-magenta);
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: var(--color-brand-magenta);
  border: 2px solid var(--color-brand-magenta);
}
.cookie-banner .cookie-btn.reject:hover {
  background: var(--color-brand-magenta);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: var(--color-brand-electric);
  border: 2px solid var(--color-brand-electric);
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--color-brand-electric);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1401;
  background: rgba(38, 55, 77, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(.42,0,.58,1);
}
.cookie-modal.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal .modal-box {
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(38,55,77,0.18);
  border-radius: var(--radius-main);
  padding: 44px 24px 24px 24px;
  width: 90vw;
  max-width: 370px;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .modal-title {
  font-family: var(--font-display);
  color: var(--color-brand-magenta);
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 9px 0;
  font-size: 1rem;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--color-brand-electric);
  width: 22px;
  height: 22px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 15px;
  background: none;
  border: none;
  color: var(--color-brand-magenta);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 3;
  transition: color var(--transition);
}
.cookie-modal .close-modal:hover {
  color: var(--color-brand-electric);
}

/* =============== RESPONSIVE ================ */
@media (max-width: 1100px) {
  .feature-grid { flex-direction: column; align-items: stretch; }
  .team-list { flex-direction: column; }
  .content-grid { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 24px; }
}
@media (max-width: 900px) {
  .main-nav { flex-wrap: wrap; gap: 8px; }
  .container { padding-left: 12px; padding-right: 12px; }
  section, .about-snippet, .inspiration, .thank-you, .legal {
    padding-left: 10px; padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero h1 {
    font-size: 2.0rem;
  }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.38rem; }
  .feature-grid, .card-container, .content-grid, .team-list, .footer-main-menu, .footer-utility-menu, .faq-list, .service-list, .quotes, .post-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item, .service-item, .faq-item, .post-preview {
    max-width: 100%;
    min-width: unset;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    padding: 16px;
  }
  .footer-nav { flex-direction: column; gap: 16px; }
  .footer-brand-contact {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 600px) {
  .hero { padding: 32px 0 20px 0; }
  .container { padding-left: 4px; padding-right: 4px; }
  section, .about-snippet, .inspiration, .thank-you, .legal { padding: 24px 3px; }
  .cookie-banner { padding: 15px 2vw 13px 2vw; font-size: 0.97rem; }
}

/* Extra spacing for elements separation */
.card, .feature-item, .service-item, .faq-item, .post-preview, .testimonial-card {
  margin-bottom: 20px;
}
.section, section {
  margin-bottom: 60px;
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.align-center { align-items: center; justify-content: center; }
.align-start { align-items: flex-start; }
.flex-row { display: flex; flex-direction: row; }
.flex-column { display: flex; flex-direction: column; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-28 { gap: 28px; }

/* ========= MICRO-ANIMATIONS ========= */
.cta, .cookie-banner .cookie-btn, .card, .feature-item, .service-item, .faq-item, .post-preview, .testimonial-card {
  transition: var(--transition);
}

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