/* RESET & BASE -------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F0EDE2;
  color: #23424D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

ul, ol {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
a {
  color: #23424D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F89B53;
  text-decoration: underline;
}

:focus {
  outline: 2px dashed #23424D;
  outline-offset: 2px;
}

/******************************/
/* BRAND COLOR CSS VARIABLES */
/******************************/
:root {
  --primary: #23424D;
  --secondary: #A7B6C2;
  --accent: #F0EDE2;
  --brand-orange: #F89B53;
  --brand-yellow: #FFD892;
  --shadow-md: 0 4px 16px rgba(36, 66, 77, 0.07);
}

/******************************/
/* TYPOGRAPHY                */
/******************************/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: #23424D;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.12;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 14px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}

/******************************/
/* CONTAINER & LAYOUT        */
/******************************/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

/***********************************/
/* FLEXBOX SPACING/ALIGNMENT RULES */
/***********************************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 250px;
  min-width: 240px;
}
.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: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
.testimonial-card {
  background: #FFF8F2;
  box-shadow: 0px 4px 12px rgba(36,66,77,0.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  transition: box-shadow 0.3s;
  color: #23424D;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(248,155,83,0.20);
}
.feature-item {
  background: #fff9f4;
  border-radius: 16px;
  box-shadow: 0px 2px 10px rgba(170,100,10,0.045);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 240px;
  padding: 18px 16px 22px 16px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  height: 42px;
  width: 42px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #fff6ee;
  padding: 5px;
}
.feature-item:hover {
  box-shadow: 0 8px 28px rgba(248,155,83,0.11);
  transform: translateY(-2px) scale(1.025);
}

/*********************************
 * NAVIGATION & HEADER           *
 *********************************/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0px 2.5px 14px rgba(36,66,77,0.05);
  margin-bottom: 36px;
  position: relative;
  z-index: 10;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 14px 0;
}
nav > a img {
  height: 36px;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav ul li {
  display: flex;
  align-items: center;
}
nav ul li a {
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--brand-yellow);
  color: #B76422;
}
nav ul li a.cta-btn {
  background: var(--brand-orange);
  color: #fff;
  border-radius: 16px;
  padding: 9px 22px;
  font-weight: 700;
  box-shadow: 0 2px 9px rgba(248,155,83,0.20);
  transition: background 0.2s, box-shadow 0.2s;
}
nav ul li a.cta-btn:hover, nav ul li a.cta-btn:focus {
  background: #FFB26D;
  color: #fff;
  box-shadow: 0 4px 20px rgba(248,155,83,0.25);
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-yellow);
  color: #23424D;
  border: none;
  font-size: 2.1rem;
  border-radius: 10px;
  padding: 5px 15px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 10px rgba(36,66,77,0.11);
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--brand-orange);
  color: #fff;
}

/* Responsive Navigation */
@media (max-width: 992px) {
  nav ul {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/**************************************/
/* MOBILE MENU (slide-in overlay)     */
/**************************************/
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.72,.21,.27,.98);
  z-index: 200;
  box-shadow: 0 6px 24px rgba(36,66,77,0.11);
  padding-top: 12px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  margin: 0 22px 14px 0;
  padding: 6px 16px;
  color: #23424D;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-yellow);
  color: #B76422;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 32px;
  margin-top: 20px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #23424D;
  padding: 10px 0 10px 8px;
  border-radius: 12px;
  text-align: left;
  width: 100%;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-yellow);
  color: #B76422;
}
.mobile-nav a.cta-btn {
  background: var(--brand-orange);
  color: #fff;
  border-radius: 16px;
  margin: 8px 0 14px 0;
  font-weight: 700;
  display: inline-block;
  padding: 10px 18px;
  box-shadow: 0 2px 12px rgba(248,155,83,0.13);
}

