/* --- CSS RESET & BASE STYLES --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #161616;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #161616;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #25677B;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* --- CONTAINER / LAYOUT --- */
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #161616;
  text-transform: none;
  padding: 6px 0;
  position: relative;
  font-size: 1rem;
  transition: color 0.18s;
}
nav a:hover, nav a:focus {
  color: #25677B;
  text-decoration: underline;
}
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border-radius: 26px;
  padding: 11px 32px;
  font-size: 1rem;
  text-align: center;
  background: #161616;
  color: #fff;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.06);
  border: 2px solid #161616;
  margin-left: 14px;
  transition: background 0.22s, color 0.22s, border 0.22s, box-shadow 0.22s;
}
.cta-button:hover, .cta-button:focus {
  background: #25677B;
  color: #fff;
  border-color: #25677B;
  box-shadow: 0 6px 32px 0 rgba(37,103,123,0.12);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  line-height: 1;
  background: none;
  color: #161616;
  margin-left: 16px;
  border-radius: 8px;
  padding: 6px 12px;
  transition: background 0.18s;
  z-index: 21;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f3f3f3;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #181818f6;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  color: #fff;
  border-radius: 8px;
  margin: 24px 24px 0 0;
  padding: 4px 14px;
  transition: background 0.12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #444;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 36px 0 0 40px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 0;
  transition: color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #FFD58A;
  text-decoration: underline;
}

/* --- MAIN SPACING & GENERAL SECTIONS --- */
main {
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 12px;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #161616;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  color: #181818;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #181818;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: #222;
}
strong {
  font-weight: 600;
  color: #161616;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

.text-section {
  font-size: 1rem;
  color: #222;
  margin-bottom: 10px;
}
p {
  margin-bottom: 12px;
  color: #2d2d2d;
}

/* --- LISTS --- */
ul, ol {
  padding-left: 22px;
}
ul li, ol li {
  font-size: 1rem;
  color: #1d1d1d;
  margin-bottom: 8px;
  line-height: 1.7;
}

/* --- CARDS, TESTIMONIAL & SPECIAL STYLES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f8f8f8;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(14,20,26,0.08);
  margin-bottom: 20px;
  padding: 30px 22px;
  position: relative;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-card {
  background: #FAFAFA;
  color: #181818;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(30,30,30,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 36px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 540px;
  font-size: 1.15rem;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 28px rgba(25,25,25,0.16);
  transform: translateY(-4px) scale(1.02);
}
.testimonial-card p {
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  color: #25677B;
  font-size: 1rem;
  font-weight: 500;
}

/* --- FEATURE LIST --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
}

/* --- CONTENT GRID --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* --- TEXT-IMAGE SECTION --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
button, .cta-button {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, border 0.18s;
}
button:active, .cta-button:active {
  transform: scale(0.98);
}

/* --- TABLES --- */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  margin: 30px 0;
}
thead th {
  background: #222;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 6px;
}
tbody td {
  border-bottom: 1px solid #ededed;
  padding: 10px 6px;
}

/* --- FOOTER STYLE --- */
footer {
  background: #161616;
  color: #fff;
  padding: 56px 0 28px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}
footer nav a {
  color: #fff;
  opacity: 0.88;
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: color 0.15s, opacity 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFD58A;
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  color: #FFD58A;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  margin-bottom: 0.7em;
  text-align: center;
}
.footer-contact a {
  color: #FFD58A;
  text-decoration: underline dotted;
  transition: color 0.17s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
}
.footer-legal {
  color: #7b7b7b;
  text-align: center;
  margin-top: 8px;
  font-size: 0.96rem;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #222;
  color: #FFF;
  padding: 26px 22px 22px 22px;
  z-index: 3000;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: fadeInBanner 0.6s cubic-bezier(0.7,0,0.3,1) 1;
}
@keyframes fadeInBanner {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  text-align: center;
  font-size: 1.07rem;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.cookie-btn {
  border-radius: 24px;
  border: 2px solid #fff;
  padding: 8px 25px;
  background: #161616;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.07em;
  font-size: 1rem;
  margin: 0;
  transition: background .18s, color .18s, border .18s;
}
.cookie-btn.accept {
  background: #25677B;
  border: 2px solid #25677B;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFD58A;
  color: #161616;
  border-color: #FFD58A;
}
.cookie-btn.reject {
  background: #fff;
  color: #161616;
  border: 2px solid #e0e0e0;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e0e0e0;
  color: #161616;
}
.cookie-btn.settings {
  background: #181818;
  color: #FFD58A;
  border: 2px solid #FFD58A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFD58A;
  color: #181818;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(16,16,16,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3020;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: #181818;
  border-radius: 18px;
  padding: 38px 32px 32px 32px;
  max-width: 435px;
  width: 96%;
  box-shadow: 0 8px 42px rgba(20,20,20,0.24);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalPop 0.3s cubic-bezier(0.7,0,0.5,1);
}
@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.93) translateY(30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #161616;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eaeaea;
  padding: 12px 0;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  color: #181818;
}
.toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 13px;
  background: #ececec;
  position: relative;
  transition: background 0.16s;
  margin-left: 10px;
  display: inline-flex;
  vertical-align: middle;
}
.toggle-switch input {
  display: none;
}
.toggle-switch .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #aaa;
  transition: left 0.17s, background 0.17s;
}
.toggle-switch input:checked + .slider {
  background: #25677B;
  left: 22px;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 12px;
  justify-content: flex-end;
}

.cookie-modal .close-modal {
  position: absolute;
  right: 20px; top: 14px;
  background: none;
  color: #999;
  font-size: 2rem;
  border-radius: 6px;
  transition: background 0.13s;
  padding: 2px 10px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #f3f3f3;
  color: #25677B;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 90vw;
    padding: 0 12px;
  }
  .content-wrapper {
    gap: 16px;
  }
  nav, footer nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-height: 54px;
    gap: 10px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section, section {
    padding: 30px 8px;
    margin-bottom: 40px;
  }
  .testimonial-card {
    padding: 18px 8px;
    font-size: 1rem;
  }
  .footer-contact, .footer-legal {
    font-size: 0.97rem;
  }
  .cookie-banner {
    padding: 16px 7px 12px 7px;
    font-size: 0.98rem;
  }
  .cookie-modal-dialog {
    padding: 17px 8px 18px 11px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  .cta-button {
    font-size: 0.98rem;
    padding: 9px 16px;
  }
  .testimonial-card {
    font-size: 0.98rem;
  }
  .cookie-modal-dialog {
    font-size: 0.98rem;
  }
}

/* LAYOUT GAPS */
.card {
  margin-bottom: 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container,
.content-grid,
.text-image-section,
.testimonial-card,
.feature-item {
  gap: 20px;
}

/* --- ELEGANT SHADOWS AND MICRO-INTERACTIONS --- */
.card, .testimonial-card, .cookie-modal-dialog {
  box-shadow: 0 4px 16px rgba(22, 22, 22, 0.09);
  transition: box-shadow 0.16s, transform 0.18s;
}
.card:hover, .card:focus-within, .cookie-modal-dialog:focus-within {
  box-shadow: 0 7px 32px rgba(30,30,30,0.13);
  transform: translateY(-2px) scale(1.01);
}

::-webkit-scrollbar {
  width: 11px;
  background: #FAFAFA;
}
::-webkit-scrollbar-thumb {
  background: #dddddd;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c3c3c3;
}

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