/* =========================
   CSS RESET & BASE TYPOGRAPHY
   ========================= */
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: inherit; box-sizing: border-box;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #fff;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #223344;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #000;
  text-decoration: underline;
}


/* =====
   COLORS & VARIABLES
   ===== */
:root {
  --brand-primary: #223344;
  --brand-secondary: #788480;
  --brand-accent: #F2E6D4;
  --mono-black: #111111;
  --mono-dk: #222222;
  --mono-md: #555555;
  --mono-gray: #bfbfbf;
  --mono-light: #f8f8f8;
  --mono-white: #fff;
  --shadow-l: 0 8px 32px rgba(20,24,32,0.08), 0 2px 6px rgba(0,0,0,0.02);
  --shadow-s: 0 1px 3px rgba(0,0,0,0.08);
  --radius: 13px;
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mono-black);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.125rem;
}
p, ul, ol, li, blockquote, small {
  font-family: var(--font-body);
  color: var(--mono-dk);
}
b, strong {
  font-weight: 700;
}
small {
  font-size: 0.90rem;
  color: var(--mono-md);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--mono-white);
}

/* =========================
   LAYOUT CONTAINERS
   ========================= */
.container {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--mono-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  padding: 32px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 10px 42px rgba(34,34,34,0.10),0 3px 8px rgba(34,34,34,.03);
  z-index: 3;
}
.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(--mono-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  margin-bottom: 20px;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #181b1e;
  font-style: italic;
}
.testimonial-card small {
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  opacity: .8;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(34,34,44,.10);
  transform: translateY(-2px) scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   NAVIGATION
   ========================= */
header {
  background: var(--mono-white);
  border-bottom: 1px solid var(--mono-gray);
  position: relative;
  z-index: 10;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 18px 0;
}
nav.main-nav .logo {
  margin-right: 28px;
  padding: 0;
}
nav.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--mono-black);
  margin-right: 2px;
  letter-spacing: .01em;
  padding: 7px 14px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
nav.main-nav a.cta {
  margin-left: 12px;
}
nav.main-nav a.primary {
  background: var(--mono-black);
  color: var(--mono-white);
  box-shadow: var(--shadow-l);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius);
  padding: 12px 22px;
  transition: background 0.2s, box-shadow 0.2s;
}
nav.main-nav a.primary:hover, nav.main-nav a.primary:focus {
  background: var(--brand-secondary);
  color: var(--mono-white);
}
nav.main-nav a.secondary {
  background: var(--brand-accent);
  color: var(--mono-black);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 9px 16px;
  border: 1px solid var(--brand-accent);
}
nav.main-nav a.secondary:hover, nav.main-nav a.secondary:focus {
  background: var(--mono-black);
  color: var(--mono-white);
}
nav.main-nav a.active, nav.main-nav a:focus {
  background: var(--brand-accent);
  color: #181b1e;
}

/* =========
   MOBILE NAV MENU
   ========= */
.mobile-menu-toggle {
  display: block;
  background: var(--mono-white);
  border: none;
  color: var(--mono-black);
  font-size: 2rem;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 22;
  position: absolute;
  right: 22px;
  top: 16px;
  border-radius: 7px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--mono-light);
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(249,249,249,0.98);
  box-shadow: 0 8px 40px rgba(20,20,22,0.18);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0.03,0.16,1.0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 20px;
  padding-left: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 28px;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: var(--mono-black);
  cursor: pointer;
  z-index: 102;
  padding: 8px 12px;
  border-radius: 7px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--mono-light);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 56px 28px 0 28px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 0;
  transition: background 0.17s, color 0.17s;
  border-radius: 8px;
  line-height: 1.3;
  letter-spacing: .03em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--mono-black);
  text-decoration: none;
}

