/* =============================================================
  CSS RESET & NORMALIZE
============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #fff;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #181a1b;
  background: #fff;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin: 0 0 1.5em 1.4em;
  padding: 0;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 16px;
  margin-top: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.14;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.18;
}
h4, h5, h6 {
  font-weight: 500;
}
blockquote {
  margin: 0;
  padding-left: 1.2em;
  border-left: 3px solid #343434;
  font-style: italic;
  color: #343434;
  font-size: 1.15em;
}
a {
  color: #213962;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus, a:hover {
  color: #E68A00;
  text-decoration: underline;
}
strong, b {
  font-weight: 700;
}
small {
  font-size: 0.88em;
  color: #747474;
}

/* =======================
   BRAND MONOCHROME COLORS
   ======================= */
:root {
  --color-bg: #fafafa;
  --color-bg-dark: #16181a;
  --color-text: #181a1b;
  --color-text-light: #fff;
  --color-headings: #181a1b;
  --color-muted: #727272;
  --color-border: #dddddd;
  --color-accent: #E68A00;
  --color-primary: #213962;
  --color-section-bg: #f4f5f7;
  --color-section-bg-dark: #212121;
  --color-shadow: rgba(30,32,36,0.10);
  --color-shadow-dark: rgba(22, 24, 26, 0.50);
  --color-hover: #23292f;
}

/* =======================
   LAYOUT STRUCTURE
   ======================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =======================
   HEADER & NAVIGATION
   ======================= */
header {
  background: #fff;
  box-shadow: 0 2px 16px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  height: 52px;
  margin-right: 24px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.main-nav a {
  color: var(--color-text);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s,color 0.2s;
  position: relative;
}
.main-nav a.cta-primary {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  margin-left: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.18s, box-shadow 0.25s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 18px var(--color-shadow-dark);
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(230, 138, 0, 0.08);
}
.mobile-menu-toggle {
  display: block;
  background: transparent;
  border: none;
  font-size: 2rem;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--color-primary);
  transition: color 0.2s, background 0.18s;
  z-index: 51;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-accent);
  background: #eee;
  border-radius: 50%;
}
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* =======================
   MOBILE MENU OVERLAY
   ======================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,26,27,0.96);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.87,-0.41,.19,1.25);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.15rem;
  position: absolute;
  top: 18px;
  right: 28px;
  z-index: 220;
  cursor: pointer;
  padding: 5px 6px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(230,138,0,0.14);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 65px;
  gap: 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 14px 0;
  letter-spacing: 0.02em;
  width: 100%;
  text-align: center;
  border-radius: 4px;
  transition: background 0.15s, color 0.20s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

/* =======================
   HERO SECTIONS
   ======================= */
.hero {
  background: linear-gradient(105deg, #fff 70%, #e6e6e6 100%);
  padding: 56px 0 40px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1, .hero h2 {
  color: var(--color-headings);
  font-family: 'Montserrat';
  font-weight: 800;
}
.hero p {
  color: #333;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 0 20px 0;
}
.cta-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 6px;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin-top: 16px;
  box-shadow: 0 4px 14px var(--color-shadow);
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.18s;
  border: none;
  cursor: pointer;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px var(--color-shadow-dark);
  text-decoration: none;
}

/* =======================
   SECTION LAYOUTS & CARDS
   ======================= */
.features {
  background: var(--color-section-bg);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 24px 0 0 0;
  list-style: none;
}
.feature-grid li {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 26px 26px 20px 26px;
  min-width: 250px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.17s;
  margin-bottom: 20px;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 5px 22px var(--color-shadow-dark);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  filter: grayscale(1) brightness(0.3) contrast(1.1);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 32px 20px;
  margin-bottom: 20px;
  min-width: 240px;
  transition: box-shadow 0.19s, transform 0.17s;
  position: relative;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 26px var(--color-shadow-dark);
  transform: translateY(-3px) scale(1.017);
}

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

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
  border-left: 4px solid var(--color-accent);
  transition: box-shadow 0.19s, border-color 0.19s;
}
.testimonial-card blockquote {
  color: #232323;
  border: none;
  padding-left: 0;
}
.testimonial-card p {
  color: #595959;
  margin: 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px var(--color-shadow-dark);
  border-color: var(--color-primary);
}

