/* ===== 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;
}
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  scroll-behavior: smooth;
}
body {
  background: #F5F7FA;
  color: #1A365D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background: transparent;
  transition: color 0.2s;
}
img {
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
}

/* === BRAND COLORS === */
:root {
  --primary: #1A365D;
  --secondary: #85BFCA;
  --accent: #F5F7FA;
  --electric-pink: #FF2D53;
  --electric-blue: #3C92F2;
  --electric-green: #04E762;
  --electric-yellow: #FBDF36;
  --hero-gradient: #1A365D;
  --shadow: 0 4px 18px 0 rgba(60,146,242,0.10), 0 1.5px 8px 0 rgba(255,45,83,0.09);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 2px 8px rgba(60,146,242,0.09);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  line-height: 1.22;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

p, ul, ol, li, span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

.subheadline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--electric-blue);
  margin-bottom: 28px;
  line-height: 1.4;
}

.thank-you-message {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 26px;
}

/* === SPACING PATTERNS === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px 24px;
  transition: transform 0.17s, box-shadow 0.17s;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 480px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card p {
  color: #252525;
  font-size: 1.1rem;
}
.testimonial-card strong {
  color: var(--electric-pink);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** CONTAINER & LAYOUT *****/
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* === HEADER & NAVBAR === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(26,54,93,0.07);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}
header img {
  height: 46px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--electric-blue);
  color: #fff;
}
.btn-primary {
  background: var(--electric-pink);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 16px;
  padding: 12px 28px;
  box-shadow: 0 4px 16px 0 rgba(255,45,83,0.11);
  margin-left: 18px;
  letter-spacing: 0.01em;
  outline: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, transform 0.12s, box-shadow 0.17s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--electric-blue);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 28px 0 rgba(60,146,242,0.19);
}

/***** MOBILE NAVIGATION *****/
.mobile-menu-toggle {
  display: none;
  background: var(--electric-pink);
  color: #fff;
  font-size: 2.1rem;
  border-radius: 12px;
  padding: 6px 16px;
  z-index: 90;
  margin-left: 10px;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--electric-blue);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,54,93,0.97);
  box-shadow: 0 2px 32px 0 rgba(26,54,93,0.10);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.55,.09,.68,.53);
  z-index: 101;
  padding: 0 0 48px 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(.32,1,.53,1);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--electric-pink);
  color: #fff;
  border-radius: 8px;
  font-size: 2rem;
  padding: 4px 16px;
  transition: background 0.16s, color 0.16s;
  z-index: 105;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--electric-blue);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 70px;
  width: 100%;
  padding: 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.33rem;
  padding: 18px 0;
  border-bottom: 1px solid rgba(245,247,250,0.13);
  transition: color 0.18s, background 0.19s;
}
.mobile-nav a:last-of-type {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--electric-green);
  background: rgba(255,255,255,0.03);
}

/***** HERO SECTIONS *****/
.hero {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 44px 0 32px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}
.hero h1 {
  color: var(--primary);
  text-shadow: 0 2px 8px rgba(33,88,149,0.08);
  font-size: 2.3rem;
  letter-spacing: -0.01em;
}
.hero .subheadline {
  color: var(--electric-blue);
  max-width: 540px;
}

/***** FEATURES, CARDS, SERVICES *****/
.features .content-wrapper,
.services .content-wrapper,
.benefits .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}
.features ul, .services ul, .benefits ul, .benefits ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}
.features li, .services li, .benefits li {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 18px 22px 22px;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 440px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.055rem;
  color: var(--primary);
  transition: transform 0.18s, box-shadow 0.18s;
}
.features li img,
.services li img,
.benefits li img {
  width: 40px;
  min-width: 40px;
  height: 40px;
  margin-right: 12px;
}
.features li:hover, .services li:hover, .benefits li:hover {
  box-shadow: 0 10px 30px 0 rgba(60,146,242,0.13);
  transform: translateY(-3px) scale(1.04);
}
.service-pricing {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--electric-green);
  margin-top: 10px;
  font-size: 1.09rem;
}

/***** TESTIMONIALS *****/
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  justify-content: flex-start;
}

/***** CTA SECTION *****/
.cta {
  background: var(--electric-blue);
  color: #fff;
  padding: 42px 0 44px 0;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(60,146,242,0.13);
  margin: 48px 0 0 0;
  text-align: center;
}
.cta h2 {
  color: #fff;
  margin-bottom: 22px;
}
.cta .btn-primary {
  background: var(--electric-yellow);
  color: var(--primary);
  font-weight: 800;
  margin-left: 0;
  box-shadow: none;
}
.cta .btn-primary:hover,
.cta .btn-primary:focus {
  background: var(--electric-green);
  color: #fff;
  transform: translateY(-2px) scale(1.07);
}

