/* --- RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; line-height: 1.18; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.375rem; line-height: 1.3; }
h4 { font-size: 1.125rem; }
p {
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.72;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}
a {
  color: #184463;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #D98F4F;
  outline-offset: 2px;
}
img, svg {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}

body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #F1F7FA;
  color: #222;
  min-height: 100vh;
}

/* --- BRAND VARIABLES --- */
:root {
  --primary: #184463;
  --secondary: #F1F7FA;
  --accent: #D98F4F;
  --accent-bold: #bb6b21;
  --elec-pink: #F45CB6;
  --elec-blue: #00AEE7;
  --elec-green: #33E37D;
  --shadow: 0 4px 24px 0 rgba(24, 68, 99, 0.08), 0 1.5px 4.5px 0 rgba(210,80,83,0.03);
  --radius: 18px;
}


/* --- LAYOUT CONTAINER --- */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 20px;
}

/* --- SECTIONS & SPACING (MANDATORY) --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FLEX & RESPONSIVE LAYOUTS --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 24px 24px 24px;
  min-width: 260px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.features-grid > div:hover {
  box-shadow: 0 12px 32px 0 rgba(244,92,182,0.075);
  transform: translateY(-5px) scale(1.025);
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 12px 28px -4px var(--accent), var(--shadow);
  transform: translateY(-5px) scale(1.016);
}

/* --- HERO & TITLES --- */
.hero {
  align-items: center;
  text-align: center;
  background: linear-gradient(93deg, #00AEE7 7%, #F45CB6 87%);
  color: #fff;
  border-radius: 20px;
  padding: 50px 20px 56px 20px;
  box-shadow: 0 8px 28px 0 rgba(24,68,99,0.10);
}
.hero h1, .hero .subtitle, .hero a.cta-btn {
  color: #fff;
}
.hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.hero .subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 24px;
}

/* --- MAIN CTA BUTTON --- */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.13rem;
  line-height: 1.3;
  letter-spacing: 0.03em;
  padding: 14px 38px;
  background: var(--accent);
  border-radius: 50px;
  color: #fff;
  border: none;
  margin: 10px 0;
  box-shadow: 0 6px 22px -6px #F45CB6, var(--shadow);
  transition: background 0.2s, box-shadow 0.22s, transform 0.08s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--accent-bold);
  box-shadow: 0 12px 32px -10px #00AEE7, 0 2px 8px #F45CB6;
  color: #fff;
  transform: scale(1.045);
}

