/* =========================
   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,
b, u, i, center,
dl, dt, dd, menu, 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,
main, 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 {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: #FAF9F6;
  color: #264653;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAF9F6;
  min-height: 100vh;
  color: #264653;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style-position: outside;
  margin-left: 1.5em;
}

a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E9C46A;
  outline: none;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/* =========================
   BRAND TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.625rem; /* 42px */
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  margin-bottom: 14px;
}

/* geometric_structured: headings with tight alignment and clear spacing */
h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================
   LAYOUT UTILITY
   ========================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 720px;
  align-self: flex-start;
}

.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: 12px;
  box-shadow: 0 2px 16px rgba(38, 70, 83, 0.07), 0 0.5px 2px rgba(38, 70, 83, 0.11);
  border: 2.5px solid #E9C46A;
  padding: 28px 22px;
  min-width: 270px;
  flex: 1 1 310px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover {
  box-shadow: 0 4px 22px rgba(38,70,83,0.21);
  border-color: #264653;
}

.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: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(38, 70, 83, 0.13);
  margin-bottom: 20px;
  border-left: 8px solid #E9C46A;
  max-width: 620px;
  color: #222;
  font-size: 1.075rem;
  position: relative;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card p {
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.95em;
  color: #264653;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

/* Buttons & CTA */
.cta, 
.button, 
button, 
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.075rem;
  font-weight: 700;
  background: #264653;
  color: #FAF9F6;
  border: none;
  border-radius: 38px;
  padding: 12px 32px;
  cursor: pointer;
  box-shadow: 0 1.5px 4.5px rgba(38, 70, 83, 0.15);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.11s;
  outline: none;
  margin-top: 4px;
  letter-spacing: 0.03em;
  display: inline-block;
}
.cta.primary {
  background: #E9C46A;
  color: #264653;
}
.cta.primary:hover, .cta.primary:focus {
  background: #264653;
  color: #E9C46A;
  box-shadow: 0 4px 22px rgba(38, 70, 83, 0.13);
}
.cta:hover, .CTA:focus, .button:hover, button:hover, .button:focus, button:focus {
  background: #E9C46A;
  color: #264653;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 22px rgba(38,70,83,0.13);
}
.button.secondary {
  background: #fff;
  border: 2.5px solid #E9C46A;
  color: #264653;
}
.button.secondary:hover, .button.secondary:focus {
  background: #E9C46A;
  color: #264653;
}


/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  width: 100%;
  background: #264653;
  color: #FAF9F6;
  box-shadow: 0 6px 36px -24px #264653; 
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header a img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FAF9F6;
  font-weight: 600;
  font-size: 1.075rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 4px;
  border-radius: 2px;
  transition: color 0.13s, background 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E9C46A;
  background: rgba(233, 196, 106, 0.09);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #E9C46A;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 10px;
  margin-left: 16px;
  display: none;
  transition: background 0.13s;
  z-index: 1102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(38,70,83,0.13);
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(38, 70, 83, 0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 26px 26px 26px 66px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.66,.04,.06,.98);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #E9C46A;
  font-size: 2.0rem;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 36px;
  padding: 4px 10px;
  border-radius: 12px;
  transition: background 0.15s;
  z-index: 2111;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(233, 196, 106, 0.15);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  margin-top: 12px;
}
.mobile-nav a {
  color: #FAF9F6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  padding: 12px 0;
  transition: color 0.20s, background 0.15s;
  border-radius: 3px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E9C46A;
  color: #264653;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #264653;
  color: #FAF9F6;
  padding-top: 36px;
  padding-bottom: 16px;
  margin-top: 64px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #FAF9F6;
  opacity: 0.88;
  text-transform: uppercase;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 3px;
  border-radius: 2px;
  transition: color 0.13s, background 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E9C46A;
  background: rgba(233,196,106,0.12);
}
footer p {
  text-align: center;
  font-size: 0.97rem;
  color: #E9C46A;
}

/* =========================
   HERO SECTIONS
   ========================= */
.hero {
  width: 100%;
  background: #FAF9F6;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  padding: 48px 0 16px 0;
  border-bottom: 6px solid #E9C46A;
  position:relative;
  z-index: 9;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  max-width: 700px;
  gap: 20px;
}
.hero h1 {
  color: #264653;
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.hero p {
  color: #264653;
  font-size: 1.125rem;
  margin-bottom: 24px;
}

/* =========================
   TABLES
   ========================= */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(38, 70, 83, 0.07), 0 0.5px 2px rgba(38, 70, 83, 0.11);
  margin-bottom: 28px;
  overflow: hidden;
}
thead {
  background: #E9C46A;
  color: #264653;
  font-family: 'Montserrat', Arial, sans-serif;
}
th, td {
  padding: 18px 16px;
  text-align: left;
  font-size: 1em;
  border-bottom: 1px solid #f2e9c6;
}
th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1em;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* =========================
   FORMS & INPUTS
   ========================= */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.0rem;
  border-radius: 14px;
  border: 2px solid #E9C46A;
  outline: none;
  padding: 11px 16px;
  margin-bottom: 18px;
  box-shadow: none;
  width: 100%;
  background: #fff;
  color: #264653;
  transition: border 0.13s, box-shadow 0.15s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: #264653;
  box-shadow: 0 0 0 2px #E9C46A55;
}
input[disabled],
textarea[disabled] {
  background: #f8f8f7;
  color: #a1a1a0;
  cursor: not-allowed;
  border-color: #eee;
}

/* =========================
   OLs and ULs
   ========================= */
ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
}
ol {
  margin-bottom: 12px;
}
ol li {
  margin-bottom: 9px;
  list-style-type: decimal-leading-zero;
  font-size: 1rem;
}