/***** FOOTER *****/
footer {
  background: var(--primary);
  color: #fff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -2px 24px 0 rgba(26,54,93,0.09);
  padding: 48px 0 28px 0;
  margin-top: 60px;  
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 200px;
}
.footer-left img {
  width: 64px;
}
.footer-left p {
  color: #F5F7FA;
  font-size: 0.99rem;
  line-height: 1.6;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 19px;
}
.footer-nav {
  display: flex;
  gap: 18px;
}
.footer-nav a {
  color: var(--electric-yellow);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: text-decoration 0.15s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--electric-pink);
  text-decoration: underline;
}
footer small {
  color: #fff;
  opacity: 0.84;
  letter-spacing: 0.01em;
}

/***** TEXT SECTIONS *****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0;
}
.text-section h2 {
  font-size: 1.4rem;
  color: var(--electric-pink);
  margin-bottom: 12px;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0;
  padding-left: 18px;
}
.text-section li::before {
  content: '▶';
  color: var(--electric-blue);
  display: inline-block;
  margin-right: 8px;
  font-size: 0.97em;
}

.contact-map {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 12px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/***** CARD ANIMATION & INTERACTION *****/
.card:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 44px 0 rgba(255,45,83,0.11);
}

/***** RESPONSIVE DESIGN *****/
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
  }
  header .container {
    min-height: 64px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-right {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero {
    min-height: 220px;
    padding: 24px 0 18px 0;
  }
  .content-wrapper, .features .content-wrapper, .services .content-wrapper, .benefits .content-wrapper, .testimonials .content-wrapper {
    flex-direction: column !important;
    gap: 20px;
  }
  .features ul, .services ul, .benefits ul, .benefits ol {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .features li, .services li, .benefits li {
    max-width: 100%;
  }
}

@media (max-width: 650px) {
  html {
    font-size: 14px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-left, .footer-right {
    gap: 11px;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .cta {
    padding: 36px 0 28px 0;
  }
  .testimonials .content-wrapper {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }
  .footer-left img {
    width: 46px;
  }
}

/***** COOKIE CONSENT BANNER & MODAL *****/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 200;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(30,55,105,0.11);
  padding: 20px 22px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: cookie-slide-up 0.45s cubic-bezier(0.6,0.15,0.41,0.88);
}
@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(--primary);
  margin-bottom: 8px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 14px;
  padding: 10px 22px;
  border: none;
  background: var(--electric-pink);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  margin-right: 8px;
  box-shadow: 0 1px 8px 0 rgba(255,45,83,0.09);
  transition: background 0.13s, color 0.16s;
}
.cookie-btn.cookie-accept {
  background: var(--electric-green);
  color: var(--primary);
}
.cookie-btn.cookie-reject {
  background: var(--electric-blue);
}
.cookie-btn.cookie-settings {
  background: var(--electric-yellow);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.08) saturate(1.15);
  box-shadow: 0 2px 18px 0 rgba(60,146,242,0.16);
  outline: none;
}

/***** COOKIE CONSENT MODAL *****/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,54,93,0.73);
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-modal 0.35s cubic-bezier(.6,.11,.38,.95);
}
@keyframes fadein-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 34px 28px 26px 28px;
  min-width: 340px;
  max-width: 98vw;
  box-shadow: 0 4px 28px 0 rgba(26,54,93,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 9px;
  font-size: 1.29rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 6px 0;
}
.cookie-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  color: var(--primary);
}
.cookie-toggle {
  width: 32px;
  height: 18px;
  background: var(--accent);
  border: 2px solid var(--secondary);
  border-radius: 22px;
  position: relative;
  transition: background 0.16s, border 0.18s;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--electric-pink);
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.23s,
              background 0.18s;
}
.cookie-toggle input:checked + span {
  left: 14px;
  background: var(--electric-green);
}
.cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--electric-blue);
  color: #fff;
  border-radius: 10px;
  font-size: 1.45rem;
  padding: 3px 10px;
  border: none;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--electric-pink);
}

/***** UTILITY CLASSES AND EFFECTS *****/
.d-none { display: none !important; }
.text-center { text-align: center; }
.rounded { border-radius: 18px; }
.shadow {
  box-shadow: var(--shadow);
}

/***** SCROLLBAR (for nice contrast) *****/
::-webkit-scrollbar {
  width: 9px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: var(--secondary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--electric-blue);
}

/* ===== Animations and Miscellaneous ===== */
.card, .testimonial-card, .features li, .services li {
  will-change: transform, box-shadow;
}
*::selection {
  background: var(--electric-yellow);
  color: #242424;
}

/* === Z-INDEX LAYERING === */
header { z-index: 10; }
.mobile-menu { z-index: 101; }
.cookie-banner { z-index: 200; }
.cookie-modal-overlay { z-index: 210; }

/* === REMOVE GRID/BREAK-INSIDE/COLUMN-X === */
/* --- ENFORCED ONLY FLEXBOX LAYOUTS, NO GRID --- */
/***** END OF CSS *****/
