/* 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F3F5F7;
  color: #25313C;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #25313C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #D19B62;
  outline-offset: 1px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 12px;
}
li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25313C;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
p {
  color: #25313C;
  font-size: 1rem;
  margin-bottom: 16px;
}
.subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  color: #6E767F;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
strong {
  font-weight: 700;
  color: #25313C;
}
em {
  color: #6E767F;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
  .subheadline { font-size: 1.125rem; }
}

/* LAYOUT + SPACING PATTERNS ----------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}
.text-section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(37,49,60,0.04), 0 4px 16px 0 rgba(37,49,60,0.04);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 16px 0 rgba(37,49,60,0.1), 0 1.5px 8px 0 rgba(209,155,98,0.05);
  transform: translateY(-3px) 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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(37,49,60,0.05);
  color: #25313C;
  font-size: 1rem;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px 0 rgba(37,49,60,0.15);
  transform: scale(1.015);
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #25313C;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #6E767F;
  font-size: 0.98rem;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px 0 rgba(37,49,60,0.045);
  padding: 30px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 330px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-item:hover {
  box-shadow: 0 3px 12px 0 rgba(37,49,60,0.11);
  transform: translateY(-2px) scale(1.01);
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}
.feature-item h3 {
  font-size: 1.13rem;
}
.feature-price {
  color: #D19B62;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  margin-top: 2px;
}

@media (max-width: 1000px) {
  .feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .section { padding: 30px 8px; }
  .feature-grid, .content-grid, .card-container {
    gap: 16px;
  }
  .feature-item {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px;
  }
}

/* HEADER ------------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 18px 0;
  box-shadow: 0px 2px 14px 0 rgba(37,49,60,.07);
  position: relative;
  z-index: 101;
}
header > a img {
  height: 38px;
  width: auto;
  margin-left: 16px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 30px;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: #25313C;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.19s, color 0.19s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: #F3F5F7;
  color: #D19B62;
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #25313C;
  color: #fff !important;
  padding: 10px 28px;
  font-size: 1.01rem;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  margin-left: auto;
  box-shadow: 0 2px 10px 0 rgba(37,49,60,0.04);
  transition: background 0.17s, transform 0.12s, box-shadow 0.21s;
  outline: none;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #D19B62;
  color: #25313C !important;
  box-shadow: 0 5px 32px 0 rgba(209,155,98,0.09);
  transform: translateY(-3px) scale(1.035);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  color: #25313C;
  border: none;
  cursor: pointer;
  margin-right: 16px;
  margin-left: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F3F5F7;
}
@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }
  .btn-primary {
    margin-left: auto;
    margin-right: 6px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 480px) {
  header > a img { height: 32px; margin-left: 5px; }
  .btn-primary { padding: 8px 12px; font-size: 0.99rem; }
}

/* MOBILE NAVIGATION OVERLAY ----------------------------------- */
.mobile-menu {
  position: fixed;
  z-index: 2200;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 5px 30px 0 rgba(37,49,60,0.18);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.7,.03,.18,.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0; /* hamburger pushes left side naturally */
  padding-bottom: 0;
  pointer-events: none;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #25313C;
  cursor: pointer;
  z-index: 2220;
  padding: 6px 9px;
  transition: background 0.18s;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F3F5F7;
  color: #D19B62;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 50px;
  margin-left: 35px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: #25313C;
  padding: 10px 8px;
  border-radius: 6px;
  transition: background 0.19s, color 0.18s;
  min-width: 160px;
  margin-right: 50px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F5F7;
  color: #D19B62;
}

@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
@media (max-width: 768px) {
  .mobile-menu { padding-top: 18px; }
  .mobile-nav a { font-size: 1.01rem; margin-right: 15px; }
  .mobile-nav { margin-left: 18px; }
}

