/* --- 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #F8F4F0; color: #183156; }
:root {
  --primary: #22437A;
  --secondary: #D9B1A6;
  --accent: #F8F4F0;
  --electric: #FC007A; /* vibrant energetic color for accents */
  --electric2: #00E1FF; /* secondary electric accent */
  --shadow: 0 4px 24px rgba(34, 67, 122, 0.10);
  --radius: 18px;
  --display-font: 'Playfair Display', serif;
  --body-font: 'Lato', Arial, Helvetica, sans-serif;
  --bold: 700;
  --medium: 500;
}

@font-face {
  font-family: 'Playfair Display';
  src: local('Playfair Display'), local('PlayfairDisplay'), url(https://fonts.gstatic.com/s/playfairdisplay/v28/nuFiD-vYSZviVYUb_rj3ij__anPXDTzYhXrT.woff2) format('woff2');
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: 'Lato';
  src: local('Lato'), url(https://fonts.gstatic.com/s/lato/v22/S6uyw4BMUTPHjx4wWw.woff2) format('woff2');
  font-style: normal;
  font-weight: 400;
}

html, body {
  min-height: 100%;
}

body {
  font-family: var(--body-font);
  background: var(--accent);
  font-size: 16px;
  color: #183156;
  letter-spacing: 0.03em;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

ul { list-style: disc inside; margin-bottom: 24px; }
ol { margin-bottom: 24px; }
li { margin-bottom: 8px; }
p + ul, p + ol { margin-top: 16px; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: var(--electric); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  color: var(--primary);
  font-weight: var(--bold);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 18px; line-height: 1.08; }
h2 { font-size: 2rem; margin-bottom: 14px; line-height: 1.12; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.05rem; margin-bottom: 8px; }

p, ul, ol, li, span { font-family: var(--body-font); font-size: 1rem; color: #2D3A4B; }
strong { font-weight: var(--bold); color: var(--electric); }
.section h2, .section h1 { color: var(--primary); }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* --- GLOBAL LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

/* --- SECTION SPACING & PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.section:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .section { padding: 28px 8px; margin-bottom: 38px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 24px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(252, 0, 122, 0.15);
  transform: translateY(-4px) scale(1.03);
}

.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;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 22px 18px;
  background: var(--accent);
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(34,67,122,0.04);
  margin-bottom: 20px;
  border-left: 4px solid var(--electric);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 420px;
  color: #2E3758;
  font-size: 1.08rem;
  transition: box-shadow 0.18s, transform 0.18s;
  z-index: 1;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px rgba(252, 0, 122, 0.13);
  transform: translateY(-2px) scale(1.025);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #2E3758;
}
.testimonial-card span {
  font-weight: var(--bold);
  color: var(--primary);
}

.map-placeholder {
  background: var(--accent);
  color: var(--primary);
  padding: 28px;
  border-radius: var(--radius);
  font-style: italic;
  text-align: center;
  margin: 20px 0;
  font-size: 1.15rem;
  border: 2px dashed var(--secondary);
}

/* --- HEADER --- */
header {
  background: #fff;
  box-shadow: 0 4px 18px rgba(34,67,122,0.05);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  min-height: 68px;
  display: flex;
  flex-direction: column;
}
.logo {
  margin: 0 36px 0 20px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 68px;
  transition: filter 0.2s;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width: 1100px) {
  .main-nav { gap: 9px; }
}
.main-nav a {
  font-family: var(--body-font);
  font-weight: var(--medium);
  font-size: 1.06rem;
  color: var(--primary);
  padding: 9px 18px;
  border-radius: 36px;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--electric2);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,225,255,0.09);
}
.cta-btn {
  display: inline-block;
  background: var(--electric);
  color: #fff !important;
  font-family: var(--body-font);
  font-size: 1.09rem;
  font-weight: bold;
  padding: 11px 29px;
  border-radius: 32px;
  letter-spacing: 0.04em;
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  box-shadow: 0 2px 8px rgba(252,0,122,0.08);
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 10px;
  text-align: center;
  position: relative;
}
.cta-btn.secondary {
  background: var(--primary);
  color: #fff !important;
}
.cta-btn:hover, .cta-btn:focus { 
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 32px rgba(34,67,122,0.12);
  transform: scale(1.025);
}

/* Sticky header layout */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 1000px) {
  header {
    flex-direction: column;
    align-items: stretch;
    padding-left: 0;
    padding-right: 0;
  }
}

header .logo {
  margin-right: 0;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.35rem;
  color: var(--electric);
  padding: 10px 16px;
  margin-left: auto;
  cursor: pointer;
  z-index: 1020;
  transition: color 0.19s, background 0.17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--electric2);
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: inline-block;
    position: relative;
    top: 2px;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,25,60,0.94);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100vw);
  opacity: 0;
  z-index: 9999;
  transition: transform 0.33s cubic-bezier(0.65,0,0.35,1), opacity 0.25s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  margin: 24px 26px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.14s;
  z-index: 10001;
}
.mobile-menu-close:focus { color: var(--electric2); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 36px 0 40px;
  width: 100vw;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.19rem;
  font-family: var(--display-font);
  padding: 14px 0;
  font-weight: bold;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.16s, background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--electric2);
  background: rgba(0,225,255,0.09);
}

