/* 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F7F7F7;
  color: #30475E;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 1rem;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}
:focus {
  outline: 2px solid #F2A365;
  outline-offset: 2px;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #30475E;
  margin-bottom: 20px;
  font-weight: 700;
}
h1 {font-size: 2.5rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.35rem; margin-bottom: 14px;}
h4 {font-size: 1.1rem; margin-bottom: 10px;}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 32px 0 rgba(48,71,94,0.04), 0 2px 8px 0 rgba(242,163,101,0.08);
  transition: box-shadow 0.3s;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}


/* FLEXBOX LAYOUTS & COMPONENTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(48,71,94,0.09), 0 1px 3px 0 rgba(242,163,101,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.3s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(48,71,94,0.10), 0 2px 12px 0 rgba(242,163,101,0.14);
  transform: translateY(-2px) scale(1.02);
}

.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;
  flex-direction: row;
  gap: 20px;
  background: #fff9f4;
  border-radius: 16px;
  padding: 20px 32px 20px 20px;
  box-shadow: 0 4px 18px 0 rgba(48,71,94,0.06), 0 1.5px 5px 0 rgba(242,163,101,0.08);
  color: #263446;
  font-size: 1.1rem;
  margin-bottom: 20px;
  min-height: 80px;
}
.testimonial-card p {
  color: #263446;
  font-style: italic;
}
.testimonial-meta {
  color: #F2A365;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 10px;
}
.feature-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(48,71,94,0.08), 0 1px 4px 0 rgba(242,163,101,0.10);
  transition: box-shadow 0.3s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px;
  min-width: 200px;
  flex: 1 1 230px;
  margin-bottom: 20px;
}
.feature-item img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff3ea;
  box-shadow: 0 0.5px 2px 0 rgba(242,163,101,0.12);
}
.feature-item:hover {
  box-shadow: 0 6px 20px 0 rgba(48,71,94,0.10), 0 2px 10px 0 rgba(242,163,101,0.16);
  transform: translateY(-1.5px) scale(1.015);
}

/*********************
* NAVIGATION STYLES *
*********************/
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(48,71,94,0.06);
  padding: 0 0 0 0;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
.main-menu {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-menu a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #30475E;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 10px;
  padding: 7px 14px;
  transition: background 0.25s, color 0.15s;
}
.main-menu a:hover,
.main-menu a:focus {
  background: #F2A365;
  color: #fff;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  background: #F2A365;
  color: #fff;
  border-radius: 32px;
  font-size: 1.06rem;
  font-weight: bold;
  padding: 11px 28px;
  margin-left: 10px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(242,163,101,0.08);
  letter-spacing: 0.02em;
  transition: background 0.20s, box-shadow 0.20s, transform 0.12s;
  border: none;
}
.cta-button:hover,
.cta-button:focus {
  background: #30475E;
  color: #fff;
  box-shadow: 0 3px 20px 0 rgba(48,71,94,0.11);
  transform: scale(1.035);
}
.secondary-button {
  display: inline-flex;
  align-items: center;
  border-radius: 30px;
  background: transparent;
  color: #30475E;
  border: 2px solid #F2A365;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  margin-top: 12px;
  margin-left: 14px;
  cursor: pointer;
  transition: background 0.14s, color 0.12s, border 0.22s;
}
.secondary-button:hover, .secondary-button:focus {
  background: #F2A365;
  color: #fff;
  border: 2px solid #F2A365;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  color: #30475E;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.18s;
  z-index: 2100;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #fff4e6;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbe8;
  box-shadow: 0 8px 40px 0 rgba(48,71,94,0.18);
  z-index: 3000;
  transition: transform 0.34s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.24s;
  transform: translateX(100%);
  opacity: 0;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30px 24px 0 24px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #F2A365;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff4e6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #30475E;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.36rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 10px;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2A365;
  color: #fff;
}