/* COOKIE CONSENT BANNER + MODAL -------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #ECEFF1;
  box-shadow: 0 -2px 14px 0 rgba(37,49,60,0.05);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px 14px 15px;
  gap: 20px;
  transition: transform 0.28s cubic-bezier(.59,0,.37,1), opacity 0.22s;
  opacity: 1;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-left: 18px;
}
.cookie-consent-banner .cookie-btn {
  background: #25313C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.13s, transform 0.13s;
}
.cookie-consent-banner .cookie-btn.accept {
  background: #D19B62;
  color: #25313C;
}
.cookie-consent-banner .cookie-btn.accept:hover,
.cookie-consent-banner .cookie-btn.accept:focus {
  background: #25313C;
  color: #fff;
}
.cookie-consent-banner .cookie-btn.settings {
  background: transparent;
  color: #25313C;
  border: 1.5px solid #25313C;
}
.cookie-consent-banner .cookie-btn.settings:hover,
.cookie-consent-banner .cookie-btn.settings:focus {
  background: #F3F5F7;
}
.cookie-consent-banner .cookie-btn.reject {
  background: #fff;
  color: #D19B62;
  border: 1.5px solid #D19B62;
}
.cookie-consent-banner .cookie-btn.reject:hover,
.cookie-consent-banner .cookie-btn.reject:focus {
  background: #F3F5F7;
}

/* COOKIE MODAL -------------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3500;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(37,49,60, 0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s linear;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 32px 0 rgba(37,49,60,0.23);
  max-width: 420px;
  width: 92vw;
  padding: 32px 24px 22px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPop 0.23s cubic-bezier(.35,.74,.8,1.29);
}
@keyframes modalPop {
  0%   {transform: scale(0.7); opacity: 0;}
  60%  {transform: scale(1.07); opacity: 1;}
  100% {transform: scale(1); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.298rem;
  color: #25313C;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ECEFF1;
  font-size: 1.02rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .category-essential {
  color: #25313C;
  font-weight: 600;
  opacity: 0.95;
}
.cookie-modal .category-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 12px;
  background: #ECEFF1;
  outline: none;
  position: relative;
  transition: background 0.19s;
  cursor: pointer;
}
.cookie-modal .category-toggle:checked {
  background: #D19B62;
}
.cookie-modal .category-toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 16px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
  box-shadow: 0 1px 4px rgba(37,49,60,0.04);
}
.cookie-modal .category-toggle:checked::before {
  transform: translateX(18px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  background: #25313C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  padding: 8px 21px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .cookie-btn.accept {
  background: #D19B62;
  color: #25313C;
}
.cookie-modal .cookie-btn.accept:hover,
.cookie-modal .cookie-btn.accept:focus {
  background: #25313C;
  color: #fff;
}
.cookie-modal .cookie-btn.reject {
  background: #fff;
  color: #D19B62;
  border: 1.5px solid #D19B62;
}
.cookie-modal .cookie-btn.reject:hover,
.cookie-modal .cookie-btn.reject:focus {
  background: #F3F5F7;
}
.cookie-modal .cookie-btn.settings {
  background: transparent;
  color: #25313C;
  border: 1.5px solid #25313C;
}
.cookie-modal .cookie-btn.settings:hover, .cookie-modal .cookie-btn.settings:focus {
  background: #F3F5F7;
}
@media (max-width:500px){
  .cookie-modal { max-width: 96vw; padding: 20px 6px 13px 6px; }
  .cookie-modal .cookie-btn { padding: 7px 13px; font-size: 0.97rem; }
}

/* FOOTER ------------------------------------------------------ */
footer {
  background: #fff;
  box-shadow: 0px -3px 24px 0 rgba(37,49,60,.03);
  padding: 35px 0 12px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #6E767F;
  font-size: 0.98rem;
  padding: 5px 7px;
  border-radius: 6px;
  transition: background 0.14s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F3F5F7;
  color: #D19B62;
}
.company-info {
  color: #6E767F;
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 330px;
}
.company-info strong {
  color: #25313C;
  font-size: 1.03rem;
}
.company-info a {
  color: #25313C;
  font-weight: 500;
  text-decoration: underline dotted #D19B62 1px;
  text-underline-offset: 1.5px;
}
.company-info a:hover, .company-info a:focus {
  color: #D19B62;
  text-decoration: underline solid #D19B62 2px;
}
@media (max-width: 768px){
  footer .content-wrapper{ flex-direction: column; gap: 14px; }
  .company-info{ max-width: 100%; }
  .footer-nav{ flex-wrap: wrap; gap: 8px; }
  footer{ padding: 28px 0 8px 0; }
}

/* FORMS / HINTS / MAP -------------------------------------------- */
.form-hint {
  background: #F3F5F7;
  color: #25313C;
  border-radius: 9px;
  padding: 18px 17px;
  margin-top: 24px;
  margin-bottom: 14px;
  font-size: 1rem;
  box-shadow: 0 1.5px 8px rgba(37,49,60,0.04);
}
.map-stub {
  background: #fff;
  border-radius: 9px;
  padding: 18px 18px 12px 18px;
  box-shadow: 0 1px 8px 0 rgba(209,155,98,0.05);
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #25313C;
}
.map-stub h3 { margin-bottom: 4px; }
@media (max-width: 600px) {
  .form-hint, .map-stub { padding: 12px 6px; font-size: 0.97rem; }
}

/* MISCELLANEOUS ----------------------------------------------- */
.contact-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.company-address, .company-contact, .company-hours {
  background: #F3F5F7;
  border-radius: 8px;
  padding: 14px 13px 10px 15px;
  font-size: 1rem;
  flex: 1 1 170px;
}
.company-contact div {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-hours {
  display: flex;
  align-items: center;
  gap: 8px;
}
.company-contact img, .company-hours img {
  width: 20px;
  height: 20px;
  opacity: 0.76;
}
@media (max-width: 900px){
  .contact-info{ flex-direction: column; gap: 10px; }
}

/* UTILS ------------------------------------------------------ */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* VISUAL FEEDBACK (transition, hover, focus...) -------------- */
button, .btn-primary, .cookie-btn {
  transition: background 0.15s, color 0.15s, box-shadow 0.13s, transform 0.13s;
}

/* CARD GRID ADAPTIVE ----------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
@media (max-width: 1200px) {
  .feature-grid {
    justify-content: flex-start;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    gap: 10px;
  }
}

/* PRINT ----------------------------------------------------- */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}
