/* === CSS 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, 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 {
  font-size: 16px;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #232323;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A3151;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.4,.2,.6,1);
}
a:hover, a:focus {
  color: #000;
  text-decoration: underline;
}
strong {
  font-weight: 700;
}

/* === BRAND FONTS === */
h1, h2, h3, h4, h5, h6, .cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; color: #111; letter-spacing: -1px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 20px; color: #181818; letter-spacing: -0.5px; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; color: #232323; }
h4 { font-size: 1.2rem; font-weight: 600; color: #232323; }
.subheadline {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 18px;
  font-weight: 400;
}
p, ul, ol, li { font-size: 1rem; color: #232323; }

/* === CONTAINER STYLES === */
.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.main-nav, .footer-nav, .footer-contact, .footer-logo {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

/* === HEADER === */
header {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: 72px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  gap: 28px;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #181818;
  letter-spacing: 0.01em;
  position: relative;
  transition: color .2s cubic-bezier(.4,.2,.6,1);
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #1A3151;
  transition: width .2s cubic-bezier(.4,.2,.6,1);
  margin: 3px auto 0 auto;
}
.main-nav a:hover, .main-nav a:focus {
  color: #111;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 60%;
}

.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 11px 28px;
  border: none;
  border-radius: 28px;
  background: #1A3151;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(30,30,30,0.08);
  cursor: pointer;
  transition: background .22s cubic-bezier(.4,.2,.6,1), color .22s, box-shadow .22s;
  margin-left: 25px;
  letter-spacing: 0.03em;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #111;
  color: #F4D8B4;
  box-shadow: 0 4px 16px rgba(34,34,36,0.17);
}

button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: #181818;
  background: none;
  border: none;
  width: 46px;
  height: 46px;
  margin-left: 15px;
  transition: color .18s;
  z-index: 202;
}
.mobile-menu-toggle:hover {
  color: #1A3151;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,17,17,0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.8,.2,.8,1), visibility .36s;
  z-index: 2500;
  visibility: hidden;
  opacity: 1;
  padding: 0 40px 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  margin-top: 24px;
  margin-left: 16px;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  z-index: 2530;
  transition: color .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F4D8B4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-top: 54px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  border-radius: 6px;
  transition: color .19s, background .19s, padding-left .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F4D8B4;
  background: rgba(255,255,255,0.08);
  padding-left: 8px;
}

/* Hide nav and show burger on mobile */
@media (max-width: 1050px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1051px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* === SECTIONS & SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 14px 0 rgba(32,32,32,0.03);
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section,
.policy-text,
.brand-story,
.team-highlight,
.success-metric,
.map-info {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 1rem;
}
.text-section ul,
.policy-text ul,
.brand-story ul,
.team-highlight ul {
  list-style: disc inside;
  padding-left: 24px;
  margin-top: 10px; margin-bottom: 10px;
  color: #464646;
}
.text-section li,
.policy-text li {
  margin-bottom: 8px;
}

/* === FLEX UTILITIES === */
.card-container, .features-grid, .services-grid, .benefit-grid, .feature-list, .footer-contact, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  background: #fcfcfc;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(25,30,44,0.07);
  padding: 28px 22px;
  min-width: 220px;
}
.card:last-child {
  margin-bottom: 0;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: 20px;
  background: #fafafa;
  border: 1px solid #e2e2e2;
  border-radius: 15px;
  padding: 20px 28px 22px 28px;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px 0 rgba(51,51,61,0.06);
  transition: box-shadow .18s, border .18s;
}
.testimonial-card .author {
  font-size: 0.96rem;
  color: #1A3151;
  font-weight: 600;
  margin-top: 1px;
  margin-bottom: 2px;
}
.testimonial-card .stars {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #111;
  letter-spacing: 2px;
  margin-top: 0px;
  margin-bottom: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(35,40,55,0.10);
  border: 1px solid #1A3151;
}
.benefit-grid, .features-grid, .services-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.benefit-grid > div, .features-grid > div, .services-grid > div {
  background: #fcfcfc;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(26,49,81,0.04);
  padding: 23px 18px 20px 19px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1px solid #e8e8e8;
  transition: box-shadow .18s, border .18s, background .18s;
}
.benefit-grid > div:hover, .features-grid > div:hover, .services-grid > div:hover {
  box-shadow: 0 4px 20px 0 rgba(26,49,81,0.08);  background: #f8f8f8;  border-color: #1A3151;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 8px;
  margin-bottom: 15px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-list, .steps-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 12px;
}
.success-metric {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 4px;
  font-size: 1rem;
  color: #1A3151;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* === FAQ ACCORDION === */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-top: 18px;
}
.faq-accordion h3 {
  font-size: 1.1rem;
  color: #1A3151;
  font-weight: 600;
}
.faq-accordion p {
  color: #363636;
  margin-left: 0.5em;
  margin-top: 3px;
  margin-bottom: 3px;
}

/* === TABLES === */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin-bottom: 25px;
}
.pricing-table th, .pricing-table td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
}
.pricing-table th {
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #f5f5f5;
  color: #222;
}
.pricing-table tr:nth-child(even) td { background: #fbfbfb; }
.pricing-table tr:last-child td { border-bottom: none; }

/* === FOOTER === */
footer {
  background: #1A3151;
  color: #fff;
  padding: 38px 0 14px 0;
}
.footer-logo img {
  height: 38px;
}
.footer-nav {
  gap: 22px;
  margin-top: 11px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color .19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F4D8B4;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.footer-contact > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f3f3f3;
  font-size: 0.98rem;
}
.footer-contact a {
  color: #F4D8B4;
  text-decoration: none;
  font-weight: 500;
}
.footer-contact a:hover, .footer-contact a:focus {
  text-decoration: underline;
}

/* === COOKIES BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(35,35,35,0.98);
  color: #fff;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  box-shadow: 0 -3px 18px 0 rgba(20,20,20,0.09);
  padding: 22px 14px 22px 14px;
  gap: 18px;
  opacity: 1; transition: opacity .4s cubic-bezier(.7,.3,.7,1);
}
.cookie-banner.hide {
  opacity: 0; pointer-events: none; transition: opacity .45s;
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.cookie-btn {
  background: #F4D8B4;
  color: #181818;
  border: none;
  border-radius: 23px;
  padding: 10px 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 2px 8px 0 rgba(40,40,30,0.10);
}
.cookie-btn.secondary {
  background: #181818;
  color: #fff;
  border: 1px solid #f4d8b4;
}
.cookie-btn.settings {
  background: #fff;
  color: #1A3151;
  border: 1px solid #1A3151;
  margin-left: 6px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #4B7A64;
  color: #fff;
}
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(17, 17, 17, 0.89);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3200;
  opacity: 0; visibility: hidden;
  transition: opacity .39s cubic-bezier(.7,.3,.7,1), visibility .01s linear .31s;
}
.cookie-modal.open {
  opacity: 1; visibility: visible; transition: opacity .39s cubic-bezier(.7,.3,.7,1), visibility .01s linear 0s;
}
.cookie-modal-content {
  background: #fff;
  color: #181818;
  border-radius: 14px;
  padding: 36px 24px 28px 24px;
  box-shadow: 0 4px 30px 0 rgba(31,36,37,0.12);
  min-width: 310px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;
  font-size: 2rem;
  color: #4B7A64;
  border: none;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close:hover {
  color: #1A3151;
}
.cookie-categories {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3151;
}
.cookie-toggle {
  width: 40px; height: 22px;
  background: #e8e8e8;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background .17s;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #1A3151;
  border-radius: 50%;
  transition: left .17s;
}
.cookie-toggle input:checked + .cookie-toggle:before {
  left: 21px;
  background: #4B7A64;
}
.cookie-category.essential label { color: #232323; font-weight: 600; }
.cookie-category.essential .cookie-toggle { opacity: 0.5; pointer-events: none; }

/* === FORMS === */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 9px;
  padding: 10px 14px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  color: #111;
}
input:focus, textarea:focus, select:focus {
  border-color: #1A3151;
  background: #f9f9f9;
}