@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  nav.main-nav {
    justify-content: flex-start;
  }
}
@media (max-width:1024px) {
  nav.main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* =========================
   HERO & CTA STYLES
   ========================= */
.hero {
  background: linear-gradient(120deg, #fff 83%, #efefef 100%);
  border-bottom: 1px solid var(--mono-light);
  padding: 44px 0 48px 0;
  margin-bottom: 0;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.12;
  color: var(--mono-black);
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero p {
  color: var(--mono-dk);
  margin-bottom: 32px;
  font-size: 1.2rem;
}
.hero .cta.primary {
  font-size: 1.13rem;
  padding: 16px 32px;
  margin-top: 6px;
}
.cta {
  background: var(--mono-white);
  padding: 40px 0 32px 0;
}
.cta .cta.primary {
  margin-top: 18px;
}

/* CTA Buttons */
.cta.primary, .cta.secondary {
  display: inline-block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px 36px;
  transition: background 0.21s, color 0.21s, box-shadow 0.23s, border 0.17s;
  font-size: 1.11rem;
  border: none;
  outline: none;
  text-align: center;
  margin: 0 8px 0 0;
  cursor: pointer;
  min-width: 168px;
}
.cta.primary {
  background: var(--mono-black);
  color: var(--mono-white);
  border: 1.5px solid var(--mono-black);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--brand-secondary);
  color: var(--mono-white);
  border-color: var(--brand-secondary);
}
.cta.secondary {
  background: var(--brand-accent);
  color: var(--mono-black);
  border: 1.5px solid var(--brand-accent);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--mono-black);
  color: var(--mono-white);
}


/* =========================
   FEATURES, ABOUT, SERVICES LISTS
   ========================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  list-style: none;
  justify-content: flex-start;
}
.feature-grid li {
  background: var(--mono-white);
  border: 1.5px solid var(--mono-gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 248px;
  flex: 1 1 230px;
  transition: box-shadow 0.18s, border 0.13s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 18px rgba(34,34,44,.07);
  border-color: var(--brand-secondary);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
  margin-top: 24px;
}
.services-list li {
  padding: 18px 0 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.13rem;
  font-weight: 500;
  color: var(--mono-dk);
  min-width: 225px;
}
.services-list img {
  width: 28px; height: 28px;
  flex-shrink: 0;
}
.step-by-step {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
  margin-top: 18px;
}
.step-by-step li {
  background: var(--mono-light);
  border-left: 5px solid var(--brand-primary);
  padding: 18px 15px 18px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  font-size: 1rem;
  color: var(--mono-black);
}

.about-preview, .about, .team {
  background: #faf9f8;
  border-radius: var(--radius);
  box-shadow: 0 0 0 0 transparent;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 12px 0;
}
.text-section ul {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 18px;
  list-style: disc inside;
}
.text-section ul li {
  font-size: 1rem;
  padding: 4px 0;
}

/* =========================
   PROJECT, BENEFIT & LEGAL STYLES
   ========================= */
.project-highlights ul, .benefits ul, .legal ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: disc inside;
  margin: 18px 0 12px 0;
}
.project-highlights ul li, .benefits ul li, .legal ul li {
  font-size: 1.075rem;
  color: var(--mono-dk);
  padding: 5px 0;
}
.legal {
  background: var(--mono-white);
  padding: 40px 0 32px 0;
}
.legal h1, .legal h2 {
  margin-bottom: 8px;
}
.legal .text-section {
  max-width: 730px;
}

/* =========================
   THANK YOU PAGE
   ========================= */
