/* 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;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f5f7fa;
  color: #1a2537;
}
ul, ol {
  list-style: none;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, textarea, select {
  font: inherit;
  outline: none;
  background: none;
  border: none;
  padding: 0;
}
/* END RESET */

/* BRAND VARIABLES */
:root {
  --color-primary: #27496D;
  --color-secondary: #F9A826;
  --color-accent: #EFEFEF;
  --color-bg-body: #f5f7fa;
  --color-bg-card: #fff;
  --color-text-main: #1a2537;
  --color-text-subtle: #47526e;
  --gradient-main: linear-gradient(90deg, #27496D 0%, #2064a0 100%);
  --gradient-secondary: linear-gradient(90deg, #F9A826 0%, #ffd265 100%);
  --shadow-card: 0 4px 24px rgba(39,73,109,0.07);
  --shadow-hover: 0 6px 24px rgba(39,73,109,0.14);
  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* TYPOGRAPHY */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-main);
  background: var(--color-bg-body);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.375rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.05rem; }
p, li, blockquote { font-size: 1rem; color: var(--color-text-subtle); }
blockquote{
  font-style: italic;
  color: var(--color-text-main);
}

/* MAIN CONTAINER ALIGNMENT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: var(--color-bg-card);
  box-shadow: 0 2px 14px 0 rgba(39, 73, 109, 0.06);
  position: sticky;
  top: 0;
  z-index: 30;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 80px;
}
.logo img {
  height: 52px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 4px 2px;
  transition: color 0.2s;
  border-radius: 6px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  background: #f5f7fa;
}
.cta-btn {
  padding: 12px 28px;
  border-radius: 25px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.08rem;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  box-shadow: 0 2px 7px 0 rgba(39,73,109,.11);
  cursor: pointer;
  display: inline-block;
  border: none
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffd265;
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  z-index: 100;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 8px;
  margin-left: 12px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  color: #fff;
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.36,0.79,0.42,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 20px 24px 0 0;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 36px 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (max-width: 1050px) {
  header > .container {
    gap: 18px;
  }
  .main-nav { gap: 18px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 8px; }
  .cta-btn { padding: 10px 20px; font-size: 1rem; }
}
@media (max-width: 900px) {
  header > .container {
    gap: 6px;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .logo img {
    height: 42px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header > .container {
    padding: 0 10px;
    min-height: 62px;
  }
}

/* SECTIONS, CARDS, FLEX LAYOUTS */
.section,
.text-section,
.project-overview,
.project-types,
.faq-section,
.legal-section,
.thank-you,
.contact-section,
.testimonials,
.features,
.why-us,
.cta,
.reputation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-card);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.section:last-child, .text-section:last-child, .project-overview:last-child,
.project-types:last-child, .faq-section:last-child,
.legal-section:last-child, .thank-you:last-child, .contact-section:last-child, .testimonials:last-child {
  margin-bottom: 0;
}
.features {
  background: var(--color-accent);
  box-shadow: none;
}
.content-grid, .feature-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container { gap: 24px; }
.card {
  background: var(--color-bg-card);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.24s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-hover);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px 22px 12px;
  box-shadow: 0 2px 8px rgba(39,73,109,0.06);
  margin-bottom: 24px;
  transition: box-shadow 0.22s;
}
.feature-item img {
  width: 42px;
  height: 42px;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: var(--shadow-hover);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.badges {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.badge {
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(39,73,109,.06);
  letter-spacing: 0.02em;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--color-accent);
  box-shadow: none;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(39, 73, 109, 0.10);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  min-height: 110px;
  transition: box-shadow 0.18s;
}
.testimonial-card blockquote {
  color: #1a2537;
  font-style: italic;
  font-size: 1.04rem;
  flex: 6;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 1rem;
  color: #27496D;
  font-weight: 600;
  white-space: nowrap;
  flex: 2;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.testimonials .testimonial-card span {
  color: #27496D;
  font-weight: 600;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.faq-item h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 1rem;
  color: var(--color-text-subtle);
}

.quick-links {
  margin-top: 24px;
  font-size: 1rem;
}
.quick-links a {
  color: var(--color-secondary);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.18s;
}
.quick-links a:hover, .quick-links a:focus {
  color: var(--color-primary);
}

/* AWARDS / REPUTATION */
.awards-certs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.awards-certs img {
  margin-right: 14px;
  vertical-align: middle;
  height: 24px;
}

/* ADDRESS & CONTACT */
.address-block, .business-hours, .contact-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.map-block {
  margin: 24px 0 2px;
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: var(--color-accent);
  padding: 16px 10px;
}

.contact-short-info {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
}
.contact-short-info img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  padding: 40px 0 15px 0;
  color: #fff;
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.footer-nav a {
  color: #fff;
  opacity: 0.88;
  font-size: 0.99rem;
  transition: color 0.2s, opacity 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  font-size: 1rem;
  opacity: 0.98;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.brand-credit {
  margin-top: 10px;
  text-align: left;
  color: #C0D1E7;
  font-size: 0.98rem;
}

/* CTA SECTION */
.cta {
  background: var(--gradient-main);
  color: #fff;
  border-radius: 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.cta h2 { color: #fff; margin-bottom: 18px; }
.cta .cta-btn {
  background: #fff;
  color: var(--color-primary);
  margin: 16px 0 8px 0;
  padding: 12px 32px;
  border-radius: 23px;
}
.cta .cta-btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cta .contact-short-info {
  color: #fff;
  justify-content: center;
}
.cta .contact-short-info img {
  filter: invert(1);
}

/* HERO SECTION */
.hero {
  background: var(--gradient-main);
  color: #fff;
  border-radius: 20px;
  min-height: 330px;
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 60px;
  box-shadow: var(--shadow-card);
}
.hero .container {
  height: 100%;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 580px;
  margin: 0;
  color: #fff;
  text-align: left;
  padding: 48px 0 44px 0;
}
.hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: 14px; }
.hero p {
  color: #f4f9fa;
  margin-bottom: 22px;
  font-size: 1.22rem;
  line-height: 1.48;
}
.hero .cta-btn {
  background: #fff;
  color: var(--color-primary);
  font-size: 1.2rem;
  padding: 15px 42px;
}
.hero .cta-btn:hover { background: var(--color-secondary); color: var(--color-primary); }

@media (max-width: 1200px) {
  .container { padding: 0 8px; }
}
@media (max-width: 900px) {
  .hero .content-wrapper {
    padding: 24px 0;
  }
  .section, .text-section, .project-overview, .project-types,
  .faq-section, .legal-section, .thank-you, .contact-section, .testimonials, .why-us, .features, .cta {
    padding: 35px 7vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .section, .text-section, .project-overview, .project-types,
  .faq-section, .legal-section, .thank-you, .contact-section, .testimonials, .why-us, .features, .cta {
    padding: 26px 6vw;
    margin-bottom: 44px;
    border-radius: 12px;
  }
  .hero .content-wrapper { padding: 14px 0 18px 0; }
}

/* PROJECT CASE STUDY CARDS */
.project-case-study {
  background: var(--color-bg-card);
  border-radius: 19px;
  box-shadow: 0 2px 10px rgba(39,73,109,.07);
  margin-bottom: 38px;
  padding: 28px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.project-case-study:last-child {
  margin-bottom: 0;
}
.project-case-study h2 {
  font-size: 1.27rem;
}
.project-case-study ul {
  margin-bottom: 0;
}

/* CARD SPACING & FLEX PATTERNS */
.section,
.text-section,
.project-overview,
.project-types,
.faq-section,
.legal-section,
.thank-you,
.contact-section,
.testimonials,
.why-us,
.features,
.cta,
.reputation {
  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;
}

/* GENERAL LISTS & LINKS */
ul, ol {
  margin-bottom: 16px;
  margin-left: 20px;
  color: var(--color-text-subtle);
}
ul > li, ol > li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 12px;
  line-height: 1.6;
}
ul > li:before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--color-secondary);
  border-radius: 100px;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 10px;
}

ol {
  list-style-type: decimal;
  margin-left: 28px;
}
ol > li:before { display: none; }

/* BUTTONS & INTERACTIVES */
button, .cta-btn {
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}
button:disabled, .cta-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* INPUTS (contact page etc.) */
input, textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--color-accent);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 1.01rem;
  margin-bottom: 18px;
  color: var(--color-primary);
  transition: border 0.19s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--color-secondary);
}

