/* ===== 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, 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 {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F9F6F0;
  color: #262626;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22324e;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== BRAND COLOR VARIABLES ===== */
:root {
  --primary: #26547C;
  --secondary: #90C2E7;
  --accent: #F9F6F0;
  --gold: #BBA453;
  --border: #e6e4de;
  --shadow: 0 4px 16px rgba(38,84,124,0.10);
}

/* ===== CONTAINER & LAYOUT BASE ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 8px;
  }
  .container {
    padding: 0 8px;
  }
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--primary);
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* ===== BUTTONS ===== */
.cta-button {
  display: inline-block;
  background: var(--gold);
  color: #22324e;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 14px 36px;
  border: none;
  border-radius: 32px;
  font-weight: 700;
  margin-top: 12px;
  cursor: pointer;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(187, 164, 83, 0.16);
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  outline: none;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: #9f893c;
  color: #fff;
  box-shadow: 0 4px 20px rgba(187, 164, 83, 0.28);
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(38,84,124,0.05);
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
header img {
  height: 46px;
  margin-right: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #22324e;
  padding: 7px 13px;
  font-size: 1rem;
  border-radius: 28px;
  transition: color 0.20s, background 0.20s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: var(--gold);
}
nav .cta-button {
  margin-left: 12px;
}

@media (max-width: 1000px) {
  header .container { height: 68px; }
  header img { height: 38px; }
}
@media (max-width: 850px) {
  nav { gap: 10px; }
  nav a { font-size: 0.99rem; }
  header img { height: 32px; }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--gold);
  color: #22324e;
  padding: 6px 14px;
  border: none;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  z-index: 999;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #9f893c;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,0,.3,1);
  box-shadow: 0 0 32px 4px rgba(38,84,124,0.07);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: var(--primary);
  color: #fff;
  margin: 30px 22px 10px 0;
  border-radius: 50%;
  padding: 4px 14px 8px 14px;
  z-index: 10002;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--gold);
  color: #22324e;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 20px 40px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 13px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--gold);
}
@media (max-width: 768px) {
  .mobile-menu {
    width: 100vw;
    height: 100vh;
  }
}

/* ===== HERO & SECTIONS ===== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:nth-of-type(even) {
  background: #fff;
}
@media (max-width: 768px) {
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
}

/* ===== FLEXBOX LAYOUTS (MANDATORY) ===== */
.features-grid, .statistics-grid { /* For index and galerie */
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
  align-items: stretch;
  justify-content: flex-start;
}
.features-grid .feature, .statistics-grid .statistic {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 260px;
  padding: 26px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.18s, border 0.18s, transform 0.2s;
  position: relative;
}
.features-grid .feature img,
.statistics-grid .statistic img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}
.features-grid .feature:hover {
  border: 1.5px solid var(--gold);
  box-shadow: 0 6px 32px rgba(187,164,83,0.13);
  transform: translateY(-3px) scale(1.04);
}

.statistics-grid .statistic {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary);
  text-align: center;
  margin-bottom: 20px;
}
.statistics-grid .statistic strong {
  font-size: 2.1rem;
  color: var(--gold);
  display: block;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .features-grid, .statistics-grid { justify-content: center; }
}
@media (max-width: 800px) {
  .features-grid .feature, .statistics-grid .statistic {
    min-width: 160px;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .features-grid, .statistics-grid {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid .feature, .statistics-grid .statistic {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

/* Card Containers */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  padding: 30px 22px;
  transition: box-shadow 0.15s, border 0.15s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(38, 84, 124, 0.10);
  border-color: var(--gold);
  transform: translateY(-2px) scale(1.03);
}

.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: 18px;
    align-items: flex-start;
  }
  .content-wrapper {
    max-width: 100%;
  }
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--secondary);
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(38,84,124,0.08);
  max-width: 630px;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #262626;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.97rem;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 15px 10px;
    max-width: 100%;
    gap: 10px;
  }
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-question {
  background: #fff;
  border: 1px solid var(--secondary);
  border-radius: 14px;
  box-shadow: 0 1px 5px rgba(38,84,124,0.07);
  padding: 18px 22px;
  transition: box-shadow 0.2s, border 0.20s;
}
.faq-question h3 {
  margin-bottom: 8px;
  font-size: 1.07rem;
  color: var(--primary);
}
.faq-question p {
  margin-bottom: 0;
  color: #484848;
}
.faq-question:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 22px rgba(187,164,83,0.07);
}

/* Feature items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* Text Section (ULs & Content) */
.text-section {
  margin-bottom: 15px;
}
.text-section ul {
  margin-bottom: 16px;
  padding-left: 18px;
}
.text-section ul li {
  position: relative;
  margin-bottom: 10px;
  font-size: 1rem;
  padding-left: 18px;
}
.text-section ul li:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.text-section img {
  vertical-align: middle;
  height: 22px;
  margin-right: 10px;
  top: 0;
}

