/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-color: #F8FCFF;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
input, textarea, button {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  background: none;
  border: none;
}
button {
  cursor: pointer;
}
strong {
  font-weight: 700;
}

/* === BRAND COLOR VARIABLES === */
:root {
  --primary: #1A3D5A;
  --secondary: #D9E3EA;
  --accent: #FFD600;
  --gray-dark: #222;
  --gray-light: #F8FCFF;
  --danger: #FF4569;
  --success: #12CE4C;
  --electric-blue: #04C8EA;
  --vibrant-pink: #FF2DA0;
  --shadow: 0 6px 32px 0 rgba(29,44,70, 0.07);
  --radius: 16px;
  --transition: all 0.24s cubic-bezier(.42,1.35,.57,0.9);
}

/* === TYPOGRAPHY SCALE === */
h1 {
  font-size: 2.55rem;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.14;
  text-shadow: 1px 2px 10px rgba(26,61,90,0.07);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--electric-blue);
  letter-spacing: -0.01em;
  font-weight: 800;
}
h3 {
  font-size: 1.14rem;
  color: var(--vibrant-pink);
  font-weight: 700;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: var(--gray-dark);
}
p {
  margin-bottom: 15px;
}

/* === LAYOUT CONTAINER === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === HEADER & NAV === */
header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  min-height: 76px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 28px;
  position: relative;
}
header img {
  height: 52px;
}
.main-nav {
  display: flex;
  gap: 18px;
  margin-left: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 2px 12px rgba(255,214,0,0.11);
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  background: var(--accent);
  padding: 14px 36px;
  border-radius: 28px;
  box-shadow: 0 4px 18px -2px #FFD60033;
  margin-left: auto;
  margin-right: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition);
  border: 2px solid transparent;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--electric-blue);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 40px -6px var(--electric-blue);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--electric-blue);
  background: none;
  border: none;
  margin-left: 18px;
  z-index: 1200;
  transition: color 0.22s cubic-bezier(.34,1.35,.57,0.9);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--vibrant-pink);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 6px 0 20px 0 rgba(26,61,90, 0.07);
  z-index: 3000;
  transform: translateX(-100%);
  transition: transform 0.48s cubic-bezier(.56,1.23,.66,1.1);
  padding: 0;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  display: flex;
  margin-left: auto;
  font-size: 2.2rem;
  color: var(--danger);
  background: none;
  border: none;
  margin: 26px 36px 0 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 60px;
  padding-left: 36px;
  padding-right: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 2.5;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-radius: var(--radius);
  width: 100%;
  transition: background 0.25s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1020px) {
  .container {
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 12px;
  }
  .main-nav {
    gap: 6px;
    margin-left: 8px;
  }
  .cta-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  header .container {
    gap: 6px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === SPACING & LAYOUT FLEXPATTERNS === */
.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: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.16s, transform 0.22s;
  will-change: box-shadow, transform;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 40px -4px var(--electric-blue);
  transform: translateY(-4px) scale(1.011);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px -7px var(--electric-blue), 0 1.5px 9px 0 #FFD60015;
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.12s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px -8px var(--vibrant-pink);
  transform: scale(1.02);
}
.testimonial-card p {
  color: var(--gray-dark);
  margin-right: 10px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  color: var(--electric-blue);
  font-weight: bold;
  font-size: 0.98rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  min-width: 190px;
  margin-bottom: 20px;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(90deg, #D9E3EA 0%, #FFD600 100%);
  box-shadow: 0 6px 36px 0 rgba(29,44,70, 0.09);
  border-bottom: 6px solid var(--electric-blue);
  padding-top: 45px;
  padding-bottom: 45px;
  margin-bottom: 40px;
  position: relative;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.7rem;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-weight: 900;
}
.hero p {
  color: #1A3D5A;
  font-size: 1.2rem;
  margin-bottom: 22px;
  font-weight: 600;
}
.hero .cta-btn {
  font-size: 1.18rem;
  background: var(--electric-blue);
  color: #fff;
  border: 2px solid var(--primary);
  margin-left: 0;
  font-weight: 900;
  box-shadow: 0 7px 40px -8px var(--electric-blue);
}
.hero .cta-btn:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .hero {
    padding-top: 20px;
    padding-bottom: 30px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* === FEATURE GRID === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 24px;
  font-weight: 600;
  color: var(--electric-blue);
  min-width: 220px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.feature-grid img {
  width: 28px;
  height: 28px;
}

@media (max-width: 760px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li {
    min-width: unset;
    width: 100%;
    padding: 16px 15px;
  }
}

/* === SERVICE LIST, CATEGORY TILES, BLOG TEASERS === */
.service-list, .advice-card-list, .blog-teasers, .category-tiles, .benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.service-list li, .advice-card-list li, .blog-teasers li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 26px 20px 20px;
  flex: 1 1 322px;
  min-width: 230px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  transition: box-shadow 0.14s, transform 0.18s;
}
.service-list li strong, .advice-card-list li h3, .blog-teasers li h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.service-list li span {
  color: var(--vibrant-pink);
  font-size: 1.05rem;
  font-weight: bold;
  background: var(--secondary);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  align-self: flex-start;
}
.advice-card-list input,
.blog-teasers input {
  font-size: 1rem;
  border: 2px solid var(--secondary);
  background: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  width: 100%;
  margin-bottom: 25px;
  box-shadow: 0 4px 16px -10px var(--electric-blue);
  transition: border-color 0.16s;
}
.category-tiles li {
  padding: 13px 24px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  text-align: center;
  font-size: 1.01rem;
  box-shadow: 0 2px 10px rgba(255,214,0,0.15);
  margin-bottom: 8px;
  transition: background 0.18s, color 0.16s;
}
.category-tiles li:hover {
  background: var(--electric-blue);
  color: #fff;
}
.benefits-list li {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 11px;
  padding: 7px 14px;
  font-weight: 600;
  margin-bottom: 7px;
  width: fit-content;
}
@media (max-width: 600px) {
  .service-list, .advice-card-list, .blog-teasers, .category-tiles, .benefits-list {
    flex-direction: column;
    gap: 12px;
  }
  .service-list li, .advice-card-list li, .blog-teasers li {
    min-width: unset;
    padding: 18px 12px 18px 10px;
  }
}

/* === CTA & PREVIEW SECTIONS === */
.cta-section, .contact-preview, .newsletter-signup, .confirmation {
  background: linear-gradient(89deg, var(--secondary) 70%, #FFD600 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 35px 20px;
  position: relative;
  overflow: hidden;
}
.cta-section h2, .contact-preview h2, .newsletter-signup h2 {
  font-size: 2rem;
  color: var(--vibrant-pink);
}
.cta-section .cta-btn, .contact-preview .cta-btn {
  margin-top: 18px;
  box-shadow: 0 7px 32px -10px var(--vibrant-pink);
  background: var(--electric-blue);
  color: #fff;
  border: 2px solid var(--vibrant-pink);
  font-weight: 800;
  transition: var(--transition);
}
.cta-section .cta-btn:hover, .contact-preview .cta-btn:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.contact-preview ul, .contact-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.contact-preview li, .contact-section li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--primary);
  font-size: 1.06rem;
  font-weight: 700;
}
.contact-preview img, .contact-section img {
  width: 22px;
  height: 22px;
}
@media (max-width: 600px) {
  .cta-section, .contact-preview, .newsletter-signup, .confirmation {
    padding: 23px 6px;
  }
}

/* === FOOTER === */
footer {
  background: #fff;
  padding: 34px 0 10px 0;
  box-shadow: 0 -4px 30px -10px var(--primary)11;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 6px 11px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover {
  color: #fff;
  background: var(--electric-blue);
}
.footer-contact p {
  color: var(--primary);
  font-size: 0.98rem;
  margin-bottom: 4px;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
  }
  footer nav {
    gap: 12px;
  }
}

/* === LEGAL SECTIONS === */
.legal {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 38px 28px;
}
.legal h1 {
  color: var(--vibrant-pink);
  font-size: 2.3rem;
}
.legal h2 {
  color: var(--primary);
  font-size: 1.22rem;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}
.legal ul {
  list-style: outside;
  margin-left: 16px;
  margin-bottom: 16px;
}
.legal li {
  margin-bottom: 6px;
}
@media (max-width: 600px) {
  .legal {
    padding: 20px 6px;
  }
}

/* === MAP INFO IN CONTACT SECTION === */
.map-info {
  background: var(--secondary);
  border-radius: 8px;
  color: var(--primary);
  font-size: 0.96rem;
  padding: 9px 13px;
  margin-top: 14px;
  max-width: 530px;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--secondary) 60%, #FFD600 100%);
  color: var(--primary);
  box-shadow: 0 -2px 32px -14px #1a3d5a55;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5000;
  gap: 16px;
  transition: transform 0.33s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 7px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--primary);
  margin-top: 2px;
  border: none;
  transition: background 0.2s, color 0.17s;
  box-shadow: 0 2px 8px -2px var(--accent)33;
}
.cookie-btn.accept {
  background: var(--electric-blue);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--vibrant-pink);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
  border: 1.5px solid var(--electric-blue);
}
.cookie-btn:focus, .cookie-btn:hover {
  filter: brightness(0.92) contrast(1.12);
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(26,61,90,0.41);
  z-index: 5040;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  transition: opacity 0.22s;
  pointer-events: none;
  opacity: 0;
}
.cookie-modal.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 22px 22px 0 0;
  width: 98vw;
  max-width: 380px;
  padding: 30px 22px 23px 22px;
  box-shadow: 0 -3px 60px -10px var(--primary)33;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
  position: relative;
  animation: modalSlideIn 0.39s cubic-bezier(.66,2.11,.52,0.68);
}
@keyframes modalSlideIn {
  from { transform: translateY(100px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-modal .close-modal {
  position: absolute;
  right: 12px;
  top: 16px;
  font-size: 1.6rem;
  background: none;
  color: var(--danger);
  border: none;
  cursor: pointer;
}
.cookie-modal h3 {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 900;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-bottom: 12px;
}
.cookie-modal .category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--electric-blue);
}
.cookie-modal .category label {
  font-weight: bold;
  color: var(--electric-blue);
}
.cookie-modal .cookie-save-btn {
  background: var(--accent);
  color: var(--primary);
  border-radius: 9px;
  padding: 11px 22px;
  font-family: 'Montserrat', Arial;
  font-weight: 800;
  font-size: 1rem;
  border: none;
}
.cookie-modal .cookie-save-btn:hover {
  background: var(--electric-blue);
  color: #fff;
}

@media (max-width: 480px) {
  .cookie-modal .modal-content {
    max-width: 95vw;
    padding: 18px 6px;
  }
  .cookie-banner {
    padding: 13px 3vw;
  }
}

/* === MISCELLANEOUS UTILS === */
::-webkit-input-placeholder { color: #7FA3B9; opacity: 1; }
::-moz-placeholder { color: #7FA3B9; opacity: 1; }
:-ms-input-placeholder { color: #7FA3B9; opacity: 1; }
::placeholder { color: #7FA3B9; opacity: 1; }

[tabindex="0"]:focus,
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* === MICRO-INTERACTIONS & BUTTONS === */
a, button, .cta-btn {
  transition: background 0.14s, color 0.14s, box-shadow 0.18s, transform 0.19s;
}
a:active, button:active, .cta-btn:active {
  transform: translateY(2px) scale(0.98);
  filter: brightness(0.965) contrast(1.12);
}

/* === FOCUS STATES === */
.main-nav a:focus, .mobile-nav a:focus, .footer nav a:focus, .cta-btn:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 3px var(--electric-blue)55;
  outline: none;
}

/* === Custom scrollbar === */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg,var(--accent) 60%,var(--electric-blue) 100%);
  border-radius: 16px;
}
::-webkit-scrollbar-track {
  background: #F8FCFF;
}

/* === Z-INDEX UTILS === */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 999;
}

/* === DEMO: hide mobile menu on desktop === */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === SMOOTH SHOW/HIDE ANIMATIONS (to be used by JS) === */
.mobile-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu:not(.active) {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.38s cubic-bezier(.59,1.2,.69,1.4);
}

/* === END === */
