/* ========================================================
   CSS RESET & BASE 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;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #F6F6F6;
}
body {
  background: #F6F6F6;
  color: #253F4E;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #195675;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #113f56;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}
strong, b {
  font-weight: 700;
}

/* ========================================================
   FONT STACK
======================================================== */
h1, h2, h3, h4, h5, h6, .display {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  color: #195675;
  letter-spacing: 0.01em;
}
p, li, span, div, input, textarea, button {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
}

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

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  align-items: flex-start;
  gap: 16px;
}

@media (min-width: 992px) {
  .content-wrapper {
    gap: 24px;
  }
}

/* ========================================================
   HEADER & NAVIGATION
======================================================== */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #CBD3DC;
  padding-top: 0;
  padding-bottom: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}
header a img {
  height: 40px;
  margin-right: 16px;
}

.main-nav {
  display: none;
}
.cta-primary {
  display: inline-block;
  background: #195675;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.02em;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(25,86,117,0.08);
  border: none;
  outline: none;
  text-decoration: none;
  margin-left: 16px;
  transition: background 0.2s, box-shadow 0.23s, color 0.2s;
}
.cta-primary:hover,.cta-primary:focus {
  background: #0f3850;
  color: #fff;
  box-shadow: 0 6px 36px rgba(25,86,117,0.10);
}
.cta-secondary {
  display: inline-block;
  background: #CBD3DC;
  color: #195675;
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.02em;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 24px;
  border: none;
  outline: none;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(120,144,156,0.06);
  margin-left: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #b5c0cb;
  color: #0f3850;
  box-shadow: 0 6px 24px rgba(120,144,156,0.10);
}

/* --- Desktop nav --- */
@media (min-width: 992px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .main-nav a {
    font-family: 'Playfair Display', Georgia, serif;
    color: #195675;
    font-size: 16px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    margin: 0 0 0 0;
  }
  .main-nav a:hover, .main-nav a:focus {
    background: #CBD3DC;
    color: #113f56;
  }
}

/* --- Burger menu --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: #195675;
  cursor: pointer;
  padding: 8px 13px;
  border-radius: 50%;
  margin-left: 20px;
  transition: background 0.2s, color 0.2s;
  z-index: 1202;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #CBD3DC;
  color: #000;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,250,253,0.98);
  box-shadow: 0 8px 36px rgba(25,86,117,0.18);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  transform: translateX(-105%);
  transition: transform 0.39s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #195675;
  cursor: pointer;
  margin: 20px 20px 0 0;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #0f3850;
}
.mobile-nav {
  margin-top: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Playfair Display', Georgia, serif;
  color: #195675;
  font-size: 22px;
  text-decoration: none;
  padding: 10px 0;
  width: 90%;
  border-radius: 8px;
  transition: background 0.12s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #CBD3DC;
  color: #113f56;
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================================================
   SECTIONS & SPACING
======================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(80,105,119,.04);
  /* Subtle shadow for classic look. */
}
section:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    border-radius: 0;
  }
}

/* ========================================================
   TYPOGRAPHY
======================================================== */
h1 {
  font-size: 2.6rem;
  line-height: 1.16;
  margin-bottom: 12px;
  color: #195675;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #195675;
}
h3 {
  font-size: 1.36rem;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #213045;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #213045;
}
p {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #253F4E;
}
ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
}
li {
  margin-bottom: 8px;
}
.text-section h1, .text-section h2, .text-section h3 {
  margin-bottom: 6px;
}
.text-section p, .text-section ul {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.13rem;
  }
  p, ul, li {
    font-size: 0.97rem;
  }
}

/* ========================================================
   CARDS, LISTS, FEATURES & FLEX CONTAINERS
======================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(33,48,69,.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 32px rgba(25,86,117,0.13);
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}

.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;
  }
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #F6F6F6;
  color: #253F4E;
  box-shadow: 0 2px 14px rgba(25,86,117,0.05);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, background 0.17s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 26px rgba(25,86,117,0.11);
  background: #eef2f6;
}
.testimonial-card strong {
  color: #195675;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.01em;
  margin-left: 16px;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    padding: 14px 10px;
  }
}

/* Lists with icons */
ul li > img {
  height: 28px;
  width: 28px;
  vertical-align: middle;
  margin-right: 8px;
}

/* Card grid fallback for e.g. gallery */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* ========================================================
   BUTTONS & LINKS
======================================================== */
button, .cta-primary, .cta-secondary {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: 'Playfair Display', Georgia, serif;
}
button:focus, .cta-primary:focus, .cta-secondary:focus {
  box-shadow: 0 0 0 3px #CBD3DC;
}

