/* CSS 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, 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;
}

/* Set base box-sizing */
*, *::before, *::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #25344A;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

a {
  color: #25344A;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}

a:hover, a:focus {
  color: #F5B700;
}

strong {
  font-weight: 700;
}

/* FONT IMPORTS (Montserrat and Roboto via Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;700&display=swap');


/***********************
  LAYOUT & CONTAINERS
***********************/
.container {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}


/***********************
  TYPOGRAPHY
***********************/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 20px;
  color: #25344A;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.25rem;
  color: #25344A;
  font-weight: 600;
  margin-bottom: 24px;
}

p, li, table, ul {
  font-family: 'Roboto', Arial, sans-serif;
  color: #25344A;
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 400;
}

ul, ol {
  padding-left: 20px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}

small {
  font-size: 0.93rem;
  color: #888;
}

/***********************
  HEADER & NAVIGATION
***********************/
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(37,52,74,0.08);
  z-index: 20;
  position: relative;
  min-height: 76px;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 0;
  height: 76px;
}
header img {
  height: 44px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  color: #25344A;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F5B700;
  border-bottom: 3px solid #F5B700;
  background: #FFFDF6;
  border-radius: 4px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: #F5B700;
  color: #25344A;
  padding: 12px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(245,183,0,0.10);
  transition: background 0.2s, color 0.2s, transform 0.13s;
  letter-spacing: 0.05em;
  margin-left: 20px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #25344A;
  color: #F5B700;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px 0 rgba(37,52,74,0.16);
}

/***********************
  MOBILE MENU
***********************/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #25344A;
  cursor: pointer;
  z-index: 108;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #F5B700;
  outline: 2px solid #F5B700;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #fff;
  z-index: 110;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.4,1.4,.32,1);
  box-shadow: 0 4px 48px 0 rgba(37,52,74,0.19);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 20px;
  background: none;
  border: none;
  color: #25344A;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  color: #F5B700;
  outline: 2px solid #F5B700;
}

.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #25344A;
  transition: color 0.18s;
  padding: 8px 0;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F5B700;
  background: #FFFDF6;
}

@media (max-width: 1024px) {
  header .main-nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/***********************
  HERO/BOLD SECTIONS
***********************/
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/***********************
  FEATURE GRID (only flex)
***********************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(37,52,74,0.08);
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 270px;
  max-width: 350px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.18s;
  border: 2.5px solid #F5B70011;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25344A;
  font-weight: 700;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 30px 0 rgba(37,52,74,0.13);
  transform: translateY(-6px) scale(1.03);
  border: 2.5px solid #F5B700;
}

/***********************
  TESTIMONIALS
***********************/
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background: #FFFDF6;
  border-left: 7px solid #F5B700;
  border-radius: 17px;
  padding: 22px 32px;
  box-shadow: 0 2px 14px 0 rgba(37,52,74,0.11);
  margin-bottom: 26px;
  font-size: 1.08rem;
  position: relative;
  color: #25344A;
}
.testimonial-card strong {
  color: #25344A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.testimonial-card p {
  flex: 1 1 0;
  margin-bottom: 0;
  color: #25344A;
  font-size: 1.07rem;
  font-weight: 500;
}
.testimonial-card > div {
  min-width: 160px;
  font-size: 1rem;
}

/***********************
  PROJECT DESCRIPTION CARDS (references.html)
***********************/
.project-description {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(37,52,74,0.09);
  padding: 20px 24px 18px 24px;
  margin-bottom: 24px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-description h3 {
  color: #F5B700;
  font-size: 1.17rem;
}
.project-description strong {
  color: #25344A;
  font-weight: 800;
}

/***********************
  CONTACT INFO HIGHLIGHT
***********************/
.contact-info-highlight {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  background: #F5B70015;
  border-radius: 12px;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #25344A;
  flex-wrap: wrap;
}
.contact-info-highlight img {
  width: 28px;
  height: 28px;
}

/***********************
  TABLES (pricing.html)
***********************/
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  background: #FFFDF6;
  box-shadow: 0 2px 8px 0 rgba(37,52,74,0.07);
  border-radius: 12px;
  overflow: hidden;
}
table th, table td {
  padding: 17px 14px;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
}
table th {
  background: #25344A;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #F5B700;
}
table tr {
  border-bottom: 1px solid #ddd;
}
table td {
  color: #25344A;
  font-size: 1rem;
}
table tr:hover {
  background: #FFF9E2;
}