/* --- BOTTOM FIXED COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -4px 30px rgba(34,67,122,0.08);
  padding: 22px 18px 20px 18px;
  border-radius: 24px 24px 0 0;
  z-index: 11000;
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--body-font);
  font-size: 1rem;
  animation: banner-in 0.4s cubic-bezier(0.65,0,0.35,1);
}

@keyframes banner-in {
  from { opacity: 0; transform: translateY(80px) translateX(-50%); }
  to { opacity: 1; transform: translateY(0) translateX(-50%); }
}

.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner .cookie-btn {
  border: none;
  outline: none;
  font-family: var(--body-font);
  font-weight: bold;
  font-size: 0.98rem;
  padding: 10px 18px;
  margin: 0;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  background: var(--secondary);
  color: #22437A;
}
.cookie-banner .cookie-btn.accept {
  background: var(--electric);
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: var(--electric2);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: var(--electric2);
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    max-width: 98vw;
    padding: 16px 12px;
  }
}

/* --- COOKIE MODAL (PREFERENCES) --- */
.cookie-modal-overlay {
  position: fixed; top:0; left:0; right:0; bottom:0;
  background: rgba(34, 25, 70, 0.59);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 0;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 14px 48px rgba(34,67,122,0.21);
  max-width: 400px;
  min-width: 270px;
  width: 98vw;
  padding: 36px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: var(--body-font);
  color: var(--primary);
  position: relative;
  animation: fade-in-drop 0.5s cubic-bezier(0.65,0,0.35,1);
}
@keyframes fade-in-drop {
  from { opacity: 0; transform: translateY(-70px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 { font-size: 1.24rem; color: var(--primary); margin-bottom: 12px; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category input[type=checkbox] {
  width: 20px; height: 20px; accent-color: var(--primary);
}
.cookie-category label {
  color: var(--primary);
  font-weight: 500;
}
.cookie-category.essential label {
  color: #aaa;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-btn.close {
  background: #fff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.cookie-modal .cookie-btn.save {
  background: var(--electric);
  color: #fff;
}
.cookie-modal .cookie-btn.save:hover,
.cookie-modal .cookie-btn.save:focus {
  background: var(--primary);
  color: #fff;
}

/* --- HERO / BOLD SECTIONS --- */
section > .container {
  margin-top: 0; margin-bottom: 0;
}
section {
  margin-bottom: 48px;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
section:first-child {
  margin-top: 0;
}
section .cta-btn {
  margin-top: 14px;
}

/* --- TESTIMONIAL LAYOUT --- */
section .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
@media (max-width: 900px) {
  section .content-wrapper {
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
  }
}

/* --- FORM ELEMENTS --- */
input[type="text"], input[type="email"], input[type="search"], textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 1.05rem;
  border: 2px solid var(--secondary);
  border-radius: 18px;
  outline: none;
  margin-bottom: 18px;
  transition: border 0.17s, box-shadow 0.15s;
  font-family: var(--body-font);
  background: #fff;
  color: #22437A;
}
input:focus, textarea:focus {
  border-color: var(--electric2);
  box-shadow: 0 1px 6px rgba(0,225,255,0.13);
}

button, [type="submit"] {
  font-family: var(--body-font);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 16px;
  font-family: var(--body-font);
  width: 100%;
  box-shadow: 0 -2px 24px rgba(34,67,122,0.08);
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 1rem;
  text-decoration: underline dotted;
  transition: color 0.13s;
  padding: 6px 2px;
}
.footer-nav a:hover { color: var(--electric2); }
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 0.97rem;
  color: #fff;
  width: 100%;
  padding-bottom: 16px;
  margin-top: 10px;
  opacity: 0.95;
}
.footer-info span {
  color: #fff;
  font-size: 0.98rem;
}
footer span,
footer a { font-family: var(--body-font); }

/* --- GENERAL SHADOWS & CARD EFFECTS --- */
.card, .testimonial-card, .feature-item, .section {
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  transition: box-shadow 0.18s, transform 0.13s;
}

.card:hover, .feature-item:hover {
  box-shadow: 0 6px 30px rgba(252, 0, 122, 0.14);
  transform: translateY(-4px) scale(1.025);
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1100px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 180px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    flex: 1 1 100%;
  }
}
@media (max-width:700px) {
  .container,.content-wrapper { padding-left: 0; padding-right: 0; }
  .feature-item { padding: 15px 8px; }
}

@media (max-width: 600px) {
  .footer-nav { flex-direction: column; gap: 10px; }
  .footer-info { font-size: 0.93rem; }
  header { min-height: 52px; }
}

/* --- UTILITY SPACING CLASSES --- */
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.gap-24 { gap: 24px; }

/************ HIGH-ENERGY VIBRANT EFFECTS ************/
.cta-btn {
  background: linear-gradient(98deg, var(--electric) 0%, var(--primary) 100%);
  box-shadow: 0 4px 20px rgba(252,0,122,0.15);
  text-shadow: 0 2px 10px rgba(252,0,122,0.13);
}
.cta-btn.secondary {
  background: linear-gradient(98deg, var(--primary) 0%, var(--electric2) 95%);
  color: #fff !important;
}

.card {
  border: 2.5px solid var(--secondary);
}
.card:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  right: -8px; top: -8px;
  width: 44px; height: 44px;
  background: var(--electric2);
  opacity: 0.11;
  border-radius: 50%;
  pointer-events: none;
}

section:not(.section) h2:after {
  content: "";
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
  width: 24px;
  height: 6px;
  background: var(--electric);
  border-radius: 4px;
}

/************ SPECIAL STATES AND MICRO-INTERACTIONS ************/
.button:active, .cta-btn:active {
  transform: scale(0.97);
}
input[type="text"]:focus, textarea:focus {
  outline: 2px solid var(--electric2);
}
.testimonial-card {
  box-shadow: var(--shadow), 0 0 0 3px rgba(252,0,122,0.07);
  border: 1.5px solid var(--electric2);
  background: #fff;
}

/************ HIGH CONTRAST FOR TESTIMONIAL TEXT ************/
.testimonial-card p, .testimonial-card span, .testimonial-card strong {
  color: #223057;
}
.testimonial-card strong {
  color: var(--primary);
}

/* --- ENSURE SPACING, NO OVERLAP, FLEX GAPS --- */
.card-container > *, .content-grid > *, .content-wrapper > *,
.feature-item, .testimonial-card, .section, .card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .feature-item {
  gap: 24px;
}
/************ END: CSS ************/