/* =========================
   CSS RESET & BASE STYLES
   ========================= */
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 {
  scroll-behavior: smooth;
}
body {
  background: linear-gradient(135deg, #fff8f0 0%, #f3e0d3 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: #374151;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

:root {
  --primary: #374151;
  --secondary: #EF7F1A;
  --accent: #FFF8F0;
  --gray-bg: #f8f6f3;
  --shadow: 0 6px 24px rgba(55,65,81,0.10);
  --shadow-soft: 0 2px 8px rgba(55,65,81,0.04);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============
   TYPOGRAPHY
   ============= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
}
.subheadline {
  color: var(--secondary);
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 24px;
  font-weight: 500;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--primary);
}
strong {
  font-weight: 700;
  color: var(--primary);
}
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #b65e09;
}

/* ===============
   BUTTONS & CTA
   =============== */
.cta, button.cta, .cta:visited {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #EF7F1A 10%, #E17500 90%);
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 16px rgba(239,127,26,0.11);
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-top: 16px;
  letter-spacing: 0.04em;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #d56700 10%, #EF7F1A 90%);
  box-shadow: 0 4px 24px rgba(239,127,26,0.15);
  transform: translateY(-3px) scale(1.04);
}
button {
  font-family: inherit;
}

/* ================
   HEADER & NAV
   ================ */
header {
  background: #fff;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px 16px 24px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 12px;
  color: var(--primary);
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
header .cta {
  margin-left: 10px;
}
header img {
  height: 44px;
}

/* ================
   MOBILE NAV MENU
   ================ */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 20px;
  z-index: 106;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;  /* hidden state: transform:translateX(-100%) */
  width: 100vw;
  height: 100vh;
  background: linear-gradient(110deg, #fff8f0 60%, #f3e0d3 100%);
  box-shadow: 0 4px 32px rgba(55,65,81,0.08);
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  justify-content: flex-start;
  padding: 36px 28px 24px 28px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.18s cubic-bezier(.45,1,.59,1), transform 0.24s cubic-bezier(.45,1,.59,1);
}
.mobile-menu.active {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 30px;
  cursor: pointer;
  z-index: 107;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  display: block;
  font-size: 1.2rem;
  padding: 17px 0 10px 0;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: var(--accent);
}

/* Responsive mobile nav show/hide */
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================
   SECTION SPACING
   =================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section .container {
  padding: 0;
}
.content-wrapper {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}

/* =====================
   FLEXBOX LAYOUT RULES
   ===================== */
.feature-grid, .service-category-cards, .card-container, .card-grid, .blog-list, .case-studies, .content-grid, .awards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  justify-content: flex-start;
}
.feature-grid>div, .service-category-cards>div, .blog-post, .project-summaries, .card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  flex: 1 1 270px;
  min-width: 270px;
  max-width: 100%;
  padding: 26px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover, .service-category-cards>div:hover, .feature-grid>div:hover, .blog-post:hover {
  box-shadow: 0 10px 36px rgba(55,65,81,0.16);
  transform: translateY(-3px) scale(1.022);
}
.card-container {
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.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;
  background: var(--accent);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  min-width: 260px;
  max-width: 420px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
}
.testimonial-card p {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--primary);
  flex: 1 1 auto;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.97rem;
}
.testimonial-card:hover {
  box-shadow: 0 0px 18px rgba(55,65,81,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.awards-list > li {
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 23px;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}

/* =============
   ICONS & IMAGES
   ============= */
.feature-grid img, .service-category-cards img, .feature-item img, .awards-list img, .contact-details img, .content-wrapper ul img {
  height: 44px;
  width: 44px;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* =============
   LISTS
   ============= */
ul, ol {
  margin-left: 20px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.56;
  color: var(--primary);
  padding-left: 0;
  list-style-type: disc;
}
.content-wrapper ul li > img {
  margin-right: 11px;
  vertical-align: middle;
  margin-bottom: 0;
}

/* ================
   SPECIAL SECTIONS
   ================ */
.timeline-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 24px 0;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--secondary);
  font-size: 1.2rem;
}

/* ================
   BLOG ELEMENTS
   ================ */
.blog-list {
  gap: 24px;
  margin-bottom: 22px;
}
.blog-post {
  min-width: 250px;
  padding: 22px 16px 20px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.13s;
}
.blog-post h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
  margin-top: 0px;
}
.blog-post p {
  color: var(--primary);
}
.category-filters {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 1rem;
  color: var(--secondary);
}
.category-filters span {
  background: var(--accent);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 13px;
  margin-right: 7px;
  font-weight: 500;
  font-size: 0.97rem;
}

/* ================
   MAP SECTION
   ================ */
.map {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  padding: 26px 19px;
}
.map img {
  width: 100px;
  min-width: 72px;
  border-radius: 8px;
}

/* ================
   FOOTER
   ================ */
footer {
  background: var(--primary);
  color: #fff;
  padding: 45px 0 10px 0;
  font-size: 0.98rem;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -2px 26px rgba(55,65,81,0.08);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 44px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex: 1 1 100%;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 1rem;
  transition: background 0.14s, color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--secondary);
  color: #fff8f0;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-left: 0;
  list-style: none;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1rem;
}
.social-media-links {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
}
.social-media-links a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background: #fff8f0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: box-shadow 0.17s, background 0.18s;
  margin-right: 5px;
}
.social-media-links a:hover, .social-media-links a:focus {
  background: var(--secondary);
  box-shadow: 0 0 0 2px #fff8f0, 0 2px 12px rgba(239,127,26,0.13);
}
.social-media-links img {
  width: 20px;
  height: 20px;
}
.brand-note {
  margin-top: 25px;
  font-size: 0.9rem;
  color: #e1e7f4;
  font-style: italic;
}

