/* ========================================================
   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,
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, body {
  height: 100%;
}
body {
  line-height: 1.65;
  background: #FFF8F3;
  color: #3C3636;
  font-family: 'Roboto', Arial, sans-serif;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
/* =============== BRAND COLORS AND TYPOGRAPHY ================= */
:root {
  --color-primary: #14677D;
  --color-secondary: #F9D964;
  --color-accent: #FFFFFF;
  --color-contrast: #3C3636;
  --color-bg: #FFF8F3;
  --color-gray: #EEE3D8;
  --color-shadow: rgba(20, 103, 125, 0.05);
  --color-footer-bg: #FBE7A8;
  --color-highlight: #F5B774;
  --color-muted: #E9E3D1;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}
/* ============== LAYOUT CONTAINERS =========================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--color-accent);
  border-radius: 28px;
  box-shadow: 0 2px 24px var(--color-shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--color-accent);
  border-radius: 24px;
  box-shadow: 0 1px 12px var(--color-shadow);
  padding: 24px 20px;
  min-width: 240px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 24px rgba(245, 183, 116,0.18);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-muted);
  padding: 18px 18px 14px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: box-shadow 0.18s, background 0.2s;
}
.feature-item img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.feature-item:hover {
  background: var(--color-secondary);
  box-shadow: 0 8px 32px rgba(249, 217, 100,0.14);
}
.features-section ul,
.services-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: column;
}
.features-section ul li,
.services-section ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.06rem;
  line-height: 1.6;
  background: var(--color-muted);
  border-radius: 16px;
  margin-bottom: 8px;
  padding: 16px 18px;
  transition: background 0.2s;
}
.features-section ul li img,
.services-section ul li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.features-section ul li:last-child,
.services-section ul li:last-child {
  margin-bottom: 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.logo-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.statistic-block {
  display: flex;
  flex-direction: row;
  gap: 40px;
  background: var(--color-muted);
  padding: 20px 30px;
  border-radius: 16px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
}
.statistic-block strong { font-size: 1.4em; color: var(--color-contrast); }
/* ============== TYPOGRAPHY ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.45rem;
}
p, ul li, ol li, blockquote {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: var(--color-contrast);
}
blockquote {
  font-style: italic;
  font-weight: 500;
  border-left: 5px solid var(--color-secondary);
  background: #FFF4CA;
  margin: 12px 0 12px 0;
  padding: 16px 22px;
  border-radius: 12px;
  color: #715208;
  box-shadow: 0 2px 12px var(--color-shadow);
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}
/* ============== NAVIGATION & HEADER ======================= */
header {
  background: var(--color-accent);
  padding: 0 0 10px 0;
  box-shadow: 0 2px 16px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 101;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  background: none;
}
.main-nav a {
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 14px;
  transition: background 0.16s, color 0.16s;
  font-weight: 600;
}
.main-nav a.cta-btn, .cta-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 24px;
  padding: 8px 28px;
  margin-left: 12px;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px rgba(249, 217, 100, 0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus, .cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 6px 22px rgba(20,103,125,0.08);
}
.main-nav img {
  height: 38px;
  margin-right: 18px;
  margin-left: 0;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 7px 15px 7px 15px;
  margin-left: auto;
  margin-top: 4px;
  margin-right: 18px;
  transition: background 0.2s, color 0.2s;
  z-index: 200;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  background: rgba(255, 249, 225, 0.98);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.8,-0.01,.4,0.99);
  box-shadow: -4px 0 30px rgba(20,103,125,0.12);
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-highlight);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 46px;
  padding: 6px 13px;
  margin-right: 16px;
  margin-bottom: 14px;
  transition: background 0.16s, color 0.18s;
  z-index: 3001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 32px 24px 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  border-radius: 18px;
  padding: 12px 10px;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
