/* 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,
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;
}
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { background: #F8F6F3; min-height: 100vh; color: #20304b; }
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
table {
  border-collapse: collapse;
}
/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700&display=swap');

:root {
  --primary: #274274;
  --secondary: #E0D6C8;
  --accent: #C44E3E;
  --light: #F8F6F3;
  --white: #fff;
  --gray: #EDF1F5;
  --soft-blue: #a9c1e7;
  --soft-violet: #cabbe9;
  --soft-pink: #f7c8e0;
  --soft-yellow: #fff8d6;
  --soft-green: #d3f8e2;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-card: 0 6px 24px -4px rgba(39,66,116,0.07), 0 1.5px 5.5px 0 rgba(39,66,116,0.03);
  --shadow-hover: 0 12px 32px -6px rgba(196,78,62,0.11);
  --transition: all 0.23s cubic-bezier(.44,.24,.02,1);
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  background: var(--light);
  color: #274274;
  line-height: 1.7;
  letter-spacing: 0.03em;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.2rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.15rem; margin-bottom: 12px; }
@media (min-width:660px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.3rem; }
}

.cta-btn, .cta-link {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 18px;
  box-shadow: 0 2px 8px rgba(196,78,62,0.08);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.cta-link {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  padding: 10px 13px;
  margin: 0;
  font-size: 1rem;
  border-bottom: 2px solid var(--accent);
  border-radius: 0;
}

.cta-btn:hover, .cta-btn:focus {
  background: #ad2d1c;
  color: #fff;
  transform: translateY(-2.5px) scale(1.03);
  box-shadow: var(--shadow-hover);
}
.cta-link:hover, .cta-link:focus {
  color: #ad2d1c;
  border-bottom: 2px solid #ad2d1c;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 840px) {
  .content-wrapper {
    padding: 0;
    gap: 26px;
  }
}

/* FEATURE GRIDS, CARDS, FLEXBOX */
.card-container, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
.card {
  flex: 1 1 260px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  padding: 28px 24px 22px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: var(--transition);
  min-width: 230px;
}
.card:hover, .card:focus-within {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 28px -5px rgba(196,78,62,0.13);
}

.feature-grid li {
  background: linear-gradient(120deg, var(--soft-blue) 72%, var(--soft-pink) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 34px 22px 26px 22px;
  margin-bottom: 20px;
  flex: 1 1 222px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: var(--transition);
  min-width: 190px;
  border: 2px solid transparent;
}
.feature-grid li:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px -8px rgba(39,66,116,0.12);
  background: linear-gradient(120deg, var(--soft-violet) 45%, var(--soft-green) 100%);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  padding: 20px 28px 18px 28px;
  margin-bottom: 20px;
  border-left: 7px solid var(--accent);
  max-width: 780px;
}
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  color: var(--primary);
  font-style: italic;
  margin: 0 0 8px 0;
}
.testimonial-details {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 12px;
}
@media (max-width: 660px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 12px 14px 16px;
    min-width: 0;
  }
  .testimonial-details {
    margin-left: 0;
  }
}

/* HERO & CTA BANNER */
.hero {
  background: linear-gradient(118deg, var(--soft-blue) 25%, var(--soft-pink) 100%);
  border-radius: 0 0 38px 38px;
  margin-bottom: 60px;
  padding: 54px 0 62px 0;
  box-shadow: 0 4px 32px -12px rgba(39,66,116,0.06);
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.4rem;
}
.hero p {
  margin-bottom: 14px;
  color: #314472;
  font-size: 1.13rem;
}

.cta-banner {
  margin: 48px 0 0 0;
  background: linear-gradient(110deg, var(--soft-yellow) 70%, var(--soft-pink) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px 20px;
}
.cta-banner .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta-banner h2 {
  color: var(--accent);
  margin-bottom: 12px;
}

/* PLAIN SECTIONS */
section {
  background: transparent;
}

/* TABLE */
table {
  width: 100%;
  margin-bottom: 26px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: 1rem;
}
table th, table td {
  padding: 16px 14px;
  text-align: left;
}
table th {
  background: var(--soft-yellow);
  font-weight: 600;
  color: var(--primary);
}
table tr:nth-child(even) td {
  background: var(--soft-pink);
}
table tr td {
  border-bottom: 1px solid #F1E7DE;
  color: #4A5879;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 0 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 42px;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding-bottom: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.91;
  font-weight: 400;
  font-size: 1rem;
  transition: color .15s;
}
.footer-nav a:hover { color: var(--accent); opacity: 1; }
address {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  font-style: normal;
  font-size: 0.98rem;
  margin-top: 5px;
  color: var(--secondary);
}
address img {
  width: 19px;
  vertical-align: middle;
  margin-right: 6px;
  opacity: 0.8;
}
@media (max-width: 700px) {
  .footer-wrapper { gap: 10px; }
  footer { border-radius: 22px 22px 0 0; padding: 26px 0 0 0; }
}

/* NAV HEADER */
header {
  background: var(--white);
  box-shadow: 0 1.5px 8px rgba(39,66,116,0.11);
  position: relative;
  z-index: 110;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px 14px 20px;
  gap: 18px;
  position: relative;
}
header img {
  height: 52px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.03rem;
  opacity: 0.83;
  transition: color .13s, opacity .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  opacity: 1;
}
/* Hide nav and show burger on mobile */
.mobile-menu-toggle {
  background: var(--accent);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 10px;
  padding: 7px 15px 4px 15px;
  margin-left: 6px;
  box-shadow: 0 1.5px 9px rgba(196,78,62,0.09);
  cursor: pointer;
  transition: var(--transition);
  display: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ad2d1c;
  box-shadow: 0 6px 26px -6px rgba(196,78,62,0.15);
}
@media (max-width: 940px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(255,255,255,0.95);
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 92vw;
  max-width: 360px;
  z-index: 220;
  box-shadow: -4px 0 28px rgba(39,66,116,.08);
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .37s cubic-bezier(.54,0,.15,1), opacity .24s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 18px 0 0;
  background: var(--secondary);
  color: var(--accent);
  font-size: 2.2rem;
  border: none;
  border-radius: 25px;
  box-shadow: 0 1px 8px rgba(39,66,116,0.07);
  transition: background .13s;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 38px 32px 0 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  background: none;
  border-radius: 11px;
  padding: 13px 10px 12px 6px;
  transition: background .14s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--soft-blue);
  color: var(--accent);
}

