/* 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, 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 {
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FAFAF8;
  color: #27374D;
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #5C9EAD;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #27374D;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}
li {
  margin-bottom: 0.5em;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 700;
  color: #27374D;
  margin-bottom: 0.5em;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: 0;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
  color: #27374D;
}
p {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #3A4A5C;
  font-size: 1.0625rem;
  margin-bottom: 1.25em;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* HEADER & NAVIGATION */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 2px 12px 0 rgba(39,55,77,0.04);
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  position: relative;
}
header img {
  height: 52px;
  width: auto;
  display: block;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #27374D;
  font-size: 1.06rem;
  padding: 7px 0 8px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #5C9EAD;
}
.cta-btn {
  background: #27374D;
  color: #fff !important;
  font-family: 'Georgia', serif;
  font-weight: 500;
  border-radius: 30px;
  box-shadow: 0 2px 10px 0 rgba(39,55,77,0.10);
  padding: 10px 32px;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  margin-left: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #5C9EAD;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(92,158,173,0.13);
}
.cta-btn-secondary {
  background: #5C9EAD;
  color: #fff;
  font-family: 'Georgia', serif;
  font-weight: 500;
  border-radius: 30px;
  box-shadow: 0 2px 10px 0 rgba(92,158,173,0.08);
  padding: 10px 24px;
  font-size: 1.06rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
}
.cta-btn-secondary:hover, .cta-btn-secondary:focus {
  background: #27374D;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(39,55,77,0.13);
}

/* MOBILE HEADER */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #27374D;
  cursor: pointer;
  transition: color 0.2s;
  padding: 5px 13px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #5C9EAD;
  border-radius: 4px;
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,55,77,0.97);
  color: #fff;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.55,.06,.68,.19);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 28px 0 0 18px;
  align-self: flex-start;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
  width: 100%;
  gap: 22px;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Georgia', serif;
  color: #fff;
  font-size: 1.4rem;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  text-align: left;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: rgba(255,255,255,0.10);
  color: #5C9EAD;
}

/* HERO SECTION */
.hero {
  background: #f6f6f3;
  padding: 60px 0 44px 0;
  border-bottom: 1px solid #e9ecef;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 300px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #27374D;
  margin-bottom: 18px;
  max-width: 660px;
}
.hero p {
  color: #495667;
  font-size: 1.15rem;
  margin-bottom: 25px;
  max-width: 600px;
}

/* SECTION STYLES */
section {
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(39,55,77,0.045);
  /* Elegant white space and subtle elevation */
}
.content-wrapper {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 16px;
}
.text-section ul {
  margin-top: 12px;
  font-size: 1.06rem;
}
.text-section li {
  margin-bottom: 0.5em;
}

/* FEATURE GRIDS - FLEXBOX ONLY */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 20px;
}
.feature {
  background: #fff;
  border: 1px solid #e7eaef;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(93,137,173,0.045);
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 330px;
  padding: 30px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.2s;
}
.feature img {
  height: 48px;
  width: 48px;
  margin-bottom: 12px;
}
.feature h3 {
  font-size: 1.16rem;
  color: #27374D;
  margin-bottom: 6px;
}
.feature p {
  color: #495667;
  font-size: 1rem;
}
.feature:hover, .feature:focus-within {
  border: 1.5px solid #5C9EAD;
  box-shadow: 0 6px 28px 0 rgba(92,158,173,0.10);
}

