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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: #222;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1a1a1a;
  background-color: #fff;
  line-height: 1.6;
  min-height: 100vh;
}

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

ul, ol {
  list-style: none;
}

a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #F4A261;
  outline: none;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #264653;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.375rem; line-height: 1.13; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
}

strong {
  font-weight: 700;
  color: inherit;
}

/* UTILITY CONTAINERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* sections spacing (MANDATORY) */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: #fff;
}

.text-section {
  gap: 16px;
}

/* HERO */
.hero {
  background: #F8F9FA;
  box-shadow: 0 2px 12px rgba(38, 70, 83, 0.03);
  padding: 50px 0 60px 0;
  margin-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #264653;
}
.hero .subheadline {
  font-size: 1.25rem;
  color: #264653;
  opacity: 0.8;
  margin-bottom: 14px;
}

/* NAVIGATION BAR */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(38,70,83,0.06);
  margin-bottom: 0;
  width: 100%;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  position: relative;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #264653;
  letter-spacing: 0.01em;
  font-weight: 500;
  padding: 6px 2px;
  border-radius: 3px;
  transition: background 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #F4A26122;
  color: #F4A261;
}

header .cta-btn {
  margin-left: 30px;
}

header img {
  width: 134px;
  padding-right: 18px;
  height: auto;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #264653;
  display: none;
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 20px;
  transition: color 0.2s;
  border-radius: 5px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #F4A261;
  background: #F4A26119;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(38, 70, 83, 0.98);
  color: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 70px 0 0 0;
  padding: 20px 28px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 4px;
  border-radius: 3px;
  transition: background 0.15s,color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4A26122;
  color: #F4A261;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  z-index: 10002;
  transition: color 0.18s;
  padding: 4px 12px;
  border-radius: 5px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F4A261;
  background: #F4A26122;
}

/* Hide desktop nav on small screens, show burger */
@media (max-width: 950px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 951px) {
  .mobile-menu { display: none !important; }
}

/* CTA BUTTONS */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #264653;
  color: #fff !important;
  padding: 12px 32px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  outline: none;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s;
  box-shadow: 0 3px 8px rgba(38,70,83,0.09);
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
  min-width: 110px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F4A261;
  color: #264653 !important;
  box-shadow: 0 3px 16px rgba(244,162,97,0.08);
}

/* FLEX CONTAINERS (MANDATORY FLEX ONLY) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border: 1px solid #E9C46A22;
  border-radius: 15px;
  padding: 26px 20px 18px 20px;
  min-width: 200px;
  max-width: 300px;
  box-shadow: 0 2px 14px 0 rgba(38,70,83,0.06);
}
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 3px rgba(233,196,106,0.09));
}

/* Services list (index, services) */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.service-snippet, .service-detail {
  background: #fff;
  border: 1px solid #E9C46A1a;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(38,70,83,0.07);
  padding: 20px 18px 16px 18px;
  margin-bottom: 14px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-price {
  color: #264653;
  font-size: 1.025rem;
  font-weight: 700;
  margin-left: 8px;
  font-family: 'Montserrat', sans-serif;
}

.project-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project-highlight {
  background: #fff;
  border: 1px solid #E9C46A11;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(38,70,83,0.05);
  padding: 19px 16px 15px 16px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Testimonials section */
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 24px 0 0 0;
}
.testimonial-card {
  background: #fff;
  color: #222;
  border: 1px solid #E9C46A22;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(38,70,83,0.08);
  padding: 24px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 260px;
  max-width: 380px;
  margin-bottom: 20px;
}
.testimonial-quote {
  font-size: 1.06rem;
  color: #264653;
  font-style: italic;
  margin-bottom: 2px;
}
.reviewer {
  font-size: 0.98rem;
  color: #999;
  margin-top: 2px;
  font-style: normal;
}

/* Visually distinct testimonial contrast */
.testimonial-card {
  background: #fff;
  color: #222;
}
.testimonial-card .testimonial-quote {
  color: #264653;
}
.testimonial-card .reviewer {
  color: #886c22;
  opacity: 0.88;
}

/* Feature Bullets (Why-Choose-Us) */
.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.08rem;
}
.feature-bullets img {
  width: 32px;
  height: 32px;
}

