/* ===== CSS RESET & NORMALIZATION ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F2EBD3;
  color: #213254;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.02em;
  position: relative;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  color: #213254;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus { outline: 2px dashed #9EB57A; outline-offset: 2px; }
ul, ol { margin-left: 1.2em; }
strong, b { font-weight: 700; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: #213254;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 2rem; }
h3 { font-size: 1.38rem; }
h4 { font-size: 1.18rem; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.05rem; }
}

/* ===== CONTAINERS & LAYOUTS ===== */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.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: 20px;
  box-shadow: 0 4px 28px 0 rgba(33, 50, 84, 0.10);
  transition: box-shadow 0.2s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(33, 50, 84, 0.14);
}
.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: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== BRAND COLOR SCHEME & EFFECTS ===== */
:root {
  --primary: #213254;
  --secondary: #F2EBD3;
  --accent: #9EB57A;
  --bg-card: #fff;
  --bg-hero: #E1D1B8;
  --shadow-card: 0 4px 28px 0 rgba(33, 50, 84, 0.10);
  --shadow-hover: 0 6px 32px 0 rgba(33, 50, 84, 0.14);
}

/* ===== HEADER ===== */
header {
  background: var(--secondary);
  border-bottom: 4px solid var(--accent);
  padding: 0;
  position: relative;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  min-height: 76px;
}
.logo img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(33,50,84,0.09));
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}
nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.06rem;
  color: var(--primary);
  padding: 8px 0;
  border-radius: 5px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: #fff;
}
nav .cta-button {
  margin-left: 12px;
}

/* ===== CTA BUTTONS ===== */
.cta-button, .cta-button:visited {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--accent);
  color: var(--primary) !important;
  border: none;
  border-radius: 40px;
  padding: 11px 32px 11px 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 rgba(158,181,122,0.10);
  outline: none;
  position: relative;
  letter-spacing: 0.03em;
  transition: background 0.14s, color 0.22s, transform 0.18s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #b8cc95;
  color: #1A232B !important;
  transform: translateY(-2px) scale(1.035);
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 12px rgba(33,50,84,0.08);
  z-index: 1101;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--primary); }
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--secondary);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.77,.2,.29,1.14);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 30px 24px 30px;
  gap: 44px;
  box-shadow: 0 8px 40px 0 rgba(33,50,84,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.4rem;
  color: var(--primary);
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 10px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.18rem;
  background: none;
  padding: 12px 2px;
  color: var(--primary);
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: var(--bg-hero);
  border-radius: 0 0 64px 64px;
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
  padding-top: 38px;
  padding-bottom: 36px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  justify-content: center;
  min-height: 260px;
}
.hero h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.8rem;
  color: var(--primary);
  line-height: 1.1;
  text-shadow: 1px 2px 0 #F2EBD3, 0 0 10px #fff1;
  margin-bottom: 12px;
}
.hero .subheadline, .hero .tagline {
  font-size: 1.28rem;
  color: #213254b3;
  font-family: 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.024em;
  margin-bottom: 18px;
}
.hero .cta-button {
  margin-top: 10px;
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero .container {
    min-height: 160px;
    gap: 18px;
  }
}