/* === MEDIA QUERIES / RESPONSIVE === */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  section, .section {
    padding: 30px 5px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .main-nav, .footer-nav {
    gap: 13px;
  }
  .benefit-grid > div, .features-grid > div, .services-grid > div {
    max-width: 100%;
    min-width: 150px;
    flex: 1 1 140px;
    padding: 15px 8px 15px 9px;
  }
  .testimonial-card {
    padding: 17px 11px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  section, .section {
    padding: 17px 3px;
    margin-bottom: 25px;
  }
  .footer-logo img { height: 32px; }
  .main-nav, .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  .content-wrapper {
    gap: 10px;
  }
  .card-container, .content-grid, .features-grid, .services-grid, .benefit-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 11px 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .footer-contact {
    gap: 11px;
  }
}
@media (max-width: 420px) {
  h1 { font-size: 1.14rem; }
  .footer-logo img { height: 24px; }
  .cookie-modal-content { padding: 16px 5px 14px 7px; }
}

/* === MICRO-INTERACTIONS === */
.cta-button, .cookie-btn {
  transition: background .2s, color .2s, box-shadow .2s, transform .18s cubic-bezier(.45,.2,.7,1.2);
}
.cta-button:hover, .cta-button:focus,
.cookie-btn:hover, .cookie-btn:focus {
  transform: translateY(-1.5px) scale(1.035);
}
.benefit-grid > div, .features-grid > div, .services-grid > div, .card, .testimonial-card {
  transition: box-shadow .18s, border .18s, transform .17s;
}
.benefit-grid > div:hover, .features-grid > div:hover, .services-grid > div:hover, .card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 7px 24px 0 rgba(26,49,81,0.13);
}

/* === ICONS === */
.features-grid img, .services-grid img, .benefit-grid img, .feature-list img, .footer-contact img, .testimonial-card img, .contact-details img, .map-info img {
  width: 28px;
  height: 28px;
  margin-right: 7px;
  opacity: 0.93;
  vertical-align: middle;
}
.footer-contact img { width: 22px; height: 22px; }

/* === POLICY & LEGAL PAGES === */
.policy-text h2 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #232323; margin-top: 22px;
}
.policy-text ul {
  padding-left: 14px;
  margin: 10px 0;
}

/* === THANK YOU PAGE === */
.text-section a.cta-button {
  margin-top: 17px;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #dedede;
  border-radius: 4px;
}
::-webkit-scrollbar-track {
  background: #fafafa;
}

/* === ACCESSIBILITY FOCUS === */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus {
  outline: 2px solid #1A3151;
  outline-offset: 2px;
}

/* === ADDITIONAL UTILITIES === */
.hidden { display: none !important; }

/* === END OF CSS === */
