/* =============================
   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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
}
ol, ul {
  list-style: none;
}
b, strong {
  font-weight: bold;
}
a {
  background: none;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  border: none;
  max-width: 100%;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}

/* =============================
   BRAND FONTS & BASE TYPOGRAPHY
   ============================= */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600&display=swap');
:root {
  --brand-primary: #153252;
  --brand-secondary: #E6B800;
  --brand-accent: #F5F5F5;
  --brand-white: #fff;
  --brand-black: #21262D;
  --brand-blue: #00B3EF;
  --brand-red: #FF4B60;
  --brand-mint: #4EF7C2;
  --brand-violet: #865DFF;
  --brand-success: #13ce66;
  --brand-warning: #ffb020;
  --brand-shadow: rgba(21,50,82,.06);
}
html {
  font-size: 16px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background: var(--brand-accent);
  scroll-behavior: smooth;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: var(--brand-black);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.17;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }
h5, h6 { font-size: 1rem; }

.subheadline {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--brand-secondary);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  line-height: 1.25;
}
p {
  margin-bottom: 1.2em;
  font-size: 1.07rem;
}
ul, ol {
  margin: 0 0 1.1em 1.5em;
}
li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.6em;
}
blockquote {
  color: var(--brand-primary);
  background: #e3f3ff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  border-left: 5px solid var(--brand-secondary);
  padding: 20px 24px 12px 28px;
  border-radius: 16px;
  margin-bottom: 8px;
}
cite {
  color: var(--brand-blue);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  margin-left: 4px;
}

/* =============================
   UTILITY CLASSES & CONTAINERS
   ============================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--brand-white);
  border-radius: 22px;
  box-shadow: 0 4px 20px var(--brand-shadow);
  position: relative;
  transition: transform 0.16s cubic-bezier(.77,0,.175,1), box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 36px rgba(33,38,45,.12);
}
.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;
  margin-bottom: 24px;
  border-radius: 18px;
  background: #fffbe7;
  box-shadow: 0 2px 18px #f5c96e33;
  border-left: 6px solid var(--brand-secondary);
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  padding-left: 0;
  margin-bottom: 0;
  color: var(--brand-primary);
}
.testimonial-card cite {
  color: var(--brand-secondary);
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--brand-white);
  padding: 26px 20px 16px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 7px var(--brand-shadow);
  min-width: 220px;
  flex: 1 1 230px;
  transition: box-shadow 0.16s, transform 0.16s;
  cursor: pointer;
  position: relative;
}
.feature-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 7px #e5e50033);
  transition: transform 0.16s cubic-bezier(.77,0,.175,1);
}
.feature-item:hover {
  box-shadow: 0 6px 32px #ffeccc99;
  transform: translateY(-3px) rotate(-1.2deg) scale(1.04);
}
.feature-item:hover img {
  transform: scale(1.17) rotate(11deg);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}

.brand-promise {
  margin: 32px 0 0 0;
  padding: 20px;
  background: #eafffc;
  border-radius: 18px;
  color: var(--brand-primary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 12px #b6ece333;
}
.milestone-list {
  margin: 32px 0 0 0;
  padding: 20px 20px 10px 20px;
  background: #f7ecfa;
  border-radius: 16px;
  color: var(--brand-primary);
  box-shadow: 0 1px 12px #c891ff17;
}

/* =============================
   HEADER + MAIN NAVIGATION
   ============================= */
.main-header {
  width: 100%;
  background: var(--brand-primary);
  box-shadow: 0 3px 18px #15325221;
  z-index: 90;
  position: sticky;
  top: 0;
}
.main-header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}
.logo {
  width: 156px;
  height: auto;
  margin-right: 18px;
  transition: transform 0.17s cubic-bezier(.77,0,.175,1);
}
.logo:hover {
  transform: rotate(-2deg) scale(1.06);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.09rem;
  color: var(--brand-white);
  background: none;
  padding: 7px 16px;
  border-radius: 14px;
  transition: background 0.16s, color 0.14s;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-primary);
  background: var(--brand-secondary);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--brand-secondary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 1px 7px #e6b80020;
  transition: filter 0.13s, background 0.13s;
  z-index: 1003;
}
.mobile-menu-toggle:active {
  filter: brightness(0.9);
}