/************************************/
/* HERO / MAIN CALL-OUT SECTIONS   */
/************************************/
.hero-section, .newsletter-hero-section {
  background: linear-gradient(125deg, #FFF8F2 65%, var(--accent) 100%);
  color: #23424D;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 4px 14px rgba(170,100,10,0.025);
  margin-bottom: 56px;
  padding: 40px 0 38px 0;
}
.hero-section .container,
.newsletter-hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 200px;
}
.hero-section h1, .newsletter-hero-section h1 {
  color: #23424D;
  margin-bottom: 18px;
}
.hero-section p, .newsletter-hero-section p {
  font-size: 1.22rem;
  color: #35596c;
  margin-bottom: 28px;
}

/************************************/
/* FEATURES GRID / SERVICE CARDS     */
/************************************/
.features-grid, .values-grid, .services-list, .articles-preview, .articles-preview-grid, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 940px) {
  .features-grid, .values-grid, .services-list, .articles-preview, .articles-preview-grid, .team-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .features-grid, .values-grid, .services-list, .articles-preview, .articles-preview-grid, .team-list {
    flex-direction: column;
    gap: 12px;
  }
}
.services-list .service-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 2px 12px rgba(36,66,77,0.08);
  padding: 20px 18px 28px 18px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 250px;
  transition: box-shadow 0.2s;
}
.services-list .service-item:hover {
  box-shadow: 0 8px 28px rgba(248,155,83,0.18);
}
.service-price {
  color: #F89B53;
  background: #fff6ee;
  border-radius: 12px;
  font-size: 1.10rem;
  font-weight: bold;
  margin-top: 12px;
  padding: 5px 16px;
  display: inline-block;
}