/* Show burger and hide main menu on mobile */
@media (max-width: 1020px) {
  .main-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/************************
 * HERO & FEATURE GRIDS *
 ************************/
.feature-grid, .service-tiles, .process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 18px;
}
.feature-grid .feature-item {flex-basis: 220px; flex-grow: 1;}
.service-tiles {
  margin-bottom: 20px;
}
.service-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 7px 0 rgba(48,71,94,0.07), 0 1px 2px 0 rgba(242,163,101,0.07);
  flex: 1 1 232px;
  min-width: 200px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.service-item:hover {
  box-shadow: 0 8px 24px 0 rgba(48,71,94,0.13);
  transform: translateY(-2px) scale(1.01);
}
.process-steps {
  gap: 24px;
}
.step-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(48,71,94,0.08), 0 1px 3px 0 rgba(242,163,101,0.06);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 160px;
  flex: 1 1 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.step-item img {
  width: 40px;
  height: 40px;
  background: #fffbe8;
  border-radius: 14px;
}
.step-item:hover {
  box-shadow: 0 8px 24px 0 rgba(48,71,94,0.12);
  transform: translateY(-2px) scale(1.015);
}

/* Project List and Snippets */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.project-snippet {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(48,71,94,0.06), 0 1px 3px 0 rgba(242,163,101,0.04);
  padding: 18px 18px 18px 18px;
  flex: 1 1 320px;
  margin-bottom: 18px;
  transition: box-shadow 0.19s;
}
.project-snippet:hover {
  box-shadow: 0 5px 20px 0 rgba(48,71,94,0.09);
}

/**************
 * TABLES    *
 **************/
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 6px 0 rgba(48,71,94,0.06);
  font-size: 1.05rem;
}
table thead tr {
  background: #F2A365;
  color: #fff;
}
table th, table td {
  padding: 13px 16px;
  text-align: left;
}
table tbody tr:nth-child(even) {
  background: #fff7f0;
}
table th {
  font-weight: 700;
}

/****************
* BLOG OVERVIEW *
****************/
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.blog-list li a {
  color: #30475E;
  font-size: 1.16rem;
  padding: 8px 0;
  border-radius: 8px;
  border: none;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 500;
  transition: background 0.17s, color 0.14s;
}
.blog-list li a:hover, .blog-list li a:focus {
  background: #F2A365;
  color: #fff;
  padding-left: 12px;
}