/* ===== FEATURES/ABOUT CARDS ===== */
.features ul, .features ol {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.features ul li, .features ol li {
  padding-left: 24px;
  position: relative;
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.features ul li:before, .features ol li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px; height: 11px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.features ol {
  list-style: decimal inside;
}
.features ol li:before {
  display: none;
}

/* ===== SERVICE CARDS / PRICING TABLES ===== */
.services ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
.services ul li {
  background: #fff;
  border-radius: 18px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 1.07rem;
  box-shadow: 0 2px 10px 0 rgba(158,181,122,0.08);
  color: var(--primary);
}
.services .cta-button {
  margin-top: 14px;
}
@media (max-width: 600px) {
  .services ul li {
    font-size: 1rem;
    padding: 10px 12px;
  }
}

/* ===== TEXT SECTION ===== */
.text-section {
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 2px 20px 0 rgba(33,50,84,0.07);
  font-size: 1.08rem;
  color: #213254;
  margin-bottom: 14px;
}
.text-section h3 {
  font-size: 1.16rem;
  margin-top: 16px;
  color: var(--accent);
  font-family: 'Merriweather', Georgia, serif;
}
@media (max-width: 600px) {
  .text-section {
    padding: 14px 8px;
    font-size: 0.98rem;
  }
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonials {
  margin-top: 60px;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  gap: 26px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 20px 0 rgba(33,50,84,0.09);
  min-width: 0;
  border-left: 7px solid var(--accent);
  transition: box-shadow 0.18s, border-left 0.2s;
}
.testimonial-card blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.13rem;
  color: #213254;
  line-height: 1.5;
  quotes: '“' '”' '„' '“';
}
.testimonial-card p {
  color: var(--accent);
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 0;
  margin-left: 16px;
}
@media (max-width: 768px) {
  .testimonials {
    margin-top: 38px;
    margin-bottom: 38px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px;
    gap: 9px;
  }
  .testimonial-card p {
    margin-left: 0;
  }
}

/* ===== MAP SNIPPET ===== */
.map-snippet {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 20px;
}
.map-snippet img {
  width: 60px;
  height: auto;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 20px 0 0 0;
  border-radius: 32px 32px 0 0;
  margin-top: 40px;
}
footer .container {
  padding-bottom: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.footer-menu a {
  color: var(--secondary);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 0.9;
  transition: opacity 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  opacity: 1;
  color: var(--accent);
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-top: 2px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  width: 38px; height: 38px;
  border-radius: 50%;
  box-shadow: 0 2px 9px rgba(33,50,84,0.10);
  transition: background 0.2s, transform 0.14s;
}
.social-links a:hover, .social-links a:focus {
  background: var(--accent);
  transform: rotate(-5deg) scale(1.07);
}
.legal-notice {
  font-size: 0.97rem;
  color: #a0a0a0;
  margin-top: 8px;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .footer-menu, .footer-menu a { font-size: 0.97rem; gap: 14px; }
  footer .container { padding-bottom: 8px; }
}

/* ====== LEGAL/INFO SECTION ===== */
.legal .container, .confirmation .container {
  padding-top: 36px;
  padding-bottom: 36px;
}
.legal .content-wrapper, .confirmation .content-wrapper {
  max-width: 750px;
  gap: 22px;
}
.legal h1, .confirmation h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.legal .text-section, .confirmation .text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(33,50,84,0.11);
  padding: 22px 16px;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .legal h1, .confirmation h1 {
    font-size: 1.3rem;
  }
  .legal .container, .confirmation .container {
    padding-top: 18px; padding-bottom: 18px;
  }
}

/* ===== CONTACT PAGE ===== */
.contact .content-wrapper {
  gap: 18px;
}
.contact .text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 20px 0 rgba(33,50,84,0.09);
  padding: 20px 16px;
  margin-bottom: 0;
}
.contact .map-snippet {
  margin-top: 12px;
}

/* ===== DOWNLOAD/LIST OPTIONS ===== */
.download-options p, .sample-lists p {
  background: #F2EBD3;
  border-radius: 11px;
  padding: 12px 13px;
  margin-top: 9px;
  color: #213254;
  font-size: 1rem;
}

/* ===== VISUAL & ARTISTIC DETAILS ===== */
/* Artistic dotted decoration on section titles */
h2::after {
  content: '';
  display: inline-block;
  margin-left: 14px;
  width: 49px; height: 16px;
  background: url('../assets/decor/dots-art.svg') no-repeat center/contain;
  vertical-align: middle;
}
@media (max-width: 768px) {
  h2::after { display: none; }
}

/* Drop shadow for interactive hover */
.card, .cta-button, .social-links a, .testimonial-card {
  transition: box-shadow 0.16s, background 0.20s, color 0.18s, transform 0.15s;
}
.card:hover, .cta-button:hover, .social-links a:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}

/* Artistic accent underline on h3 */
h3 {
  position: relative;
  z-index: 1;
}
h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 46px; height: 6px;
  background: var(--accent);
  border-radius: 12px;
  opacity: 0.3;
  z-index: -1;
}
@media (max-width: 600px) {
  h3::after { width: 26px; height: 4px; bottom: -3px; }
}

