/* 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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FAFBFC;
  color: #25324B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
ol,ul {
  list-style: none;
}
a {
  background: transparent;
  color: #1A4966;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F7B338;
  text-decoration: underline;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
}
*:focus {
  outline: #A9D7F7 auto 3px;
  outline-offset: 1px;
}

/* VARIABLES (with basic fallback) */
:root {
  --color-primary: #1A4966;
  --color-secondary: #E0E6ED;
  --color-accent: #F7B338;
  --color-pastel1: #F6DFE3;
  --color-pastel2: #E8F0F9;
  --color-pastel3: #F3F9DA;
  --color-pastel4: #E8F3ED;
  --color-pastel5: #FDF2D7;
  --color-link: #1A4966;
  --color-text: #25324B;
  --color-muted: #A7AABD;
  --color-white: #FFF;
}

/* CONTAINER & LAYOUTS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features-grid, .category-list, .team-list, .steps-list, .testimonial-grid, .faq-accordion, .footer-content,
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid, .features-grid {
  justify-content: space-between;
}
.text-image-section, .contact-details {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* HEADINGS & TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #365872;
  font-weight: 500;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  color: #547498;
  font-weight: 500;
}
p, ul, li, address, label, input, th, td {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}
.lead {
  font-size: 1.2rem;
  color: #365872;
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}

/* BUTTONS & CTA */
.cta, button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  background: var(--color-accent);
  color: #1A4966;
  box-shadow: 0 2px 12px rgba(221,182,232,0.10), 0 1.5px 10px rgba(234,213,179,0.07);
  transition: background .18s, color .18s, box-shadow .18s, transform .12s;
  margin: 4px 0 0 0;
  display: inline-block;
  text-align: center;  
}
.cta.primary {
  background-color: var(--color-accent);
  color: #1A4966;
}
.cta.secondary {
  background-color: var(--color-primary);
  color: #FFF;
}
.cta:active,
.cta:focus {
  transform: translateY(1px) scale(0.99);
  outline: 2px solid var(--color-primary);
}
.cta:hover {
  background-color: #FFD06B;
  color: #183E5C;
  box-shadow: 0 4px 24px rgba(221,182,232,0.17);
}
button,
.mobile-menu-toggle {
  background: var(--color-primary);
  color: #FFF;
  border: none;
  padding: 12px 18px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .1s;
}
.mobile-menu-toggle:hover,
.mobile-menu-close:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* HEADER & MAIN NAVIGATION */
header {
  background: linear-gradient(90deg, #FAFBFC 60%, #E8F0F9 100%);
  box-shadow: 0 2px 12px rgba(106,157,209,0.07);
}
.logo {
  display: flex;
  align-items: center;
  padding: 6px 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1A4966;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .14s, color .14s;
}
.main-nav a.cta {
  margin-left: 14px;
  margin-right: 0;
  font-size: 1.02rem;
  padding: 8px 20px;
  background: var(--color-accent);
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--color-pastel2);
  color: #375D7A;
}

.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(245,246,250,0.99);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.61,.2,.53,.98);
  box-shadow: -2px 0 24px 3px rgba(67,133,185,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(220,200,150,0.12);
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 90px;
  margin-left: 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #1A4966;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 0;
  border-radius: 10px;
  transition: background .13s, color .13s;
}
.mobile-nav a:hover {
  background: var(--color-pastel3);
  color: var(--color-accent);
}

/* MOBILE RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  .main-nav {
    gap: 10px;
    font-size: 0.99rem;
  }
  .footer-menu {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .features-grid,
  .testimonial-grid,
  .footer-content,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .text-image-section, .contact-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    background: var(--color-primary);
    color: #FFF;
    border: none;
    width: 48px; height: 48px;
    align-items: center; justify-content: center;
    font-size: 2rem;
    cursor: pointer;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    gap: 12px;
  }
  .features-grid,
  .testimonial-grid,
  .footer-content,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section, .contact-details {
    flex-direction: column;
    gap: 10px;
  }
  section {
    padding: 30px 0 30px 0;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .cta, button, .mobile-menu-toggle {
    font-size: 0.99rem;
    padding: 10px 15px;
  }
}

/* CARDS, FEATURES, TESTIMONIALS */
.card-container, .team-list, .features-grid, .testimonial-grid, .content-grid {
  gap: 24px;
}
.card, .feature {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(191,194,241,0.11), 0 1.5px 10px rgba(161,216,193,0.09);
  padding: 24px 22px;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 212px;
  flex: 1 1 230px;
  transition: box-shadow .17s, transform .13s;
}
.card:hover, .feature:hover {
  box-shadow: 0 4px 32px rgba(181,182,201,0.16);
  transform: translateY(-2px) scale(1.015);
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}