/***********************
  SERVICE PACKAGES (pricing.html)
***********************/
.service-packages {
  margin-bottom: 22px;
  background: #FFFDF6;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 7px 0 rgba(37,52,74,0.10);
}
.service-packages h3 {
  margin-top: 0;
}

/***********************
  FOOTER
***********************/
footer {
  background: #25344A;
  color: #fff;
  padding: 40px 0 10px 0;
  border-top: 5px solid #F5B700;
  box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.10);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-nav a, .footer-legal a {
  color: #F5B700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 5px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 4px;
}
.footer-copy {
  font-size: 0.95rem;
  color: #DDD;
}

/***********************
  MISCELLANEOUS FLEX CLASSES
***********************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 11px 0 rgba(37,52,74,0.13);
  border-radius: 14px;
  padding: 24px 18px;
  transition: box-shadow 0.17s, transform 0.14s;
  min-width: 240px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 29px 0 rgba(37,52,74,0.17);
  transform: translateY(-3px) scale(1.01);
}
.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;
}

/***********************
  RESPONSIVENESS – mobile first
***********************/
@media (max-width: 1024px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 0 8px;
    height: 62px;
  }
  section, .section {
    padding: 32px 2vw;
    margin-bottom: 38px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.36rem;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
    padding: 20px 12px;
  }
  .project-description {
    padding: 12px 10px 10px 14px;
  }
  .contact-info-highlight {
    flex-direction: column;
    gap: 8px;
    font-size: 1.012rem;
    padding: 10px 8px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer-nav, .footer-legal {
    gap: 13px;
    flex-direction: column;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/***********************
  COOKIE CONSENT BANNER
***********************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #25344A;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 28px 0 rgba(37,52,74,0.12);
  padding: 28px 18px;
  z-index: 1200;
  border-top: 4px solid #F5B700;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.35s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner__text {
  font-size: 1.09rem;
  max-width: 650px;
  margin-right: 32px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 99px;
  background: #F5B700;
  color: #25344A;
  border: none;
  box-shadow: 0 1px 5px 0 rgba(245,183,0,0.08);
  cursor: pointer;
  margin-right: 0;
  transition: background 0.2s, color 0.2s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #25344A;
  color: #F5B700;
  outline: none;
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn--secondary {
  background: #fff;
  color: #25344A;
  border: 1.7px solid #F5B700;
  box-shadow: none;
}
.cookie-btn--secondary:hover, .cookie-btn--secondary:focus {
  background: #F5B700;
  color: #25344A;
  border: 1.7px solid #25344A;
}

/***********************
  COOKIE MODAL OVERLAY
***********************/
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(37,52,74,0.67);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.27s;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 34px 0 rgba(37,52,74,0.23);
  max-width: 430px;
  width: 91vw;
  padding: 38px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  color: #25344A;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal__close {
  position: absolute;
  right: 22px;
  top: 15px;
  background: none;
  border: none;
  font-size: 1.95rem;
  color: #25344A;
  cursor: pointer;
  z-index: 1310;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #F5B700;
  outline: none;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: #25344A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.cookie-modal__category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-toggle {
  width: 48px;
  height: 26px;
  background: #ddd;
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  appearance: none;
  transition: background 0.2s;
  outline: none;
}
.cookie-toggle:checked {
  background: #F5B700;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-toggle:checked:before {
  left: 24px;
}

/***********************
  FAQ (pricing.html)
***********************/
ul.faq {
  list-style: none;
  padding-left: 0;
}
ul.faq li {
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F5B70022;
}

/***********************
  USPS/GUARANTEES (services.html)
***********************/
.usps-guarantees {
  background: #25344A;
  color: #fff;
  padding: 22px 20px;
  border-radius: 10px;
  margin-top: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px 0 rgba(37,52,74,0.13);
  font-size: 1.08rem;
}

/***********************
  GENERAL TRANSITIONS/MICRO-INTERACTIONS
***********************/
button, .cta-btn, .cookie-btn, .cookie-btn--secondary, .mobile-menu-toggle, .mobile-menu-close {
  transition: color 0.2s, background 0.2s, transform 0.13s;
}

/***********************
  NO GRID ENFORCEMENT
***********************/
/* display: grid; grid-*; AVOIDED EVERYWHERE. Only flex is used. */

/***********************
  MISC
***********************/
.text-section {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/***********************
  Z-INDEX PRECAUTIONS
***********************/
.mobile-menu,
.cookie-modal-overlay,
.cookie-banner {
  z-index: 2000;
}

/***********************
  PRINT STYLES
***********************/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
}
