/* --- CSS RESET & NORMALIZE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  min-height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F7F8FA;
  color: #181A1C;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
  outline: none;
}
a {
  color: #20303C;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.39,.575,.565,1);
  position: relative;
}
a:focus,
a:hover {
  color: #F8B437;
}
ul, ol {
  list-style: none;
}
button,
.btn-primary {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  appearance: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.05em;
}
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- TYPOGRAPHY HIERARCHY --- */
h1, .h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2.75rem;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #181A1C;
  font-weight: 700;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.15;
  color: #1B2327;
  font-weight: 600;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.33rem;
  color: #20303C;
  font-weight: 500;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #484A4C;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #212325;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #5B6268;
  margin-bottom: 32px;
  letter-spacing: 0.005em;
}
strong {
  font-weight: 600;
  color: #181A1C;
}

@media (max-width: 600px) {
  h1, .h1 {
    font-size: 2.1rem;
  }
  h2, .h2 {
    font-size: 1.33rem;
  }
  .subheadline { font-size: 1.05rem; }
}

/* --- GENERAL LAYOUT --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 36px 0 rgba(60,64,67,0.07);
  padding: 32px 24px;
  margin-bottom: 32px;
}

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

@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
  }
  .container {
    padding: 0 8px;
  }
  .text-section {
    padding: 20px 10px;
  }
}

/* HERO BLOCK */
.hero-block {
  background: #181A1C;
  color: #fff;
  min-height: 320px;
  padding: 64px 0 48px 0;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
}
.hero-block .container {
  flex-direction: column;
  align-items: center;
}
.hero-block .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero-block h1 { color: #fff; }
.hero-block .subheadline {
  color: #B6C5D8;
}

/* CTA SECTION */
.cta-section {
  background: #20303C;
  padding: 40px 20px;
  border-radius: 18px;
  margin-bottom: 60px;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta-section h2, .cta-section p { color: #fff; }

/* CARD AND FEATURES LAYOUTS --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 32px;
}
.feature {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(32,48,60,0.07);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  filter: grayscale(100%) contrast(1.2);
}
.feature:hover,
.feature:focus {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 28px 0 rgba(32,48,60,0.13);
}

@media (max-width: 900px) {
  .features-grid {
    gap: 20px;
  }
  .feature {
    min-width: 160px;
    flex: 1 1 47%;
  }
}
@media (max-width: 600px) {
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature {
    width: 100%;
    min-width: 0;
    padding: 18px 8px;
    align-items: flex-start;
  }
}

.card-container, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(32,48,60,0.09);
  position: relative;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.13s;
}
.card:hover,
.card:focus {
  box-shadow: 0 12px 40px 0 rgba(32,48,60,0.15);
  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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.testimonial-cards {
  margin-top: 28px;
}
.testimonial-card {
  flex: 1 1 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  color: #181A1C;
  border-left: 6px solid #F8B437;
  border-radius: 9px;
  box-shadow: 0 2px 20px 0 rgba(32,48,60,0.07);
  padding: 28px 22px 22px 22px;
  margin-bottom: 0;
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 8px 30px 0 rgba(32,48,60,0.16);
  border-left: 6px solid #20303C;
}
.testimonial-card p {
  color: #282828;
  font-size: 1.09rem;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-author {
  color: #888E98;
  font-size: 0.97rem;
  font-weight: 500;
  margin-top: auto;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .testimonial-cards {
    gap: 18px;
  }
  .testimonial-card {
    min-width: 160px;
    flex: 1 1 48%;
    padding: 18px 10px 15px 13px;
  }
}
@media (max-width: 600px) {
  .testimonial-cards {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    width: 100%;
    min-width: 0;
    padding: 15px 5px 12px 10px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER + NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 20px 0 rgba(28,38,44,0.04);
  position: relative;
  z-index: 200;
  padding: 0;
  min-height: 70px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  margin-left: 18px;
}
.main-nav a {
  color: #20303C;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 7px 3px 7px;
  border-radius: 5px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F8B437;
  color: #20303C;
}

.btn-primary {
  background: #F8B437;
  color: #181A1C;
  padding: 12px 34px;
  border-radius: 6px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 0 0 transparent;
  outline: none;
  margin-left: 24px;
  transition: background 0.16s, color 0.16s, box-shadow 0.21s;
  display: inline-block;
  position: relative;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #20303C;
  color: #fff;
  box-shadow: 0 5px 24px 0 rgba(32,48,60,0.17);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  background: none;
  color: #20303C;
  font-size: 2.1rem;
  border: none;
  padding: 6px 12px;
  margin-left: 10px;
  border-radius: 5px;
  display: none;
  align-items: center;
  cursor: pointer;
  z-index: 300;
  transition: background 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #EBEBEB;
}

/* Show mobile toggle */
@media (max-width: 1024px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE SLIDE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,26,28,0.92);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.39,.575,.565,1), opacity 0.22s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  margin: 24px 32px 8px 0;
  align-self: flex-end;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1013;
  transition: background 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #34383C;
  color: #F8B437;
}
.mobile-nav {
  width: 100%;
  max-width: 370px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin: 0 18px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 18px 0 18px 36px;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 0 18px 18px 0;
  margin-bottom: 2px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8B437;
  color: #20303C;
}
@media (max-width: 600px) {
  .mobile-nav {
    max-width: 100vw;
    margin: 0 2px;
  }
  .mobile-nav a {
    font-size: 1rem;
    padding-left: 24px;
  }
  .mobile-menu-close {
    margin: 18px 14px 7px 0;
    font-size: 1.4rem;
  }
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #181A1C;
  color: #fff;
  padding: 36px 0 28px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}
.footer-brand img {
  width: 38px;
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
}
.footer-nav a {
  color: #CBD4DE;
  font-size: 1rem;
  font-weight: 400;
  border-radius: 5px;
  transition: background 0.14s, color 0.14s;
  padding: 3px 6px;
  display: inline-block;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #20303C;
  color: #F8B437;
}
.footer-contact {
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #CBD4DE;
  margin-top: 4px;
}
.footer-contact img {
  vertical-align: middle;
  width: 17px;
  height: 17px;
  margin-right: 7px;
  filter: grayscale(100%);
}
.footer-address,
.footer-hours {
  font-size: 0.93rem;
  color: #A5AEB7;
  margin-top: 3px;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap:wrap;
    gap: 14px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1998;
  background: rgba(32,48,60,0.97);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 5vw 22px 5vw;
  box-shadow: 0 -2px 20px 0 rgba(32,48,60,0.18);
  transition: transform 0.38s cubic-bezier(.39,.575,.565,1), opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 0.98rem;
  flex: 1;
  color: #fff;
  max-width: 560px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #F8B437;
  color: #20303C;
  padding: 8px 22px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
  box-shadow: 0 0 0 transparent;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #fff;
  color: #18191b;
}
.cookie-banner .cookie-settings-btn {
  background: none;
  color: #F8B437;
  border: 2px solid #F8B437;
  padding: 8px 19px;
  margin-left: 0;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #F8B437;
  color: #20303C;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 15px 2vw 15px 2vw;
    align-items: stretch;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
    justify-content: flex-start;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24,26,28,0.85);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #20303C;
  border-radius: 13px;
  max-width: 420px;
  width: 90vw;
  margin: 0 auto;
  padding: 34px 28px 26px 28px;
  box-shadow: 0 12px 48px 0 rgba(32,48,60,0.14);
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  animation: modal-popIn 0.45s cubic-bezier(.39,.575,.565,1);
}
@keyframes modal-popIn {
  from { transform: scale(.87) translateY(70px); opacity: 0; }
  to   { transform: scale(1) translateY(0);   opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  font-family: 'Oswald', Arial, sans-serif;
  color: #181A1C;
}
.cookie-modal .cookie-category-group {
  margin-bottom: 17px;
  border-radius: 7px;
  background: #F7F7F8;
  padding: 13px 15px 9px 15px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #22262B;
  font-weight: 500;
  gap: 10px;
  margin-bottom: 7px;
}
.cookie-modal input[type=checkbox] {
  width: 18px; height: 18px;
  accent-color: #F8B437;
  margin-left: 0;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  color: #888E98;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: color 0.14s;
  padding: 1px 9px;
}
.cookie-modal .cookie-modal-close:hover {
  color: #20303C;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 24px;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
  background: #F8B437;
  color: #20303C;
}
.cookie-modal .cookie-modal-actions button.alt {
  background: none;
  color: #20303C;
  border: 2px solid #F8B437;
}
.cookie-modal .cookie-modal-actions button.alt:hover {
  background: #F8B437;
  color: #fff;
}
.cookie-modal .cookie-modal-actions button:hover {
  background: #20303C;
  color: #fff;
}
@media (max-width: 440px) {
  .cookie-modal {
    padding: 15px 5px 11px 6px;
    gap: 15px;
    max-width: 99vw;
  }
  .cookie-modal h2 { font-size: 1rem; }
}

/* --- TABLE, FORMS --- */
table {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 7px;
}
th, td {
  padding: 13px;
  border-bottom: 1px solid #E6E6E9;
  color: #20303C;
  text-align: left;
}
tr:last-child td {
  border-bottom: none;
}

input, textarea, select {
  border: 1px solid #B6C5D8;
  border-radius: 6px;
  padding: 9px 15px;
  transition: border-color 0.16s;
  margin-bottom: 15px;
  font-size: 1rem;
  background: #fff;
  color: #181A1C;
}
input:focus, textarea:focus, select:focus {
  border-color: #F8B437;
  outline: none;
}

/* --- MISC SPACING AND UTILITIES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mt-8 { margin-top: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.gap-8 { gap: 8px !important; }
.gap-12 { gap: 12px !important; }
.gap-20 { gap: 20px !important; }
.gap-32 { gap: 32px !important; }

.text-section,
.card,
.feature,
.testimonial-card,
.cookie-modal,
input, textarea, select, table {
  background: #fff;
}
.feature img,
.footer-contact img {
  filter: grayscale(1) brightness(0.74) contrast(1.2);
}
.btn-primary, .cookie-banner button, .cookie-modal .cookie-modal-actions button {
  background: #F8B437;
  color: #20303C;
}
.btn-primary:hover, .cookie-banner button:hover, .cookie-modal .cookie-modal-actions button:hover {
  background: #20303C;
  color: #fff;
}

/* --- LINK ACCENTS --- */
a {
  color: #20303C;
  border-bottom: 1px solid #E6E6E9;
  transition: border-color 0.13s, color 0.13s;
}
a:hover, a:focus {
  color: #F8B437;
  border-bottom: 1px solid #F8B437;
}

/* --- FOCUS STATES --- */
:focus {
  outline: 2px solid #F8B437;
  outline-offset: 2px;
}
.btn-primary:focus, .cookie-banner button:focus, .mobile-menu-close:focus {
  box-shadow: 0 0 0 3px #F8B43733;
  outline: none;
}

/* --- SCROLLBAR STYLES --- */
::-webkit-scrollbar { width: 11px; background: #F0F1F3; }
::-webkit-scrollbar-thumb { background: #CBD4DE; border-radius: 30px; }
::-webkit-scrollbar-thumb:hover { background: #B6C5D8; }

/* --- ANIMATION: BUTTON MICRO-INTERACTION --- */
.btn-primary:active, .cookie-banner button:active {
  transform: scale(.97);
}
.mobile-nav a:active { background: #20303C; color: #fff; }

/* --- RESPONSIVE: GENERAL --- */
@media (max-width: 991px){
  .footer-brand span { font-size: 1.1rem; }
  th, td { font-size: 0.97rem; }
}
@media (max-width: 600px) {
  .footer-brand img { width: 30px; height: 30px; }
}
/* --- SPECIFIC SECTION TWEAKS --- */
.location-section ul, .contact-details-section ul, .text-section ul, .text-section ol {
  list-style: disc inside;
  margin-left: 14px;
  margin-bottom: 14px;
  color: #252629;
}
.location-section ul li, .contact-details-section ul li, .text-section ul li, .text-section ol li {
  margin-bottom: 5px;
  padding-left: 0.5em;
}
.location-section ul {
  margin-bottom: 0;
}

/* --- CONTACT INFO --- */
.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #20303C;
  margin-bottom: 8px;
}
.contact-info img {
  width: 19px; height: 19px;
  filter: grayscale(1) brightness(0.74);
}
.contact-info a {
  color: #20303C;
  border-bottom: 1px solid #F8B437;
  font-weight: 500;
}
.contact-info a:hover {
  color: #F8B437;
}

/* --- PAGE SECTION PADDING TWEAKS (avoid overlaps, ensure breathing room) --- */
main > section, .content-wrapper {
  margin-bottom: 30px;
}
main > section:last-child, .content-wrapper:last-child {
  margin-bottom: 0;
}

/* --- Ensure NO content overlaps header/footer --- */
body { padding-bottom: 90px; } /* For cookie banner */
@media (max-width:600px){ body { padding-bottom: 130px; } }

/* --- END STYLES --- */