@media (max-width: 500px) {
  .mobile-menu {
    width: 100vw;
    max-width: 100vw;
    padding-left: 0;
  }
  .mobile-nav {
    margin-left: 18px; margin-right: 14px;
  }
  .mobile-menu-close {
    margin-right: 9px;
  }
}

/* RESPONSIVE UTILS */
@media (max-width:770px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
  .hero {
    padding: 31px 0 32px 0;
  }
}
@media (max-width:660px) {
  .header-wrapper {
    padding: 11px 6px 11px 6px;
  }
  header img {
    height: 36px;
  }
  .cta-banner, .hero {
    border-radius: 0 0 18px 18px;
    padding: 26px 0;
  }
  .footer-wrapper {
    padding-bottom: 13px;
  }
}

/* GENERIC CONTENT LISTS */
ul, ol {
  padding-left: 21px;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1.04rem;
}
ul.feature-grid, ul > li {
  padding-left: 0;
}

/* FAQ (dl, dt, dd) */
dl {
  margin: 18px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
dt {
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 3px;
}
dd {
  margin-left: 0;
  margin-bottom: 8px;
  padding-left: 14px;
}

/* ADDRESS ICONS in LISTS */
.text-section ul li img, address span img {
  vertical-align: middle;
  margin-right: 7px;
  width: 21px;
}

.text-section {
  margin-bottom: 18px;
  background: var(--soft-yellow);
  padding: 27px 16px 19px 16px;
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.text-section h2 {
  margin-bottom: 8px;
}

/* SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FORM ELEMENTS (Not visible in HTML, but for consistency) */
input, textarea, select {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border: 1.2px solid #c8d0e9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  margin-bottom: 15px;
  background: var(--white);
  outline: none;
  transition: border .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
  box-shadow: 0 1px 7px rgba(196,78,62,0.07);
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: var(--radius-md);
  outline: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

/* COOKIES CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 700;
  background: linear-gradient(90deg, var(--soft-blue) 70%, var(--soft-yellow) 100%);
  box-shadow: 0 -3px 48px rgba(196,78,62,0.07), 0 -1.5px 5px 0 rgba(39,66,116,0.08);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 14vw 22px 6vw;
  min-height: 54px;
  font-size: 1.05rem;
}
.cookie-banner p {
  margin-right: 14px;
  color: #20304b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-size: 0.97rem;
  padding: 10px 22px;
  border-radius: 17px;
  border: none;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  transition: background .17s, color .17s;
}
.cookie-banner button.cookie-settings {
  background: var(--primary);
}
.cookie-banner button.cookie-reject {
  background: #aaa5cd;
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #ad2d1c;
}
@media (max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 7vw 15px 7vw;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39,66,116, 0.15);
  justify-content: center;
  align-items: center;
  animation: fadeinModal 0.23s;
}
.cookie-modal-overlay.open { display: flex; }
@keyframes fadeinModal { 0%{ opacity:0;} 100%{opacity:1;} }
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  min-width: 340px;
  max-width: 95vw;
  padding: 36px 28px 28px 28px;
  position: relative;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal h2 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.25rem;
}
.cookie-category {
  margin-bottom: 16px;
  padding: 13px 12px 10px 12px;
  background: var(--soft-blue);
  border-radius: var(--radius-md);
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--accent);
  width: 19px; height: 19px;
}
.cookie-category .always-on-label {
  font-weight: 600;
  color: var(--primary);
  font-size:1.1em;
  margin-left: 5px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 16px;
}
.cookie-modal button {
  font-size: 0.98rem;
  padding: 8px 19px;
  border-radius: 16px;
  font-weight: 500;
  border: none;
  margin-right: 5px;
  background: var(--accent);
  color: #fff;
  transition: background .17s;
}
.cookie-modal button.cookie-cancel {
  background: #baddc5;
  color: var(--primary);
}
.cookie-modal button:hover { background: #ad2d1c; }
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  background: transparent;
  color: var(--accent);
  font-size: 2rem;
  border: none;
  cursor: pointer;
}
.cookie-modal-close:hover { color: var(--primary); }
@media (max-width: 420px) {
  .cookie-modal {
    min-width: 0;
    padding: 20px 5vw;
  }
  .cookie-modal .cookie-modal-btns {
    flex-direction: column;
    gap: 8px;
  }
}

/* ANIMATIONS & MICROS */
.cta-btn, .cta-link, .feature-grid li, .card, .testimonial-card, .main-nav a, .mobile-nav a {
  transition: var(--transition);
}

.feature-grid li, .cta-banner, .card, .testimonial-card {
  box-shadow: var(--shadow-card);
}

@media (max-width: 600px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- END OF CSS --- */
