/* RESET & NORMALIZE (MOBILE-FIRST) */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 100%;
  font-size: 16px;
  background-color: #FFF9F4;
  color: #1C2331;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  background: #FFF9F4;
  color: #312620;
  min-height: 100vh;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #4A5D7A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E2711D;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin: 1em 0;
}
li {
  margin-bottom: 0.5em;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* BRAND COLORS (CSS CUSTOM PROPERTIES) & FALLBACKS */
:root {
  --color-primary: #1C2331;
  --color-secondary: #4A5D7A;
  --color-accent: #FFD166;
  --color-bg: #FFF9F4;
  --color-surface: #FFFFFF;
  --color-shadow: rgba(217, 162, 85, 0.13);
  --color-contrast: #1C2331;
  --color-muted: #9C988F;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Josefin Sans', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 16px 0;
  line-height: 1.15;
  letter-spacing: 0.025em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  color: #E2711D;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.06rem;
}
.subheadline {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-secondary);
  margin-bottom: 24px;
}
p {
  color: #3C2A20;
  margin-bottom: 20px;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
  color: var(--color-primary);
}

/* CONTAINER & SECTION LAYOUTS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
main > section:not(.hero-section) {
  margin-bottom: 60px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  gap: 16px;
}

/* CARD AND FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-surface);
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 24px 20px;
  box-shadow: 0 5px 18px var(--color-shadow);
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 9px 30px #FFD16633;
  transform: translateY(-4px) scale(1.01);
}

.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: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF5EB;
  border-radius: 20px;
  box-shadow: 0 3px 16px #FFD16633;
  margin-bottom: 20px;
  color: #1C2331;
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px #FFD16655;
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #33281d;
  margin: 0 0 0.5em 0;
  font-style: italic;
}
.testimonial-card strong {
  color: #E2711D;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID for Services/Features */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  margin-top: 8px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--color-surface);
  border-radius: 15px;
  box-shadow: 0 3px 18px var(--color-shadow);
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 260px;
  padding: 24px 18px 16px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 24px #FFD16688;
  transform: translateY(-3px) scale(1.015);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}
.feature-grid h3 {
  font-size: 1.15rem;
  color: #E2711D;
  margin-bottom: 4px;
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(115deg, #FFD166 0%, #FFE4A1 100%);
  padding: 40px 0 48px 0;
  margin-bottom: 56px;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 8px 22px #FFD1663a;
}
.hero-section h1 {
  color: #1C2331;
  font-size: 2.5rem;
  font-family: 'Josefin Sans', Arial, sans-serif;
  margin-bottom: 8px;
}
.hero-section p.subheadline {
  color: #8C7761;
  font-size: 1.15rem;
  margin-bottom: 24px;
  margin-top: 5px;
}
.hero-section .cta-primary {
  margin-top: 12px;
  display: inline-block;
}

/* BUTTONS & CALL TO ACTION */
.cta-primary {
  background: var(--color-accent, #FFD166);
  color: #1C2331;
  border: none;
  border-radius: 25px;
  padding: 12px 33px;
  font-size: 1.1rem;
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 12px #FFD16688;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.12s;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FFE4A1;
  color: #E2711D;
  box-shadow: 0 5px 18px #FFD166cc;
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* HEADER & NAVIGATION */
header {
  background: #FFF9F4;
  box-shadow: 0 2px 24px #FFD16626;
  padding: 0;
  z-index: 10;
  position: sticky;
  top: 0;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px 0 10px 0;
}
header .container {
  padding-top: 0;
  padding-bottom: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #4A5D7A;
  background: none;
  padding: 7px 14px;
  border-radius: 18px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFD16644;
  color: #E2711D;
}
.main-nav .cta-primary {
  margin-left: 18px;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFD166;
  color: #1C2331;
  border: none;
  border-radius: 13px;
  padding: 8px 17px;
  font-size: 1.65rem;
  font-weight: bold;
  box-shadow: 0 2px 7px #FFD16644;
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E2711D;
}
/* Hidden on desktop by default */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF7EA;
  box-shadow: 0 5px 32px #FFD16655;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-120vw);
  transition: transform 0.35s cubic-bezier(.67,0,.33,1);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin: 17px 17px 8px 0;
  align-self: flex-end;
  font-size: 2rem;
  background: #FFD166;
  color: #1C2331;
  border: none;
  border-radius: 44px;
  box-shadow: 0 2px 10px #FFD16644;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFE4A1;
  color: #E2711D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 0 30px 0 38px;
  font-family: 'Josefin Sans', Arial, sans-serif;
}
.mobile-nav a {
  font-size: 1.255rem;
  color: #4A5D7A;
  background: none;
  padding: 11px 12px;
  border-radius: 22px;
  width: 100%;
  display: block;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD16688;
  color: #E2711D;
}

/* Hide nav on mobile by default, show burger */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* Show nav on desktop, not burger menu */
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex;
  }
}