/* ========================================================
   FOOTER
======================================================== */
footer {
  background: #195675;
  color: #F6F6F6;
  padding: 40px 0 12px 0;
  border-top: 1px solid #CBD3DC;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
footer a {
  color: #F6F6F6;
  text-decoration: underline;
  transition: color 0.18s;
}
footer a:hover { color: #CBD3DC; }
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 10px 0 8px 0;
}
.footer-info {
  text-align: center;
  font-size: 0.87rem;
  color: #CBD3DC;
}
footer img {
  height: 42px;
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  footer .container { gap: 16px; }
}

/* ========================================================
   COOKIE CONSENT BANNER & MODAL
======================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 1500;
  background: #fff;
  color: #195675;
  box-shadow: 0 -2px 22px rgba(33,48,69,0.11);
  border-top: 1px solid #CBD3DC;
  padding: 18px 12px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform 0.39s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}
.cookie-banner.hide { 
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner .banner-message {
  flex: 1 1 160px;
  min-width: 120px;
  margin-right: 16px;
}
.cookie-banner .banner-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cta-cookie {
  padding: 8px 22px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, box-shadow 0.14s;
}
.cookie-banner .accept {
  background: #195675;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #113f56;
}
.cookie-banner .reject {
  background: #CBD3DC;
  color: #195675;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #b5c0cb;
  color: #195675;
}
.cookie-banner .settings {
  background: transparent;
  color: #195675;
  border: 1px solid #CBD3DC;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #CBD3DC;
  color: #195675;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 15px; }
  .cookie-banner .banner-actions { flex-direction: column; gap: 10px; width: 100%; }
}

/* Cookie preferences modal */
.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(25,86,117,.13);
  z-index: 1700;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: #195675;
  padding: 36px 28px 24px 28px;
  border-radius: 22px;
  box-shadow: 0 10px 44px rgba(25,86,117,0.13);
  max-width: 95vw; width: 420px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  animation: modalFadeIn 0.4s cubic-bezier(.85,0,.22,1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(44px); }
  to { opacity:1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #195675;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F6F6F6;
  border-radius: 12px;
  padding: 8px 16px 8px 14px;
  font-size: 1rem;
  color: #195675;
}
.cookie-category input[type=checkbox] {
  accent-color: #195675;
  width: 22px; height: 22px;
}
.cookie-category label {
  margin-left: 3px;
  font-family: 'Roboto',Arial,sans-serif;
}
.cookie-category.essential label {
  font-weight: 700;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-modal-close {
  position: absolute; top: 18px; right: 16px;
  background: none; border: none;
  font-size: 20px; color: #195675;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #0f3850;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 19px 6px 16px 8px; width: 98vw;
  }
  .cookie-modal h2 { font-size: 1.19rem; }
}

/* ========================================================
   HELPER CLASSES & SPACING
======================================================== */
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }
.pt-0 { padding-top: 0 !important; }

/* Consistent spacing between card/section */
section, .card, .testimonial-card {
  margin-bottom: 20px;
}

/* Spacing for feature & service lists */
ul {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
ul > li {
  display: flex;
  align-items: center;
}

/* ========================================================
   RESPONSIVE DESIGN (Mobile First)
======================================================== */
@media (min-width: 601px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }
  section { padding: 50px 32px; }
}
@media (min-width: 992px) {
  header .container {
    max-width: 1200px;
    padding-left: 36px;
    padding-right: 36px;
  }
  .footer-info { font-size: 1rem; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  section {
    margin-bottom: 34px;
    padding: 18px 2px;
  }
}

/* ========================================================
   ANIMATIONS
======================================================== */
.card, .testimonial-card, section {
  transition: box-shadow 0.18s, background 0.18s, transform 0.16s;
}
a, button, .cta-primary, .cta-secondary {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.11s;
}

/* ========================================================
   FORM (for possible future addition / contacts)
======================================================== */
input[type=text], input[type=email], textarea {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid #CBD3DC;
  background: #FAFBFD;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #1d3242;
  transition: border-color 0.16s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: #195675;
  outline: none;
}

label {
  display: block;
  font-size: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 7px;
  color: #195675;
}

/* ========================================================
   SCROLLBARS
======================================================== */
::-webkit-scrollbar {
  width: 8px;
  background: #F6F6F6;
}
::-webkit-scrollbar-thumb {
  background: #CBD3DC;
  border-radius: 4px;
}

/* ========================================================
   Z-INDEX LAYERING
======================================================== */
header, .mobile-menu-toggle, .mobile-menu, .mobile-menu-close, .cookie-banner, .cookie-modal-backdrop {
  z-index: 1000;
}

/* ========================================================
   ACCESSIBILITY
======================================================== */
:focus {
  outline: 2px solid #CBD3DC;
  outline-offset: 1px;
}
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
}

/* ========================================================
   BRAND COLORS (FOR EASY CUSTOMIZATION VIA VARS)
======================================================== */
:root {
  --brand-primary: #195675;
  --brand-secondary: #CBD3DC;
  --brand-accent: #F6F6F6;
  --brand-dark: #113f56;
  --brand-body: #253F4E;
  --brand-bg: #F6F6F6;
}

/* END OF CSS */
