/* RESET & BASE TYPOGRAPHY ------------------------------------------------- */
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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F5F7FA;
  color: #183E63;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #183E63;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #DE743B;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
strong, b {
  font-weight: bold;
}
/* BRAND FONTS --------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&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;
  font-weight: 700;
  letter-spacing: .01em;
  color: #183E63;
  margin-bottom: 12px;
}
h1 { font-size: 2.25rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 1.5rem;  line-height: 1.3; margin-bottom: 20px; }
h3 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 8px; }
h4 { font-size: 1rem;    line-height: 1.3; }
p, li, blockquote, cite {
  font-size: 1rem;
  color: #183E63;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.subheadline {
  font-size: 1.25rem;
  color: #395678;
  margin-bottom: 32px;
  font-weight: 500;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
blockquote {
  font-style: italic;
  background: #fff9f5;
  border-radius: 16px;
  padding: 20px 28px;
  margin: 16px 0 8px 0;
  box-shadow: 0 2px 8px rgba(222, 116, 59, 0.10);
  color: #7C4621;
}
cite {
  display: block;
  font-size: .95rem;
  color: #9a540f;
  font-style: normal;
  margin-top: 8px;
}

/* SPACING & CONTAINER ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 900px) {
  .section, section {
    padding: 64px 0;
    margin-bottom: 72px;
  }
  .container {
    padding-left: 0; padding-right: 0;
  }
}
.text-section {
  margin-bottom: 24px;
}

/* HEADER & NAV -------------------------------------------------------------- */
header {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 14px 20px;
  box-shadow: 0 4px 18px 0 rgba(24,62,99, .08);
  z-index: 1002;
}
.logo img {
  height: 40px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  padding: 6px 8px;
  border-radius: 8px;
  color: #183E63;
  transition: background .18s, color .2s;
}
.main-nav a:hover, .main-nav a.active {
  background: #F5F7FA;
  color: #DE743B;
}
.cta-btn.primary {
  background: #DE743B;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 12px 32px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(222, 116, 59, 0.12);
  transition: background .19s, box-shadow .25s, transform .18s;
  margin-left: 24px;
  display: inline-block;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #183E63;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(24, 62, 99, 0.15);
  transform: translateY(-2px) scale(1.05);
}
.cta-btn {
  display: inline-block;
  background: #8ABAD3;
  color: #183E63;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-radius: 30px;
  padding: 12px 28px;
  margin-top: 8px;
  font-size: 1.06rem;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgba(138,186,211,0.09);
  transition: background .2s, color .2s, box-shadow .18s, transform .16s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #DE743B;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(222, 116, 59, 0.10);
}

/* MOBILE NAVIGATION --------------------------------------------------------- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #DE743B;
  cursor: pointer;
  margin-left: 24px;
  outline: none;
  z-index: 1101;
  display: inline-block;
}
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,62,99, 0.98);
  box-shadow: -2px 0 22px rgba(24,62,99,.21);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 32px 0 0 0;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.77,.03,.2,.92);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  padding: 10px 24px;
  margin-bottom: 26px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1102;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #DE743B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 12px;
  gap: 16px;
  width: 100%;
  padding-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 4px;
  padding: 10px 0 10px 0;
  border-radius: 10px;
  width: 100%;
  transition: background .19s, color .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DE743B;
  color: #fff;
  padding-left: 14px;
}
@media (max-width: 899px) {
  .main-nav,
  .cta-btn.primary {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
}

/* HERO SECTION ------------------------------------------------------------- */
.hero {
  background: linear-gradient(120deg, #FFF6F0 0%, #FCFAF9 50%, #F6FAFE 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 24px rgba(138,186,211,.08);
  padding-top: 40px;
  padding-bottom: 36px;
  margin-bottom: 44px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #183E63;
  margin-bottom: 12px;
}
@media (min-width: 600px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 64px;
    margin-bottom: 60px;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

/* FLEX LAYOUTS ------------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px rgba(138,186,211,.08);
  padding: 28px 26px;
  transition: box-shadow .22s, transform .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 26px rgba(222,116,59,0.13);
  transform: translateY(-2px) scale(1.015);
}
.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: 20px;
  }
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 1px 10px rgba(138,186,211,.10);
  min-width: 220px;
  flex: 1 1 240px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 1px 8px #FDD5BB25;
  background: #FFF4ED;
  padding: 5px;
}

/* TESTIMONIALS & REVIEWS --------------------------------------------------- */
.testimonials .testimonial-card, .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff7ee;
  border-radius: 20px;
  padding: 20px 34px 12px 34px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(222,116,59,0.07);
}
.testimonial-card blockquote {
  padding: 0;
  margin: 0 0 8px 0;
  background: none;
  color: #7C4621;
  font-size: 1.08rem;
}
.testimonial-card cite {
  color: #B36B31;
  font-size: .97rem;
  font-weight: 600;
  margin-top: 6px;
}
@media (min-width: 700px) {
  .testimonials .content-wrapper, .reviews .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 700px;
    margin: 0 auto;
  }
}
.testimonials h2, .reviews h2 {
  margin-bottom: 18px;
}