/* FOOTER STYLES */
footer {
  background: #FFF5EB;
  padding: 34px 0 18px 0;
  box-shadow: 0 -2px 20px #FFD16622;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #7A6745;
  background: none;
  padding: 5px 11px;
  border-radius: 99px;
  transition: background 0.15s, color 0.15s;
  font-size: 0.95rem;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #FFD16655;
  color: #E2711D;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  margin: 0;
  color: #5A4A35;
  font-size: 0.97rem;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-links a {
  display: inline-flex;
  background: #FFD166;
  border-radius: 13px;
  padding: 7px;
  box-shadow: 0 1px 8px #FFD16637;
  transition: background 0.15s, transform 0.12s;
}
.social-links a:hover, .social-links a:focus {
  background: #FFE4A1;
  transform: scale(1.13);
}
.social-links img {
  width: 24px;
  height: 24px;
}

/* TRUST SIGNALS LIST ON CONTACT */
.trust-signals ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.trust-signals li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03rem;
  background: #FFF9F4;
  border-radius: 11px;
  padding: 7px 11px;
  box-shadow: 0 2px 7px #FFD16621;
}
.trust-signals img {
  width: 28px;
  height: 28px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF3E0;
  box-shadow: 0 -2px 28px #FFD16666;
  color: #1C2331;
  z-index: 3333;
  padding: 30px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1.01rem;
  animation: slideUpBanner 0.55s cubic-bezier(.55,0,.33,1);
}
@keyframes slideUpBanner {
  0% { transform: translateY(120%); }
  100% { transform: translateY(0); }
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 23px;
  border-radius: 23px;
  border: none;
  background: var(--color-accent);
  color: #1C2331;
  margin: 0;
  box-shadow: 0 2px 10px #FFD16640;
  font-weight: 700;
  transition: background 0.15s, color 0.13s; 
  cursor: pointer;
}
.cookie-consent-banner button.accept {
  background: #FFD166;
  color: #1C2331;
}
.cookie-consent-banner button.reject {
  background: #E2711D;
  color: #fff;
}
.cookie-consent-banner button.settings {
  background: #fff;
  color: #E2711D;
  border: 2px solid #FFE4A1;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #FFE4A1;
  color: #E2711D;
  outline: none;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3500;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,35,49, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.19s cubic-bezier(.7,0,.3,1);
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 10px 36px #FFD16677;
  max-width: 420px;
  width: 90vw;
  padding: 34px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popInModal 0.40s cubic-bezier(.8,-0.2,.5,1.4);
}
@keyframes popInModal {
  0% { transform: scale(0.7) translateY(90px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #E2711D;
  font-size: 1.32rem;
  margin-bottom: 12px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  background: #FFF7EA;
  border-radius: 11px;
  padding: 10px 15px;
}
.cookie-modal .category:last-child {
  margin-bottom: 0;
}
.cookie-modal label {
  font-size: 1.05rem;
  color: #4A5D7A;
  font-family: 'Josefin Sans', Arial, sans-serif;
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFE4A1;
  border-radius: 13px;
  transition: background 0.15s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: #FFD166;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 4px;
  bottom: 3.5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px #FFD16622;
  transition: transform 0.17s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .always-enabled-label {
  color: #B5A883;
  font-size: 0.98rem;
  margin-left: 10px;
}
.cookie-modal .close-btn {
  position: absolute;
  right: 12px;
  top: 11px;
  border: none;
  background: #FFD166;
  color: #1C2331;
  border-radius: 33px;
  padding: 2px 11px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 7px #FFD16622;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  background: #FFE4A1;
  color: #E2711D;
}
.cookie-modal .actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .actions button {
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  background: var(--color-accent);
  font-weight: 700;
  box-shadow: 0 1.5px 6px #FFD16633;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal .actions button.accept {
  background: #FFD166;
  color: #1C2331;
}
.cookie-modal .actions button.reject {
  background: #E2711D;
  color: #fff;
}
.cookie-modal .actions button.save {
  background: #A5A1E6;
  color: #1C2331;
}
.cookie-modal .actions button:hover, .cookie-modal .actions button:focus {
  background: #FFE4A1;
  color: #E2711D;
}

/* ICON ALIGNMENT for contacts etc. */
.text-section p img, .text-section ul img, .content-wrapper p img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
  width: 24px;
  height: 24px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 990px) {
  .container {
    padding-left: 13px;
    padding-right: 13px;
  }
  .hero-section {
    padding-bottom: 35px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 4px 12px #FFD16622;
  }
}
@media (max-width: 900px) {
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
  }
  .footer-menu {
    gap: 15px;
    font-size: 0.96rem;
  }
}
@media (max-width: 860px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 160px;
    max-width: 48%;
  }
}
@media (max-width: 650px) {
  .hero-section h1 {
    font-size: 1.5rem;
  }
  .hero-section {
    padding: 25px 0 24px 0;
    margin-bottom: 32px;
    border-radius: 0 0 14px 14px;
  }
  .feature-grid > div {
    min-width: 100%;
    max-width: 100%;
    padding: 18px 11px 10px 11px;
  }
  .card, .testimonial-card {
    padding: 15px 10px;
    font-size: 0.98rem;
  }
  .testimonial-card {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.19rem;
  }
  h2 {
    font-size: 1.06rem;
  }
  .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  footer {
    padding: 21px 0 10px 0;
  }
  .section {
    padding: 16px 7px;
    margin-bottom: 30px;
  }
  .cookie-consent-banner {
    padding: 17px 5px 16px 5px;
    font-size: 0.98rem;
    gap: 12px;
  }
  .cookie-modal {
    padding: 15px 10px 16px 10px;
    max-width: 99vw;
  }
}