/* =======================
   SERVICE & PROCESS LISTS
   ======================= */
.service-list, .project-highlights ul, .guide-articles ul, .tips ul, .about ul, .why-us ul, .process-overview ol, .process-steps ol, .process-overview ul, .process-steps ul {
  padding-left: 1.2em;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f6f6f8;
  border-radius: 10px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 20px 18px;
}
.service-list li img {
  width: 34px;
  height: 34px;
  margin-top: 2px;
  filter: grayscale(1) brightness(0.25) contrast(1.1);
}
.service-list li strong {
  display: inline-block;
  font-family: 'Montserrat';
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.08em;
  margin-right: 8px;
}
.service-list li span {
  font-size: 0.97em;
  font-family: 'Montserrat';
  color: var(--color-accent);
  background: #ececec;
  border-radius: 4px;
  padding: 3px 7px;
  margin-left: 6px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =======================
   CTA BANNERS
   ======================= */
.cta-banner {
  background: var(--color-accent);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 22px var(--color-shadow-dark);
  margin: 50px 0 0 0;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}
.cta-banner .cta-primary {
  background: #fff;
  color: var(--color-accent);
  box-shadow: 0 2px 14px var(--color-shadow);
}
.cta-banner .cta-primary:hover, .cta-banner .cta-primary:focus {
  background: var(--color-primary);
  color: #fff;
}

/* =======================
   FOOTER STYLES
   ======================= */
footer {
  background: #1d1f22;
  color: #e8e8e8;
  font-size: 1rem;
  box-shadow: 0 -1px 12px var(--color-shadow);
  padding: 48px 0 32px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 36px;
  justify-content: flex-start;
  align-items: flex-start;
}
.footer-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #ddd;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color 0.17s;
}
.footer-menu a:focus, .footer-menu a:hover {
  color: var(--color-accent);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
}
.footer-brand img {
  width: 52px;
  height: auto;
  margin-bottom: 7px;
}
.footer-contact {
  margin-top: 9px;
  color: #aaa;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 7px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  background: #23272d;
  border-radius: 50%;
  padding: 7px;
  transition: background 0.17s, box-shadow 0.19s;
}
.footer-social a:hover,
.footer-social a:focus {
  background: var(--color-accent);
  box-shadow: 0 4px 18px var(--color-shadow-dark);
}
.footer-social img {
  width: 22px;
  height: 22px;
  filter: grayscale(1) brightness(3);
}
footer small {
  color: #888;
}
@media(max-width: 900px){
  .footer-menu {flex-direction: column; gap: 16px;}
}

/* =======================
   LEGAL / INFO / MINOR SECTIONS
   ======================= */
.legal {
  background: #fafbfc;
  border-radius: 18px;
  margin: 38px 0 42px 0;
  box-shadow: 0 5px 22px var(--color-shadow);
}
.legal .content-wrapper {
  gap: 18px;
}
.legal h1, .legal h2 {
  color: var(--color-headings);
}

/* =======================
   RESPONSIVE DESIGN
   ======================= */
@media (max-width: 1200px) {
  .container,.content-wrapper {max-width: 99vw;}
}
@media (max-width: 900px) {
  .container { max-width: 97vw; padding: 0 10px; }
  .content-wrapper {max-width: 98vw;}
  .footer-social{margin-top: 16px;}
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.35rem;}
  .hero, .section, .cta-banner, .legal {padding: 24px 8px;}
  .footer-brand img {width:38px;}
  .footer-menu {flex-direction: column; gap: 10px;}
}
@media (max-width: 600px) {
  html {font-size: 15px;}
  h1 {font-size:1.3rem;}
  .container {padding: 0 3vw;}
}

/* =======================
   SPACING SYSTEM
   ======================= */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width:768px){
  section, .section {
    margin-bottom:34px;
    padding:20px 5px;
  }
}

/* =======================
   FORMATTING (ABOUT/TEAM)
   ======================= */
.about ul, .why-us ul, .team ul {gap:10px;}
.about ul,
.why-us ul,
.team ul {
  margin-bottom: 0;
}

/* =======================
  FAQ & MISC STYLES
======================= */
.faq dl {
  margin:0;
}
.faq dt {
  font-weight: 700;
  margin-top: 18px;
}
.faq dd {
  margin-left: 0;
  margin-bottom: 16px;
}