/* =========================
   COOKIE BANNER & MODAL
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff8f0;
  color: #374151;
  box-shadow: 0 -6px 32px rgba(55,65,81,0.07);
  padding: 28px 16px 18px 16px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.22s cubic-bezier(.67,-0.41,.28,1.3), opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.cookie-banner button {
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 18px;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  margin-right: 3px;
  box-shadow: 0 2px 10px rgba(239,127,26,0.09);
  transition: background 0.2s, color 0.2s, transform 0.12s;
  cursor: pointer;
}
.cookie-banner button.cookie-reject {
  background: #dedede;
  color: #374151;
}
.cookie-banner button.cookie-settings {
  background: var(--accent);
  color: var(--secondary);
  border: 1px solid #f2ccab;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #dd7114;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cookie-banner button.cookie-reject:hover,
.cookie-banner button.cookie-reject:focus {
  background: #dadada;
  color: #374151;
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: #ffedd6;
  color: var(--secondary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,17,13,0.46);
  z-index: 125;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff8f0;
  color: #374151;
  border-radius: 22px;
  padding: 34px 30px 24px 30px;
  width: 94vw;
  max-width: 380px;
  box-shadow: 0 7px 48px rgba(55,65,81,0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal-content h3 {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 3px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  cursor: pointer;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 11px;
}
.cookie-modal-content label {
  font-family: inherit;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal-content input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal-content .essential {
  color: #adadad;
  font-size: 0.91rem;
  font-style: italic;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 15px;
}
.cookie-modal-content button {
  font-size: 1rem;
  border-radius: 20px;
  padding: 9px 23px;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(239,127,26,0.11);
  transition: background 0.2s, color 0.14s, transform 0.12s;
}
.cookie-modal-content button.cancel {
  background: #dedede;
  color: #374151;
}
.cookie-modal-content button.cancel:hover, .cookie-modal-content button.cancel:focus {
  background: #dadada;
  color: #374151;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: #dd7114;
  color: #fff;
  transform: translateY(-1.5px) scale(1.035);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .content-wrapper {
    max-width: 690px;
  }
  .feature-grid>div, .service-category-cards>div, .blog-post {
    min-width: 220px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .content-wrapper {
    max-width: 97vw;
    padding: 0;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  h3 {
    font-size: 1rem;
  }
  .feature-grid, .service-category-cards, .blog-list, .footer-menu, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-menu {
    gap: 11px;
  }
  .feature-grid>div, .service-category-cards>div, .blog-post, .card {
    min-width: unset;
    width: 100%;
    padding: 19px 12px 14px 13px;
  }
  .testimonial-card {
    max-width: 100%;
    font-size: 0.98rem;
    padding: 14px 10px;
  }
  .container, .content-wrapper {
    padding: 0 5px;
    max-width: 100vw;
  }
  section {
    padding: 28px 6px;
    margin-bottom: 34px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .content-grid {
    flex-direction: column;
  }
  .map {
    flex-direction: column;
    gap: 8px;
    padding: 14px 8px;
  }
  footer .container {
    gap: 15px;
    flex-direction: column;
    align-items: stretch;
  }
  .brand-note {
    margin-top: 14px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.07rem;
  }
  header .container {
    padding: 10px 6px;
  }
  .footer-menu a {
    font-size: 0.96rem;
    padding: 4px 7px;
  }
  .social-media-links a {
    width: 28px;
    height: 28px;
  }
  .container, .content-wrapper {
    padding: 0 2px;
  }
}

/* ===========================
   INTERACTIONS & EFFECTS
   =========================== */
.card, .feature-grid>div, .service-category-cards>div, .blog-post, .testimonial-card, .awards-list > li {
  transition: box-shadow 0.18s cubic-bezier(.46,0.53,.58,1.01), transform 0.14s cubic-bezier(0.46,0.53,0.58,1.01);
}
.card:hover, .feature-grid>div:hover, .service-category-cards>div:hover, .blog-post:hover {
  box-shadow: 0 10px 36px rgba(239,127,26,0.13) !important;
  transform: translateY(-4px) scale(1.018) !important;
}
.cta:active,
button:active {
  transform: scale(0.98);
}

/* =============
   MISC CLASSES
   ============= */
.next-steps-info, .design-consultation-info, .newsletter-intro {
  background: #fff;
  border-radius: 13px;
  box-shadow: var(--shadow-soft);
  padding: 20px 14px;
  margin-bottom: 17px;
}
.text-section {
  margin-bottom: 24px;
}
.project-summaries {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 1px 14px 1px;
}
.problem-solution {
  background: var(--accent);
  color: var(--primary);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 0.99rem;
  margin: 9px 0 8px 0;
}
.client-testimonial {
  margin-top: 7px;
}

/* Hide number spinners in newsletter form */
input[type="text"] {
  border: 1px solid #ddd4ca;
  border-radius: 23px;
  padding: 9px 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
  transition: border 0.17s;
  background: #fff;
  width: 220px;
  max-width: 100%;
}
input[type="text"]:focus {
  border-color: var(--secondary);
}
input[disabled] {
  background: #f7f2ed;
  color: #bbb;
  cursor: not-allowed;
}
form button[disabled] {
  background: #ddd;
  color: #aaa;
  cursor: not-allowed;
}

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