/* Trust Seals Section (Services page) */
.trust-seals {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.trust-seals img {
  width: 46px;
  height: 46px;
  filter: grayscale(30%);
  transition: filter 0.2s;
}
.trust-seals img:hover {
  filter: grayscale(0%) drop-shadow(0 0 4px var(--gold));
}

/* Accolades (Galerie) */
.accolades {
  margin-top: 18px;
  margin-bottom: 10px;
}
.accolades ul {
  padding-left: 22px;
}
.accolades li {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 1rem;
}

/* Footer */
footer {
  background: #22324e;
  color: #fff;
  font-size: 0.99rem;
  margin-top: 64px;
  border-top: 2px solid var(--gold);
}
.footer-columns {
  display: flex;
  flex-direction: row;
  gap: 36px;
  justify-content: space-between;
  padding: 46px 0 18px 0;
  flex-wrap: wrap;
}
.footer-columns > div {
  min-width: 170px;
  flex: 1 1 180px;
  margin-bottom: 24px;
  max-width: 260px;
}
.footer-columns h4 {
  color: var(--gold);
  font-size: 1.12rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}
footer a {
  color: #fff;
  transition: color 0.2s;
}
footer a:hover, footer a:focus {
  color: var(--gold);
  text-decoration: underline;
}
footer ul, .footer-columns nav {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-columns img {
  margin-bottom: 14px;
  max-height: 38px;
}
.social-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.social-icons img {
  height: 30px;
  width: 30px;
  filter: grayscale(60%) brightness(1.2);
  transition: filter 0.2s;
  border-radius: 50%;
}
.social-icons img:hover {
  filter: brightness(1.12) drop-shadow(0 0 7px var(--gold));
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.13);
  padding: 18px 0 6px 0;
  text-align: center;
  font-size: 0.93rem;
  color: #e7e7e7;
}
@media (max-width: 1000px) {
  .footer-columns { gap: 16px; }
}
@media (max-width: 900px) {
  .footer-columns {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-columns > div { max-width: 100%; min-width: 130px; }
}
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 0;
    padding: 30px 0 10px 0;
  }
  .footer-columns > div { margin-bottom: 18px; }
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  color: #22324e;
  box-shadow: 0 -1px 18px rgba(38,84,124,0.08);
  border-top: 2.5px solid var(--gold);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 17777;
  padding: 16px 18px 18px 18px;
  font-size: 1rem;
  transition: transform 0.5s, opacity 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(32px);
}
.cookie-banner .cookie-text {
  flex: 1;
  max-width: 520px;
}
.cookie-banner .cookie-btn {
  background: var(--gold);
  color: #22324e;
  border: none;
  border-radius: 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 26px;
  font-weight: 600;
  margin-left: 8px;
  margin-bottom: 3px;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(187,164,83,0.12);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #9f893c;
  color: #fff;
  box-shadow: 0 5px 14px rgba(187,164,83,0.22);
}
.cookie-banner .cookie-preferences {
  background: #22324e;
  color: var(--gold);
}
.cookie-banner .cookie-preferences:hover, .cookie-banner .cookie-preferences:focus {
  background: var(--gold);
  color: #22324e;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97rem;
    padding: 15px 6px 18px 9px;
  }
  .cookie-banner .cookie-btn { margin-left: 0; margin-top: 7px; }
}

/* ===== Cookie Preferences MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 20000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,84,124,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #22324e;
  padding: 34px 32px;
  border-radius: 20px;
  max-width: 390px;
  width: 98%;
  box-shadow: 0 14px 32px rgba(38,84,124,0.13);
  border: 2.5px solid var(--gold);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.36s;
}
@keyframes modalIn {
  0% { transform: scale(0.89) translateY(12px); opacity: 0; }
  70% { opacity: 0.6; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.6rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  padding: 0 9px;
  transition: background 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--gold);
  color: #22324e;
}
.cookie-modal h3 {
  color: var(--gold);
  font-size: 1.23rem;
  margin-bottom: 8px;
}
.cookie-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
}
.cookie-modal .essential {
  color: var(--primary);
  font-weight: 600;
}

.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 5px;
}
.cookie-modal .cookie-btn {
  padding: 8px 18px;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 20px 9px 14px 14px;
    gap: 13px;
    max-width: 97vw;
  }
  .cookie-modal-close {
    top: 7px; right: 7px; font-size: 1.3rem; padding: 0 6px;
  }
  .cookie-category label { font-size: 0.97rem; }
}

/* ==== Decorative Borders, Premium Accents ===== */
.features-grid .feature::after,
.card::after,
.testimonial-card::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0; left: 0;
  width: 110%;
  height: 5px;
  background: linear-gradient(90deg, var(--gold) 10%, transparent 100%);
  border-radius: 6px 6px 0 0;
  opacity: 0.09;
  pointer-events: none;
}

/* ==== Animations ===== */
.cta-button, .cookie-btn {
  transition: background 0.22s, color 0.22s, transform 0.2s;
}
.cta-button:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* ==== Responsive Typography for Main CTA ===== */
@media (max-width: 430px) {
  .cta-button {
    font-size: 0.98rem;
    padding: 12px 18px;
  }
  h1, h2 { word-break: break-word; }
}

/* ===== General Spacing & Hierarchy ===== */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section, .section {
    margin-bottom: 30px;
    padding: 18px 2px;
  }
}
.card, .feature, .testimonial-card, .faq-question {
  margin-bottom: 20px;
}
.card-container, .card-grid,
.content-grid, .features-grid, .statistics-grid, .testimonial-card {
  gap: 20px;
}

/* ==== Custom Scrollbar ==== */
::-webkit-scrollbar {
  width: 9px;
  background: #ede9d5;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 8px;
}

@media (max-width: 400px) {
  html { font-size: 15px; }
}

/* Prevent absolute positioning for content structures except decorations */

/* ==== Utility =========== */
.hide { display: none !important; }

/* Classes for proper flex alignments (as per requirements) */
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* Padding for main when fixed header */
main { padding-top: 16px; }

/* ===== END ===== */