/* MODALS (for cookie banner) */
.cookie-modal-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1300;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(39,73,109,0.20);
}
.cookie-modal-overlay.visible {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(39,73,109,.14);
  max-width: 380px;
  width: 92vw;
  padding: 30px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1380;
  animation: fadeInModal .33s;
}
@keyframes fadeInModal {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 1.6rem;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .category-row {
  display: flex; align-items: center; gap: 15px; margin-bottom: 0;
}
.cookie-modal .cookie-switch {
  width: 38px; height: 22px; border-radius: 14px; background: #E6EAF4;
  position: relative; transition: background 0.19s;
  margin-right: 8px;
}
.cookie-modal .cookie-switch[data-enabled="true"] { background: var(--color-secondary); }
.cookie-modal .cookie-knob {
  position: absolute; top: 2.5px; left: 3px; width: 17px; height: 17px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(39,73,109,.14);
  transition: left 0.18s, background 0.16s;
}
.cookie-modal .cookie-switch[data-enabled="true"] .cookie-knob {
  left: 18px; background: #fffbe8;
}
.cookie-modal label { font-size: 1rem; }
.cookie-modal .cookie-note {
  font-size: 0.96rem;
  color: #47526e;
  margin-top: 3px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--color-primary);
  color: #fff;
  z-index: 1200;
  padding: 20px 4vw 22px 4vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  box-shadow: 0 -5px 24px rgba(39,73,109,0.08);
  gap: 34px;
  font-size: 1rem;
  width: 100%;
  border-radius: 12px 12px 0 0;
  animation: slideInBanner .34s;
}
@keyframes slideInBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 1;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .settings-btn {
  padding: 8px 16px;
  border-radius: 16px;
  border: none;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.96rem;
  margin-right: 6px;
  cursor: pointer;
  transition: background 0.14s, color .14s;
}
.cookie-banner .accept-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .reject-btn {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #F9A826;
}
.cookie-banner .settings-btn {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #ccc;
}
.cookie-banner button:hover, .cookie-banner .settings-btn:hover {
  background: #ffd265;
  color: var(--color-primary);
}
@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 2vw 18px 2vw;
  }
}