/* =============================
   MOBILE MENU
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(21, 50, 82, 0.97);
  z-index: 9999;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transition: transform 0.3s cubic-bezier(.86,.01,.6,.96);
  transform: translateX(100%);
  will-change: transform;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--brand-white);
  border: none;
  font-size: 2.2rem;
  margin: 16px 24px 18px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  z-index: 9001;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  width: 88%;
  display: block;
  text-align: center;
  color: var(--brand-white);
  background: none;
  font-size: 1.28rem;
  padding: 16px 0;
  margin: 0 auto;
  border-radius: 12px;
  transition: background 0.14s, color 0.14s;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-primary);
  background: var(--brand-secondary);
  font-weight: 700;
}

/* ============
   HERO & CTA
   ============ */
.hero {
  min-height: 53vh;
  background: linear-gradient(90deg, #515ef7 33%, #ffd5ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 44px 44px;
  margin-bottom: 60px;
  box-shadow: 0 2px 54px #f5f2c444;
  position: relative;
  animation: heroBounceIn 0.5s 0.1s both;
}
@keyframes heroBounceIn {
  0% {
    transform: translateY(-40px) scale(0.94);
    opacity: 0.5;
  }
  80% {
    transform: translateY(10px) scale(1.03);
    opacity: 1;
  }
  100% {
    transform: none;
  }
}
.hero .content-wrapper {
  align-items: flex-start;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 9px;
}
.hero h1 {
  color: var(--brand-primary);
  font-size: 2.5rem;
  margin-bottom: 8px;
  text-shadow: 2px 8px 24px #ffd34c66;
}
.hero .cta {
  margin-top: 22px;
}

.cta {
  display: inline-block;
  padding: 15px 38px;
  border-radius: 18px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--brand-mint);
  border: none;
  transition: background 0.14s, color 0.14s, transform 0.15s;
  box-shadow: 0 2px 28px #4EF7C222;
  text-align: center;
  margin-bottom: 12px;
  cursor: pointer;
}
.cta.primary, .cta.primary:visited {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 2px 18px #ffd44a44;
}
.cta:hover, .cta:focus {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  letter-spacing: 0.02em;
}

/* =============================
   CONTACT INFO
   ============================= */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  padding: 13px 0 18px 0;
  margin-bottom: 12px;
}
.contact-info div {
  display: flex;
  align-items: center;
  font-size: 1.03rem;
  gap: 10px;
  background: #edf7ff;
  padding: 10px 16px;
  border-radius: 13px;
  color: var(--brand-primary);
}
.contact-info img {
  width: 27px;
  height: 27px;
}

/* =============================
   FOOTER
   ============================= */