/* SERVICES & PRICING TABLES ------------------------------------------------ */
.service-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(138,186,211,.08);
  padding: 26px 22px;
  flex: 1 1 290px;
  min-width: 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .22s, transform .18s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 22px 0 rgba(138,186,211,0.16);
  transform: translateY(-2px) scale(1.02);
}
.service-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-price {
  color: #DE743B;
  font-weight: bold;
  font-size: 1.17rem;
  margin-bottom: 5px;
}
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-bottom: 32px;
  background: none;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 12px 16px;
  font-size: 1rem;
}
.pricing-table th {
  background: #F5F7FA;
  color: #DE743B;
  border-radius: 10px 10px 0 0;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.pricing-table td {
  background: #fff;
  color: #183E63;
  border-radius: 0 0 10px 10px;
}
.pricing-table tr {
  box-shadow: 0 2px 8px rgba(138,186,211,.09);
  border-radius: 12px;
}

/* STATS & IMPACT (REVIEWS) ------------------------------------------------- */
.stats .stat-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #fff6ee;
  border-radius: 18px;
  padding: 24px;
  margin-top: 8px;
  box-shadow: 0 1px 6px #8ABAD322;
}
.stat-block ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
.stat-block li {
  font-size: 1.08rem;
  color: #7C4621;
}
.stat-block strong {
  font-size: 1.24rem;
  color: #DE743B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* LISTS & TABLES ----------------------------------------------------------- */
.service-list li, .text-section ul li {
  background: #FFF5EB;
  margin-bottom: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 1rem;
  color: #7C4621;
  list-style-position: inside;
}
.text-section ul {
  margin-bottom: 18px;
}

/* CTA SECTION -------------------------------------------------------------- */
.cta {
  background: linear-gradient(120deg, #FFF3E1 0%, #F6FAFE 100%);
  border-radius: 32px;
  box-shadow: 0 3px 24px rgba(222,116,59,.06);
  text-align: left;
  padding: 38px 20px;
  max-width: 750px;
  margin: 0 auto 50px auto;
}
.cta h2 {
  color: #DE743B;
}
.cta p {
  color: #395678;
  font-weight: 500;
}

/* MAP BLOCK --------------------------------------------------------------- */
.map-block {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-block img {
  max-width: 400px;
  border-radius: 18px;
  box-shadow: 0 1px 8px #8ABAD322;
}

/* FOOTER ------------------------------------------------------------------- */
footer {
  background: #fff;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 12px 0 rgba(138,186,211, .09);
  margin-top: 48px;
  padding: 40px 20px 30px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-size: 1rem;
}
.footer-branding img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #183E63;
  font-size: 1.03rem;
  font-weight: 500;
  transition: color .18s;
}
.footer-nav a:hover {
  color: #DE743B;
}
.footer-contact {
  color: #395678;
  font-size: 1rem;
  max-width: 280px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 14px;
  }
  .footer-contact {
    font-size: .97rem;
  }
}

/* THANK YOU PAGE ----------------------------------------------------------- */
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}

