/* RESET & BASE TYPOGRAPHY */
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, 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #29303B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
a {
  color: #D46B1F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #29303B;
  text-decoration: underline;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}

/* CONTAINERS & WRAPPERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #29303B;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
}
p {
  color: #29303B;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #D46B1F;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 34px;
  padding: 12px 36px;
  box-shadow: 0 1px 4px rgba(41,48,59,0.05);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #29303B;
  color: #fff;
  box-shadow: 0 4px 15px rgba(41,48,59,0.06);
  transform: translateY(-2px) scale(1.02);
  outline: none;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 10px rgba(41,48,59,0.03);
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 68px;
}
.main-nav > a img {
  height: 38px;
  width: auto;
}
.main-nav ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav li {
  display: flex;
}
.main-nav ul li a {
  display: inline-block;
  padding: 8px 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #29303B;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus, .main-nav ul li a.active {
  background: #F5F3EE;
  color: #D46B1F;
  outline: none;
}
.main-nav .btn-primary {
  margin-left: 18px;
  padding: 12px 30px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 20px;
  top: 22px;
  z-index: 105;
  background: #fff;
  border: none;
  color: #29303B;
  font-size: 2.1rem;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(41,48,59,0.05);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F5F3EE;
  box-shadow: 0 4px 16px rgba(41,48,59,0.09);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 110;
  box-shadow: 0 2px 40px rgba(41,48,59,0.10);
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.33,1,0.68,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 22px 0 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: #29303B;
  cursor: pointer;
  transition: color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D46B1F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 30px 36px 0 36px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: #29303B;
  padding: 11px 0px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.18s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F3EE;
  color: #D46B1F;
  outline: none;
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 7px;
  }
  .main-nav .btn-primary {
    margin-left: 7px;
    padding: 12px 18px;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 13px;
    padding-right: 13px;
  }
}
@media (max-width: 820px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}


/* HERO SECTIONS */
.hero {
  background: #F5F3EE;
  padding: 56px 0 47px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero h1 {
  color: #29303B;
  letter-spacing: -0.8px;
}
.hero p {
  color: #29303B;
  font-size: 1.12rem;
  max-width: 680px;
  margin: 0 auto 12px auto;
}
.hero .btn-primary {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero {
    padding: 32px 0 24px 0;
  }
  .hero .content-wrapper {
    gap: 12px;
  }
}

/* SECTION: FEATURES, TESTIMONIALS, CTA */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(41,48,59,0.04);
}

.features {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(41,48,59,0.03);
  padding: 40px 0 24px 0;
  margin-bottom: 60px;
}
.features .content-wrapper {
  align-items: center;
  text-align: center;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  margin-top: 28px;
}
.feature-grid > div {
  flex: 1 1 220px;
  max-width: 260px;
  background: #F5F3EE;
  border-radius: 15px;
  box-shadow: 0 2px 14px rgba(41,48,59,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 27px 18px 22px 18px;
  gap: 14px;
  min-height: 258px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.14s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 24px rgba(212,107,31,0.10);
  transform: translateY(-3px) scale(1.03);
  outline: none;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}
.feature-grid h3 {
  color: #29303B;
  font-weight: 600;
}
.feature-grid p {
  color: #29303B;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 20px;
  }
  .feature-grid > div {
    max-width: 100%;
    flex: 1 1 40vw;
    min-width: 180px;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
}

.cta-section {
  width: 100%;
  background: #D46B1F;
  color: #fff;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 48px 0;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 11px;
  color: #fff;
}
.cta-section h2, .cta-section p {
  color: #fff;
}
.cta-section .btn-primary {
  background: #fff;
  color: #D46B1F;
}
.cta-section .btn-primary:hover, .cta-section .btn-primary:focus {
  background: #29303B;
  color: #fff;
}

@media (max-width: 700px) {
  .cta-section {
    border-radius: 11px;
    padding: 30px 6px;
  }
  .cta-section h2 {
    font-size: 1.33rem;
  }
}

/* TESTIMONIALS */
.testimonials {
  background: #F5F3EE;
  border-radius: 17px;
  padding: 46px 0 36px 0;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  align-items: center;
  text-align: center;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 28px;
}
.testimonial-card {
  background: #fff;
  color: #29303B;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 28px 22px 28px;
  border-radius: 15px;
  box-shadow: 0 2px 14px rgba(41,48,59,0.06);
  flex: 1 1 290px;
  min-width: 230px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 30px rgba(212,107,31,0.09);
  transform: translateY(-2px) scale(1.02);
  outline: none;
}
.testimonial-card p {
  color: #29303B;
  font-size: 1.07rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #29303B;
  font-weight: 500;
}
@media (max-width: 850px) {
  .testimonial-list {
    gap: 14px;
  }
  .testimonial-card {
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .testimonial-list {
    flex-direction: column;
    align-items: center;
  }
}

/* FOOTER */
footer {
  background: #F5F3EE;
  width: 100%;
  padding: 38px 0 26px 0;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 17px;
  text-align: center;
}
.footer-brand img {
  height: 31px;
  width: auto;
  margin-bottom: 10px;
}
.footer-nav {
  font-size: 1rem;
  margin-bottom: 3px;
  color: #29303B;
}
.footer-nav a {
  color: #29303B;
  margin: 0 5px;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D46B1F;
}
.social-links {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  margin-bottom: 3px;
}
.social-links img {
  height: 23px;
  width: 23px;
  filter: grayscale(50%) brightness(0.8);
  transition: filter 0.18s;
  cursor: pointer;
}
.social-links img:hover, .social-links img:focus {
  filter: none;
  outline: none;
}
.footer-contact {
  font-size: 0.95rem;
  color: #8c99ad;
}
@media (max-width: 700px) {
  footer {
    padding: 24px 0 17px 0;
  }
  .footer-brand img {
    height: 24px;
  }
}

/* GENERIC FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 7px rgba(41,48,59,0.05);
  padding: 24px;
  margin-bottom: 20px;
  min-width: 200px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.12s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px rgba(41,48,59,0.09);
  transform: translateY(-1.5px) scale(1.015);
}
.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: 900px) {
  .text-image-section {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GENERIC SECTION STYLE ENFORCEMENT */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

@media (max-width: 600px) {
  .section, section {
    border-radius: 7px;
    padding: 22px 0;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 17px;
  }
}

/* LISTS STYLES */
ul, ol {
  margin-left: 0;
  padding-left: 0;
}
ul > li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 11px;
  color: #29303B;
}
ul > li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #D46B1F;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
  opacity: 0.45;
}
ul > li img {
  width: 20px;
  margin-right: 7px;
  vertical-align: middle;
}

