/* RESET & BASE ---------------------------- */
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
/* Remove list marker and link underline */
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

/* BRAND VARIABLES ------------------------ */
:root {
  --color-primary: #222831;
  --color-secondary: #F4AA1C;
  --color-accent: #F5F5F5;
  --color-bg: #fff;
  --color-dark: #222831;
  --color-light: #F5F5F5;
  --color-shadow: rgba(34,40,49,0.06);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --radius-card: 18px;
  --radius-btn: 12px;
  --elevation: 0 2px 16px var(--color-shadow);
  --transition: 0.23s cubic-bezier(.54,0,.38,1);
}

/* TYPOGRAPHY ---------------------------- */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-primary);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-primary);
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
strong { font-weight: 700; }
.text-section h2, .text-section h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}
.text-section ul, .text-section ol {
  margin-bottom: 24px;
  padding-left: 20px;
}
.text-section ul li, .text-section ol li {
  list-style-type: square;
  margin-bottom: 8px;
}

/* LAYOUT: CONTAINERS & FLEX GRIDS ------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  margin-bottom: 20px; position: relative;
}
.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; align-items: center; gap: 20px; padding: 20px;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* GEOMETRIC/STRUCTURED CARDS & SHAPES --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
}
.feature-card {
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation);
  padding: 32px 26px 28px 26px;
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 2.5px solid #ECECEC;
}
.feature-card:hover, .feature-card:focus {
  box-shadow: 0 6px 32px rgba(34,40,49,0.09);
  transform: translateY(-5px) scale(1.025);
  border-color: var(--color-secondary);
}
.feature-card img {
  margin-bottom: 16px;
  width: 52px;
  aspect-ratio: 1;
}

.article-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.article-teaser {
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation);
  padding: 28px 22px 24px 22px;
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2.5px solid #ECECEC;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.article-teaser:hover, .article-teaser:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 5px 28px rgba(34,40,49,0.07);
  transform: translateY(-3px) scale(1.015);
}
.article-teaser h3 {
  margin-bottom: 8px;
}
.article-teaser a {
  color: var(--color-secondary);
  margin-top: 10px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1rem;
  transition: color var(--transition);
}
.article-teaser a:hover, .article-teaser a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

.category-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 20px 0;
}
.category-filters a {
  padding: 5px 16px;
  border-radius: 100px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: .97rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.category-filters a:hover, .category-filters a.active {
  background: var(--color-secondary);
  color: #fff;
}

/* HERO SECTION -------------------------- */
.hero-section {
  background: var(--color-primary);
  color: #fff;
  border-radius: 0px 0px 172px 0px/0px 0px 64px 0px;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: stretch;
}
.hero-section .container {
  display: flex;
  align-items: center;
  min-height: 320px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero-section h1, .hero-section h2, .hero-section p {
  color: #fff;
}
.hero-section .cta-btn {
  margin-top: 14px;
}

/* TESTIMONIALS -------------------------- */
.testimonial-section {
  background: var(--color-accent);
  padding: 48px 0 60px 0;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--elevation);
  padding: 28px 24px 22px 24px;
  flex: 1 1 290px;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-secondary);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(34,40,49,0.10);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.08rem;
  margin-bottom: 8px;
  line-height: 1.65;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 24px;
}
.testimonial-card img {
  height: 22px;
  width: 22px;
}

/* CTA SECTION -------------------------- */
.cta-section {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 80px 0 80px 0 / 36px 0 72px 0;
  margin-bottom: 60px;
  padding: 48px 0 64px 0;
}
.cta-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-section .content-wrapper {
  align-items: center;
}
.cta-section h2, .cta-section p {
  color: var(--color-primary);
  text-align: center;
}
.cta-section .cta-btn {
  margin-top: 18px;
}

/* BUTTONS & INTERACTIVE ---------------- */
.cta-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 13px 38px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 0.5px 8px var(--color-shadow);
  border: none;
  outline: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin-top: 8px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.035);
}

button, .btn {
  cursor: pointer;
}

/* HEADER & NAVIGATION ------------------ */
header {
  background: var(--color-light);
  box-shadow: 0 2px 16px var(--color-shadow);
  width: 100%;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-display);
}
header nav a {
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
header .cta-btn {
  margin-left: 12px;
  margin-right: 10px;
}

.mobile-menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  font-size: 2.6rem;
  color: var(--color-secondary);
  background: transparent;
  border: none;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
  z-index: 32;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--color-secondary); }