/* COOKIE CONSENT BANNER ---------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: #fff8ec;
  box-shadow: 0 -1px 20px rgba(222,116,59,.09);
  border-radius: 32px 32px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 16px 22px 26px;
  width: 100%;
  max-width: 100vw;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .32s, transform .42s cubic-bezier(.87,0,.13,1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  color: #183E63;
  max-width: 570px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  cursor: pointer;
  background: #8ABAD3;
  color: #183E63;
  margin-right: 2px;
  box-shadow: 0 2px 8px #8ABAD31A;
  transition: background .17s, color .19s, box-shadow .16s;
}
.cookie-btn.primary {
  background: #DE743B;
  color: #fff;
  font-weight: 600;
}
.cookie-btn.deny {
  background: #fff;
  color: #183E63;
  border: 1px solid #DE743B;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #183E63;
  color: #fff;
}
.cookie-btn.deny:hover, .cookie-btn.deny:focus {
  background: #fff7ee;
  color: #DE743B;
}
.cookie-btn.settings {
  background: #F5F7FA;
  color: #183E63;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #DE743B;
  color: #fff;
}

@media (max-width: 780px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 10px 18px 12px;
  }
  .cookie-banner__actions {
    gap: 8px;
  }
}

/* COOKIE PREFERENCES MODAL ------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,62,99,.42);
  z-index: 1210;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff9f3;
  border-radius: 22px;
  box-shadow: 0 8px 36px rgba(222,116,59,.11);
  padding: 36px 32px;
  min-width: 310px;
  max-width: 96vw;
  font-size: 1rem;
  color: #183E63;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideModal .33s cubic-bezier(.85,0,.23,1);
}
@keyframes slideModal {
  0%   { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #DE743B;
  font-size: 1.33rem;
  margin-bottom: 9px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #DE743B;
  cursor: pointer;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.cookie-category-label {
  flex: 1 1 auto;
}
.cookie-category-toggle {
  appearance: none;
  width: 44px; height: 26px;
  background: #F5F7FA;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background .15s;
  cursor: pointer;
  border: 1.5px solid #8ABAD3;
}
.cookie-category-toggle:checked {
  background: #DE743B;
  border-color: #DE743B;
}
.cookie-category-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left .15s;
  box-shadow: 0 1.5px 6px #DE743B22;
}
.cookie-category-toggle:checked::before {
  left: 21px;
  background: #fff7ee;
}
.cookie-category-essential {
  font-size: 1.00rem;
  color: #183E63;
  font-weight: 600;
}
.cookie-category-toggle[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

/* SMALL ELEMENTS & UTILS --------------------------------------------------- */
::-webkit-input-placeholder { color: #B38C6D; opacity: 1; }
::-moz-placeholder { color: #B38C6D; opacity: 1; }
:-ms-input-placeholder { color: #B38C6D; opacity: 1; }
::placeholder { color: #B38C6D; opacity: 1; }

input, textarea, select {
  border-radius: 12px;
  border: 1.2px solid #8ABAD3;
  padding: 10px 14px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  outline: none;
  font-size: 1.05rem;
  background: #fff;
  margin-bottom: 12px;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #DE743B;
}
button, .cta-btn {
  outline: none;
}

@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .container { padding-left: 8px; padding-right: 8px; }
  .section, section { padding: 26px 0 !important; }
}
@media (max-width: 520px) {
  .cta-btn, .cta-btn.primary { padding: 11px 16px; font-size: 1rem; }
  .feature-item, .service-card {
    padding: 13px 10px;
    min-width: unset;
  }
}

/* INTERACTIVE TRANSITIONS -------------------------------------------------- */
:focus {
  outline: 2px dashed #DE743B;
  outline-offset: 2px;
}
button:active, a:active {
  transform: scale(.98);
}
.card:active, .service-card:active, .feature-item:active {
  transform: scale(.98);
  box-shadow: 0 1px 5px 0 #DE743B15;
}

/* ACCESSIBILITY & RESPONSIVENESS ------------------------------------------- */
@media (max-width: 600px) {
  .main-nav, .footer-nav {
    gap: 10px;
  }
  .testimonial-card, .feature-item, .service-card {
    border-radius: 15px;
    padding: 10px 9px;
  }
  .footer-contact { font-size: .95rem; }
}

/* ENSURE SPACING ----------------------------------------------------------- */
.card, .service-card, .feature-item, .testimonial-card {
  margin-right: 0;
  margin-bottom: 20px;
}
.card:last-child, .service-card:last-child, .feature-item:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}
.section, section:not(:last-child) {
  margin-bottom: 60px;
}
/* Remove margin if section is last child */
section:last-of-type {
  margin-bottom: 0 !important;
}

/* END ---------------------------------------------------------------------- */
