/* ===== 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, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5; background: #F9F6F0; color: #274156; min-height: 100vh;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; background: none; box-shadow: none; border: none; outline: none; color: inherit; }

/* ======= BRAND FONTS & BASE ======= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@400;700&display=swap');
:root {
  --color-primary: #274156;
  --color-secondary: #9BB5CE;
  --color-accent: #F9F6F0;
  --color-light-gray: #ECF0F4;
  --color-shadow: rgba(39, 65, 86, 0.10);
  --color-dark: #1b2836;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 16px; }
h4 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 12px; }
p {
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.7;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--color-primary);
}
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  width: 100%;
  background: var(--color-accent);
  padding: 0 0 8px 0;
  box-shadow: 0 2px 8px var(--color-shadow);
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px 8px 20px;
}
header img {
  max-height: 44px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-primary);
  position: relative;
  padding: 4px 0;
  transition: color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
}
.cta-btn {
  background: var(--color-primary);
  color: #fff;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 28px;
  margin-left: 26px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.18s, box-shadow 0.2s, transform 0.12s;
  border: none;
  cursor: pointer;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 4px 18px var(--color-shadow);
  transform: translateY(-2px) scale(1.04);
}

/* ----- Burger Button ----- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  margin-left: 10px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.18s;
  z-index: 121;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 4px 10px var(--color-shadow);
}

/* ----- Mobile Menu Overlay ----- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,65,86,0.98);
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.6,.02,.96,.54), opacity 0.17s;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0%);
  transition: transform 0.36s cubic-bezier(.6,.02,.96,.54), opacity 0.17s;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  position: absolute;
  top: 20px;
  right: 28px;
  cursor: pointer;
  z-index: 125;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  padding-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 6px 0;
  transition: color 0.19s, background 0.14s;
  border-radius: 4px;
  min-width: 80vw;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(150deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  padding: 56px 0 48px 0;
  margin-bottom: 60px;
}
.hero-section .container {
  display: flex; flex-direction: column;
}
.hero-section .content-wrapper {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  gap: 24px;
}
.hero-section h1 {
  color: var(--color-primary);
  font-size: 2.7rem;
}
.hero-section p {
  color: var(--color-dark);
  font-size: 1.16rem;
}
.hero-section .cta-btn {
  margin-top: 12px;
}

/* ===== GENERAL SECTIONS ===== */
section {
  background: transparent;
}
section .container { padding-top: 0px; padding-bottom: 0px; }
.section {
  background: #fff;
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: 12px;
}

/* ===== FEATURE GRID / CARDS / USPs ===== */
.feature-grid, .service-list, .usp-grid, .testimonial-preview-grid, .steps-grid, .partners-list, .team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid > div, .usp-box, .service-item, .steps-grid > div, .partner, .team-bio {
  background: #fff;
  border-radius: 12px;
  flex: 1 1 220px;
  min-width: 220px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 28px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.feature-grid > div:hover,
.usp-box:hover,
.service-item:hover,
.steps-grid > div:hover,
.partner:hover {
  box-shadow: 0 6px 28px var(--color-shadow);
  transform: translateY(-2px) scale(1.025);
}
.feature-grid img, .steps-grid img, .service-item img, .usp-box img, .partner img, .team-bio img {
  height: 40px; width: 40px;
  margin-bottom: 12px;
}
.feature-grid h3, .service-item h3, .steps-grid h4, .usp-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.13rem;
  margin-top: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  box-shadow: 0 4px 18px var(--color-shadow);
  border-radius: 12px;
  padding: 24px 30px;
  margin-bottom: 24px;
  min-width: 280px;
  max-width: 520px;
  position: relative;
}
.testimonial-card p, .testimonial-card blockquote {
  color: var(--color-dark);
  font-size: 1.1rem;
  line-height: 1.7;
}
.testimonial-card blockquote {
  quotes: "\201C" "\201D";
  font-style: italic;
  margin: 0;
  padding: 0;
}
.testimonial-meta {
  color: var(--color-primary);
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 4px;
  font-style: normal;
}
.testimonial-meta img {
  height: 16px; width: 16px;
}

.testimonial-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* CTA Link */
.cta-link {
  margin-top: 12px;
  font-size: 1.03rem;
  color: var(--color-secondary);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.19s;
  display: inline-block;
}
.cta-link:hover, .cta-link:focus { color: var(--color-primary); }