/* FORM ELEMENTS */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  appearance: none;
  outline: none;
  border-radius: 8px;
  border: 1px solid #d8dedc;
  padding: 11px 15px;
  background: #F5F3EE;
  margin-bottom: 16px;
  box-shadow: 0 1px 7px rgba(41,48,59,0.01);
  transition: border-color 0.16s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #D46B1F;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(212,107,31,0.12);
}
button {
  cursor: pointer;
}

/* RESPONSIVENESS */
@media (max-width: 480px) {
  h1 {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 10px 18px;
    font-size: 0.97rem;
  }
}

/* COOKIES CONSENT BANNER */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #29303B;
  color: #fff;
  padding: 20px 36px;
  box-shadow: 0 -3px 20px rgba(41,48,59,0.15);
  z-index: 22000;
  gap: 18px;
  animation: fadeInBanner 0.25s 1;
}
@keyframes fadeInBanner {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-message {
  font-size: 1rem;
  color: #fff;
  flex: 1 1 170px;
  margin-right: 14px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 7px;
  border: none;
  padding: 9px 20px;
  box-shadow: 0 1px 4px rgba(245,243,238,0.08);
  margin: 0;
  outline: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.13s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #D46B1F;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #D46B1F;
  box-shadow: 0 4px 16px rgba(212,107,31,0.14);
}
.cookie-btn.reject {
  background: #fff;
  color: #29303B;
  border: 1px solid #F5F3EE;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F5F3EE;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F5F3EE;
  color: #29303B;
  border-color: #F5F3EE;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 8px;
    gap: 10px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 23000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,48,59,0.30);
  align-items: center;
  justify-content: center;
  animation: fadeInModalBG 0.15s 1;
}
@keyframes fadeInModalBG {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  max-width: 390px;
  width: 90%;
  padding: 34px 30px 28px 30px;
  box-shadow: 0 8px 44px rgba(41,48,59,0.13);
  color: #29303B;
  position: relative;
  animation: slideInModal 0.22s cubic-bezier(0.33,1,0.68,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes slideInModal {
  0% { transform: translateY(120px) scale(0.97); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #29303B;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #D46B1F;
}
.cookie-modal h3 {
  font-size: 1.15rem;
  color: #29303B;
  margin-bottom: 10px;
}
.cookie-category {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #D46B1F;
  width: 21px;
  height: 21px;
  border-radius: 5px;
  margin-right: 7px;
}
.cookie-category label {
  font-size: 1rem;
  color: #29303B;
}
.cookie-category.essential label {
  font-weight: 600;
}
.cookie-category.essential input[type="checkbox"] {
  visibility: hidden;
}
.cookie-modal-actions {
  margin-top: 17px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 9px 18px;
  font-size: 1rem;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 22px 10px 18px 10px;
    gap: 11px;
  }
  .cookie-modal h3 {
    font-size: 1rem;
  }
}
/* HIGH CONTRAST FOR TESTIMONIALS/REVIEWS CARDS (MANDATORY) */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  background: #fff;
  color: #29303B;
  /* No semi-transparent overlays, solid color only for max contrast */
}

/* MICRO-INTERACTIONS */
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.99);
}
.card:active, .feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 9px rgba(41,48,59,0.05);
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px dashed #D46B1F;
  outline-offset: 3px;
}

/* ADDITIONAL UTILITIES */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-4 { margin-bottom: 32px !important; }

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  border: 0;
}
