/* ================================================
   CSS RESET & BASELINE NORMALIZATION
   ================================================ */
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 {
  height: 100%;
  font-family: 'Lora', 'Georgia', serif;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F6F8F4;
  color: #263037;
}
body {
  min-height: 100vh;
  background: #F6F8F4;
  color: #263037;
  font-family: 'Lora', 'Georgia', serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul, ol {
  margin-left: 1.3em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: #18507A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #647E4B;
  text-decoration: underline;
}

strong, b {
  font-weight: bold;
}

/* ================================================
   BRAND FONTS & TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4 {
  font-family: 'Merriweather', 'Lora', 'Georgia', serif;
  color: #18507A;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.18;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
p, .text-section p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #263037;
  margin-bottom: 1.15em;
  font-family: 'Lora', 'Georgia', serif;
}
.text-section, .content-wrapper {
  font-family: 'Lora', 'Georgia', serif;
}

/* ================================================
   COLOR VARIABLES (FALLBACK for older browsers)
   ================================================ */
:root {
  --color-primary: #18507A;
  --color-secondary: #647E4B;
  --color-accent: #F6F8F4;
  --color-dark: #263037;
  --color-grey: #D3DED7;
  --color-white: #fff;
  --shadow-card: 0px 4px 18px rgba(24, 57, 92, 0.08);
  --radius-lg: 14px;
  --radius-md: 8px;
}

/* ================================================
   CONTAINER & SECTION DEFAULTS
   ================================================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ================================================
   HEADER & NAV STYLE
   ================================================ */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 1px 10px rgba(24,80,122,0.06);
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 500;
  padding: 7px 3px;
  font-size: 1.08rem;
  color: var(--color-primary);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  text-decoration: none;
}
.btn-primary {
  padding: 12px 32px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  border: none;
  font-family: 'Merriweather', 'Lora', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  box-shadow: 0 4px 12px rgba(24,80,122,0.08);
  display: inline-block;
  margin-left: 18px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 8px 18px rgba(100,126,75,0.15);
  text-decoration: none;
}

