/* RESET & NORMALIZE */
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; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body {
  line-height: 1.6;
  background: #ffffff;
  color: #23293b;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: local('Oswald'), local('Oswald-Regular'), url('https://fonts.gstatic.com/s/oswald/v36/TK3iWkUHHAIjg752GT8G.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxP.woff2') format('woff2');
}
:root {
  --color-primary: #23293b;
  --color-secondary: #f8b511;
  --color-accent: #ffffff;
  --color-bg: #f7f8fa;
  --radius-base: 10px;
  --shadow-card: 0 4px 16px rgba(35,41,59,0.07);
  --shadow-md: 0 2px 8px rgba(35,41,59,0.12);
  --transition-base: 0.2s cubic-bezier(.7,.3,0,1);
}

/* LAYOUTS & CONTAINER */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  border-radius: var(--radius-base);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  flex: 1 1 300px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #f7f8fa;
  color: #23293b;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-primary);
  max-width: 550px;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(35,41,59,0.20);
  border-color: var(--color-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* GEOMETRIC STRUCTURED ELEMENTS */
.hero-section {
  display: flex;
  align-items: center;
  background: linear-gradient(98deg, #ffffff 65%, #f8b511 200%);
  border-bottom: 6px solid var(--color-secondary);
  min-height: 300px;
  margin-bottom: 0;
  padding-bottom: 0;
}
.hero-section .container {
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}
@media (max-width: 768px) {
  .hero-section {
    border-bottom-width: 3px;
    padding: 28px 0 16px 0;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--color-accent);
  border-radius: 16px;
  border: 2.5px solid var(--color-primary);
  box-shadow: var(--shadow-card);
  padding: 28px 22px 20px 22px;
  flex: 1 1 250px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 8px 36px rgba(35,41,59,0.18);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #ececec;
  box-shadow: 0 2px 6px rgba(35,41,59,0.05);
  padding: 9px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  margin-left: 26px;
  list-style: disc inside;
  font-size: 16px;
  color: #23293b;
}
.text-section ul li {
  margin-bottom: 10px;
  padding-left: 0;
}
.text-section p + ul {
  margin-top: 7px;
}

/* BUTTONS & CTA */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 12px 38px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  border-radius: 100px 14px 100px 14px / 14px 100px 14px 100px;
  letter-spacing: 0.02em;
  border: none;
  outline: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  text-transform: uppercase;
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
  margin-top: 10px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(35,41,59,0.18);
}

button, .btn {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  line-height: 1.16;
}
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p, ul, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #23293b;
}
p { margin-bottom: 12px; }
strong { font-weight: 700; }

@media (max-width: 900px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 17px; }
}
@media (max-width: 600px) {
  h1 { font-size: 22px; }
  h2 { font-size: 19px; }
}

/* HEADER & NAVIGATION */
header {
  background: var(--color-accent);
  border-bottom: 3.5px solid var(--color-secondary);
  z-index: 99;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 10px 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 21px;
}
header nav a {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 17px;
  padding: 2px 0;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.13s, color var(--transition-base);
}
header nav a:hover {
  color: var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
}
header nav .cta-primary {
  margin-left: 16px;
  font-size: 18px;
  padding: 9px 26px;
}
header img {
  height: 48px;
  width: auto;
}

/* Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--color-primary);
  font-size: 32px;
  border: none;
  margin-left: 22px;
  cursor: pointer;
  transition: color var(--transition-base);
  z-index: 301;
  align-self: center;
}
.mobile-menu-toggle:focus {
  color: var(--color-secondary);
  outline: 2px solid var(--color-secondary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100dvh;
  background: var(--color-primary);
  color: var(--color-accent);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.7,.3,0,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px 32px 32px 18px;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 19px;
  right: 25px;
  font-size: 36px;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 301;
  transition: color var(--transition-base), transform var(--transition-base);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
  transform: scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 15px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 23px;
  padding: 5px 0 4px 10px;
  border-left: 4.5px solid transparent;
  transition: color var(--transition-base), border-color var(--transition-base), background var(--transition-base);
  border-radius: 0 8px 8px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  border-left: 4.5px solid var(--color-secondary);
  background: rgba(248,181,17,0.07);
}

@media (max-width: 1100px) {
  header nav {
    gap: 15px;
  }
  header nav a, nav a {
    font-size: 15.5px;
  }
}
@media (max-width: 900px) {
  header img {
    height: 38px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 12px;
    padding: 7px 8px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
  .container {
    padding: 0 7px;
  }
}

/* FOOTER */
footer {
  background: #23293b;
  color: var(--color-accent);
  padding: 28px 0 7px 0;
  border-top: 5px solid var(--color-secondary);
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
footer nav {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-accent);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 15px;
  opacity: 0.85;
  transition: color var(--transition-base), opacity var(--transition-base);
}
footer nav a:hover,footer nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
footer img {
  height: 46px;
  width: auto;
  margin-right: 2px;
}
.footer-info {
  font-size: 14px;
  opacity: 0.69;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 8px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer nav {
    gap: 12px;
  }
  .footer-info { margin: 0; }
}