/* =======================
   TYPOGRAPHY IMPROVEMENTS
   ======================= */
h1, h2, h3 {
  text-rendering: optimizelegibility;
  letter-spacing: -0.01em;
}
h1 {
  letter-spacing: -0.02em;
}

/* =======================
   BUTTONS AND INTERACTIONS
   ======================= */
button, .cta-primary, input[type=submit], input[type=button] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}
button:focus, input:focus, .cta-primary:focus {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #23272d;
  color: #fff;
  padding: 18px 24px 18px 24px;
  box-shadow: 0 -2px 14px var(--color-shadow-dark);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  z-index: 4000;
  font-size: 1rem;
  transition: transform 0.37s cubic-bezier(.78,.01,.25,1.09);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 auto;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner button, .cookie-banner .cta-primary {
  padding: 7px 18px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  transition: background 0.16s,color 0.16s;
  margin: 0;
}
.cookie-banner .accept {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
  border: 1px solid #e7e7e7;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #d3d5da;
  color: #181a1b;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font-weight: 500;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-primary);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 6px 24px 6px;
    gap: 16px;
    font-size: 0.95rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-buttons {
    gap: 6px;
  }
}

/* ===============
   COOKIE MODAL
   =============== */
.cookie-modal {
  position: fixed;
  z-index: 4100;
  left: 0;top: 0;width: 100vw;height: 100vh;
  background: rgba(34,34,34,0.80);
  display: flex; align-items: center; justify-content: center;
  opacity: 1; pointer-events: auto;
  transition: opacity 0.35s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #181a1b;
  border-radius: 16px;
  min-width: 300px;
  max-width: 98vw;
  width: 430px;
  box-shadow: 0 8px 44px var(--color-shadow-dark);
  padding: 34px 34px 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal-content h2 {
  margin-top: 0;
  margin-bottom: 0.7em;
  font-size: 1.25em;
  color: var(--color-primary);
}
.cookie-modal-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal-category label {
  font-weight: 500;
  font-size: 1.07em;
}
.cookie-modal-category .cookie-toggle {
  width: 40px;
  height: 24px;
  background: #f1f1f1;
  border-radius: 14px;
  position: relative;
  display: inline-block;
  margin-left: 4px;
}
.cookie-modal-category .cookie-toggle input[type=checkbox]{
  display: none;
}
.cookie-modal-category .cookie-toggle-slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #d2d2d2;
  border-radius: 50%;
  transition: left 0.18s, background 0.19s;
}
.cookie-modal-category .cookie-toggle input:checked + .cookie-toggle-slider{
  left: 19px;
  background: var(--color-accent);
}
.cookie-modal-category .cookie-modal-desc {
  font-size: 0.96em;
  color: #717171;
  margin-left: 3px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 15px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #aaa;
  padding: 2px 4px;
  cursor: pointer;
  border-radius: 50%;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #e6e6e6;
  color: #E68A00;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  min-width: 90px;
  font-size: 1rem;
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 18px 7vw 10px 7vw;
    min-width: 0;
    width: 98vw;
  }
}

/* ===============
   MICRO-INTERACTIONS & ANIMATIONS
   =============== */
.card,.feature-grid li,.testimonial-card,.service-list li {
  transition: box-shadow 0.19s, transform 0.18s;
}
.cta-primary, .main-nav .cta-primary, .footer-social a, button, .cookie-banner button {
  transition: background 0.16s, color 0.16s, box-shadow 0.15s, transform 0.12s;
}
button:active, .cta-primary:active,
.footer-social a:active, .main-nav a:active {
  transform: scale(0.97);
}

/* ===============
   VISUAL HIERARCHY&MONOCHROME ELEGANCE
   =============== */
h1, h2, .main-nav a.cta-primary, .cta-primary, .cta-banner, .testimonial-card {
  letter-spacing: 0.02em;
}
h1, h2 {
  color: #181a1b;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.section h2 {
  margin-bottom: 0.5em;
}
.section p {
  color: #424242;
  max-width: 750px;
}

/* ===============
   UTILITIES
   =============== */
.d-none { display: none!important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: #999; }
.mb-0 { margin-bottom:0!important; }
.mt-0 { margin-top:0!important; }
.gap-8 { gap: 8px !important; }
.gap-20 { gap: 20px !important; }

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