/* TESTIMONIALS */
.testimonial-grid {
  gap: 24px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-pastel2);
  color: #27334D;
  border-radius: 18px;
  box-shadow: 0 2.5px 14px 1px rgba(156,184,236,0.15);
  padding: 24px 28px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 420px;
  flex: 1 1 220px;
  font-size: 1.03rem;
  transition: box-shadow .16s, transform .13s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px rgba(153,183,234,0.16);
  transform: translateY(-3px) scale(1.019);
}
.testimonial-card h4 {
  font-size: 1.04rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 10px;
}

/* PRICING TABLES */
.pricing-table {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  background: var(--color-pastel3);
  box-shadow: 0 2px 12px rgba(205,234,192,0.07);
  padding: 24px 0 10px 0;
  margin-bottom: 18px;
}
.pricing-table table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #E7E7EA;
  font-size: 1rem;
}
.pricing-table th {
  background: var(--color-pastel1);
  border-radius: 10px 10px 0 0;
  color: #1A4966;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-notes ul {
  margin-top: 16px;
  color: #70788B;
  font-size: 0.97rem;
  list-style: disc inside;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #F6DFE3 20%, #E0E6ED 100%);
  padding: 0;
  margin: 0;
  border-top: 1px solid #E0E6ED;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  padding: 36px 0 18px 0;
}
.company-info, .footer-menu, .footer-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.company-info img {
  width: 60px;
  margin-bottom: 9px;
}
address {
  font-style: normal;
  color: #547498;
  font-size: 0.98rem;
  margin-bottom: 1px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: #1A4966;
  font-size: 0.99rem;
  padding: 4px 0;
}
.footer-menu a:hover {
  color: var(--color-accent);
}
.footer-socials {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.footer-socials img {
  height: 28px;
  width: 28px;
  border-radius: 6px;
  background: #F7F6F9;
  transition: box-shadow .13s;
}
.footer-socials img:hover {
  box-shadow: 0 3px 10px rgba(243,196,211,0.15);
  transform: scale(1.07);
}
.copyright {
  font-size: 0.93rem;
  color: #63728B;
  padding: 12px 0 24px 0;
  text-align: center;
  background: none;
}

@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* FAQ ACCORDION */
.faq-accordion {
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--color-pastel4);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(180,242,211,0.05);
  padding: 18px 24px;
  margin-bottom: 8px;
  transition: box-shadow .14s;
}
.faq-item h2 {
  font-size: 1.15rem;
  margin-bottom: 7px;
  color: #2B5466;
}
.faq-item p {
  color: #27334D;
  font-size: 1rem;
}
.faq-search {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-search input {
  border: 1px solid #CDD8E7;
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 13px;
  background: #F7F9FD;
  transition: border-color .13s;
}
.faq-search input:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* FORMS AND INPUTS */
input, select, textarea {
  border: 1px solid #C7D2E3;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  background: #F8FBFF;
  transition: border-color .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  outline: none;
}
label {
  font-weight: 500;
  color: #365872;
  margin-bottom: 4px;
  display: block;
}

/* SPECIAL SECTIONS */
.cta-section {
  align-items: center !important;
  text-align: center;
  gap: 18px;
  margin-bottom: 0;
}
.thank-you-section {
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 50px 0;
}
.contact-teaser,
.faq-teaser {
  background: var(--color-pastel1);
  border-radius: 18px;
  padding: 32px 28px;
  margin-bottom: 16px;
  align-items: center;
  text-align: center;
}
.contact-details {
  gap: 36px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #232E45;
  margin-bottom: 6px;
}
.contact-details img {
  height: 20px;
  width: 20px;
}
.map-placeholder {
  background: var(--color-pastel2);
  border-radius: 11px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #527687;
}

/* LISTS */
ul {
  padding-left: 22px;
}
li {
  margin-bottom: 8px;
  position: relative;
}
li strong {
  color: var(--color-primary);
}

/* SECTION SPACING OVERRIDES */
.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;
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: linear-gradient(90deg, #E8F0F9 80%, #F6DFE3 100%);
  color: #232E45;
  box-shadow: 0 0 18px 0 rgba(120,123,150,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 10px 22px 10px;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.55,.05,.37,.9), opacity .17s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-banner__text {
  max-width: 570px;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn, .cookie-settings-btn {
  background: var(--color-primary);
  color: #FFF;
  border: none;
  border-radius: 20px;
  padding: 10px 21px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background .14s, color .13s;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #D07C7C;
  color: #FFF;
}
.cookie-btn.reject:hover {
  background: #B14747;
  color: #FFF;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;right:0;bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(60,90,120,0.22);
  z-index: 11999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s cubic-bezier(.7,.11,.2,.98);
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FCFEFE;
  box-shadow: 0 4px 32px rgba(108,127,195,0.17);
  border-radius: 22px;
  max-width: 410px;
  width: 93vw;
  padding: 32px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 12000;
  animation: modalSlideIn .26s cubic-bezier(.55,.03,.21,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(90px) scale(.93); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.26rem;
  text-align: left;
  font-weight: 600;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-pastel2);
  border-radius: 10px;
  padding: 13px 16px;
}
.cookie-toggle-switch {
  position: relative;
  width: 44px; height: 24px;
  display: inline-block;
}
.cookie-toggle-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-toggle-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #D7E9FB;
  border-radius: 20px;
  transition: background .19s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  background: var(--color-accent);
}
.cookie-toggle-slider::before {
  position: absolute; content: '';
  height: 19px; width: 19px;
  left: 3px; bottom: 2.5px;
  background: #FFF;
  border-radius: 50%;
  transition: transform .16s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}
.cookie-category .cookie-desc {
  color: #476684;
  font-size: 0.98rem;
}
.cookie-modal-actions {
  margin-top: 6px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 18px;
  background: transparent;
  color: var(--color-primary);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 3px 7px;
  transition: color .13s;
}
.cookie-modal-close:hover { color: var(--color-accent); }
.cookie-category.essential .cookie-toggle-switch,
.cookie-category.essential .cookie-category-label { opacity: 0.5; pointer-events: none; }
.cookie-category.essential .cookie-desc { font-style: italic; font-size: 0.97rem; }

@media (max-width:460px) {
  .cookie-modal {
    padding: 22px 6vw 20px 6vw;
  }
  .cookie-modal h2 {
    font-size: 1.05rem;
  }
}

/* VISUAL EFFECTS (Shadows, Dreamy Pastel Touches) */
section {
  background: linear-gradient(90deg, #FAFBFC 90%, #E8F0F9 100%);
}
section:nth-of-type(odd) {
  background: linear-gradient(90deg, #E8F0F9 90%, #FAFBFC 100%);
}
.cta-section, .thank-you-section, .contact-teaser {
  background: linear-gradient(100deg,#E8F0F9 80%,#F6DFE3 100%);
  border-radius: 30px;
  box-shadow: 0 8px 20px 0 rgba(182,206,229,0.12);
  margin-bottom: 0px;
}
.card, .feature, .testimonial-card {
  background: linear-gradient(110deg, #FFF 80%, #F6DFE3 100%);
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta, button, .card, .feature, .testimonial-card, .faq-item, .mobile-menu, .mobile-menu-toggle {
  transition: box-shadow .16s, transform .1s, background .11s, color .11s;
}
.cta:active, button:active, .card:active, .feature:active, .testimonial-card:active, .faq-item:active {
  transform: scale(.98) translateY(1px);
}

/* ACCESSIBILITY: High Contrast for Testimonials */
.testimonial-card p, .testimonial-card h4 {
  color: #232E45;
}
.testimonial-card {
  background: #FAFAFE;
  border: 2px solid #E0E6ED;
}

/* PRINT OVERRIDES */
@media print {
  header, nav, .mobile-menu, .mobile-menu-toggle, .cta, footer, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  section, .container {
    box-shadow: none !important;
    background: #FFF !important;
  }
  body { color: #000; }
}