/* ADDRESS (CONTACT INFO) */
address {
  font-style: normal;
  margin-bottom: 15px;
}
address ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
address li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
}
address img {
  width: 22px;
  height: 22px;
  background: #ececec;
  border-radius: 5px;
  padding: 3px;
  box-shadow: 0 1px 3px rgba(35,41,59,0.07);
}

/* MEDIA QUERIES - LAYOUT & RESPONSIVE */
@media (max-width: 1100px) {
  .feature-grid {
    gap: 19px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
  .feature-grid > div {
    min-width: 0;
    flex: 1 1 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 5px;
    margin-bottom: 36px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 14px 13px;
    border-radius: 10px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .card-content {
    padding: 0;
  }
}
/* --- End RESPONSIVE --- */

/* ANIMATIONS & EFFECTS */
a, button, .cta-primary {
  transition: all var(--transition-base);
}
[tabindex]:focus-visible {
  outline: 2.2px solid var(--color-secondary);
  outline-offset: 1.5px;
}

/* MICRO-INTERACTIONS */
section, .feature-grid > div, .testimonial-card, .card {
  transition: box-shadow 0.2s, border-color 0.21s, background-color 0.19s;
}
.feature-grid > div:active, .testimonial-card:active { 
  transform: scale(0.98);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 24px 16px 20px 16px;
  box-shadow: 0 -2px 18px rgba(35,41,59,0.13);
  z-index: 999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  animation: cookiebannerSlideIn 0.44s cubic-bezier(.7,.3,0,1);
}
@keyframes cookiebannerSlideIn {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner .cookie-btn {
  padding: 9px 20px;
  border-radius: 16px;
  border: none;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
  margin-left: 0;
}
.cookie-banner .accept-cookie {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .accept-cookie:hover, .cookie-banner .accept-cookie:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cookie-banner .reject-cookie {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .reject-cookie:hover, .cookie-banner .reject-cookie:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-banner .settings-cookie {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  padding: 8px 18px;
}
.cookie-banner .settings-cookie:hover, .cookie-banner .settings-cookie:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    padding: 18px 8px 12px 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1001;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100dvh;
  background: rgba(35,41,59,0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(.7,.3,0,1), visibility .18s cubic-bezier(.7,.3,0,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(35,41,59,0.25);
  min-width: 320px;
  max-width: 95vw;
  padding: 34px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: cookieModalIn .45s cubic-bezier(.7,.3,0,1);
}
@keyframes cookieModalIn {
  from { transform: scale(0.87) translateY(65px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-size: 19px;
  margin-bottom: 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background-color: #ececec;
  border-radius: 10px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .cookie-toggle:checked {
  background-color: var(--color-secondary);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 8px;
  transition: transform 0.17s;
  box-shadow: 0 1px 3px rgba(35,41,59,0.08);
}
.cookie-modal .cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-toggle[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-bottom {
  display: flex;
  flex-direction: row;
  gap: 17px;
  justify-content: flex-end;
  margin-top: 13px;
}
.cookie-modal .cookie-btn-close {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 10px;
  font-size: 15px;
  padding: 6px 14px;
}
.cookie-modal .cookie-btn-close:hover,.cookie-modal .cookie-btn-close:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* UTILITY CLASSES */
.bg-primary { background: var(--color-primary); color: var(--color-accent);}
.bg-secondary { background: var(--color-secondary); color: var(--color-primary);}
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }

/* LINKS */
a {
  color: var(--color-secondary);
  text-decoration: none;
  font-family: inherit;
  transition: color var(--transition-base) text-decoration 0.17s;
}
a:hover, a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}
.text-section a {
  color: var(--color-secondary);
  font-weight: 600;
}
.text-section a:hover {
  color: var(--color-primary);
}

/* FORM (newsletter, contact) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  border-radius: 7px;
  border: 2px solid #bcbcbc;
  padding: 9px 13px;
  outline: none;
  margin-bottom: 12px;
  transition: border var(--transition-base);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
}

/* OVERLAP GUARD */
.section, .card, .testimonial-card, .feature-grid > div, .card-container > * {
  margin-bottom: 20px;
}

/* Hide mobile menu overlay on non-mobile */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* GEOMETRIC EXTRAS */
.feature-grid > div {
  clip-path: polygon(0 8%, 9% 0, 100% 0, 100% 92%, 91% 100%, 0% 100%);
}
.cta-primary {
  /* polygonal button geometry above */
}

/* Custom scrollbar - for dark menu/cookie modal overlays */
.mobile-menu, .cookie-modal {
  scrollbar-color: var(--color-secondary) #ececec;
  scrollbar-width: thin;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 7px;
  background: #ececec;
}
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}

/* Z-INDEX GUARD */
header { z-index: 999; }
footer { z-index: 10; }
.cookie-banner, .cookie-modal-overlay { z-index: 1200; }

/* Accessibility for high-contrast */
@media (prefers-contrast: more) {
  body { background: #fff !important; color: #23293b !important; }
  .feature-grid > div, .testimonial-card, .card { box-shadow: none !important; }
}