.thank-you {
  background: linear-gradient(120deg,#faf9f8 80%,#f6f7fa 98%);
  border-top: 1px solid var(--mono-gray);
  border-bottom: 1px solid var(--mono-gray);
  text-align: center;
  padding: 48px 0;
}
.thank-you ul {
  list-style: disc inside;
  margin: 22px auto 18px auto;
  text-align: left;
  max-width: 440px;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--mono-black);
  color: var(--mono-white);
  padding: 38px 0 16px 0;
}
footer .container {
  padding-left: 0;
  padding-right: 0;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col p {
  color:#efefef;
}
.footer-col img, .footer-col svg {
  max-width: 170px;
  filter: grayscale(1) contrast(1.15);
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.footer-nav a {
  color: var(--mono-white);
  font-size: 1rem;
  opacity: .84;
  margin-bottom: 4px;
  letter-spacing: .01em;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-accent);
  opacity: 1;
  text-decoration: underline;
}
.social-media-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-bottom: 8px;
}
.social-media-links a img {
  width: 32px;
  height: 32px;
  filter: invert(1) grayscale(1) contrast(1.05);
  transition: filter 0.18s;
}
.social-media-links a:hover img,
.social-media-links a:focus img {
  filter: invert(1) brightness(0.8) contrast(1.2);
}
footer small {
  color: #e3e3e3;
  opacity: .75;
  font-size: .97rem;
}
@media (max-width: 800px) {
  .footer-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* =========================
   COOKIE BANNER & MODAL
   ========================= */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1200;
  background: #fff;
  color: var(--mono-dk);
  box-shadow: var(--shadow-l);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 26px;
  transition: opacity 0.3s, transform 0.25s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-banner p {
  color: var(--mono-dk);
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}
.button-cookie, .button-cookie-settings {
  border-radius: var(--radius);
  border: none;
  outline: none;
  padding: 11px 23px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 4px;
  box-shadow: var(--shadow-s);
  transition: background 0.13s, color 0.13s;
}
.button-cookie {
  background: var(--brand-primary);
  color: #fff;
  border: 1.5px solid var(--brand-primary);
}
.button-cookie:hover, .button-cookie:focus {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}
.button-cookie-settings {
  background: #fff;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
}
.button-cookie-settings:hover, .button-cookie-settings:focus {
  background: var(--brand-accent);
  color: var(--mono-black);
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,38,44,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #222;
  border-radius: 18px;
  box-shadow: var(--shadow-l);
  padding: 32px 40px 28px 40px;
  max-width: 480px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadeInModal 0.4s cubic-bezier(0.42,0.09,0.14,0.91);
}
@keyframes fadeInModal {
  from { opacity:0; transform: scale(0.96); }
  to { opacity:1; transform: scale(1); }
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #181b1e;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
}
.cookie-toggle {
  width: 44px; height: 24px;
  background: var(--mono-gray);
  border-radius: 12px;
  position: relative;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.20s;
}
.cookie-toggle.enabled {
  background: var(--brand-secondary);
}
.cookie-toggle-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1px; left: 1px;
  transition: left 0.18s;
  box-shadow: var(--shadow-s);
}
.cookie-toggle.enabled .cookie-toggle-dot {
  left: 21px;
  background: var(--brand-secondary);
}
.cookie-modal .cookie-btn-group {
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 23px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #666;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 7px;
  transition: background 0.1s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--mono-light);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1150px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 950px) {
  .feature-grid, .services-list, .footer-row {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 840px) {
  h1 { font-size: 2.05rem;}
  h2 { font-size: 1.65rem;}
  h3 { font-size: 1.28rem;}
  .hero h1 { font-size: 2rem; }
  .card, .cookie-modal { padding-left:20px;padding-right:20px; }
}
@media (max-width: 700px) {
  .hero { padding: 20px 0 20px 0; }
  .cta { padding: 28px 2px 16px 2px; }
  .footer-col { min-width: 92px; }
  .container { padding-left: 6px; padding-right: 7px; }
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 36px;
    padding: 18px 5px;
  }
  .hero {
    padding: 18px 0 16px 0;
  }
  h1, h2 { font-size: 1.22rem; }
  .content-wrapper, .card {
    gap: 10px;
    padding: 10px 0 10px 2px;
  }
  .card { padding: 12px; }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .services-list, .footer-row {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ====== END ====== */