/* ================================================
   MOBILE MENU & MOBILE NAVIGATION
   ================================================ */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  padding: 6px 10px;
  border-radius: var(--radius-md);
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,80,122,0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.55,.01,.29,.99), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  padding: 8px 14px 8px 0;
  margin: 24px 24px 0 auto;
  border-radius: 50%;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(255,255,255,0.14);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 38px;
  margin-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Lora', 'Georgia', serif;
  letter-spacing: 0.02em;
  padding: 6px 0;
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 920px) {
  .main-nav {
    gap: 8px;
  }
  header img {
    height: 38px;
  }
  .btn-primary {
    margin-left: 4px;
    padding: 11px 19px;
    font-size: 1.03rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 600px) {
  header img {
    height: 32px;
  }
}

/* ================================================
   HERO SECTIONS & CTA
   ================================================ */
.hero {
  background: linear-gradient(130deg, #F6F8F4 80%, #e7eee6 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(24,80,122,.05);
  margin-top: 25px;
  margin-bottom: 60px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  min-height: 320px;
  padding-bottom: 22px;
}
.hero .content-wrapper {
  max-width: 680px;
  gap: 16px;
}
.hero h1 {
  font-size: 2.35rem;
  color: var(--color-primary);
}
.hero p {
  font-size: 1.25rem;
  color: var(--color-dark);
}
.hero .btn-primary {
  margin-top: 12px;
}

.cta {
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 13px rgba(24, 80, 122, 0.07);
}
.cta h2 {
  margin-bottom: 14px;
}
.cta p {
  margin-bottom: 12px;
}

/* ================================================
   FEATURES & SERVICES FLEXBOX LISTS
   ================================================ */
.features {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.features h2 {
  margin-bottom: 12px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 28px 34px;
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
}
.features li {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 330px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  color: var(--color-dark);
  background: rgba(100,126,75,0.03);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 0;
  transition: box-shadow 0.16s, background 0.18s;
}
.features li img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.features li:hover, .features li:focus {
  background: #e7eee6;
  box-shadow: 0 8px 24px rgba(100,126,75,0.09);
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .features ul {
    gap: 14px 0px;
  }
  .features li {
    min-width: 150px;
    max-width: 100%;
    font-size: 1.00rem;
    padding: 14px 13px;
  }
}
@media (max-width: 640px) {
  .features ul {
    flex-direction: column;
    gap: 14px;
  }
  .features li {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    font-size: 1.03rem;
  }
}

.services {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.services ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  margin: 0 0 16px 0;
  list-style-type: none;
}
.services li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(24, 80, 122, 0.03);
  border-radius: var(--radius-md);
  padding: 18px 20px 18px 22px;
  font-size: 1.08rem;
  color: var(--color-primary);
  border-left: 3px solid var(--color-secondary);
  transition: background 0.14s, box-shadow 0.14s;
  margin-bottom: 0;
}
.services li .service-price {
  margin-top: 6px;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-family: 'Lora', 'Georgia', serif;
}
.services li:hover, .services li:focus {
  background: rgba(100,126,75,0.06);
  box-shadow: 0 6px 18px rgba(24,80,122,0.08);
}
.services .btn-primary {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .services ul {
    gap: 13px;
  }
  .services li {
    padding: 13px 10px 13px 14px;
    font-size: 0.98rem;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.section .content-grid {
  padding-top: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ================================================
   TESTIMONIAL CARDS & REVIEWS
   ================================================ */
.testimonials {
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(24,80,122,0.06);
  padding-top: 30px;
}
.testimonials h2 {
  font-family: 'Merriweather', serif;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: 0 2px 13px rgba(24,80,122,0.05);
  border-left: 5px solid var(--color-secondary);
  min-width: 220px;
  max-width: 530px;
  color: var(--color-dark);
  font-family: 'Lora', 'Georgia', serif;
  font-size: 1.2rem;
  line-height: 1.5;
  transition: box-shadow 0.24s, border-color 0.16s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 38px rgba(100,126,75,0.09);
  border-left: 5px solid var(--color-primary);
}
.testimonial-author {
  font-family: 'Merriweather', 'Lora', serif;
  font-size: 0.98rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-left: 8px;
}

@media (max-width: 750px) {
  .testimonials .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .testimonial-card {
    max-width: 100%;
    font-size: 1rem;
  }
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  width: 100%;
  background: #F6F8F4;
  border-top: 1px solid #dfe7e2;
  padding: 40px 0 32px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  font-family: 'Merriweather', 'Lora', serif;
  font-size: 1.23rem;
  color: var(--color-primary);
}
.footer-brand img {
  width: 44px;
  height: 44px;
  margin: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: 'Lora', 'Georgia', serif;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* ================================================
   CONTACT INFO & BLOCKS
   ================================================ */
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info li {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  color: var(--color-dark);
  gap: 13px;
}
.contact-info li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 4px;
}

/* ================================================
   GENERAL UTILITY LAYOUTS
   ================================================ */
.text-section {
  font-family: 'Lora', 'Georgia', serif;
  color: var(--color-dark);
  font-size: 1.07rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.text-section ul {
  list-style: disc inside;
  margin-top: 0.7em;
  margin-left: 0;
  margin-bottom: 0.8em;
  gap: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ================================================
   FORMS (if present)
   ================================================ */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #CED9DB;
  background: #fff;
  color: var(--color-dark);
  padding: 8px 12px;
  outline: none;
  transition: border 0.16s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(24,80,122,0.10);
}
button {
  cursor: pointer;
}

/* ================================================
   COOKIE CONSENT BANNER & MODAL
   ================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-white);
  box-shadow: 0 -2px 25px rgba(24,80,122,0.10);
  border-top: 3px solid var(--color-secondary);
  z-index: 9901;
  padding: 25px 24px 25px 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 34px;
  min-height: 70px;
  font-family: 'Lora', 'Georgia', serif;
  transition: bottom 0.3s;
}
.cookie-banner .cookie-text {
  color: var(--color-dark);
  font-size: 1.08rem;
  flex: 1;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 26px;
  margin: 0 2px;
  font-size: 1.02rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Merriweather', 'Lora', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.16s, color 0.14s;
  cursor: pointer;
}
.cookie-btn-accept {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-btn-reject {
  background: #ECECEC;
  color: var(--color-primary);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--color-grey);
  color: var(--color-secondary);
}
.cookie-btn-settings {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-weight: 600;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--color-primary);
  color: var(--color-white);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 9px 18px 9px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left:0;top:0;right:0;bottom:0;
  background: rgba(24,80,122,0.45);
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  width: 95%;
  max-width: 420px;
  margin: 0 auto 40px auto;
  padding: 36px 26px 24px 26px;
  box-shadow: 0 12px 48px rgba(24,80,122,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h2 {
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category label {
  display: flex;
  align-items: center;
  font-family: 'Lora', 'Georgia', serif;
}
.cookie-modal .cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 16px;
  background: #DEE5E6;
  position: relative;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
  margin-left: 10px;
}
.cookie-modal .cookie-toggle.enabled {
  background: var(--color-secondary);
}
.cookie-modal .cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 3.5px;
  top: 3.5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s;
}
.cookie-modal .cookie-toggle.enabled::after {
  left: 23px;
  background: var(--color-white);
}
.cookie-modal .cookiemodal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 18px;
  background: transparent;
  color: var(--color-primary);
  border: none;
  font-size: 1.45rem;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 50%;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e7eee6;
}

/* ================================================
   RESPONSIVE UTILITIES
   ================================================ */
@media (max-width: 950px) {
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .section, section {
    padding: 24px 9px;
    margin-bottom: 38px;
  }
  .hero .container {
    min-height: 160px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .cta {
    padding: 16px 6px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.22rem;
    margin-bottom: 8px;
  }
  h2 {
    font-size: 1.05rem;
  }
  .btn-primary, .cookie-btn {
    font-size: 0.93rem;
    padding: 9px 13px;
  }
  .card, .testimonial-card {
    padding: 10px 8px;
  }
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.section, .hero, .cta, .testimonials, .services, .features, .contact-info, .card, .testimonial-card {
  animation: fadeInUp 0.7s cubic-bezier(.33,.81,.44,1) both;
}

/* ================================================
   MISCELLANEOUS
   ================================================ */
::-webkit-input-placeholder { color: #9DAEB3; }
::-moz-placeholder { color: #9DAEB3; }
:-ms-input-placeholder { color: #9DAEB3; }
::placeholder { color: #9DAEB3; }

::-webkit-scrollbar {
  width: 10px;
  background: #F6F8F4;
}
::-webkit-scrollbar-thumb {
  background: #CED9DB;
  border-radius: 7px;
}

/* Fallback for missing fonts, define font-face if no Google Fonts used */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: local('Merriweather'), local('Georgia'), local('serif');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: local('Lora'), local('Georgia'), local('serif');
}

/* End of CSS file */