/* --- HEADER NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 8px 24px 0 rgba(24, 68, 99, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 40px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  background: var(--elec-pink);
  color: #fff;
}
.main-nav .cta-btn {
  margin-left: 10px;
  background: var(--accent);
  color: #fff;
  padding: 8px 26px;
  box-shadow: none;
  font-size: 1rem;
}
.main-nav .cta-btn:hover,
.main-nav .cta-btn:focus {
  background: var(--accent-bold);
  color: #fff;
  box-shadow: 0 6px 18px #00AEE7;
}
header img {
  max-height: 48px;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  padding: 6px 13px;
  border-radius: 7px;
  border: none;
  line-height: 1;
  transition: background 0.15s, color 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--elec-blue);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,68,99,0.92);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.9,-0.01,0,1.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 52px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 24px;
  background: var(--elec-pink);
  color: #fff;
  border-radius: 44px;
  font-size: 2.2rem;
  z-index: 1001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.21s, color 0.14s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--elec-blue);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  padding: 54px 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  padding: 16px 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 11px;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--elec-green);
  color: var(--primary);
}

/* --- MAIN CONTENT SECTIONS --- */
.text-section {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.text-section.hero {
  text-align: center;
  align-items: center;
}

/* --- CONTACT INFO --- */
.contact-info {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 20px 28px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.contact-info h3 {
  font-size: 1.125rem;
  margin-bottom: 9px;
  color: var(--primary);
}
.map-placeholder {
  background: var(--secondary);
  border: 2px dashed var(--accent);
  border-radius: 12px;
  text-align: center;
  padding: 34px;
  margin-bottom: 16px;
  color: var(--primary);
  font-style: italic;
}
.quick-links {
  margin-top: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px 28px 18px 28px;
}
.quick-links h3 {
  margin-bottom: 10px;
}
.quick-links ul {
  margin-left: 10px;
}
.quick-links a {
  color: var(--accent-bold);
  font-weight: 600;
  transition: color 0.12s;
}
.quick-links a:hover {
  color: var(--elec-pink);
}

/* --- TESTIMONIAL CARDS --- */
.testimonial-card {
  background: var(--elec-green);
  color: #222;
  border-radius: 16px;
  padding: 22px 29px;
  margin-bottom: 24px;
  box-shadow: 0 3px 12px -2px #18446322;
  font-size: 1.12rem;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card p {
  margin-bottom: 10px;
  font-size: 1.13rem;
  font-weight: 500;
  line-height: 1.6;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.testimonial-card:before {
  content: '“';
  color: var(--accent);
  font-size: 3.7rem;
  position: absolute;
  top: -14px;
  left: 13px;
  opacity: 0.18;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  z-index: 0;
  pointer-events: none;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 48px 0 36px 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-content > div, .footer-nav, .contact-info, .social-links {
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  text-decoration: underline;
  font-weight: 500;
  opacity: 0.92;
  transition: color 0.17s, opacity 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--elec-pink);
  opacity: 1;
}
footer .contact-info {
  background: none;
  box-shadow: none;
  color: #fff;
  padding: 0;
  font-size: 0.98rem;
}
footer .contact-info a {
  color: var(--accent);
}
footer .contact-info a:hover {
  color: var(--elec-blue);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  justify-content: center;
  box-shadow: 0 2px 8px #F45CB655;
  transition: box-shadow 0.15s, background 0.18s;
}
.social-links a:hover {
  background: var(--elec-blue);
  box-shadow: 0 4px 15px #00AEE799, 0 2px 4px #bb6b21;
}
.social-links img {
  width: 18px;
  height: 18px;
  display: block;
}
footer img {
  max-height: 38px;
}

/* --- UL/OL INSIDE CARDS --- */
.features-grid ul, .card ul, .card ol, .content-wrapper ul, .content-wrapper ol {
  margin-bottom: 0;
  margin-left: 18px;
  font-size: 1rem;
}
.card ul li, .features-grid ul li, .content-wrapper ul li {
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.7;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, .cta-btn, .main-nav a, .mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.012em;
}
body, p, .features-grid ul, .testimonial-card {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}

/* --- BUTTONS GENERIC --- */
button, .cta-btn {
  cursor: pointer;
  transition: background 0.17s, color 0.11s, box-shadow 0.14s, transform 0.065s;
}

/* --- VISUAL EFFECTS & MICRO-ANIMATIONS --- */
a, .cta-btn, .main-nav a, .features-grid > div, .card, .social-links a {
  transition: color 0.12s, background 0.21s, box-shadow 0.19s, transform 0.09s;
}
.features-grid > div:hover, .card:hover {
  box-shadow: 0 12px 38px -10px #F45CB6, var(--shadow);
  transform: scale(1.034) translateY(-3px);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1050px) {
  .features-grid > div {
    min-width: 240px;
    flex-basis: 48%;
  }
  .footer-content {
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .footer-content {
    flex-wrap: wrap;
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 17px;
  }
  .features-grid > div {
    min-width: 100%;
    margin-bottom: 14px;
    flex-basis: 100%;
  }
  .footer-content,
  .card-container,
  .content-wrapper,
  .content-grid {
    flex-direction: column;
    gap: 20px!important;
  }
  .section,
  section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
  .hero {
    border-radius: 10px;
    padding: 32px 6px 40px 6px;
  }
  .testimonial-card {
    padding: 17px 15px;
    font-size: 1rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.02rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  .footer-content {
    gap: 12px;
  }
  .features-grid > div {
    padding: 16px 8px 14px 10px;
    font-size: 0.98rem;
  }
  .cta-btn {
    padding: 11px 16px;
    font-size: 1rem;
  }
}

/* --- FLEX-DIRECTION FOR TEXT-IMAGE SECTIONS --- */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    text-align: left;
  }
}

/* --- COOKIE CONSENT BANNER (MANDATORY) --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  z-index: 1100;
  background: #fff;
  box-shadow: 0 -2px 18px 0 #18446322;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px;
  font-size: 1.04rem;
  color: var(--primary);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-banner-message {
  flex: 1 1 auto;
  margin-right: 20px;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 9px 22px;
  margin: 0 2px;
  font-size: 1rem;
  transition: background 0.18s, color 0.16s;
  line-height: 1.2;
  box-shadow: 0 2px 10px #18446322;
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: var(--accent-bold);
}
.cookie-btn.reject {
  background: var(--elec-pink);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--elec-blue);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--accent-bold);
  border: 1.3px solid var(--accent);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--accent-bold);
  color: #fff;
}

/* --- COOKIE MODAL POPUP --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,68,99,0.85);
  z-index: 1380;
  align-items: center;
  justify-content: center;
  transition: background 0.23s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 24px;
  box-shadow: 0 8px 32px #18446345;
  max-width: 440px;
  width: 97vw;
  padding: 38px 32px 28px 32px;
  text-align: left;
  position: relative;
  animation: cookieSlideIn 0.33s cubic-bezier(.67,.07,.28,.98);
}
@keyframes cookieSlideIn {
  from { opacity: 0; transform: translateY(80px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.27rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 19px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
  margin-left: 12px;
  flex: 1 1 auto;
}
.cookie-switch {
  position: relative;
  width: 42px;
  height: 24px;
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch label {
  cursor: pointer;
  background: #ddd;
  border-radius: 20px;
  display: block;
  width: 42px;
  height: 24px;
  position: relative;
}
.cookie-switch label:after {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 2.5px;
  left: 2px;
  transition: left 0.16s, background 0.16s;
}
.cookie-switch input[type="checkbox"]:checked + label {
  background: var(--elec-green);
}
.cookie-switch input[type="checkbox"]:checked + label:after {
  left: 19px;
  background: var(--accent-bold);
}
.cookie-category.essential {
  opacity: 0.62;
  transition: opacity 0.15s;
}
.cookie-category.essential label {
  pointer-events: none;
}
.cookie-category .cookie-pill {
  display: inline-block;
  background: var(--elec-blue);
  color: #fff;
  border-radius: 11px;
  font-size: 0.96rem;
  font-weight: bold;
  padding: 2px 11px;
  margin-left: 13px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 21px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 22px;
  font-size: 1.65rem;
  background: none;
  color: var(--accent-bold);
  border: none;
  border-radius: 23px;
  width: 36px;height: 36px;
  transition: color 0.17s, background 0.11s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--elec-pink);
  color: #fff;
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 11px 6px 12px 8px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    max-width: 99vw;
    padding-left: 7vw;
    padding-right: 7vw;
  }
}

/* --- MISC UTILS --- */
::-webkit-scrollbar {
  width: 8px;
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--elec-pink);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-bold); }

/* --- Hide visually but accessible --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- MANDATORY CONTAINER GAPS FIX --- */
.card-container > *,
.content-grid > *,
.features > *,
.features-grid > * {
  margin-bottom: 20px;
}
.content-wrapper > * {
  margin-bottom: 20px;
}

/* --- END --- */