/* MOBILE NAVIGATION -------------------- */
.mobile-menu {
  position: fixed;
  z-index: 200;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-accent);
  box-shadow: 0 2px 16px var(--color-shadow);
  transform: translateX(-100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  padding: 0 24px 0 24px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  align-self: flex-end;
  margin-top: 22px;
  margin-bottom: 30px;
  z-index: 215;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  padding: 12px 4px;
  color: var(--color-primary);
  border-radius: 6px;
  width: 100%;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

@media (max-width: 1080px) {
  .container { max-width: 950px; }
  .feature-card, .article-teaser, .testimonial-card { max-width: 95vw; }
}

/* Hide nav on mobile, show burger */
@media (max-width: 900px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 640px) {
  .feature-card, .article-teaser, .testimonial-card {
    min-width: 95vw;
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .hero-section, .cta-section {
    border-radius: 0 0 60px 0/0 0 32px 0;
  }
}

/* MAIN, SECTION, CONTENT --------------- */
main {
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.content-wrapper.text-section {
  padding-bottom: 16px;
}

/* Category features blocks */
.category-features ul {
  padding-left: 18px;
  margin-bottom: 24px;
}
.category-features ul li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  list-style-type: square;
}

.contact-details p, .location-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1.01rem;
}
.location-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.contact-cta {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* FOOTER ------------------------------- */
footer {
  background: var(--color-primary);
  color: #fafafa;
  padding-top: 38px;
  padding-bottom: 32px;
  margin-top: 68px;
  border-radius: 60px 0 0 0/24px 0 0 0;
  font-size: .96rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: var(--font-display);
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
footer .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
footer .footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
}
footer img {
  height: 38px;
  margin-bottom: 6px;
}
footer > .container > span:last-child {
  color: #ddd;
  font-size: 0.98rem;
  margin-top: 7px;
}

@media (max-width: 700px) {
  footer {
    border-radius: 32px 0 0 0/10px 0 0 0;
    padding-top: 28px;
    padding-bottom: 20px;
  }
}

/* RESPONSIVE FLEX CONTAINERS ----------- */
@media (max-width: 1024px) {
  .feature-grid, .testimonial-list, .article-teasers {
    flex-direction: column;
    gap: 22px;
  }
  .feature-card,.article-teaser,.testimonial-card {
    max-width: 96vw;
    width: 100%;
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .text-section {
    gap: 16px;
  }
  .hero-section .container {
    min-height: 240px;
    padding: 0 7px;
  }
  .hero-section {
    min-height: 210px;
    border-radius: 0 0 50px 0/0 0 14px 0;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 26px 8px 28px 8px;
  }
  .category-features ul {
    padding-left: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* COOKIE CONSENT BANNER ---------------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -2px 12px var(--color-shadow);
  padding: 24px 20px 24px 16px;
  z-index: 250;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  transition: transform var(--transition), opacity var(--transition);
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-msg {
  flex: 1 1 auto;
  max-width: 650px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  font-size: 1rem;
  background: var(--color-accent);
  color: var(--color-primary);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 4px var(--color-shadow);
}
.cookie-btn.primary {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.primary:hover,
.cookie-btn.primary:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.secondary:hover,
.cookie-btn.secondary:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* COOKIE MODAL ------------------------- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40,40,40,0.25);
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity var(--transition);
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px var(--color-shadow);
  padding: 32px 28px;
  width: 92vw;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: modalIn 0.26s var(--transition);
}
@keyframes modalIn {
  0% { transform: scale(.93); opacity: 0; }
  90% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  font-family: var(--font-display);
  color: var(--color-secondary);
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-toggle, .cookie-toggle[disabled] {
  width: 36px;
  height: 20px;
  border-radius: 16px;
  background: var(--color-accent);
  border: 2px solid #EEE;
  position: relative;
  transition: background var(--transition), border var(--transition);
  appearance: none;
  outline: none;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.cookie-toggle[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-toggle::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 29px;
  background: var(--color-primary);
  box-shadow: 0 2px 6px var(--color-shadow);
  transition: background var(--transition), transform var(--transition);
  position: relative;
  left: 0;
}
.cookie-toggle:checked::-webkit-slider-thumb {
  background: #fff;
  transform: translateX(15px);
}
.cookie-toggle::-moz-range-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 29px;
  background: var(--color-primary);
  transition: background var(--transition), transform var(--transition);
}
.cookie-toggle:checked::-moz-range-thumb {
  background: #fff;
}

.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 1.8rem;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.cookie-modal .close-cookie-modal:hover,
.cookie-modal .close-cookie-modal:focus {
  color: var(--color-secondary);
}

@media (max-width: 530px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 18px;
    padding: 18px 6px 20px 8px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 20px 10px;
    width: 98vw;
    max-width: 98vw;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS ------ */
.feature-card, .article-teaser, .testimonial-card, .cta-btn, .cookie-btn {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), border var(--transition), transform var(--transition);
}
.mobile-menu, .mobile-menu.open {
  transition: transform var(--transition), opacity var(--transition);
}

/* CUSTOM SCROLLBAR FOR STRUCTURE ------- */
::-webkit-scrollbar {
  width: 8px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: #D3D3D3;
  border-radius: 8px;
}

/* GEOMETRIC STYLED DETAILS --------------*/
.hero-section, .cta-section, footer {
  /* geometric border-radius patterns */
}
.feature-card, .testimonial-card, .article-teaser {
  border-radius: var(--radius-card);
  box-shadow: var(--elevation);
}

/* FOCUS STATES (ACCESSIBLE) ------------ */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}
.testimonial-card:focus-within {
  border-color: var(--color-primary);
}

/* CONTRAST ENFORCEMENT ON TESTIMONIALS --*/
.testimonial-card {
  background: #fff;
  color: var(--color-primary);
}
.testimonial-card p, .testimonial-card span {
  color: var(--color-primary);
}

/* SMALL UTILITIES ---------------------- */
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 20px; }
.mx-auto {margin-left: auto; margin-right: auto;}

/* END */
