/* ========================== */
/* CSS RESET & NORMALIZATION  */
/* ========================== */
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;
}
.contact-details img, .footer-contact img, .working-hours img {
  width: 100px;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F7FA;
  color: #21262b;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font: inherit;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}

/* ========================== */
/* FONT IMPORTS               */
/* ========================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Open+Sans:wght@400;600;700&display=swap');


/* ========================== */
/* ROOT VARIABLES             */
/* ========================== */
:root {
  --color-primary: #274B6D;
  --color-secondary: #EC8627;
  --color-gold: #C2A357;
  --color-accent: #F5F7FA;
  --color-dark: #21262b;
  --color-white: #fff;
  --color-grey: #F0F1F4;
  --color-footer-bg: #22273A;
  --color-footer-text: #EFE3C5;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}


/* ========================== */
/* GLOBAL TYPOGRAPHY          */
/* ========================== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-dark);
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6, .brand-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-dark);
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--color-dark);
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-dark);
}
strong {
  font-weight: 700;
}
.brand-tagline {
  font-size: 1.2rem;
  color: var(--color-secondary);
  font-weight: 500;
  margin: 16px 0;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

/* ========================== */
/* UTILITIES & GLOBALS        */
/* ========================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 28px;
  box-shadow: 0 3px 24px 0 rgba(39,75,109,0.07);
  position: relative;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
    border-radius: 18px;
  }
}


/* ========================== */
/* HEADER                     */
/* ========================== */
header {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(39,75,109,0.06);
  position: sticky;
  top: 0; left:0; right:0;
  z-index: 200;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  transition: color 0.25s;
  position: relative;
  padding: 4px 10px;
  border-radius: 5px;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-secondary);
  background: var(--color-grey);
}
.cta-button {
  background: var(--color-gold);
  color: #222019;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 1.07rem;
  box-shadow: 0 2px 10px rgba(194,163,87,.09);
  border: none;
  transition: background 0.25s, box-shadow 0.3s, color 0.2s;
  outline: none; 
  letter-spacing: 0.01em;
  display: inline-block;
  margin-top: 6px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 24px rgba(39,75,109,.14);
}

/* ========== BURGER MENU ========= */
.mobile-menu-toggle {
  display: none;
  background: var(--color-gold);
  color: #222019;
  border-radius: 6px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  z-index: 300;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ========== MOBILE SLIDE MENU ========= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(39,75,109,0.17);
  z-index: 990;
  display: flex;
  flex-direction: column;
  transform: translateX(-105vw);
  transition: transform 0.43s cubic-bezier(.23,1.6,.4,1);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 6px;
  align-self: flex-end;
  margin: 16px 28px 0 0;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-gold);
  color: var(--color-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 36px;
  padding: 0 35px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.17rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  padding: 8px 0 8px 0;
  border-radius: 6px;
  transition: background 0.23s, color 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ========== MAIN & GENERIC LAYOUTS ========== */
main {
  min-height: 65vh;
  padding-bottom: 48px;
  margin-top: 10px;
}

.features-grid, .feature-items, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .features-grid, .feature-items, .card-container, .card-grid {
    gap: 16px;
  }
}
.features-grid {
  justify-content: flex-start;
}
.feature-card {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(39,75,109,0.085);
  padding: 26px 18px 22px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid rgba(194,163,87,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}
.feature-card img {
  width: 42px; height: 42px; margin-bottom: 5px;
}
.feature-card .feature-meta {
  margin-top: 6px;
  font-weight: 600;
  color: var(--color-gold);
  font-size: 1.06rem;
}
.feature-card:hover, .feature-card:focus {
  box-shadow: 0 6px 30px rgba(39,75,109,0.23);
  transform: translateY(-2px) scale(1.018);
  border-color: var(--color-gold);
}

.testimonial-card {
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: 18px;
  box-shadow: 0 3px 30px 0 rgba(39,75,109,0.09);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-gold);
  max-width: 680px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 38px 0 rgba(39,75,109,0.16);
  border-left: 5px solid var(--color-secondary);
}
.testimonial-meta {
  margin-left: 18px;
  color: var(--color-primary);
  font-size: 1.08rem;
  font-weight: 600;
}

blockquote.brand-tagline {
  border-left: 4px solid var(--color-secondary);
  background: #fff8ef;
  color: var(--color-secondary);
  font-family: var(--font-display);
  padding: 12px 24px;
  font-style: italic;
  border-radius: 6px;
  margin: 18px 0 10px 0;
  font-size: 1.16rem;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 2px 18px rgba(39,75,109, 0.08);
  position: relative;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
  background: transparent;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  color: var(--color-dark);
}
.contact-item img {
  width: 24px; height: 24px;
}
.working-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  color: var(--color-primary);
  margin-bottom: 9px;
}

.location-map {
  width: 100%;
  max-width: 320px;
  margin-bottom: 22px;
}

/* =============================== */
/* FOOTER                          */
/* =============================== */
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 48px 0px 34px 0px;
  font-family: var(--font-body);
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }
}
.footer-brand img {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--color-footer-text);
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.96;
  transition: color 0.2s;
}
footer nav a:focus, footer nav a:hover {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
}
.footer-social {
  display: flex;
  gap: 13px;
  margin-bottom: 12px;
}
.footer-social a img {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-footer-text);
  padding: 5px;
  box-shadow: 0 2px 8px rgba(194,163,87,.05);
  transition: background 0.2s;
}
.footer-social a:hover img, .footer-social a:focus img {
  background: var(--color-secondary);
}
.footer-newsletter {
  margin-top: 8px;
  max-width: 340px;
}
.footer-newsletter p {
  font-size: 1rem;
  margin-bottom: 11px;
  color: var(--color-footer-text);
}
.footer-newsletter .cta-button {
  margin-top: 0;
  font-size: 1.05rem;
}