/* ====== RESPONSIVE DESIGN ===== */
@media (max-width: 920px) {
  .container { max-width: 98vw; }
  .footer-menu, .social-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .section, .features, .services { padding: 28px 6vw; }
}
@media (max-width: 500px) {
  .section, .features, .services { padding: 18px 0; }
}

/* ===== HOVER AND MICRO-INTERACTIONS ===== */
a, button, .cta-button, .social-links a {
  transition: color 0.16s, background 0.16s, transform 0.12s;
}
a:active, .cta-button:active, .testimonial-card:active {
  transform: scale(.96);
}

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 32px;
  box-shadow: 0 -5px 32px 0 rgba(33,50,84,0.06);
  border-top: 4px solid var(--accent);
  font-size: 1.11rem;
  animation: cookiebanner-fadein 0.8s cubic-bezier(.69,.05,.29,1.09) both;
}
@keyframes cookiebanner-fadein {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 1 1 260px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.cookie-consent-btn, .cookie-settings-btn {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  margin-left: 0px;
  transition: background 0.15s, color 0.18s, transform 0.14s;
}
.cookie-consent-btn {
  background: var(--accent);
  color: var(--primary);
}
.cookie-consent-btn.reject {
  background: #eee9c7;
  color: #1A232B;
  border: 1.5px solid var(--accent);
}
.cookie-settings-btn {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #c7dcb0;
  color: #171c28;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 19px 10px;
    font-size: 1rem;
  }
  .cookie-buttons { gap: 11px; }
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  inset: 0;
  background: rgba(33,50,84,0.18);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 23px;
  padding: 28px 28px 18px 28px;
  min-width: 304px; max-width: 99vw; width: 420px;
  box-shadow: 0 14px 66px 0 rgba(33,50,84,0.13);
  animation: cookie-popup 0.45s cubic-bezier(.79,.17,.24,1.07) both;
}
@keyframes cookie-popup {
  0% { transform: scale(0.6) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 12px;
  color: var(--accent);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-category label {
  font-size: 1.07rem;
  margin-right: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-toggle {
  width: 44px; height: 22px;
  background: #eee9c7;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 100%; height: 100%;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
}
.cookie-toggle .slider {
  display: block;
  background: #ccc;
  border-radius: 16px;
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  transition: background 0.18s;
}
.cookie-toggle input:checked + .slider {
  background: var(--accent);
}
.cookie-toggle .dot {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s;
}
.cookie-toggle input:checked + .slider .dot {
  left: 25px;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #a0a0a0;
  font-size: 1.25rem;
  position: absolute;
  top: 20px; right: 20px;
  cursor: pointer;
}
.cookie-modal-footer .cta-button {
  padding: 8px 22px;
  border-radius: 22px;
  font-size: 0.99rem;
  margin-top: 0;
}

@media (max-width: 600px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 12px 5vw 10px 5vw;
  }
}

/* ===== FLEXBOX CLASSES (MANDATORY) ===== */
.card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}

/* Prevent content overlap and maintain gaps */
.card, .testimonial-card, .feature-item, .content-wrapper {
  margin-bottom: 20px;
}

/* ===== ACCESSIBILITY ===== */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== TYPOGRAPHY SCALE ===== */
body {
  font-size: 1rem;
}
@media (min-width: 900px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2.14rem; }
  h3 { font-size: 1.36rem; }
  .hero h1 { font-size: 2.95rem; }
}

/* ===== UTILS ===== */
.hide {
  display: none !important;
}
.visible {
  display: block !important;
}

/* ===== SPECIAL ARTISTIC FONTS FOR QUOTES ===== */
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  quotes: '“' '”' '„' '“';
}
blockquote:before {
  content: open-quote;
  color: var(--accent);
  font-size: 2.2em;
  line-height: 0.1em;
  margin-right: 0.15em;
  vertical-align: -0.4em;
}
blockquote:after { content: close-quote; }

/* ===== DESKTOP LAYOUT TWEAKS ===== */
@media (min-width: 800px) {
  .content-wrapper {
    flex-direction: row;
    gap: 32px;
    align-items: center;
  }
  .features .content-wrapper,
  .testimonials .content-wrapper,
  .about .content-wrapper,
  .legal .content-wrapper,
  .contact .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== END OF STYLE.CSS ===== */
