/* ----- CSS RESET & NORMALIZE ----- */
html { box-sizing: border-box; }
*,*::before,*::after { box-sizing: inherit; margin: 0; padding: 0; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
ul,ol { list-style: none; }
img { max-width: 100%; display: block; border: 0; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
:focus { outline: 2px solid #D9B972; outline-offset: 2px; }

/* ----- ROOT FONTS AND COLORS (BRAND & WARM FRIENDLY AESTHETIC) ----- */
:root {
  --color-primary: #233A4D;
  --color-secondary: #D9B972;
  --color-accent: #F6F8FB;
  --color-warm1: #FFF6F0;
  --color-warm2: #FBE9DA;
  --color-warm3: #FAF3DD;
  --color-neutral: #fff;
  --color-dark: #33343b;
  --color-text: #372D26;
  --color-link: #845100;
  --color-success: #81B29A;
  --color-shadow: rgba(100, 55, 33, 0.08);
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-lg: 0 12px 32px var(--color-shadow);
  --shadow-md: 0 4px 16px var(--color-shadow);
  --shadow-sm: 0 1px 4px var(--color-shadow);
  --transition: .25s cubic-bezier(.4,.2,.4,1);
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-warm1);
  line-height: 1.7;
  min-height: 100vh;
}

/* ----- TYPOGRAPHY HIERARCHY ----- */
h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-primary);
}

p, li {
  font-size: 1rem;
  color: var(--color-text);
}

blockquote, .tagline {
  font-family: var(--font-display);
  background: var(--color-warm2);
  color: var(--color-primary);
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  font-size: 1.2rem;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

/* ----- COMMON LAYOUT CLASSES ----- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-neutral);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-warm1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  position: relative;
  min-width: 270px;
  flex: 1 1 270px;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--color-warm3);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----- HEADER & NAVIGATION ----- */
header {
  background: var(--color-accent);
  box-shadow: var(--shadow-sm);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img { height: 48px; border-radius: var(--radius-md); }
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 8px 16px;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition); 
}
.main-nav a.cta,.main-nav a.button.primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition);
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-warm2);
  color: var(--color-dark);
}
.main-nav a.cta:hover,
.main-nav a.cta:focus,
.main-nav a.button.primary:hover,
.main-nav a.button.primary:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* ----- MOBILE NAVIGATION ----- */
.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--color-primary);
  display: none;
  background: none;
  border-radius: var(--radius-md);
  transition: background var(--transition);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-warm3);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;   
  bottom: 0;
  background: var(--color-warm2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.39,.58,.57,1);
  z-index: 9999;
  padding: 32px 20px 20px 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  padding: 6px 13px;
  margin-bottom: 30px;
  transition: background var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Responsive Nav control */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}