/* =============================== */
/* COOKIE BANNER & MODAL           */
/* =============================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  box-shadow: 0 -2px 18px rgba(39, 75, 109, .14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 16px;
  z-index: 1100;
  gap: 24px;
  min-height: 95px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--color-dark);
  border-top: 2.5px solid var(--color-gold);
  animation: bannerReveal 0.6s cubic-bezier(.27,1.12,.78,1.13);
}
@keyframes bannerReveal {
  from { transform: translateY(100%); opacity: 0; }
  to {   transform: translateY(0);    opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-consent-banner button {
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--color-grey);
  color: var(--color-dark);
  transition: background 0.18s, color 0.2s, box-shadow 0.15s;
  box-shadow: 0 1px 8px rgba(194,163,87,.09);
  margin-bottom: 0;
}
.cookie-consent-banner button.accept {
  background: var(--color-gold);
  color: #222019;
}
.cookie-consent-banner button.reject {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-consent-banner button.settings {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: var(--color-primary);
  color: var(--color-white);
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 1200;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39, 75, 109, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeIn 0.27s;
  backdrop-filter: blur(2px);
}
@keyframes fadeIn {
  from {opacity: 0}
  to {opacity: 1}
}
.cookie-modal {
  background: var(--color-white);
  padding: 30px 24px 30px 24px;
  border-radius: 16px;
  width: 92vw;
  max-width: 400px;
  min-width: 270px;
  box-shadow: 0 8px 42px rgba(194,163,87,0.11);
  position: relative;
  font-family: var(--font-body);
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.24rem;
  margin-bottom: 16px;
}
.cookie-modal-close {
  position: absolute;
  right: 17px; top: 13px;
  background: none;
  color: var(--color-primary);
  font-size: 1.45rem;
  border-radius: 5px;
  cursor: pointer;
  padding: 1px 8px;
  transition: background 0.18s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category label {
  font-size: 1.06rem;
  color: var(--color-dark);
  margin-left: 0;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-primary);
  width: 20px; height: 20px;
}
.cookie-category.essential label { font-weight: 600; color: var(--color-primary); }
.cookie-category.essential input[type=checkbox] {
  pointer-events: none;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  flex-direction: row;
  margin-top: 15px;
}
.cookie-modal .cookie-actions button {
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  font-family: var(--font-display);
  background: var(--color-gold);
  color: #222019;
  font-weight: 600;
  transition: background 0.18s, color 0.2s;
}
.cookie-modal .cookie-actions button.reject {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-modal .cookie-actions button:focus, .cookie-modal .cookie-actions button:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}


/* ========================== */
/* RESPONSIVENESS             */
/* ========================== */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 9px;
  }
  .features-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-card {
    max-width: 100%;
    min-width: 0;
  }
  .card-grid {
    flex-direction: column;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 4px;
  }
  .footer-newsletter {
    max-width: 100%;
  }
  .content-grid,
  .text-image-section,
  .features-grid,
  .card-container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .section {
    padding: 18px 2px;
  }
  .features-grid, .card-container { gap: 11px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.18rem; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
  }
  .feature-card {
    padding: 15px 8px 15px 12px;
    font-size: 0.98rem;
  }
  .footer-brand img {
    width: 38px; height: 38px;
  }
}
@media (max-width: 440px) {
  .cookie-consent-banner { flex-direction: column; gap: 11px; }
  .cookie-consent-banner .cookie-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
}

/* ========================== */
/* ANIMATIONS & MICRO-UX      */
/* ========================== */
.cta-button, .feature-card, .testimonial-card, .footer-social a img, .section, .cookie-consent-banner, .card {
  transition: box-shadow .25s, transform .17s, background .19s, color .13s;
}
.cta-button:active, .feature-card:active, .testimonial-card:active {
  transform: scale(0.97);
}
nav a.active, .mobile-nav a.active {
  color: var(--color-secondary) !important;
  font-weight: 700;
  background: var(--color-grey);
}

/* ======================================== */
/* ELEVATION: SHADOWS & BORDERS - PREMIUM   */
/* ======================================== */
.section, .feature-card, .testimonial-card, .card, .footer-newsletter {
  box-shadow: 0 3px 22px rgba(39,75,109,0.11);
}
.feature-card, .card {
  border: 1.5px solid rgba(194,163,87,0.07);
}

/* ======================================== */
/* REFINED DETAILS AND PREMIUM SPACING      */
/* ======================================== */
.section, .card, .feature-card, .testimonial-card {
  border-radius: 17px;
}
.testimonial-card {
  border-radius: 18px;
  border-width: 4px;
}
footer, .cookie-consent-banner, .cookie-modal {
  border-radius: 0;
}

/* ========================== */
/* MISC ELEMENTS/HELPERS      */
/* ========================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* ========================== */
/* PRINT IMPROVEMENTS         */
/* ========================== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  main, section, .container { box-shadow: none !important; background: #fff !important; }
}