/* ACCESSIBILITY & MICRO-ANIMATIONS */
.cta-primary, .main-nav a, .footer-menu a {
  outline: none;
  box-shadow: none;
}
.cta-primary:focus-visible, .main-nav a:focus-visible, .footer-menu a:focus-visible, .mobile-nav a:focus-visible {
  outline: 2px solid #E2711D;
  outline-offset: 2px;
}

/* LOADING/AFFIXED OVERLAYS (for JS) */
.overlay {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,35,49, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TABLES, if present */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 11px #FFD16622;
  margin-bottom: 26px;
}
thead {
  background: #FFD16688;
  color: #1C2331;
  font-weight: bold;
}
th, td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #EFE8D2;
  font-size: 1rem;
}
tr:last-child td {
  border-bottom: none;
}

/* FORMS (if present) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #FFE4A1;
  border-radius: 9px;
  padding: 7px 11px;
  background: #FFF9F4;
  margin-bottom: 14px;
  transition: border 0.16s;
  box-shadow: 0 1px 6px #FFD16617;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #FFD166;
}
label {
  font-family: 'Josefin Sans', Arial, sans-serif;
  color: #4A5D7A;
  font-weight: 600;
}

/* MISC ELEMENTS */
::-webkit-scrollbar {
  width: 9px;
  background: #FFE4A1;
}
::-webkit-scrollbar-thumb {
  background: #FFD166;
  border-radius: 7px;
}

/* ----------- END OF CSS ----------- */
/* All layout containers use flex only. No grid/columns. No overlap. Adequate gaps everywhere. "warm_friendly" brand style is visually clear everywhere. */
