/* 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,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;
}
html { scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  background: #F7FAFC;
  color: #183042;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #03447D; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #E8A527; outline: none; }
ul,ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit; background: none; border: none; outline: none;
}
button { cursor: pointer; }

/* TYPE SCALE */
h1 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2rem; font-weight: 600; margin-bottom: 16px; letter-spacing: -.5px; }
h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.25rem; font-weight: 500; margin-bottom: 12px; }
h4,h5,h6 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
p,li { margin-bottom: 8px; font-size: 1rem; }
small { font-size: .96rem; color: #556580; }

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(3,68,125,0.07);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(110deg, #03447D 0%, #357DC3 50%, #E8A527 100%);
  color: #fff;
  padding: 60px 0;
  margin-bottom: 60px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 8px 40px rgba(3,68,125,0.08);
}
.hero .content-wrapper { align-items: center; }
.hero h1 { color: #fff; text-align: center; font-size: 2.5rem; }
.hero p { font-size: 1.1rem; max-width: 640px; text-align: center; margin: 0 auto 32px auto; color: #F7FAFC; }

/* FEATURE GRID & SERVICE GRID */
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  /* Force row on desktop */
}
.feature-grid li, .service-grid > div, .service-list li {
  flex: 1 1 260px; 
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(52,92,184,0.07);
  padding: 28px 20px 20px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .18s, transform .18s;
  position: relative;
}
.feature-grid li:hover, .service-grid > div:hover {
  box-shadow: 0 8px 32px rgba(3,68,125,0.16);
  transform: translateY(-5px) scale(1.025);
}
.feature-grid img, .service-grid img {
  width: 40px; height: 40px; margin-bottom: 8px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list li {
  flex: 1 1 260px;
  box-shadow: 0 2px 10px rgba(3, 68, 125, 0.04);
  border-radius: 16px;
  background: #F7FAFC;
  padding: 18px 16px;
  align-items: flex-start;
  min-width: 200px;
}
.service-title {
  font-weight: 600;
  color: #03447D;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* TESTIMONIALS */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  background: #fff;
  color: #15304B;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(3,68,125,0.12);
  min-width: 260px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px rgba(3,68,125,0.16);
  transform: translateY(-3px) scale(1.018);
}
.testimonial-card p {
  margin-bottom: 0;
  color: #2B3D4F;
  font-size: 1.05rem;
}
.testimonial-author {
  font-weight: 500;
  color: #03447D;
  font-size: 1rem;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(90deg, #03447D 10%, #357DC3 50%, #E8A527 100%);
  color: #fff;
  padding: 48px 0;
  border-radius: 26px;
  margin-bottom: 60px;
  box-shadow: 0 4px 40px rgba(3,68,125,0.10);
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta h2 { color: #fff; }
.cta p { color: #fff; }

/* BUTTONS */
.cta-button, .cta-link, .mobile-menu-close, .cookie-banner button, .cookie-modal button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg,#03447D 0%, #E8A527 100%);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 13px 32px;
  margin: 8px 8px 8px 0;
  box-shadow: 0 3px 18px rgba(234,165,39,0.09);
  transition: background .15s,box-shadow .17s,transform .16s,color .13s;
  cursor: pointer;
  text-decoration: none;
  outline: none;
}
.cta-button:hover, .cta-link:hover,
.cookie-banner button:hover, .cookie-modal button:hover {
  background: linear-gradient(90deg,#E8A527 0%, #03447D 100%);
  color: #fff;
  box-shadow: 0 7px 28px rgba(3,68,125,0.13);
  transform: translateY(-2px) scale(1.018);
}
.cta-link {
  background: #03447D;
  color: #fff !important;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 16px;
  font-weight: 500;
}
.quick-contact {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* NAV BAR */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(3,68,125,0.06);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 10;
}
header .container {
  flex-direction: row;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
header img { height: 48px; }

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin-left: 36px;
}
.main-nav a {
  color: #03447D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .05em;
  position: relative;
  padding: 6px 5px;
  border-radius: 5px;
  transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E8A527;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #03447D;
  border: none;
  padding: 8px 13px;
  border-radius: 7px;
  margin-left: 12px;
  transition: background .16s, color .15s;
  z-index: 200;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #03447D;
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(3,68,125,0.92);
  color: #fff;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 24px 22px 24px;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.9,0,.1,1);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
  background: #E8A527;
  color: #03447D;
  font-size: 1.7rem;
  padding: 8px 16px;
  align-self: flex-end;
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 18px rgba(20,20,20,0.09);
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #03447D;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 11px 8px;
  border-radius: 6px;
  transition: background .13s;
}
.mobile-nav a:hover { background: #E8A527; color: #03447D; }

/* Hide Desktop Nav, Show Mobile Menu on Small screens */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (max-width: 768px) {
  header .container {
    min-height: 54px;
    gap: 9px;
  }
}

/* FLEX LAYOUT PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(3,68,125,0.10);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* RESPONSIVE FLEX DIRECTION */
@media (max-width: 900px) {
  .feature-grid, .service-grid, .content-grid, .testimonials-slider, .service-list, .card-container {
    flex-direction: column;
  }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 34px 0; }
}
@media (max-width: 768px) {
  .section { padding: 24px 8px; }
  .cta { padding: 26px 0; }
  .container { padding: 0 5px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.22rem; }
  .text-image-section { flex-direction: column; }
}

/* ARTICLES, FAQ, MISC */
.articles-list {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 24px; margin-bottom: 20px;
}
.articles-list article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(3,68,125,0.10);
  padding: 22px 18px;
  flex: 1 1 310px;
  min-width: 250px;
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px;
  transition: box-shadow .18s, transform .18s;
}
.articles-list article:hover {
  box-shadow: 0 8px 30px rgba(3,68,125,0.16);
  transform: scale(1.016);
}

.faq-accordion {
  display: flex; flex-direction: column; gap: 16px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 9px rgba(3,68,125,0.07);
  padding: 19px 17px;
  transition: box-shadow .15s;
}
.faq-accordion > div:hover { box-shadow: 0 4px 17px rgba(3,68,125,0.10); }

.thank-you-callout {
  background: #E8A527;
  color: #15304B;
  font-weight: 500;
  padding: 16px 12px;
  border-radius: 10px;
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(3,68,125,0.07);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 15px 12px;
  text-align: left;
  font-size: 1.06rem;
}
.pricing-table thead {
  background: #E8A527;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
}
.pricing-table tbody tr {
  border-bottom: 1px solid #F7FAFC;
  transition: background .13s;
}
.pricing-table tbody tr:hover {
  background: #f3f6fa;
}
.pricing-notes {
  margin-top: 8px;
  font-size: 0.96rem;
  color: #556580;
}

/* Cookie Consent Banner */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #03447D;
  color: #fff;
  padding: 24px 12px 18px 12px;
  z-index: 3000;
  box-shadow: 0 -4px 32px rgba(3,68,125,0.14);
  font-size: 1.07rem;
  animation: cookie-slide-in 0.55s cubic-bezier(.7,0,.2,1);
}
@keyframes cookie-slide-in {
  0% {transform: translateY(120%); opacity: 0;}
  88% {opacity:1;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 9px;
}
.cookie-banner button {
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: #E8A527;
  color: #03447D;
  transition: background .13s, color .13s;
}
.cookie-banner a {
  color: white !important;
}
.cookie-banner button.cookie-settings {
  background: #F7FAFC;
  color: #03447D !important;
  border: 1px solid #03447D;
}
.cookie-banner button:hover { background: #03447D; color: #fff !important; }

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,23,45,.70);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in .23s;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #183042;
  border-radius: 18px;
  max-width: 420px;
  width: 98%;
  padding: 30px 26px 24px 26px;
  box-shadow: 0 6px 40px rgba(3,68,125,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 { color: #03447D; font-size: 1.3rem; margin-bottom: 10px; }
.cookie-modal .cookie-option {
  margin-bottom: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-size: 1rem;
  cursor: pointer;
  color: #2B3D4F;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #E8A527;
  width: 18px; height: 18px;
  margin-right: 3px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  color: #03447D;
  font-size: 1.6rem;
  border: none;
  padding: 2px 7px;
  border-radius: 5px;
}
.cookie-modal .modal-close:hover { background: #03447D; color: #fff; }

/* FOOTER */
footer {
  background: linear-gradient(98deg, #03447D 50%, #4A90E2 100%);
  color: #fff;
  padding: 38px 0 22px 0;
  margin-top: 54px;
}
footer .container {
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 13px;
  font-size: 1.03rem;
  margin-bottom: 11px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: .93;
  transition: opacity .12s, border-bottom .12s;
}
.footer-nav a:hover { border-bottom: 2px solid #E8A527; opacity: 1; }
.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1.03rem;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
.footer-contact img { width: 16px; height: 16px; vertical-align: middle; margin-right: 2px; }
.footer-contact a {
  color: #E8A527;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-hours {
  font-size: .97rem;
  opacity: .88;
  margin-bottom: 5px;
}
.footer-brand {
  font-size: .89rem;
  color: #CDE6FF;
  margin-top: 5px;
  opacity: .87;
}
@media (max-width: 700px) {
  .footer-nav, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

/* MISC */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #F7FAFC;
  padding: 18px 16px;
  border-radius: 13px;
  box-shadow: 0 1px 9px rgba(3,68,125,0.08);
  margin-bottom: 10px;
}
.location-map {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* GUARANTEES, PROCESS STEPS */
.process-steps ol {
  display: flex; flex-direction: column; gap: 10px;
  margin-left: 18px;
}
.guarantees ul {
  display: flex; flex-direction: column; gap: 8px;
  margin-left: 16px;
}

.detailed-service-list {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px;
}

/* FORM ELEMENTS */
input, textarea, select {
  background: #fff;
  border: 1px solid #03447D;
  border-radius: 9px;
  padding: 13px 10px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  border-color: #E8A527;
  outline: 2px solid #E8A527;
}

/* Utility Gaps */
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-30 { gap: 30px !important; }
.margin-bottom-20 { margin-bottom: 20px !important; }
.margin-bottom-32 { margin-bottom: 32px !important; }

/* MEDIA QUERIES FOR FLEX DIRECTION */
@media (max-width: 1020px) {
  .articles-list { flex-direction: column; }
}

/* Hide cookie banner/modal by default */
.cookie-banner, .cookie-modal-overlay { display: none; }

body.cookie-show .cookie-banner { display: flex; }
body.cookie-modal-open .cookie-modal-overlay { display: flex; }

/* Hide mobile menu by default via .mobile-menu (in main.js, toggle .open) */
/* The rest is handled by .open modifier above */

/* END */
