/* --- 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; background: none; border: none; cursor: pointer; }
:focus { outline: 2px solid #F5B700; outline-offset: 2px; }

/* --- BRAND COLORS AS CUSTOM PROPS (with fallback) --- */
:root {
  --brand-primary: #204047;
  --brand-secondary: #F5B700;
  --brand-accent: #FFFFFF;
  --brand-bg: #F6F8F8;
  --brand-cta: #0D9A9A;
  --brand-vibrant-1: #34D1FF;
  --brand-vibrant-2: #FF3399;
  --brand-vibrant-3: #00DE9A;
  --brand-alert: #FC3C00;
  --brand-dark: #142127;
  --shadow-s: 0 2px 8px rgba(52, 209, 255, 0.13);
  --shadow-m: 0 6px 24px rgba(32, 64, 71, 0.13);
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--brand-primary);
  background: var(--brand-bg);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem; /* 36px */
  margin-bottom: 22px;
  color: var(--brand-vibrant-1);
  text-shadow: 0 2px 14px rgba(34, 209, 255, 0.12);
}
h2 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 16px;
  color: var(--brand-vibrant-2);
  text-shadow: 0 2px 6px rgba(255, 51, 153, 0.06);
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 10px;
  color: var(--brand-primary);
}

p, ul, ol, li, blockquote {
  font-family: 'Roboto', Arial, Helvetica, sans-serif; 
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--brand-dark);
}
strong { color: var(--brand-primary); font-weight: bold; }

blockquote {
  font-style: italic;
  color: var(--brand-primary);
  position: relative;
  padding-left: 24px;
}
blockquote:before {
  content: '“';
  font-size: 2rem;
  position: absolute;
  left: 0;
  top: -8px;
  color: var(--brand-vibrant-2);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-s);
}

.section:not(:first-child) {
  margin-top: 40px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  background: var(--brand-bg);
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-s);
  margin-bottom: 24px;
}

/* --- HEADER & NAVIGATION --- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--brand-primary);
  color: var(--brand-accent);
  box-shadow: 0 2px 16px rgba(32, 64, 71,0.11);
  position: relative;
  z-index: 100;
}
header img {
  height: 44px;
  margin-right: 30px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: var(--brand-accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-vibrant-1);
  color: var(--brand-primary);
}
.cta-button {
  display: inline-block;
  background: var(--brand-secondary);
  color: #222;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 32px;
  padding: 13px 30px;
  margin-left: 32px;
  box-shadow: 0 2px 15px 0 rgba(245,183,0,0.11);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.18s, color 0.18s, transform 0.11s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--brand-vibrant-1);
  color: #204047;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 36px rgba(32, 64, 71, 0.20);
}

/* --- BURGER MENU FOR MOBILE NAV --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 301;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: var(--shadow-s);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-vibrant-2);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 40px 10px rgba(0,0,0,0.18);
  z-index: 400;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.68,-0.28,.27,1.26), opacity 0.21s;
  padding: 42px 24px 24px;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--brand-vibrant-2);
  color: #fff;
  align-self: flex-end;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: var(--shadow-s);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 1.1rem;
  padding: 10px 0 10px 8px;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-vibrant-3);
  color: #fff;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }
  .cta-button {
    margin-left: 16px;
    padding: 13px 20px;
    font-size: 1rem;
  }
  header img {
    height: 38px;
  }
}
@media (max-width: 900px) {
  header { flex-direction: column; align-items: flex-start; padding: 18px 10px; }
  .cta-button { margin: 12px 0 0 0; }
}
@media (max-width: 820px) {
  .main-nav { gap: 10px; }
  .cta-button { padding: 11px 12px; }
}
@media (max-width: 768px) {
  header { flex-direction: row; align-items: center; }
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 768px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* --- HERO, FEATURES, USP, SERVICE CARDS --- */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 65px 0 42px 0;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--brand-vibrant-1) 0%, var(--brand-secondary) 100%);
  color: var(--brand-primary);
  margin-bottom: 38px;
  box-shadow: 0 9px 50px 0 rgba(32,64,71,0.10);
}