/* ============= HERO SECTIONS =================== */
.hero-section {
  background: linear-gradient(106deg, #F9D964 20%, #FFF8F3 95%);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 4px 28px #F9D96433;
  margin-bottom: 38px;
  padding: 64px 0 54px 0;
  text-align: left;
}
.hero-section .content-wrapper {
  gap: 22px;
  align-items: flex-start;
}
.hero-section h1 {
  color: var(--color-primary);
  font-size: 2.35rem;
}
.hero-section p {
  max-width: 540px;
  font-size: 1.22rem;
  color: #543008;
}
.hero-section .cta-btn {
  margin-top: 16px;
  padding: 12px 34px;
  font-size: 1.18rem;
}
/* =============== CTA SECTION ================ */
.cta-section {
  background: var(--color-secondary);
  border-radius: 30px;
  box-shadow: 0 2px 22px #F9D96419;
  text-align: left;
  margin-bottom: 60px;
  padding: 42px 20px;
}
.cta-section h2 {
  color: var(--color-primary);
  font-size: 2.1rem;
  margin-bottom: 10px;
}
.cta-section .cta-btn {
  margin-top: 14px;
  font-size: 1.15rem;
  background: var(--color-primary);
  color: var(--color-accent);
}
.cta-section .cta-btn:hover, .cta-section .cta-btn:focus {
  background: #1989a2;
}
.cta-section .contact-info {
  margin-top: 20px;
  font-size: 1.01rem;
  color: #6e560c;
}
/* ============== TESTIMONIAL CARDS ================ */
.testimonials-section,
.features-section .testimonial-card {
  margin-top: 32px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  background: var(--color-accent);
  color: var(--color-contrast);
  border-radius: 20px;
  box-shadow: 0 2px 22px var(--color-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.2s;
}
.testimonial-card blockquote {
  background: none;
  border-left: 5px solid var(--color-highlight);
  box-shadow: none;
  color: #6d4f08;
  font-size: 1.06rem;
  padding: 10px 0 10px 24px;
  margin: 0;
}
.testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.01rem;
  color: var(--color-primary);
  margin-left: 12px;
}
.testimonial-card:hover, .testimonial-card:focus {
  background: #FFF4CA;
  box-shadow: 0 8px 36px #F9D96418;
}
/* ============== FOOTER =============== */
footer {
  background: var(--color-footer-bg);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  padding: 32px 0 18px 0;
  box-shadow: 0 -2px 24px #F9D96433;
  margin-top: 24px;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #714b05;
  font-size: 1.02rem;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 12px;
  padding: 6px 14px;
  transition: background 0.13s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.footer-brand {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  font-size: 1.04rem;
}
.footer-brand img {
  height: 32px;
  border-radius: 10px;
}
.footer-brand span {
  font-family: var(--font-body);
  color: #8a7116;
}
/* =============== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(94deg, #fffbe4 65%, #FFF4CA 100%);
  color: var(--color-contrast);
  box-shadow: 0 -2px 22px #F9D96433;
  z-index: 5000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px 20px 24px;
  font-size: 1rem;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  animation: banner-fadein 0.7s cubic-bezier(.35,1.62,.32,.95);
}
@keyframes banner-fadein {
  0% { bottom: -100px; opacity: 0; }
  75% { opacity: 1; }
  100% { bottom: 0; opacity: 1; }
}
.cookie-banner-content {
  flex: 2 1 380px;
  margin-bottom: 8px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  flex: 0 0 auto;
}
.cookie-banner button {
  padding: 8px 22px;
  font-size: 1.01rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 18px;
  border: none;
  box-shadow: 0 2px 8px #F9D96407;
  margin: 0 2px;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .accept-btn { background: var(--color-primary); color: var(--color-accent); }
.cookie-banner .reject-btn { background: #f1cf8b; color: #7e5605; }
.cookie-banner .settings-btn { background: var(--color-secondary); color: var(--color-primary); }
.cookie-banner button:hover, .cookie-banner button:focus { box-shadow: 0 8px 32px #F9D96417; }
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus { background: #11475c; }
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus { background: #ffe18c; }
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus { background: #ffd37e; }
/* =========== COOKIE PREFERENCES MODAL ================ */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 420px;
  background: var(--color-accent);
  color: var(--color-contrast);
  box-shadow: 0 14px 44px rgba(20, 103, 125, 0.22);
  z-index: 6000;
  border-radius: 32px;
  padding: 36px 30px 24px 30px;
  transform: translate(-50%, -60%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal-title {
  font-size: 1.34rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}
.cookie-modal-category span {
  font-family: var(--font-body);
  font-size: 1.05rem;
}
.cookie-modal-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-primary);
  border-radius: 8px;
  border: 2px solid var(--color-primary);
}
.cookie-modal-category.essential span {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-modal-footer {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .close {
  background: var(--color-highlight);
  color: var(--color-primary);
  align-self: flex-end;
  border-radius: 20px;
  font-size: 1.3rem;
  padding: 3px 13px;
  margin-bottom: 10px;
}
.cookie-modal .close:focus, .cookie-modal .close:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
/* ============== PAGE SPACING, LIST, BLOCKS ============== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.features-section, .services-section, .about-section, .footer-section, .contact-section {
  background: var(--color-accent);
  border-radius: 28px;
  box-shadow: 0 2px 20px var(--color-shadow);
  padding: 40px 0;
  margin-bottom: 60px;
}
.text-section ul, .about-section ul, .footer-section ul, .contact-section ul {
  gap: 16px;
  flex-direction: column;
  display: flex;
}
.text-section ul li, .about-section ul li, .footer-section ul li, .contact-section ul li {
  background: #fff9e2;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 1.05rem;
  color: #715208;
  margin-bottom: 6px;
}
.text-section ul li:last-child, .about-section ul li:last-child, .footer-section ul li:last-child, .contact-section ul li:last-child {
  margin-bottom: 0;
}
/* ============== RESPONSIVE DESIGN ===================== */
@media (max-width: 960px) {
  .main-nav {
    gap: 10px;
    font-size: 1rem;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .container { padding: 0 10px; }
  .footer-nav { gap: 18px; }
}
@media (max-width: 800px) {
  .main-nav { gap: 8px; }
  .hero-section { padding: 50px 0 36px 0; }
}
@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .content-wrapper, .statistic-block { gap: 14px; }
  .hero-section { padding: 38px 0 22px 0; border-radius: 0 0 28px 28px; }
  .section, section, .cta-section, .features-section, .services-section, .about-section, .footer-section, .contact-section {
    padding: 22px 0;
    margin-bottom: 38px;
    border-radius: 18px;
  }
  .testimonial-card { flex-direction: column; gap: 8px; padding: 14px 12px; }
  .features-section ul, .services-section ul, .text-section ul { gap: 10px; }
  .statistic-block {
    flex-direction: column;
    gap: 12px;
    padding: 12px 10px;
    font-size: 1em;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .logo-bar { gap: 10px; }
}
@media (max-width: 600px) {
  .container { padding: 0 4vw; }
  .hero-section h1 {
    font-size: 1.7rem;
  }
  .cta-section h2 {
    font-size: 1.4rem;
  }
  .section, .features-section, .services-section, .cta-section, .footer-section, .about-section, .contact-section {
    padding-left: 0; padding-right: 0;
    margin-bottom: 28px;
  }
  .section, section { border-radius: 12px; }
  .cookie-modal {
    padding: 24px 8px 18px 8px;
    border-radius: 20px;
  }
}
@media (max-width: 460px) {
  .testimonial-card { padding: 8px 4px; font-size: .98rem; }
  .cookie-banner { padding: 14px 6px 14px 6px; }
  .cookie-modal {
    padding: 14px 2vw 7px 2vw;
  }
}
/* ========== MICRO-INTERACTIONS & TRANSITIONS ============= */
a, .cta-btn, button, .footer-nav a, .main-nav a, .mobile-menu-toggle, .cookie-banner button, .cookie-modal .close {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
.cta-btn:active, .main-nav a:active, .footer-nav a:active, .mobile-nav a:active {
  transform: scale(0.962);
}
.mobile-menu, .mobile-menu.open {
  transition: transform 0.32s cubic-bezier(.8,-0.01,.4,0.99);
}
.cookie-modal, .cookie-modal.open {
  transition: opacity 0.26s, transform 0.3s;
}
/* ========== UTILITIES, OVERRIDES, SAFETY padding ============= */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.pt-1 { padding-top: 8px; }
.pb-1 { padding-bottom: 8px; }
.rounded { border-radius: 14px !important; }
.shadow { box-shadow: 0 2px 20px var(--color-shadow) !important; }
.text-center { text-align: center; }
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-muted { color: #a8a59d !important; }
/* ========== OVERRIDES (NO GRID / COLUMNS!) ============= */
/* All layout is FLEX - see containers above. No grid, no absolute card content position. */