/* CONTENT FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e7eaef;
  box-shadow: 0 2px 8px 0 rgba(39,55,77,0.045);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px 24px 20px;
  transition: box-shadow 0.2s, border 0.2s;
}
.card:hover, .card:focus-within {
  border: 1.5px solid #5C9EAD;
  box-shadow: 0 6px 22px 0 rgba(92,158,173,0.08);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 28px 22px 28px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(39,55,77,0.075);
  border: 1px solid #e5e7eb;
  font-size: 1.125rem;
  color: #222;
  transition: box-shadow 0.2s, border 0.2s;
  min-width: 250px;
  max-width: 390px;
}
.testimonial-card p {
  font-family: 'Georgia', serif;
  color: #27374D;
  font-size: 1.06rem;
}
.testimonial-card strong {
  color: #5C9EAD;
  font-size: 1rem;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  border: 1.5px solid #5C9EAD;
  box-shadow: 0 8px 34px 0 rgba(92,158,173,0.11);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
}

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

/* ARTICLE LIST (GUIDE) */
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.article {
  flex: 1 1 360px;
  background: #fff;
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 10px 0 rgba(39,55,77,0.055);
  border-radius: 14px;
  padding: 22px 20px 16px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, border 0.19s;
}
.article h2 {
  font-size: 1.20rem;
  margin-bottom: 7px;
  color: #27374D;
}
.article p {
  font-size: 1.01rem;
  color: #495667;
}
.article:hover, .article:focus-within {
  border: 1.5px solid #5C9EAD;
  box-shadow: 0 6px 22px 0 rgba(92,158,173,0.09);
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0 18px 0;
  box-shadow: 0 2px 14px 0 rgba(39,55,77,0.05);
}
.pricing-table th,
.pricing-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e4e6ea;
  text-align: left;
  font-size: 1rem;
}
.pricing-table th {
  background: #f3f6fa;
  font-family: 'Georgia', serif;
  font-size: 1.08rem;
  color: #27374D;
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table td {
  color: #3A4A5C;
  background: #fff;
}

.notes {
  margin-top: 8px;
  font-size: 0.98rem;
  color: #B26D29;
  font-style: italic;
  margin-bottom: 16px;
}

/* SEARCH BAR */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: 1.5em;
}
.search-bar input[type="text"] {
  padding: 10px 16px;
  border-radius: 20px;
  border: 1px solid #dbe2eb;
  background: #f9fafb;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  outline: none;
  transition: border 0.18s;
}
.search-bar input[type="text"]:focus {
  border: 1.3px solid #5C9EAD;
}
.search-bar button {
  background: #5C9EAD;
  border: none;
  border-radius: 50%;
  padding: 7px 9px 7px 8px;
  cursor: pointer;
  transition: background 0.18s;
  margin-left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-bar button:hover, .search-bar button:focus {
  background: #27374D;
}
.search-bar img {
  width: 19px;
  height: 19px;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 1.1em;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #3A4A5C;
}
.contact-details img {
  width: 20px;
  height: 20px;
}
.map-embed {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 1.3em;
  color: #5C9EAD;
  font-size: 1.06rem;
}

/* FOOTER */
footer {
  background: #f7f9fa;
  padding: 36px 0 12px 0;
  border-top: 1px solid #e4e6ea;
  font-size: 1rem;
  color: #27374D;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 17px;
  justify-content: center;
  align-items: center;
}
.footer-nav a {
  color: #5C9EAD;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 2px 0;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #27374D;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 19px;
  margin-top: 4px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.01rem;
  color: #495667;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  display: inline-block;
}
.footer-copy {
  text-align: center;
  color: #b2babf;
  font-size: 0.94rem;
  margin-top: 10px;
  margin-bottom: 4px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #fff;
  border-top: 1.5px solid #e5e7eb;
  box-shadow: 0 -2px 24px 0 rgba(39,55,77,0.08);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  min-height: 64px;
  font-size: 1.02rem;
  animation: cookie-slide-up 0.51s cubic-bezier(.49,.01,.83,1);
}
@keyframes cookie-slide-up {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #27374D;
  font-size: 1.05rem;
  margin: 0 8px 0 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-btn {
  background: #5C9EAD;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-family: 'Georgia', serif;
  font-weight: 500;
  padding: 8px 22px;
  font-size: 1rem;
  margin-left: 10px;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  outline: none;
}
.cookie-btn.accept {
  background: #27374D;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #27374D;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(39,55,77,0.13);
}
.cookie-btn.settings {
  background: #fff;
  color: #27374D;
  border: 1.2px solid #27374D;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2200;
  background: rgba(39,55,77,0.39);
  animation: fade-in-cookie-modal 0.35s;
}
@keyframes fade-in-cookie-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 36px 0 rgba(39,55,77,0.14);
  padding: 42px 30px 32px 30px;
  max-width: 420px;
  width: 94vw;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.01rem;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.23rem;
  margin-bottom: 9px;
  color: #27374D;
  font-family: 'Georgia', serif;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
  font-size: 1.04rem;
  color: #3A4A5C;
}
.cookie-modal-content .switch {
  position: relative;
  width: 44px; height: 25px;
  display: inline-block;
}
.cookie-modal-content .switch input {
  display: none;
}
.cookie-modal-content .slider {
  position: absolute;
  cursor: pointer;
  background: #e6e9f1;
  border-radius: 25px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.16s;
}
.cookie-modal-content .slider:before {
  content: '';
  position: absolute;
  height: 19px; width: 19px;
  left: 3px; bottom: 3px;
  background: #5C9EAD;
  border-radius: 50%;
  transition: 0.15s;
}
.cookie-modal-content .switch input:checked + .slider {
  background: #d1ecf3;
}
.cookie-modal-content .switch input:checked + .slider:before {
  transform: translateX(19px);
  background: #27374D;
}
.cookie-modal-content .switch input:disabled + .slider {
  background: #cfcfcf;
  cursor: not-allowed;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 22px;
  background: none;
  border: none;
  color: #27374D;
  font-size: 1.35rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.14s;
}
.cookie-modal-close:hover {
  opacity: 1;
}

/* RESPONSIVE DESIGN & MOBILE FIRST */
@media (max-width: 1100px) {
  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .testimonial-slider,
  .content-grid,
  .article-list,
  .footer-contact {
    gap: 16px;
  }
  .hero {
    padding: 44px 0 29px 0;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    padding: 14px 8px 10px 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
  }
  .content-grid,
  .article-list,
  .testimonial-slider,
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    padding: 28px 0 0 0;
    gap: 16px;
  }
  .feature, .testimonial-card, .article {
    max-width: 98vw;
    min-width: 0;
  }
  .footer-nav {
    gap: 10px;
    font-size: 0.93rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding: 32px 0 20px 0;
  }
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.25rem;
  }
}
@media (max-width: 530px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7px 16px 12px;
    gap: 12px;
    font-size: 0.96rem;
  }
  .footer-contact {
    flex-direction: column;
    gap: 3px;
  }
}

/* MICRO-INTERACTIONS */
button, .cta-btn, .cta-btn-secondary, .cookie-btn {
  transition: background 0.19s, color 0.18s, box-shadow 0.14s, border 0.14s, outline 0.12s;
}
table tr:hover td, table tr:focus td {
  background: #f4faff;
}

::-webkit-scrollbar {
  width: 8px;
  background: #e5e7eb;
}
::-webkit-scrollbar-thumb {
  background: #D6D9DE;
  border-radius: 20px;
}

/* END CSS */