/* =========================
   RESPONSIVE: MOBILE-FIRST
   ========================= */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-nav {
    gap: 16px;
  }
  .footer-nav {
    gap: 18px;
    font-size: 0.94rem;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 32px 0 8px 0;
    min-height: 180px;
  }
  .footer-nav {
    gap: 11px;
    font-size: 0.90rem;
    flex-direction: column;
    align-items: center;
  }
  .content-wrapper, .content-grid, .card-container {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    font-size: 1rem;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 4px;
  }
}
@media (max-width: 671px) {
  header .container {
    flex-direction: row;
    gap: 13px;
  }
  .footer-nav {
    flex-direction: column;
  }
}
@media (max-width: 640px) {
  .testimonial-card {
    max-width: 98vw;
    border-left-width: 5px;
    margin-bottom: 14px;
  }
  .content-wrapper, .content-grid {
    gap: 10px;
  }
  .hero .content-wrapper {
    max-width: 98vw;
  }
  .card {
    padding: 18px 10px;
    min-width: 150px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.22rem;
  }
  h2 {
    font-size: 1.05rem;
  }
  th, td {
    padding: 10px 5px;
    font-size: 0.98rem;
  }
  .cta, .button, button {
    font-size: 0.98rem;
    padding: 10px 18px;
  }
}

/* Adaptive flex directions for text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2103;
  background: #264653;
  color: #fff;
  padding: 18px 22px;
  box-shadow: 0 -2px 24px rgba(38,70,83,0.19);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.33s cubic-bezier(.66,.04,.06,.98), opacity 0.25s;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 1 300px;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .button, .cookie-banner .cta {
  font-size: 0.97rem;
  border-radius: 22px;
  padding: 9px 24px;
}
.cookie-accept {
  background: #E9C46A;
  color: #264653;
  font-weight: 700;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #FAF9F6;
  color: #264653;
  border: 2px solid #E9C46A;
}
.cookie-reject {
  background: #fff;
  color: #264653;
  border: 2px solid #E9C46A;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #E9C46A;
}
.cookie-settings {
  background: none;
  color: #E9C46A;
  border: none;
  font-weight: 600;
  text-decoration: underline;
  padding: 0 7px;
}
.cookie-settings:hover, .cookie-settings:focus {
  color: #FAF9F6;
  text-decoration: none;
  background: rgba(233,196,106,0.09);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 8px;
    gap: 12px;
  }
  .cookie-banner-actions {
    gap: 9px;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,70,83,0.85);
  z-index: 2104;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #FAF9F6;
  color: #264653;
  border-radius: 20px;
  box-shadow: 0 8px 46px rgba(0,0,0,0.22);
  max-width: 430px;
  width: 92vw;
  padding: 38px 28px 22px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.cookie-modal section {
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #264653;
  width: 17px;
  height: 17px;
  border-radius: 7px;
  margin-right: 6px;
}
.cookie-modal-category {
  padding: 11px 0 2px 3px;
  border-bottom: 1px solid #E9C46A;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 11px;
}
.cookie-modal .button,
.cookie-modal .cta {
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 23px;
  background: none;
  border: none;
  color: #264653;
  font-size: 1.3rem;
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E9C46A55;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 4px 13px 10px;
    font-size: 0.96rem;
  }
}

/* =========================
   MISCELLANEOUS INTERACTIONS
   ========================= */
::-webkit-scrollbar {
  background: #F3EEE9;
  width: 12px;
}
::-webkit-scrollbar-thumb {
  background: #E9C46A;
  border-radius: 11px;
}
::-webkit-scrollbar-thumb:hover {
  background: #264653;
}

/* =========================
   ICONS, SVG DECORATIONS, ETC.
   ========================= */
/* Geometric accent bar for headings (style hint for geometric_structured) */
h1:before, h2:before, h3:before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 6px;
  background: #E9C46A;
  border-radius: 2.5px;
  margin-right: 11px;
  vertical-align: middle;
}
@media (max-width: 680px) {
  h1:before, h2:before, h3:before {
    width: 20px;
    height: 4px;
    margin-right: 7px;
  }
}

/* Tables: geometric cell separation for geometric_structured look */
thead th {
  border-bottom: 4.5px solid #264653;
}
table td, table th {
  border-right: 2px solid #E9C46A;
}
table td:last-child, table th:last-child {
  border-right: none;
}

/* =========================
   GEOMETRIC BUTTON EXAMPLES
   ========================= */
.button, .cta {
  border-radius: 30px 8px 30px 8px;
  box-shadow: 0 2px 16px rgba(38,70,83,0.09);
}
.button:active, .cta:active {
  transform: scale(0.98) translateY(1px);
}

/* =========================
   FURTHER VISUAL ACCENTS
   ========================= */
.card:before {
  content: "";
  display: block;
  position: absolute;
  right: 26px;
  top: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border-radius: 13% 81% 62% 39%/44% 68% 18% 70%;
}

.testimonial-card:after {
  content: "\201D";
  position: absolute;
  right: 13px;
  bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.1rem;
  color: #E9C46A77;
  line-height: 1;
  z-index: 1;
}

/* =========================
   ACCESSIBILITY IMPROVEMENT
   ========================= */
:focus-visible {
  outline: 3px solid #E9C46A;
  outline-offset: 0.09em;
  z-index: 3001;
}

/* =========================
   PRINT OVERRIDE
   ========================= */
@media print {
  nav, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .footer-nav { display: none !important; }
  footer { color: #222; background: none; text-align: left; }
}