/* Contact/company details list */
.company-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 20px 0;
  font-size: 1rem;
}
.company-details a {
  color: #264653;
  text-decoration: underline;
}

/* Spacing between content cards/sections (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px !important;
}
.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;
  width: 100%;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #E9C46A26;
  padding: 40px 0 20px 0;
  font-size: 1rem;
  color: #3c3c3c;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  margin-bottom: 14px;
}
footer nav a {
  color: #264653;
  opacity: 0.8;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #F4A261;
  opacity: 1;
}
.footer-address, .footer-email {
  opacity: 0.82;
  font-size: 0.98rem;
}

/* Cookie Consent Banner (FIXED) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9000;
  background: #F8F9FA;
  color: #264653;
  border-top: 1px solid #E9C46A55;
  box-shadow: 0 -3px 14px rgba(38,70,83,0.06);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: cookieSlideIn 0.5s ease;
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  text-align: center;
  font-size: 1rem;
  max-width: 560px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #264653;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 7px rgba(38,70,83,0.09);
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F4A261;
  color: #264653;
}
.cookie-btn.secondary {
  background: #E9C46A;
  color: #264653;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #264653;
  color: #E9C46A;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(38,70,83,0.52);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.3s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 28px rgba(38,70,83,0.21);
  padding: 32px 30px 22px 30px;
  max-width: 420px;
  min-width: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #264653;
  margin-bottom: 4px;
}
.cookie-cat-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 12px 0 18px 0;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #222;
}
.cookie-cat input[type="checkbox"] {
  accent-color: #F4A261;
  width: 18px;
  height: 18px;
}
.cookie-cat.essential input[type="checkbox"] {
  accent-color: #264653;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  border: none;
  color: #264653;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 5px;
  transition: color 0.18s, background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F4A261;
  background: #F4A26116;
}

/* Responsive - MOBILE FIRST */
@media (max-width: 950px) {
  .features-grid, .services-list, .testimonials-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 14px 12px 14px;
  }
  section {
    padding: 30px 0 30px 0;
  }
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  .feature-item, .service-snippet, .service-detail, .testimonial-card, .project-highlight {
    min-width: 0;
    max-width: 100%;
    padding: 15px 14px 12px 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .hero {
    padding: 34px 0 38px 0;
  }
  .footer nav {
    gap: 15px;
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 19px 7vw 15px 7vw;
    min-width: 0;
    width: 96vw;
    max-width: 99vw;
  }
  .cookie-banner {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* Animations for micro-interactions */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.23s;
}
.cta-btn:active, .cookie-btn:active {
  box-shadow: 0 1px 4px rgba(38,70,83,0.11);
  background: #2a5070;
  color: #fff;
}

.testimonial-card, .service-snippet, .service-detail, .feature-item, .project-highlight {
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card:hover, .service-snippet:hover, .service-detail:hover, .feature-item:hover, .project-highlight:hover {
  box-shadow: 0 6px 18px 0 rgba(38,70,83,0.11);
  transform: translateY(-3px) scale(1.02);
}

/* Disable text selection highlight for icons/btns */
img, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  user-select: none;
}

/* Miscellaneous tweaks */
::-webkit-input-placeholder { color: #999; opacity: 1; }
::-moz-placeholder { color: #999; opacity: 1; }
:-ms-input-placeholder { color: #999; opacity: 1; }
::placeholder { color: #999; opacity: 1; }

/* Hide cookie-banner/modal when not active */
.cookie-banner.hide {
  display: none !important;
}
.cookie-modal-overlay.hide {
  display: none !important;
}

/* Prevent overlapping - always enough margin/gap */
section + section {
  margin-top: 0;
  margin-bottom: 60px;
}

/* Remove outline for mouse, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #F4A261;
  outline-offset: 2px;
}

/* END */