/* ===== CARD CONTAINER & CARDS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 24px;
}

/* ===== TEAM / ABOUT ===== */
.team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-bio {
  background: #fff;
  flex: 1 1 260px;
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: 12px;
  padding: 24px 20px 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-promises {
  background: var(--color-light-gray);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 24px;
  box-shadow: 0 1px 6px var(--color-shadow);
}
.brand-promises h4 {
  margin-bottom: 14px;
}

/* ===== PARTNERS ===== */
.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}
.partner {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 230px;
  flex: 1 1 230px;
}
.partner img { height: 32px; width: 32px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--color-primary);
  color: #fff;
  padding: 48px 0;
  border-radius: 16px;
  box-shadow: 0 4px 24px var(--color-shadow);
  margin-bottom: 40px;
}
.cta-banner .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-banner .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 14px;
}
.cta-banner .cta-btn {
  background: #fff;
  color: var(--color-primary);
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
}
.cta-banner .cta-btn:hover, .cta-banner .cta-btn:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* ===== ADDRESS BLOCKS & MAP & CONTACT ===== */
.address-block {
  background: var(--color-light-gray);
  border-radius: 8px;
  padding: 20px 28px;
  margin-bottom: 22px;
  box-shadow: 0 1px 6px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.address-block img {
  margin-right: 8px;
  vertical-align: middle;
  height: 22px;
  width: 22px;
}
.map-teaser {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 1px 6px var(--color-shadow);
}

/* ===== FOOTER STYLES ===== */
footer {
  background: var(--color-primary);
  padding: 40px 0 20px 0;
  color: #fff;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}
.footer-links a {
  color: #fff;
  transition: color 0.15s;
}
.footer-links a:hover, .footer-links a:focus { color: var(--color-secondary); }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.footer-contact img {
  height: 20px; width: 20px; vertical-align: middle; margin-right: 4px;
}
.brand-credit span {
  font-size: 1rem;
  opacity: 0.82;
  letter-spacing: 0.02em;
  font-style: italic;
}

/* ===== TIMELINE, FAQ, ETC ===== */
.timeline-teaser, .what-to-expect {
  background: var(--color-light-gray);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 18px;
  box-shadow: 0 1px 6px var(--color-shadow);
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 16px 22px;
  transition: box-shadow 0.18s;
}
.faq-accordion > div:hover {
  box-shadow: 0 8px 26px var(--color-shadow);
}
.faq-accordion h3 {
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}
.faq-answer {
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== SUPPLEMENTARY FLEX LAYOUTS ===== */
.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;
  margin-bottom: 28px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.steps-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.steps-icons img {
  height: 42px;
}
.steps-summary ul {
  list-style-type: disc;
  color: var(--color-primary);
  margin-left: 17px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.steps-list li {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 6px var(--color-shadow);
  padding: 10px 14px;
  font-size: 1.07rem;
  margin-bottom: 6px;
}

.quick-facts ul {
  list-style-type: disc;
  color: var(--color-primary);
  margin-left: 17px;
}

.brand-story {
  background: var(--color-light-gray);
  border-radius: 8px;
  padding: 14px 20px;
  margin-top: 20px;
  box-shadow: 0 1px 6px var(--color-shadow);
}

/* ===== BUTTONS & INTERACTIONS ===== */
button, .cta-btn {
  cursor: pointer;
  user-select: none;
}
button:disabled, .cta-btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== ANIMATIONS & TRANSITIONS ===== */
*:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

section, .card, .cta-banner, .testimonial-card, .faq-accordion > div, .brand-promises, .partner, .address-block, .brand-story {
  transition: box-shadow 0.15s, transform 0.12s, background 0.15s;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -2px 14px var(--color-shadow);
  border-top: 3px solid var(--color-secondary);
  padding: 24px 18px;
  z-index: 140;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  pointer-events: auto;
  animation: fadeInUp 0.45s cubic-bezier(.43,.13,.56,.96);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: var(--color-primary);
  font-size: 1.02rem;
  text-align: center;
  margin-bottom: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 28px;
  transition: background 0.12s, color 0.12s, box-shadow 0.18s;
  margin: 0 2px;
}
.cookie-banner .accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-light-gray);
  color: var(--color-secondary);
}
.cookie-banner .settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px var(--color-shadow);
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,65,86,0.46);
  z-index: 151;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 16px;
  width: 98vw;
  max-width: 440px;
  padding: 36px 32px 30px 32px;
  box-shadow: 0 8px 48px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadePopIn 0.33s cubic-bezier(.7,.03,.41,1.54);
  z-index: 152;
}
@keyframes fadePopIn {
  from { transform: scale(0.82) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0px); opacity: 1; }
}
.cookie-modal h3 {
  margin-top: 0; margin-bottom: 10px; color: var(--color-primary); font-size: 1.26rem;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-option input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: var(--color-secondary);
}
.cookie-option.disabled {
  opacity: 0.62;
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  background: none;
  color: var(--color-primary);
  font-size: 2rem;
  position: absolute;
  top: 16px;
  right: 24px;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: var(--color-secondary);
}

/* ===== MEDIA QUERIES: RESPONSIVE (MOBILE FIRST) ===== */
@media (max-width: 1024px) {
  .main-nav { gap: 18px; }
  .cta-btn { margin-left: 12px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .feature-grid > div, .usp-box, .service-item, .steps-grid > div, .partner, .team-bio { min-width: 160px; padding: 18px 12px 16px 12px; }
  .testimonial-card { max-width: 98vw; padding: 14px 10px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 13px 8px 5px 8px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 760px) {
  .feature-grid, .service-list, .usp-grid, .steps-grid, .testimonial-preview-grid, .partners-list, .team-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}
@media (max-width: 640px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .hero-section, .cta-banner { padding: 36px 0 30px 0; }
  .feature-grid > div, .usp-box, .service-item, .steps-grid > div, .card, .testimonial-card { padding: 13px 8px; }
  .section { padding: 25px 6px; margin-bottom: 36px; }
  .brand-credit span { font-size: 0.91rem; }
  .footer-contact { font-size: 0.93rem; }
  .team-bio { font-size: 0.95rem; }
}
@media (max-width: 540px) {
  .hero-section h1 { font-size: 1.26rem; }
  .testimonial-card { max-width: 94vw; }
  .cta-banner { border-radius: 8px; padding: 24px 0; }
  .cookie-modal { padding: 24px 10px 18px 10px; border-radius: 10px; }
}
@media (max-width: 480px) {
  .cookie-modal { padding: 12px 2px 12px 2px; }
}

/*------ Utility: Hide Scrollbar For Overlay Menus ------*/
.mobile-menu, .cookie-modal-overlay {
  scrollbar-width: none; /* Firefox */
}
.mobile-menu::-webkit-scrollbar, .cookie-modal-overlay::-webkit-scrollbar {
  display: none;
}

/* ===== ACCESSIBILITY / PRINT ===== */
@media print { 
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; } 
  body { background: #fff; color: #000; } 
}