@media (min-width: 1081px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ----- HERO SECTION ----- */
.hero {
  background: var(--color-warm2);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding-top: 56px;
  padding-bottom: 56px;
  margin-bottom: 32px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  color: var(--color-primary);
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 18px;
}

/* ----- FEATURES SECTION AND FEATURE GRID ----- */
.features, .services, .services-overview {
  background: var(--color-warm1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  background: var(--color-neutral);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 36px rgba(102,50,21,0.12);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img {
  height: 42px;
  width: 42px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  margin-top: 0;
  margin-bottom: 6px;
}
.feature-grid p {
  font-size: 1rem;
}
.price {
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 1.05rem;
  margin-top: 7px;
  letter-spacing: .01em;
}

/* ----- TESTIMONIALS / REVIEWS ----- */
.testimonials {
  background: var(--color-neutral);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2 {
  text-align: center;
  margin-bottom: 28px;
}
.testimonial-card {
  background: var(--color-warm3);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  min-width: 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-primary);
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.testimonial-meta {
  color: var(--color-primary);
  font-size: 0.96rem;
  font-style: italic;
  font-family: var(--font-body);
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(100,55,33,0.14);
  transform: translateY(-2px) scale(1.025);
}

/* ----- CALL-TO-ACTION ----- */
.call-to-action {
  background: var(--color-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 44px 20px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.call-to-action h2 {
  color: var(--color-primary);
  margin-bottom: 18px;
}
.call-to-action .button.primary {
  font-size: 1.15rem;
  padding: 15px 34px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
  margin-top: 18px;
}

/* ----- COOKIE CONSENT BANNER ----- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 12000;
  background: var(--color-neutral);
  color: var(--color-primary);
  box-shadow: 0 -8px 32px var(--color-shadow);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  animation: cookieband-in .5s;
  font-size: 1rem;
}
@keyframes cookieband-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition);
  margin-left: 5px;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.cookie-banner .cookie-settings-button {
  background: var(--color-warm3);
  color: var(--color-primary);
}
.cookie-banner .cookie-settings-button:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.cookie-modal {
  display: none;
  position: fixed;
  z-index: 13000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,58,77,0.20);
  justify-content: center;
  align-items: center;
}
.cookie-modal.active {
  display: flex;
  animation: modalin .4s;
}
@keyframes modalin {
  from { opacity: 0 }
  to { opacity: 1 }
}
.cookie-modal-content {
  background: var(--color-neutral);
  padding: 34px 28px 28px 28px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl);
  min-width: 320px;
  max-width: 92vw;
}
.cookie-modal-content h2 {
  color: var(--color-primary);
  margin-bottom: 18px;
}
.cookie-modal-cats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 1rem;
}
.cookie-modal-category .cookie-toggle {
  width: 48px;
  height: 24px;
  background: var(--color-warm3);
  border-radius: 20px;
  position: relative;
  outline: none;
  margin-left: 12px;
}
.cookie-modal-category .cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-category .slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-secondary);
  transition: left 0.2s var(--transition);
}
.cookie-modal-category .cookie-toggle input:checked + .slider {
  left: 27px;
  background: var(--color-success);
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: var(--color-warm3);
  color: var(--color-primary);
  font-size: 1.5rem;
  border-radius: var(--radius-md);
  padding: 5px 12px;
  z-index: 2;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal-close:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ----- BUTTONS & INTERACTIONS ----- */
.button, a.button, .button.primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-secondary);
  border: none;
  border-radius: var(--radius-lg);
  padding: 13px 30px;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  margin-right: 8px;
}
.button.primary:hover, .button.primary:focus, .button:hover, a.button:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(63,44,25,.08);
}

/* Inline links */
a {
  color: var(--color-link);
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ----- CARDS ----- */
.card {
  background: var(--color-neutral);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 12px 36px rgba(124,63,17,0.13);
  transform: translateY(-3px) scale(1.02);
}

/* FAQ, TEXT-SECTIONS, LEGAL ----- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.text-section ul, .text-section ol {
  padding-left: 22px;
  margin-top: 4px;
  margin-bottom: 8px;
}
.text-section ul li, .text-section ol li {
  list-style: disc;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 7px;
}
.text-section h3 {
  margin-top: 22px;
  margin-bottom: 6px;
}
.text-section p {
  margin-bottom: 7px;
}
.legal {
  background: var(--color-neutral);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ----- CONTACT DETAILS ----- */
.contact-details {
  background: var(--color-warm3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-details .text-section img {
  height: 1.25em;
  width: 1.25em;
  vertical-align: middle;
  margin-right: 6px;
}

/* ----- MAP ----- */
.map {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ----- FOOTER ----- */
footer {
  background: var(--color-primary);
  color: var(--color-neutral);
  padding-top: 40px;
  padding-bottom: 0;
  margin-top: 80px;
}
footer .container { padding-bottom: 0; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid #3f5670;
}
.footer-top .text-section {
  flex: 1 1 260px;
  color: var(--color-accent);
  background-color: #c9cfd6;
}
.footer-top .text-section img {
  height: 50px;
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1 1 220px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-size: .97rem;
  padding: 4px 0;
  border-radius: var(--radius-sm);
  transition: background var(--transition); 
}


.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  text-decoration: none;
}
.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}
.social-links img {
  height: 34px;
  width: 34px;
  background: var(--color-neutral);
  border-radius: 50%;
  padding: 3px;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.social-links a:hover img {
  box-shadow: 0 7px 20px rgba(220,187,114, .12);
  transform: scale(1.07);
}
.footer-bottom {
  text-align: center;
  padding: 18px 0 14px 0;
  letter-spacing: .01em;
  color: #c9cfd6;
  font-size: 0.97rem;
}

/* ----- RESPONSIVE DESIGN (mobile-first) ----- */
@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 22px; }
}
@media (max-width: 768px) {
  :root { font-size: 15px; }
  .container { padding: 0 11px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.13rem; }
  .section, .features, .services, .legal, .testimonials, .call-to-action, .contact-details, .map {
    padding: 24px 8px;
    border-radius: var(--radius-md);
  }
  .card, .feature-grid > div, .testimonial-card {
    padding: 16px 9px;
    min-width: 130px;
  }
  .content-grid,
  .feature-grid,
  .footer-top {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .hero {
    padding-top: 26px; padding-bottom: 26px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-bottom: 28px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  .container { padding: 0 4px; }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 13px 6px;
    font-size: .97rem;
    border-radius: 13px 13px 0 0;
  }
  .cookie-banner .cookie-buttons { gap: 7px; }
}

/* ----- UTILITY CLASSES & MICRO-INTERACTIONS ----- */
.bg-primary { background: var(--color-primary); color: var(--color-neutral); }
.bg-secondary { background: var(--color-secondary); color: var(--color-primary); }
.bg-accent { background: var(--color-accent); color: var(--color-primary); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-md { border-radius: var(--radius-md); }
.shadow-xl { box-shadow: var(--shadow-lg); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.gap-16 { gap: 16px; }
.gap-8 { gap: 8px; }
.gap-24 { gap: 24px; }

/* Hide visually but not from screen readers */
.sr-only { position: absolute; left: -9999px; }

/* ----- END ----- */