.feature-grid, .service-cards, .project-summary, .contact-info, .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li, .service-cards > div, .testimonial-card, .project-summary > div, .contact-info > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #8d8383;
  border-radius: 14px;
  box-shadow: var(--shadow-s);
  padding: 24px 20px;
  margin-bottom: 20px;
  min-width: 225px;
  max-width: 310px;
  flex: 1 1 280px;
  transition: box-shadow 0.16s, transform 0.12s;
}
.feature-grid li:hover, .service-cards > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 var(--brand-vibrant-1), 0 2px 16px rgba(32,64,71,0.12);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
}

.service-cards {
  gap: 24px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.service-cards > div {
  background: #fff;
  border: 2.3px solid var(--brand-secondary);
}

.project-summary {
  flex-direction: column;
  gap: 26px;
  margin-top: 12px;
}
.project-summary h3 {
  color: var(--brand-vibrant-1);
  margin-bottom: 8px;
}
.quick-links {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.03rem;
}
.quick-links a {
  color: var(--brand-vibrant-2);
  font-weight: 600;
  transition: color 0.17s;
}
.quick-links a:hover { color: var(--brand-primary); }

/* --- Testimonials --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 26px rgba(245,183,0,0.10);
  border-left: 7px solid var(--brand-vibrant-1);
  transition: box-shadow 0.16s, border 0.16s;
  color: var(--brand-primary);
  min-width: 260px;
}
.testimonial-card blockquote {
  color: var(--brand-dark);
  font-size: 1.09rem;
  font-style: italic;
  line-height: 1.6;
}
.testimonial-card strong {
  color: var(--brand-vibrant-2);
  font-weight: 700;
}
.rating-summary {
  padding: 14px 0;
  color: var(--brand-vibrant-1);
  font-weight: 700;
}

/* --- Cards --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-s);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  transition: box-shadow 0.14s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 10px 36px 0 var(--brand-vibrant-1), 0 4px 22px rgba(32,64,71,0.22);
  transform: scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.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;
}

.consultation-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 32px 0 0 0;
  background: var(--brand-bg);
  border-radius: 11px;
  padding: 20px 26px;
  border-left: 6px solid var(--brand-vibrant-3);
  box-shadow: 0 2px 14px rgba(0,222,154,0.07);
}
.business-hours {
  margin-top: 12px;
  color: var(--brand-vibrant-1);
  font-weight: 600;
}

/* --- FOOTER --- */
footer {
  background: var(--brand-primary);
  color: var(--brand-accent);
  padding: 38px 0 24px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 16px rgba(32, 64, 71, 0.11);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.footer-menu a {
  color: var(--brand-secondary);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border 0.12s, color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  border-bottom: 2px solid var(--brand-vibrant-1);
  color: var(--brand-vibrant-1);
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  color: var(--brand-accent);
  font-size: 1rem;
}
.contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
}
footer small {
  display: block;
  margin-top: 15px;
  color: #b6e5ea;
  font-size: 0.96rem;
  text-align: left;
}

/* --- FORMS, BUTTONS, INTERACTIVE --- */
button, .cta-button, .cookie-btn {
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.14s, color 0.13s, box-shadow 0.15s, transform 0.14s;
}
button:active, .cta-button:active { transform: scale(0.95); }

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 -2px 24px 0 rgba(32,64,71,0.16);
  padding: 22px 30px 22px 22px;
  z-index: 800;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.27s cubic-bezier(.49,-0.15,.35,1.23), transform 0.38s cubic-bezier(.39,1.09,.65,1);
}
.cookie-consent-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-consent-banner p {
  margin: 0;
  flex: 1 1 240px;
  color: var(--brand-primary);
  font-size: 1rem;
}
.cookie-btn {
  padding: 9px 21px;
  margin-left: 4px;
  margin-right: 2px;
  border-radius: 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--brand-vibrant-3);
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(52,209,255,0.09);
  border: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-vibrant-2);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--brand-alert);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #c92b00;
}
.cookie-btn.settings {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-vibrant-1);
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 900;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,64,71,0.19);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: var(--brand-primary);
  border-radius: 16px;
  padding: 38px 30px 26px 30px;
  min-width: 310px;
  max-width: 90vw;
  box-shadow: 0 14px 50px 0 var(--brand-vibrant-2), 0 2px 18px rgba(32,64,71,0.18);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 901;
  animation: popup-in .32s cubic-bezier(.39,1.09,.65,1);
}
@keyframes popup-in {
  0% { opacity: 0; transform: scale(0.80); }
  80% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 22px;
  background: var(--brand-alert);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.39rem;
  text-align: center;
  border: none;
  box-shadow: var(--shadow-s);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #c92b00;
}
.cookie-modal h2 {
  font-size: 1.27rem;
  color: var(--brand-vibrant-1);
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-switch {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}
.cookie-switch input[type=checkbox] {
  appearance: none;
  width: 34px;
  height: 20px;
  border-radius: 20px;
  background: #c7eae9;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
  position: relative;
}
.cookie-switch input[type=checkbox]:checked {
  background: var(--brand-vibrant-3);
}
.cookie-switch input[type=checkbox]::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.13s;
  box-shadow: 0 2px 6px 0 rgba(52, 209, 255, 0.04);
}
.cookie-switch input[type=checkbox]:checked::before {
  left: 16px;
}
.cookie-switch label {
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 1rem;
}
.cookie-modal .cookie-note {
  color: #b22222;
  font-size: 0.98rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1180px) {
  .container { max-width: 1000px; }
  .feature-grid li, .service-cards > div, .testimonial-card, .project-summary > div {
    min-width: 170px;
    max-width: 100%;
    flex: 1 1 210px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .project-summary, .contact-info, .footer-menu {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  .section {
    padding: 22px 8px;
    margin-bottom: 36px;
  }
  .feature-grid, .service-cards, .project-summary, .card-container, .contact-info, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-grid li, .service-cards > div, .card, .testimonial-card {
    min-width: unset;
    max-width: 100%;
    padding: 19px 10px;
  }
  .content-wrapper { gap: 17px; }
  .quick-links { gap: 7px; font-size: 0.99rem; }
  footer {
    padding: 24px 4px 17px 4px;
    margin-top: 36px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 7px;
    margin-bottom: 13px;
  }
  .contact-info {
    gap: 10px;
    font-size: 0.98rem;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 0.98rem; }
}
@media (max-width: 540px) {
  .cookie-consent-banner { padding: 14px 8px 14px 8px; font-size: 0.94rem; }
  .cookie-modal { min-width: 98vw; padding: 18px 4px; }
  .cookie-modal h2 { font-size: 1rem; }
  .cookie-switch label { font-size: 0.91rem; }
}

/* --- Micro Animations --- */
.cta-button, .cookie-btn, .main-nav a, .mobile-nav a {
  transition: background 0.17s, color 0.15s, box-shadow 0.13s, transform 0.12s;
}
.cta-button:active, .cookie-btn:active { transform: scale(0.97); }

/* --- Accessibility Contrast: Testimonials --- */
.testimonial-card {
  background: #fff !important;
  color: #142127;
  border-left-color: var(--brand-vibrant-1);
}
.testimonial-card blockquote { color: #1D2B35; }
.testimonial-card strong { color: var(--brand-vibrant-2); }

/* --- UTILITIES --- */
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.pb-0 { padding-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* --- PRINT FRIENDLY --- */
@media print {
  header, .mobile-menu-toggle, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay, footer { display: none !important; }
  .container, .section, .content-wrapper, .text-section { box-shadow: none !important; background: #fff !important; }
}

/* --- END OF CSS --- */