/*****************
* CONTACT INFOS *
*****************/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.13rem;
}
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 11px;
}
.contact-info img {
  width: 28px;
  height: 28px;
  background: #fff7f0;
  border-radius: 8px;
}
.contact-form-teaser {
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 230px;
}
.map-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.static-map {
  background: #fffbe8;
  border-radius: 14px;
  box-shadow: 0 1px 3px 0 rgba(242,163,101,0.11);
  padding: 16px 16px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

/*************
* FOOTER    *
*************/
footer {
  background: #30475E;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 23px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #fff;
  font-size: 1.1rem;
  border-radius: 10px;
  padding: 7px 13px;
  transition: background 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F2A365;
  color: #fff;
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 5px;
}
.legal-nav a {
  color: #F2A365;
  font-size: 1.02rem;
  border-radius: 8px;
  padding: 4px 7px;
  transition: background 0.15s, color 0.10s;
}
.legal-nav a:hover, .legal-nav a:focus {
  background: #fff7f0;
  color: #30475E;
}
.brand-signature {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.01rem;
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-snippet {
  font-size: 0.97rem;
  color: #ffdfc2;
  margin-bottom: 2px;
}

/***********
* UTILITIES*
***********/
.subheadline {
  color: #30475E;
  font-size: 1.24rem;
  font-weight: 500;
  margin-bottom: 7px;
}
.text-section ul, .feature-item ul, .step-item ul {
  padding-left: 21px;
  list-style-type: disc;
}
.text-section ul li, .feature-item ul li, .step-item ul li {
  margin-bottom: 7px;
}
.text-section strong {
  color: #F2A365;
  font-weight: 700;
}

/* Spacing for all cards/sections */
.card, .service-item, .feature-item, .step-item, .testimonial-card, .project-snippet {
  margin-bottom: 20px;
}

/* Additional content breathing room */
p, li {
  margin-bottom: 7px;
  line-height: 1.7;
}
section ul, .text-section ul, .feature-item ul, .step-item ul {
  margin-bottom: 20px;
}

/**************************
* COOKIE BANNER + MODAL   *
***************************/
.cookie-consent-banner {
  background: #30475E;
  color: #fff;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  box-shadow: 0 -4px 32px 0 rgba(48,71,94,0.10), 0 -2px 8px 0 rgba(242,163,101,0.16);
  z-index: 3999;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  font-size: 1.02rem;
  animation: cookie-slideup 0.32s ease;
}
@keyframes cookie-slideup {
  from { transform: translateY(120%); }
  to   { transform: translateY(0);   }
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner-btn {
  padding: 8px 22px;
  border-radius: 18px;
  font-size: 1.03rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.13s, color 0.11s, transform 0.11s;
}
.cookie-banner-btn.accept {
  background: #F2A365;
  color: #fff;
}
.cookie-banner-btn.accept:hover, .cookie-banner-btn.accept:focus {
  background: #fff;
  color: #F2A365;
  transform: scale(1.05);
}
.cookie-banner-btn.reject {
  background: #fff;
  color: #30475E;
  border: 2px solid #F2A365;
}
.cookie-banner-btn.reject:hover, .cookie-banner-btn.reject:focus {
  background: #F2A365;
  color: #fff;
  border-color: #fff;
  transform: scale(1.05);
}
.cookie-banner-btn.settings {
  background: transparent;
  color: #ffdfc2;
  text-decoration: underline;
  padding: 8px 7px;
}
.cookie-banner-btn.settings:hover, .cookie-banner-btn.settings:focus {
  color: #F2A365;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(48,71,94,0.22);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-cookie-modal 0.2s ease;
}
@keyframes fadein-cookie-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #30475E;
  border-radius: 22px;
  min-width: 320px;
  width: 96%;
  max-width: 460px;
  max-height: 90vh;
  box-shadow: 0 4px 30px 0 rgba(48,71,94,0.10);
  padding: 28px 22px 22px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scaleup-cookie-modal 0.19s cubic-bezier(.47,1.64,.41,.8);
}
@keyframes scaleup-cookie-modal {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #30475E;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  font-size: 1.04rem;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #F2A365;
  border-radius: 12px;
  position: relative;
  margin-left: 7px;
  border: none;
  appearance: none;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-toggle:checked {
  background: #30475E;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.13s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 17px;
  background: transparent;
  font-size: 1.4rem;
  color: #F2A365;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fff4e6;
}

/***** End Cookie Banner ****/

/********************
 * RESPONSIVE RULES *
 ********************/
@media (max-width: 1200px) {
  .container {
    max-width: 930px;
  }
}
@media (max-width: 1020px) {
  .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid, .service-tiles, .process-steps {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .main-menu, .footer-content, .footer-nav, .legal-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .feature-grid, .service-tiles, .process-steps, .project-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .service-item, .step-item, .project-snippet {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
    padding: 16px 13px 16px 13px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .section {
    padding: 29px 7px;
    margin-bottom: 36px;
    border-radius: 13px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
}

@media (max-width: 420px) {
  .container, .content-wrapper, .text-section {
    padding-left: 0;
    padding-right: 0;
  }
  .cta-button, .secondary-button {
    flex: 1 1 100%;
    min-width: 0;
    width: 93%;
    justify-content: center;
    font-size: 1rem;
    padding: 11px 6px;
    margin: 4px 0;
  }
  .cookie-consent-banner {
    font-size: 0.95rem;
    padding: 18px 7px 14px 7px;
  }
}

/******************
* SCROLLBAR STYLING
*******************/
::-webkit-scrollbar {
  width: 12px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #F2A365;
  border-radius: 8px;
}

/***********************
** TRANSITIONS/MICRO-UX
************************/
a, .cta-button, .secondary-button, .main-menu a, .mobile-nav a, .footer-nav a, .legal-nav a {
  transition: background 0.13s, color 0.12s, box-shadow 0.13s, transform 0.10s;
}

/***********
* PRINT FIX *
************/
@media print {
  .main-menu, .mobile-menu, .footer-content, .cta-button, .secondary-button, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
}
