/* ==========================================================================
   CSS RESET & ROOT VARIABLES
   ========================================================================== */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  min-height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #184A68;
  background: #F6EADF;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 24px;
  margin-top: 12px;
  margin-bottom: 24px;
}
a {
  color: #184A68;
  text-decoration: none;
  transition: color 0.3s;
}
a:focus {
  outline: 2px dashed #5FB7A6;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
hr {
  border: none;
  border-top: 1px solid #c6c8ca;
  margin: 32px 0;
}

:root {
  --primary: #184A68;
  --secondary: #5FB7A6;
  --accent: #F6EADF;
  --gray: #efefef;
  --danger: #ff4060;
  --success: #4cd964;
  --box-shadow: 0 4px 24px 0 rgba(33,40,64,0.1);
  --border-radius: 18px;
  --transition: 0.25s cubic-bezier(.4,1,.7,1);
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ==========================================================================
   GENERAL TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 2px #B7D8D1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
}
h3 {
  font-size: 1.33rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.18rem;
}
p, ul li, ol li {
  font-size: 1.075rem;
  color: #223A55;
  margin-bottom: 10px; 
}
strong {
  font-weight: 700;
  color: var(--secondary);
}
.section p:last-child {
  margin-bottom: 0;
}

blockquote {
  font-style: italic;
  background: rgba(95,183,166,0.1);
  border-left: 5px solid var(--secondary);
  margin: 24px 0;
  padding: 16px 24px;
  border-radius: var(--border-radius);
  color: var(--primary);
}

/* ==========================================================================
   CONTAINERS & SECTIONS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--border-radius);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* For visual rhythm on inner sections */
main section:not(.hero):not(:last-child) {
  border-bottom: 1px dashed #e9e0d3;
}

/* ==========================================================================
   CREATIVE/ARTISTIC VISUAL ACCENTS
   ========================================================================== */
.section::before {
  content: '';
  display: block;
  width: 50px;
  height: 6px;
  border-radius: 3px;
  background: var(--secondary);
  margin-bottom: 18px;
  opacity: 0.17;
}
h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 7px;
  background: var(--secondary);
  border-radius: 2px;
  opacity: 0.5;
}

.hero {
  background: linear-gradient(120deg, #F6EADF 75%, #5FB7A6 70%, #fff0 100%);
  border-radius: 0 0 60px 60px;
  margin-bottom: 60px;
  min-height: 290px;
  box-shadow: 0 2px 32px 0 rgba(24,74,104,.08);
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  padding-top: 50px;
  padding-bottom: 40px;
}

/* ==========================================================================
   MAIN NAVIGATION & HEADER
   ========================================================================== */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 12px 0 rgba(24,74,104,.05);
  padding: 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 0 1rem;
  justify-content: flex-start;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:not(.cta):hover {
  color: var(--secondary);
  background: rgba(95,183,166,0.08);
}
.main-nav a.cta {
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-left: 18px;
  padding: 10px 30px 10px 20px;
  box-shadow: 0 2px 12px 0 rgba(24,74,104,.07);
  transition: background 0.2s, transform 0.13s;
  display: flex;
  align-items: center;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
}

header img[alt*="Enchanted Passage"] {
  height: 46px;
  width: auto;
  margin-right: 8px;
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  z-index: 110;
  font-size: 2.2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  border: none;
  width: 46px;
  height: 46px;
  position: absolute;
  right: 20px;
  top: 10px;
  line-height: 1;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(40,50,64, 0.85);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2rem;
  margin-top: 22px;
  margin-left: 16px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 100px;
  padding: 0 14px;
  opacity: 1;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 55px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: var(--font-display);
  padding: 12px 0;
  border-radius: 0;
  opacity: 0.92;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
}

/* Hide nav on mobile, show burger */
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 950px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==========================================================================
   CARDS, FLEX CONTAINERS, AND ARTISTIC ELEMENTS
   ========================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 100%;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(24,74,104,0.18);
  z-index: 2;
}

.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;
    align-items: flex-start;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px 0 rgba(95,183,166,.08);
  font-weight: 500;
}
.feature-item strong {
  color: var(--primary);
}

/* ==========================================================================
   TESTIMONIALS/REVIEWS - ACCESSIBLE CONTRAST
   ========================================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(24,74,104,0.09);
  margin-bottom: 20px;
  color: #1e2d42;
  border-left: 5px solid var(--secondary);
}
.testimonial-card p {
  color: #184A68;
  font-style: italic;
  margin-bottom: 6px;
  font-size: 1.13rem;
}
.testimonial-card div {
  color: #184A68;
  font-size: 1rem;
  font-weight: 500;
}
@media (max-width: 540px) {
  .testimonial-card {
    padding: 12px 8px;
    box-shadow: 0 1px 6px 0 rgba(24,74,104,0.07);
    border-left-width: 3px;
  }
}

/* ==========================================================================
   LISTS, ICONS, AND OFFER SECTIONS
   ========================================================================== */
ul li, ol li {
  margin-bottom: 13px;
  padding-left: 0;
  list-style-type: disc;
  position: relative;
  font-family: var(--font-body);
}
ul li img {
  vertical-align: middle;
  margin-right: 8px;
  width: 22px;
  height: 22px;
  display: inline-block;
  position: relative;
  top: 4px;
}
ul li span {
  color: #E89D29;
  font-family: var(--font-display);
  font-weight: 700;
}
ol {
  margin-left: 16px;
  font-size: 1.07rem;
  color: #25405f;
}

/* ==========================================================================
   BUTTONS & CTA
   ========================================================================== */
.cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50px;
  background: var(--secondary);
  color: var(--primary);
  padding: 12px 32px;
  border: none;
  box-shadow: 0 4px 20px 0 rgba(24,74,104,0.09);
  letter-spacing: 0.02em;
  text-transform: unset;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  outline: none;
}
.cta:hover, .cta:focus, .btn:hover, .btn:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(24,74,104,0.18);
  transform: translateY(-2px) scale(1.04);
}
a.cta {
  text-decoration: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #184A68;
  color: #F6EADF;
  padding: 40px 0 24px 0;
  margin-top: 70px;
  border-radius: 48px 48px 0 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.footer-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.87;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
.footer-contacts {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: #e7e7ec;
  margin-top: 8px;
  opacity: 0.95;
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -2px 16px 0 rgba(24,74,104,0.07);
  z-index: 250;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: center;
  padding: 24px 16px 24px 16px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  transition: transform 0.35s var(--transition), opacity 0.25s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #184A68;
  margin: 0 12px 0 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.cookie-banner .btn, .cookie-banner button {
  font-size: 1rem;
  font-family: var(--font-display);
  border-radius: 9px;
  padding: 11px 22px;
  margin: 0;
  border: none;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(24,74,104,0.07);
}
.cookie-accept {
  background: var(--secondary);
  color: var(--primary);
  transition: background 0.19s, color 0.19s;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-reject {
  background: #E64354;
  color: #fff;
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #ca1637;
}
.cookie-settings {
  background: #e0e8e5;
  color: var(--primary);
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 92vw;
  max-width: 440px;
  transform: translate(-50%, 110%);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(24,74,104,0.18);
  z-index: 300;
  padding: 33px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: all 0.35s var(--transition);
}
.cookie-modal.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .cookie-modal-close {
  align-self: flex-end;
  background: #eee;
  color: var(--primary);
  border-radius: 100px;
  font-size: 1.7rem;
  font-family: var(--font-display);
  margin-top: -10px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  border-radius: 7px;
  background: var(--accent);
  padding: 8px 0 7px 17px;
}
.cookie-modal label {
  font-family: var(--font-body);
  font-size: 1.04rem;
  color: var(--primary);
  flex: 1;
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
  margin-right: 7px;
}
.cookie-modal .cookie-category.essential {
  background: #edf5ed;
  font-style: italic;
  color: #7bb163;
}
.cookie-modal .modal-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}

/* ==========================================================================
   RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    max-width: 100vw;
    padding-left: 6px;
    padding-right: 6px;
  }
  .main-nav {
    font-size: 0.98rem;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 34px;
  }
  .card {
    padding: 18px 7px;
  }
  .testimonials-card, .testimonial-card {
    padding: 10px 5px !important;
  }
  .hero {
    min-height: 120px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }
  .footer-contacts {
    font-size: 0.86rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 6px 14px 10px;
    font-size: 1rem;
  }
  .cookie-modal {
    padding: 16px 5px 13px 12px;
  }
}

/* ==========================================================================
   ANIMATIONS, TRANSITIONS, MICRO-INTERACTIONS
   ========================================================================== */
.cta, .btn, .cookie-banner button, .cookie-modal .modal-actions button {
  transition: background 0.23s, color 0.19s, box-shadow 0.24s, transform 0.15s;
}
.card, .testimonial-card {
  transition: box-shadow 0.18s, filter 0.13s;
}
.card:hover, .card:focus,
.testimonial-card:hover, .testimonial-card:focus {
  filter: brightness(1.02) drop-shadow(0 12px 32px rgba(24,74,104,0.13));
  box-shadow: 0 8px 32px 0 rgba(24,74,104,0.18);
}
.section, .hero {
  transition: box-shadow 0.16s, background 0.25s;
}
h2::after, .section::before {
  transition: opacity 0.3s;
}
.mobile-menu,
.cookie-banner,
.cookie-modal {
  will-change: transform, opacity;
}

/* ==========================================================================
   UNIQUE CREATIVE/ARTISTIC ELEMENTS
   ========================================================================== */
/* Artistic underline for main CTA and links */
a.cta, .btn {
  position: relative;
}
a.cta::after, .btn::after {
  content: '';
  position: absolute;
  left: 22%;
  bottom: 8px;
  width: 56%;
  height: 6px;
  background: var(--accent);
  border-radius: 9px;
  z-index: 1;
  opacity: 0.25;
  pointer-events: none;
}
/* Artistic brush accent on h1/h2 */
h1, h2 {
  position: relative;
}
h1::before, h2::before {
  content: '';
  position: absolute;
  left: -14px;
  top: -18px;
  width: 50px;
  height: 25px;
  background: #5FB7A6;
  opacity: 0.13;
  border-radius: 60px 12px 38px 8px;
  z-index: 0;
}

/* Artistic icon highlight on icons in lists */
ul li img {
  box-shadow: 0 2px 8px 0 rgba(95,183,166,.14);
  background: #fff;
  border-radius: 100px;
  padding: 2.5px;
  margin-right: 10px;
  vertical-align: middle;
}

/* ==========================================================================
   MISC UTILITIES AND ACCESSIBILITY
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.skip-link {
  position: absolute;
  top: -44px;
  left: 0;
  background: var(--secondary);
  color: var(--primary);
  padding: 12px 16px;
  z-index: 9000;
  font-weight: bold;
  border-radius: 0 0 9px 0;
  transition: top 0.17s;
}
.skip-link:focus {
  top: 0;
}

/* Selection highlight */
::selection {
  background: var(--secondary);
  color: #fff;
}

/* ==========================================================================
   PRINT (Light styling only)
   ========================================================================== */
@media print {
  header, footer, .main-nav, .mobile-menu, .cta, .btn, .cookie-banner, .cookie-modal { display: none !important; }
  body { color: #000; background: #fff; }
  main, .container, .section { box-shadow: none; background: none; padding: 0; margin: 0; }
}
