/* CSS RESET & BASE STYLES */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;  background: #F9F7F4;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1a3442;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;  display: block;
  border-radius: 10px;
}

*, *:before, *:after {
  box-sizing: inherit;
}
a { color: #18516E; text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: #38A9C0; text-decoration: underline; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #17465c;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }
p, ul, ol, li {
  font-size: 1rem; color: #213848;
}
strong { color: #18516E; }

/* CONTAINER AND WRAPPER */
.container {
  width: 100%;
  max-width: 1096px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section, section {
  margin-bottom: 60px;  padding: 40px 20px;
  background: #FFFFFFCC;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(56,169,192,0.08), 0 1.5px 5px rgba(24,81,110,0.07);
}
section.cta {
  background: #Fcf5ef;
  border-radius: 32px;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px 0 rgba(222, 175, 135, 0.06);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 16px 0 rgba(56,169,192,0.06);
  border-bottom: 3px solid #fccda5;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex; flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #18516E;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f7e1cb;
  color: #2879AC;
}

/* HEADER BURGER BUTTON */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2.1rem;
  line-height: 1;
  border: 0;
  padding: 8px;
  margin-left: 16px;
  color: #18516E;
  border-radius: 50%;
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f3e9dd;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 24px 0 0 0;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 6px 20px rgba(24,81,110,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 18px 16px 0;
  background: transparent;
  border: 0;
  font-size: 2.4rem;
  color: #18516E;
  border-radius: 50%;
  padding: 4px 12px;
  cursor: pointer;
  transition: background 0.1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fbe7cb;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #18516E;
  font-size: 1.25rem;
  padding: 9px 0;
  border-radius: 6px;
  transition: background 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f4ecdf;
}

/* PRIMARY BUTTON */
.button-primary, .main-nav .button-primary, .content-wrapper .button-primary, .footer-nav .button-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-align: center;
  display: inline-block;
  background: #38A9C0;
  color: #fff !important;
  border: 0;
  border-radius: 28px;
  font-weight: 700;
  padding: 12px 32px;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: 0 2px 11px 0 rgba(56,169,192, 0.13);
  margin-top: 12px;
  transition: background 0.2s, box-shadow 0.18s, transform 0.16s;
}
.button-primary:hover, .button-primary:focus {
  background: #18516E;
  box-shadow: 0 6px 24px 0 rgba(24,81,110, 0.18);
  transform: translateY(-2px) scale(1.02);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #Fef8f2 40%, #F4F7FB 80%);
  border-radius: 40px;
  margin-bottom: 48px;
  box-shadow: 0 3px 22px 0 rgba(198,154,114,0.07);
}
.hero .content-wrapper {
  min-height: 290px;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
}
.hero h1 {
  color: #18516E;
  font-size: 2.4rem;
  line-height: 1.18;
  font-weight: 700;
}
.hero p {
  color: #33495c;
  font-size: 1.18rem;
}

/* FEATURES & GRIDS */
.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid {
  width: 100%;
}
.feature-item {
  background: #fffdfa;
  border-radius: 18px;
  padding: 24px 18px;
  box-shadow: 0 3px 18px 0 rgba(254, 195, 144, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 225px;
  min-width: 210px;
  max-width: 275px;
  transition: box-shadow 0.22s, background 0.14s;
}
.feature-item img {
  height: 44px;
  width: 44px;
  border-radius: 12px;
  background: #fff5e9;
  padding: 8px;
  box-shadow: 0 1px 6px #fbe8cb44;
}
.feature-item h3 {
  margin-top: 0;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 10px 24px #fed4a044;
  background: #faf1e2;
}

/* SERVICES PREVIEW */
.services-preview ul {
  padding-left: 21px;
  margin-bottom: 16px;
  color: #7a5134;
}
.services-preview ul li {
  margin-bottom: 8px;
  list-style-type: disc;
  font-size: 1rem;
}

/* TESTIMONIALS */
.testimonial-slider, .testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.testimonial-slider {
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fffdfa;
  border-radius: 20px;
  padding: 28px 20px;
  min-width: 285px;
  box-shadow: 0 4px 24px 0 rgba(254,195,144,0.08);
  margin-bottom: 20px;
  min-height: 140px;
  border: 1px solid #faecde;
  transition: box-shadow 0.15s, border-color 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 12px 42px 0 #f7dcb0AA;
  border-color: #fed4a0;
  background: #fff6ef;
}
.testimonial-card p {
  color: #1a3442;
  font-size: 1.14rem;
  font-style: italic;
}
.testimonial-meta {
  display: flex;
  gap: 14px;
  align-items: center;
}
.review-stars {
  color: #FEB800;
  font-size: 1.35em;
  font-weight: 900;
  text-shadow: 0 2px 4px #fff4e1;
}

/* PRICING TABLES */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  margin-bottom: 28px;
}
.pricing-table > div {
  background: #fffdfa;
  border-radius: 20px;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 3px 18px 0 #fed4a048;
  min-width: 220px;
  flex: 1 1 210px;
  max-width: 320px;
  transition: box-shadow 0.19s, background 0.11s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}
.pricing-table > div:hover, .pricing-table > div:focus-within {
  box-shadow: 0 9px 22px #fed4a044;
  background: #faf2e2;
}
.pricing-table h3 {
  color: #18516E;
  margin-bottom: 12px;
  font-size: 1.24rem;
}
.pricing-table ul {
  padding-left: 18px;
  margin-bottom: 12px;
}
.pricing-table ul li {
  margin-bottom: 5px;
  font-size: 0.98rem;
  color: #885934;
}
.pricing-table p strong { font-size: 1.2rem; color: #38A9C0; }
.pricing-table p {
  color: #17465c;
  font-size: 1rem;
}

/* TIMELINE GRAPHIC */
.timeline-graphic {
  margin-top: 32px;
  padding: 24px 10px 14px 10px;
  border-radius: 16px;
  background: #F7EBE1;
  box-shadow: 0 2px 10px #fde6d6bb;
}
.timeline-graphic h2 { margin-bottom: 10px; }
.timeline-graphic ul li {
  list-style-type: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #427476;
}

/* TEXT/IMAGE SECTION AND GRID HELPERS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* FORMS (Contact, Feedback, Cookie Settings) */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #ead0bd;
  background: #fffefa;
  transition: border-color 0.13s;
  margin-top: 6px;
}
input:focus, textarea:focus, select:focus {
  border-color: #38A9C0;
  outline: none;
}
label {
  font-weight: 600;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* FOOTER */
footer {
  background: #fffdfa;
  border-top: 2px solid #F4C693;
  padding: 32px 0 14px 0;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  color: #18516E;
  font-weight: 700;
}
.footer-brand img {
  height: 36px;
  width: auto;
  border-radius: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #38A9C0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.17s;
  text-decoration: none;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E7EDD9;
  color: #151E53;
}
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #866753;
  margin-bottom: 4px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

/* COOKIE CONSENT BANNER */
#cookie-banner, .cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #F5EDE1;
  border-top: 2.5px solid #F4C693;
  box-shadow: 0 -2px 12px 0 #dfb89455;
  z-index: 8888;
  padding: 26px 15px 18px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  animation: slideInUp 0.5s;
}
@keyframes slideInUp {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { color: #62412e; text-align: center; }
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner button,
.cookie-banner .button-primary {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 22px;
  padding: 10px 28px;
  margin: 0;
  cursor: pointer;
  background: #38A9C0;
  color: #fff;
  font-weight: 700;
  transition: background 0.16s, box-shadow 0.14s;
  box-shadow: 0 2px 8px 0 rgba(56,169,192,0.12);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #18516E;
}
.cookie-banner .button-secondary {
  background: #f6d78b;
  color: #18516E;
}
.cookie-banner .button-secondary:hover, .cookie-banner .button-secondary:focus {
  background: #fbe1a3;
}
.cookie-banner .button-link {
  background: none;
  color: #18516E;
  border: none;
  padding: 0 12px;
  font-weight: 500;
  box-shadow: none;
  text-decoration: underline;
  border-radius: 0;
}
.cookie-banner .button-link:hover, .cookie-banner .button-link:focus {
  color: #38A9C0;
  background: none;
}

/* COOKIE PREFERENCES MODAL */
#cookie-modal, .cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(76,76,75,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: modalAppear 0.36s;
}
@keyframes modalAppear {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fffdfa;
  border-radius: 28px;
  max-width: 380px;
  min-width: 250px;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 9px 36px 0 #fed4a088;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: #17465c;
}
.cookie-category input[type="checkbox"] {
  accent-color: #38A9C0;
  width: 22px; height: 22px;
}
.cookie-category .cookie-essential {
  color: #bfa459;
  font-size: 0.97rem;
  font-weight: 700;
  margin-left: 7px;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 24px; top: 16px;
  color: #18516E;
  background: none;
  border: 0;
  font-size: 2.3rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.09s;
  z-index: 10001;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fbe7cb;
}

/* TABLES, LISTS, TYPOGRAPHY */
ul, ol { margin-left: 18px; margin-bottom: 12px; }
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 8px 14px;
  border-bottom: 1.5px solid #F9EEE5;
}
thead th { background: #f3e6d6; color: #18516E; font-weight: 700; }

/* HELPER UTILITY CLASSES */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.round, .rounded, .rounded-lg { border-radius: 21px; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* TRANSITIONS & INTERACTIONS */
.button-primary, .feature-item, .pricing-table > div,
.testimonial-card, .main-nav a, .footer-nav a, .mobile-nav a,
.cookie-banner button, .cookie-modal-content {
  transition: box-shadow 0.18s, background 0.16s, color 0.15s, transform 0.13s;
}

/* MEDIA QUERIES: MOBILE-FIRST (<=768px: COLUMN, >=769px: ROW, RESPONSIVE SPACING) */
@media (max-width: 991px) {
  .container { max-width: 98vw; }
  .main-nav { gap: 12px; font-size: 0.95rem; }
}
@media (max-width: 900px) {
  .feature-grid, .pricing-table {
    gap: 16px;
    justify-content: center;
  }
  .feature-item, .pricing-table > div {
    min-width: 185px;
    max-width: 410px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 5vw;
  }
  .content-wrapper, .footer .content-wrapper {
    gap: 18px;
  }
  .section, section, .hero {
    padding: 26px 4vw;
    border-radius: 16px;
  }
  .feature-grid, .pricing-table, .testimonial-slider, .testimonial-card, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    align-items: stretch;
  }
  .feature-item, .pricing-table > div {
    max-width: 100%;
    min-width: unset;
    margin-bottom: 0;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.2rem; }
  .feature-item h3 { font-size: 1.05rem; }
  .button-primary { font-size: 1rem; padding: 11px 18px; }
  .footer-brand { font-size: 1rem; }
  .testimonial-card { padding: 18px 8px; }
  .section, section, .hero { padding: 14px 2vw; }
}

/* HIDE COOKIE BANNER AND MODAL BY DEFAULT UNTIL JS SHOWS IT */
#cookie-banner, .cookie-banner, #cookie-modal, .cookie-modal {
  display: none;
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2.8px solid #38A9C0;
  outline-offset: 3px;
}

/* CUSTOM SCROLLBAR FOR MODERN BROWSERS */
::-webkit-scrollbar {
  width: 9px; background: #F4F7FB;
}
::-webkit-scrollbar-thumb {
  background: #f8ddc5; border-radius: 6px;
}

/* END OF CSS */