/**************************************/
/* ARTICLE & BLOG TEASERS/CARDS      */
/**************************************/
.articles-preview, .articles-preview-grid {
  margin-bottom: 28px;
}
.article-teaser, .article-preview {
  background: #fff9f4;
  border-radius: 14px;
  box-shadow: 0px 2px 8px rgba(170,100,10, .045);
  padding: 18px 16px 20px 16px;
  min-width: 210px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s;
}
.article-teaser:hover, .article-preview:hover {
  box-shadow: 0 8px 28px rgba(248,155,83,0.10);
}
.article-teaser a, .article-preview a {
  display: inline-block;
  margin-top: 7px;
  font-weight: 600;
  color: #F89B53;
  transition: color 0.18s;
}
.article-teaser a:hover,.article-preview a:hover {
  color: #23424D;
}
.pagination {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.pagination a {
  background: #fff6ee;
  border-radius: 8px;
  color: #23424D;
  padding: 7px 12px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.17s;
}
.pagination a:hover {
  background: #FFB26D;
  color: #fff;
}
.pagination span {
  color: #A7B6C2;
  padding: 7px 10px;
}

/************************************/
/* CTA (Call-To-Action) SECTIONS   */
/************************************/
.cta-section {
  background: #fffdf7;
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(248,155,83, 0.09);
  padding: 34px 14px 36px 14px;
  margin-bottom: 54px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.cta-section p {
  font-size: 1.16rem;
  margin-bottom: 22px;
}

.cta-btn {
  background: var(--brand-orange);
  color: #fff;
  padding: 12px 32px;
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 0.5em;
  box-shadow: 0 4px 16px rgba(248,155,83,0.14);
  cursor: pointer;
  transition: background 0.19s, transform 0.18s, box-shadow 0.19s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFB26D;
  color: #fff;
  transform: scale(1.045);
  box-shadow: 0 8px 28px rgba(248,155,83,0.25);
}

/*********************/
/* TEAM/VALUES       */
/*********************/
.team-list {
  gap: 24px;
}
.team-member {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0px 1px 7px rgba(170,100,10,0.035);
  padding: 16px 14px;
  min-width: 210px;
  flex: 1 1 230px;
  margin-bottom: 20px;
}
.value-item {
  background: #fff7e3;
  border-radius: 13px;
  box-shadow: 0px 1px 7px rgba(248,155,83,0.06);
  padding: 18px 15px;
  margin-bottom: 16px;
  flex: 1 1 210px;
}

/***********************/
/* CONTACT BLOCKS      */
/***********************/
.text-section {
  margin-bottom: 20px;
}
.text-section ul {
  margin-top: 12px;
  gap: 10px;
  display: flex;
  flex-direction: column;
}
.text-section li {
  display: flex;
  align-items: center;
  font-size: 1.03rem;
  margin-bottom: 5px;
  gap: 8px;
}
.map-block {
  background: #fff;
  box-shadow: 0px 2.8px 18px rgba(36,66,77,0.10);
  border-radius: 16px;
  padding: 24px 18px;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}
@media (max-width: 700px) {
  .map-block { flex-direction: column; gap: 10px; }
}

/********************/
/* FOOTER           */
/********************/
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 50px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2.5px 14px rgba(36,66,77,0.03);
}
footer .container {
  padding-bottom: 0px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
}
.footer-brand img {
  height: 34px;
}
.footer-nav, .footer-social, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a, .footer-legal a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  opacity: 0.92;
  margin-bottom: 2px;
  transition: color 0.17s, opacity 0.17s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--brand-yellow);
  opacity: 1;
}
.footer-social {
  flex-direction: row;
  gap: 18px;
  margin: 0 0 6px 0;
}
.footer-social a img {
  height: 30px;
  width: 30px;
  background: #fff;
  border-radius: 100px;
  padding: 5px;
  transition: background 0.16s;
}
.footer-social a:hover img {
  background: var(--brand-orange);
}
.footer-contact p {
  color: #FFEDCC;
  margin-bottom: 4px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-legal {
  flex-direction: row;
  flex-wrap: wrap;
  font-size: 0.95rem;
  gap: 4px;
}
@media (max-width: 950px) {
  footer .content-wrapper {
    gap: 24px;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  footer {
    padding: 32px 0 0 0;
    border-radius: 22px 22px 0 0;
  }
  .footer-brand img {
    height: 28px;
  }
  .footer-social a img {
    height: 26px;
    width: 26px;
  }
}

/********************/
/* COOKIE BANNER    */
/********************/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 5000;
  background: #fff9f4;
  color: #23424D;
  box-shadow: 0px -2px 18px rgba(36,66,77,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 14px 16px 24px;
  border-radius: 24px 24px 0 0;
  width: 100vw;
  font-size: 1rem;
  max-width: 100vw;
  animation: slideUp-cookie 0.55s cubic-bezier(.18,.8,.48,.97) 1;
}
@keyframes slideUp-cookie {
  0% { transform: translateY(120%); opacity:0.3; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner p {
  margin-bottom: 6px;
  margin-right: 24px;
}
.cookie-btns {
  display: flex;
  gap: 12px;
}
.cookie-btns button {
  padding: 8px 20px;
  border-radius: 13px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow .17s;
}
.accept-cookies {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 2px 10px rgba(248,155,83,0.10);
}
.accept-cookies:hover, .accept-cookies:focus {
  background: #FFB26D;
  color: #fff;
}
.reject-cookies {
  background: #ffede2;
  color: #23424D;
}
.reject-cookies:hover, .reject-cookies:focus {
  background: #FFE3C7;
  color: #b76c22;
}
.settings-cookies {
  background: var(--brand-yellow);
  color: #23424D;
}
.settings-cookies:hover, .settings-cookies:focus {
  background: #FFE3C7;
  color: #b76c22;
}

/********************/
/* COOKIE MODAL     */
/********************/
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,66,77,0.25);
  z-index: 5200;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fade-in 0.33s linear 1;
}
@keyframes fade-in {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0px 8px 32px rgba(248,155,83,0.10);
  max-width: 400px;
  width: 98vw;
  padding: 32px 24px 24px 24px;
  color: #23424D;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  animation: popupIn 0.37s cubic-bezier(.4,1.49,.47,.98) 1;
}
@keyframes popupIn {
  0% { transform: scale(0.89) translateY(80px); opacity:0.4; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.65rem;
  margin-bottom: 7px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-cat label {
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-cat input[type="checkbox"] {
  accent-color: var(--brand-orange);
  width: 18px;
  height: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 15px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 11px;
  right: 13px;
  background: transparent;
  border: none;
  font-size: 1.65rem;
  color: #23424D;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.14s;
  padding: 2px 7px;
}
.cookie-modal .close-cookie-modal:hover {
  background: #E8F1FA;
}

/**************************/
/* NEWSLETTER PAGE EXTRAS */
/**************************/
.newsletter-sample-preview {
  background: #FFF8F2;
  border-left: 7px solid var(--brand-orange);
  border-radius: 12px;
  padding: 16px 12px 16px 20px;
  margin-top: 18px;
}

/**************************/
/* THANK-YOU PAGE SECTION */
/**************************/
.thank-you-section {
  background: #fff9f4;
  border-radius: 24px;
  box-shadow: 0px 6px 22px rgba(248,155,83,0.09);
  padding: 48px 18px 38px 18px;
  margin: 48px auto 50px auto;
  max-width: 600px;
  text-align: center;
}
.thank-you-section h1 {
  font-size: 2.4rem;
  color: #F89B53;
}
.text-section a.cta-btn {
  margin-top: 24px;
}

/*************************/
/* PRIVACY/TERMS SECTION */
/*************************/
.privacy-policy-section, .cookies-policy-section, .terms-section, .gdpr-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 38px 20px 28px 20px;
  margin: 48px 0 50px 0;
}
.privacy-policy-section h1, .cookies-policy-section h1, .terms-section h1, .gdpr-section h1 {
  margin-bottom: 18px;
  font-size: 2.1rem;
}

/*************************/
/* RESPONSIVE SETTINGS   */
/*************************/
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
}
@media (max-width: 700px) {
  .hero-section, .newsletter-hero-section {
    padding: 22px 0 16px 0;
    margin-bottom: 30px;
    border-radius: 0 0 18px 18px;
  }
  .hero-section h1, .newsletter-hero-section h1 {
    font-size: 1.5rem;
  }
  .hero-section p, .newsletter-hero-section p {
    font-size: 1rem;
  }
  .section {
    padding: 18px 6px;
    border-radius: 10px;
    margin-bottom: 36px;
  }
  .cta-section {
    border-radius: 12px;
    padding: 22px 7px 23px 7px;
    margin-bottom: 36px;
  }
  .newsletter-sample-preview {
    border-left-width: 3px;
    border-radius: 9px;
    padding: 10px 7px 10px 10px;
  }
  .thank-you-section {
    padding: 22px 8px 22px 8px;
    border-radius: 12px;
    font-size: 1rem;
    max-width: 96vw;
  }
}

/*************************/
/* SCROLLBARS            */
/*************************/
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb {
  background: #A7B6C2;
  border-radius: 6px;
}
::-webkit-scrollbar-track { background: #F0EDE2; }

/**************************/
/* ANIMATIONS             */
/**************************/
@media (hover: hover) {
  .card, .service-item, .value-item, .team-member, .feature-item {
    transition: box-shadow .18s, transform .19s;
  }
  .card:hover, .service-item:hover, .value-item:hover, .team-member:hover, .feature-item:hover {
    transform: translateY(-2px) scale(1.013);
    box-shadow: 0 12px 30px rgba(248,155,83,0.10);
  }
}

/**************************/
/* MISC                   */
/**************************/
::selection {
  background: var(--brand-yellow);
  color: #23424D;
}

/**************************/
/* PRINT                  */
/**************************/
@media print {
  header, footer, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay { display:none!important; }
  main { background: #fff!important; }
}
