/* --- CSS 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,
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%;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f4f4f4 0%, #e9c46a 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  transition: background 0.5s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e9c46a;
  outline: none;
}
ul, ol {
  list-style-type: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
h1 { font-size: 2.8rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.12rem; margin-bottom: 8px; }
p, ul li, ol li, address {
  margin-bottom: 12px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
strong { font-weight: 600; }

/* --- Containers & Global Spacing --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(38, 70, 83, 0.05), 0 1.5px 5px rgba(233, 196, 106, 0.05);
}
/* Section backgrounds as modern gradient stripes */
.hero-section {
  background: linear-gradient(100deg, #f4f4f4 65%, #e9c46a 100%);
  padding: 60px 0 40px 0;
  border-radius: 0 0 32px 32px;
  margin-bottom: 46px;
}
.cta-section {
  background: linear-gradient(95deg, #e9c46a 0%, #f4f4f4 100%);
  border-radius: 20px;
  box-shadow: 0 2px 44px rgba(233,196,106,0.12);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- Header --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px rgba(38,70,83,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
header img {
  height: 36px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: #264653;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #e9c46a;
  border-bottom: 2px solid #e9c46a;
}
.cta-header {
  background: #264653;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 24px;
  padding: 10px 26px;
  margin-left: 24px;
  box-shadow: 0 1.5px 8px rgba(38,70,83,0.07);
  transition: background 0.18s, color 0.2s;
  border: none;
  display: inline-block;
}
.cta-header:hover,
.cta-header:focus {
  background: #e9c46a;
  color: #264653;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #264653;
  font-size: 2rem;
  cursor: pointer;
  padding: 6px 16px;
  border-radius: 12px;
  transition: background 0.18s;
  z-index: 300;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e9c46a44;
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f4f4f4;
  box-shadow: 0 6px 44px rgba(38,70,83,0.14);
  z-index: 5000;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.7,.23,.35,1.01);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #264653;
  align-self: flex-end;
  margin: 16px 30px 0 0;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e9c46a33;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 32px;
  align-items: flex-start;
  margin-top: 26px;
}
.mobile-nav a {
  color: #264653;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.14s, color 0.2s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #e9c46a;
  border-bottom: 2px solid #e9c46a;
}

/* --- Features Grid / Card Layouts --- */
.feature-grid,
.features-section .content-wrapper ul,
.services-section .content-wrapper ul,
.benefits-section .content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 14px;
  margin-bottom: 12px;
}
.feature-item,
.features-section .content-wrapper ul li,
.services-section .content-wrapper ul li,
.benefits-section .content-wrapper ul li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 9px rgba(38,70,83,0.06);
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 26px 20px 22px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.12s;
  position: relative;
}
.feature-item:hover, .services-section .content-wrapper ul li:hover, .benefits-section .content-wrapper ul li:hover {
  box-shadow: 0 2.5px 28px rgba(233,196,106,0.18), 0 1px 7px rgba(38,70,83,0.07);
  transform: translateY(-4px) scale(1.015);
}
.feature-item img,
.features-section .content-wrapper ul li img,
.services-section .content-wrapper ul li img,
.benefits-section .content-wrapper ul li img {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  margin-top: -3px;
}

/* --- Special Spacing Patterns --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2.5px 12px rgba(38,70,83,0.08);
  padding: 28px 24px;
}
.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;
  background: #f4f4f4;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(38,70,83,0.07);
  color: #222;
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 560px;
  flex: 1 1 340px;
  flex-direction: column;
  transition: background 0.22s;
}
.testimonial-card strong {
  color: #264653;
  font-size: 1rem;
  margin-top: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.testimonials-section .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Card hover effect for testimonials */
.testimonial-card:hover {
  background: #e9c46a11;
}

/* --- CTA Buttons --- */
.cta-main, .cta-bottom {
  background: #e9c46a;
  color: #264653;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  font-size: 1.15rem;
  padding: 12px 38px;
  margin-top: 18px;
  margin-right: 8px;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 1.5px 9px rgba(233, 196, 106, 0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  text-align: center;
  text-decoration: none;
}
.cta-main:hover, .cta-main:focus, .cta-bottom:hover, .cta-bottom:focus {
  background: #264653;
  color: #fff;
  box-shadow: 0 2.5px 24px rgba(38,70,83,.12);
}

/* --- Lists and Legal Sections --- */
.legal-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(38, 70, 83, 0.04);
}
.legal-section h1 {
  margin-bottom: 18px;
}
.legal-section ul {
  padding-left: 24px;
  margin-bottom: 20px;
}
.legal-section ul li {
  list-style: disc;
  margin-bottom: 9px;
  color: #264653;
}
.legal-section a {
  color: #264653;
  text-decoration: underline;
  transition: color 0.15s;
}
.legal-section a:hover { color: #e9c46a; }

/* --- Footer --- */
footer {
  background: #264653;
  color: #f4f4f4;
  padding: 38px 0 0 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 8px rgba(38,70,83,0.05);
  margin-top: 56px;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-navigation a {
  color: #e9c46a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-navigation a:hover { color: #fff; }
.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  border-top: 1px solid #e9c46a44;
  border-bottom: 1px solid #e9c46a44;
  padding: 18px 0 8px 0;
}
.footer-contact img {
  width: 50px; height: 50px;
}
.footer-contact p, .footer-contact a {
  color: #f4f4f4;
  font-size: 1rem;
}
.footer-contact a {
  text-decoration: underline;
  color: #e9c46a;
  transition: color 0.17s;
}
.footer-contact a:hover { color: #fff; }

.copyright {
  text-align: center;
  color: #ccc;
  font-size: 0.96rem;
  margin-top: 16px;
  padding-bottom: 26px;
}

/* --- Confirmation Section (thank you) --- */
.confirmation-section {
  margin-bottom: 100px;
  padding: 60px 20px 40px 20px;
  background: linear-gradient(100deg, #f4f4f4 0%, #e9c46a33 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 4px 24px rgba(38, 70, 83, 0.04);
}

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffde7;
  color: #264653;
  box-shadow: 0 -2px 16px rgba(38,70,83,0.07);
  z-index: 9000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  gap: 18px;
  font-size: 1rem;
  animation: slideUpBanner 0.7s cubic-bezier(.3,.64,.36,1.03);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0;
  color: #222;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 22px;
  cursor: pointer;
  margin: 0 0 0 0;
  transition: background 0.22s, color 0.2s;
}
.cookie-accept {
  background: #264653;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #e9c46a;
  color: #264653;
}
.cookie-reject {
  background: #e9c46a;
  color: #264653;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #264653;
  color: #fff;
}
.cookie-settings {
  background: #fff;
  color: #264653;
  border: 1.5px solid #26465388;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #e9c46a44;
}

/* --- Cookie Settings Modal --- */
.cookie-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 9500;
  background: rgba(38,70,83,0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 34px rgba(38,70,83,0.17);
  margin-top: 110px;
  padding: 44px 28px 28px 28px;
  max-width: 95vw;
  min-width: 330px;
  flex-direction: column;
  display: flex;
  gap: 28px;
  animation: modalIn 0.35s cubic-bezier(.4,.67,.5,1.14);
}
@keyframes modalIn {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.35rem;
  color: #264653;
  margin-bottom: 10px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-category-row label {
  font-weight: 500;
  color: #222;
}
.cookie-category-row input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #e9c46a;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 27px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #264653;
  cursor: pointer;
  border-radius: 9px;
  padding: 5px 12px;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e9c46a22;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .container {
    max-width: 90vw;
  }
  .feature-grid,
  .features-section .content-wrapper ul,
  .services-section .content-wrapper ul,
  .benefits-section .content-wrapper ul {
    gap: 16px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    height: auto;
    gap: 10px;
  }
  .main-nav {
    gap: 13px;
  } 
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: nowrap;
    height: 62px;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-header {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-navigation {
    gap: 13px;
    flex-wrap: wrap;
  }
  .feature-grid,
  .features-section .content-wrapper ul,
  .services-section .content-wrapper ul,
  .benefits-section .content-wrapper ul {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .testimonials-section .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 98vw;
    min-width: unset;
  }
  .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .hero-section, .cta-section {
    padding: 38px 10px 24px 10px;
    border-radius: 0 0 18px 18px;
  }
  .section, .legal-section {
    padding: 30px 10px;
    margin-bottom: 36px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 17px 12px;
    font-size: 0.98rem;
    gap: 10px;
    align-items: flex-start;
  }
  .cookie-modal-content {
    min-width: 90vw;
    max-width: 98vw;
    padding: 22px 7px 19px 7px;
  }
}
@media (max-width: 490px) {
  html { font-size: 14px; }
  .cta-main, .cta-bottom {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
  }
  .cookie-consent-buttons {
    flex-direction: column;
    gap: 9px;
  }
}

/* --- Animations for micro-interactions --- */
.card,
.feature-item,
.benefits-section .content-wrapper ul li,
.services-section .content-wrapper ul li,
.testimonial-card,
.cta-main, .cta-bottom {
  transition: box-shadow 0.22s, transform 0.14s, background 0.15s, color 0.15s;
}
.card:hover,
.feature-item:hover,
.benefits-section .content-wrapper ul li:hover,
.services-section .content-wrapper ul li:hover,
.cta-main:hover, .cta-bottom:hover {
  box-shadow: 0 4px 22px rgba(38,70,83,0.14), 0 1px 7px rgba(233,196,106,0.13);
  transform: translateY(-4px) scale(1.01);
}

/* --- Accessibility: Focus states --- */
a:focus, button:focus, .cta-main:focus, .cta-bottom:focus, .cookie-consent-banner button:focus {
  outline: 2px dashed #264653;
  outline-offset: 2px;
}

/* --- Utility Classes (if needed) --- */
.hide {
  display: none !important;
}

/* --- End of CSS --- */