/* NEXT STEPS, STATS, DIFFERENTIATORS */
.next-steps ul, .stats ul, .differentiators ul {
  margin-bottom: 0;
}
.next-steps li, .stats li, .differentiators li {
  font-size: 1rem;
}

/* RESPONSIVE QUERIES */
@media (max-width: 800px) {
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .project-case-study, .card, .feature-item {
    padding: 18px 10px;
  }
  .footer-contact, .contact-short-info { font-size: 0.95rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.67rem; }
  h2 { font-size: 1.19rem; }
  .section, .text-section, .project-overview, .project-types,
  .faq-section, .legal-section, .thank-you, .contact-section, .testimonials, .why-us, .features, .cta {
    padding: 12px 1vw;
  }
  .feature-item { padding: 12px 3vw; }
  .project-case-study, .card {
    padding: 13px 5px;
  }
}

/* UTILITIES */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }

/* MICRO-INTERACTIONS */
.card, .feature-item {
  transition: box-shadow 0.15s, transform 0.13s;
}
.card:hover, .feature-item:hover, .card:focus-within, .feature-item:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.012);
}
.cta-btn, button {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}
.cta-btn:active, button:active {
  transform: scale(0.97);
}

/* ACCESSIBILITY FIX: HIGH CONTRAST FOR TESTIMONIALS */
.testimonial-card blockquote,
.testimonial-card cite,
.testimonial-meta span {
  color: #1a2537 !important;
  font-weight: 500;
}
.testimonial-card {
  background: #fff !important;
}

/* ----------- END STYLE.CSS ----------- */