.site-footer {
  background: var(--brand-primary);
  color: var(--brand-white);
  padding: 32px 0 16px 0;
  margin-top: 55px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -4px 24px #e6b80014;
}
.site-footer .container {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
.footer-nav a {
  color: var(--brand-secondary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  opacity: 0.9;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.12s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-white);
  color: var(--brand-primary);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.99rem;
}
.footer-brand img {
  width: 39px;
}

/* =============================
   SERVICES, LEGAL & THANK YOU
   ============================= */
.legal-section, .about-page, .contact-page, .thankyou-section {
  background: var(--brand-accent);
  border-radius: 30px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal-section h1, .about-page h1, .thankyou-section h1 {
  color: var(--brand-secondary);
  font-size: 2.2rem;
}
.legal-section h2, .about-page h2, .thankyou-section h2 {
  margin-top: 24px;
  color: var(--brand-violet);
}
.services ul {
  margin: 16px 0 24px 22px;
}
.services li {
  margin-bottom: 13px;
  color: var(--brand-primary);
  font-size: 1.05rem;
  position: relative;
  padding-left: 9px;
}
.services li::before {
  content: '●';
  color: var(--brand-mint);
  font-size: 1.1em;
  position: absolute;
  left: -10px;
}

/* =============================
   COOKIE CONSENT BANNER & POPUP
   ============================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 12000;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 -6px 22px #e6b80043;
  animation: consentFadeInUp 0.7s cubic-bezier(.96,.01,.25,.66);
  gap: 12px;
}
@keyframes consentFadeInUp {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: none; }
}
.cookie-consent-banner .consent-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-consent-banner button {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 14px;
  padding: 10px 23px;
  margin-right: 2px;
  border: none;
  font-weight: 600;
  background: var(--brand-primary);
  color: var(--brand-secondary);
  cursor: pointer;
  box-shadow: 0 1px 8px #15325220;
  transition: background 0.14s, color 0.12s, transform 0.12s;
}
.cookie-consent-banner .accept-btn {
  background: var(--brand-mint);
  color: var(--brand-primary);
}
.cookie-consent-banner .settings-btn {
  background: var(--brand-white);
  color: var(--brand-primary);
  border: 1px solid var(--brand-mint);
}
.cookie-consent-banner .reject-btn {
  background: var(--brand-red);
  color: #fff;
}
.cookie-consent-banner button:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transform: scale(1.04) rotate(-1deg);
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  z-index: 12800;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(21,50,82,0.89);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalBounce 0.26s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes modalBounce {
  0% {
    opacity: 0;
    transform: scale(0.91) translateY(100px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.cookie-modal-content {
  background: var(--brand-white);
  color: var(--brand-primary);
  border-radius: 26px;
  box-shadow: 0 8px 46px #15325240;
  max-width: 96vw;
  width: 420px;
  padding: 38px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover {
  color: var(--brand-secondary);
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  color: var(--brand-violet);
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0 7px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--brand-primary);
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--brand-secondary);
}
.cookie-category input[disabled] {
  accent-color: var(--brand-secondary);
  opacity: 0.7;
}
.cookie-modal-content .save-btn {
  background: var(--brand-mint);
  color: var(--brand-primary);
  font-family: 'Oswald', Arial, sans-serif;
  border: none;
  border-radius: 13px;
  font-size: 1.09rem;
  padding: 12px 28px;
  font-weight: 700;
  margin-top: 16px;
  box-shadow: 0 1px 8px #4EF7C222;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal-content .save-btn:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* =============================
   ANIMATIONS
   ============================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.feature-item, .testimonial-card, .hero, .legal-section, .about-page, .thankyou-section, .contact-page {
  animation: fadeInUp 0.6s;
}

/* =============================
   RESPONSIVE QUERIES (mobile-first)
   ============================= */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .main-header .container, .site-footer .container {
    flex-direction: column;
    gap: 10px 0;
    align-items: flex-start;
  }
  .feature-item {
    min-width: 180px;
    flex-basis: 180px;
    padding: 19px 10px 15px 13px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .container, .content-wrapper {
    padding-left: 3px;
    padding-right: 3px;
    max-width: 98vw;
  }
  .hero {
    padding: 20px 0;
    min-height: 31vh;
    border-radius: 0 0 26px 26px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
}
@media (max-width: 540px) {
  .section, .legal-section, .about-page, .contact-page, .thankyou-section {
    margin-bottom: 30px;
    padding: 22px 5px;
    border-radius: 13px;
  }
  .content-wrapper {
    padding-left: 2px;
    padding-right: 2px;
  }
  .main-header {
    border-radius: 0 0 15px 15px;
  }
  .site-footer {
    border-radius: 19px 19px 0 0;
    padding: 18px 0 10px 0;
  }
  .logo { width: 117px; }
}
@media (max-width: 400px) {
  html { font-size: 15px; }
  .hero h1, .thankyou-section h1 { font-size: 1.13rem; }
  .cookie-modal-content { padding: 17px 4px 15px 4px; }
}

/* =============================
   PLAYFUL DECORATIVE EFFECTS
   ============================= */
.feature-item::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 10px;
  right: 14px;
  width: 32px;
  height: 13px;
  background: url('assets/deco/sparkle.svg') no-repeat center/contain;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.feature-item:nth-child(2)::after {
  transform: rotate(-23deg) scale(1.08);
}
.feature-item:nth-child(3)::after {
  transform: rotate(12deg) scale(1.25);
}

.hero .content-wrapper::before {
  content: '';
  display: block;
  position: absolute;
  left: -24px;
  top: -19px;
  width: 52px;
  height: 48px;
  background: url('assets/deco/brush.svg') no-repeat center/contain;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

/* =============================
   DIALOGS, MILESTONES, BRAND
   ============================= */
.brand-promise strong,
.milestone-list h3 {
  color: var(--brand-violet);
}

/* =============================
   SCROLLBAR
   ============================= */
::-webkit-scrollbar {
  width: 12px;
  background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
  border-radius: 9px;
  background: #e1e1e1;
  box-shadow: 0 1px 4px #ffd44a33;
}

/* END OF STYLE.CSS */
