/* 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,
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 {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #2C3E47;
  background: #FAFAFA;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #798081;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:hover, a:focus {
  color: #a58d55;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.3em;
}

/* VARIABLES: Soft Pastel Palette (fall back if var not supported) */
:root {
  --color-primary: #2C3E47;
  --color-secondary: #A58D55;
  --color-accent: #FFFFFF;
  --color-bg-main: #F6F7FA;
  --color-bg-section: #F8F6FB;
  --color-bg-card: #FAFAFC;
  --color-pastel-blue: #D9E6F5;
  --color-pastel-lavender: #E9E6F7;
  --color-pastel-green: #D9F5EA;
  --color-pastel-rose: #F9E6E9;
  --color-pastel-yellow: #FFF8DD;
  --color-shadow: rgba(165, 141, 85, 0.07);
  --border-radius: 16px;
  --transition: all .25s cubic-bezier(.52,.01,.1,1);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.35rem;
}
h4 {
  font-size: 1.1rem;
}
h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li, .subheadline {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #454C54;
}
.subheadline {
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: #525d72;
}
strong, b {
  color: #2c3e47;
  font-weight: 600;
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section, #F8F6FB);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px var(--color-shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: var(--color-bg-card);
  border-radius: var(--border-radius);
  padding: 24px 20px;
  box-shadow: 0 0 8px var(--color-shadow);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, var(--color-pastel-rose), var(--color-pastel-blue));
  padding: 56px 0 56px 0;
  margin-bottom: 60px;
}
.hero h1 {
  color: var(--color-primary);
  text-shadow: 0 1px 6px #fff8ee99;
}
.hero .cta-primary {
  margin-top: 24px;
}

/* FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 24px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-pastel-blue);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 2px 18px var(--color-shadow);
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 600px;
  transition: transform .18s cubic-bezier(.52,.01,.1,1), box-shadow .25s;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 1.06rem;
}
.testimonial-card p {
  color: #222f38;
  font-size: 1.15rem;
  font-style: italic;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 32px 0 #bcd0e4cc;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID */
.features {
  background: var(--color-pastel-green);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 24px;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-pastel-yellow);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
  font-size: 1.1rem;
  color: var(--color-primary);
}
.feature-grid img {
  width: 36px;
  height: 36px;
}

/* BUTTONS & CTAs */
.cta-primary {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-accent);
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  padding: 15px 36px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 14px #e1ca9780;
  cursor: pointer;
  margin: 8px 0 8px 0;
  letter-spacing: 0.01em;
  transition: var(--transition);
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #8F7642;
  color: #fff;
  box-shadow: 0 3px 24px #a58d5533;
  transform: translateY(-3px) scale(1.02);
}
.cta-secondary {
  display: inline-block;
  background: var(--color-pastel-rose);
  color: var(--color-secondary);
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 13px 28px;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 12px #dfc9d580;
  cursor: pointer;
  margin-top: 18px;
  letter-spacing: 0.01em;
  transition: var(--transition);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #ffe0e7;
  color: #A58D55;
  box-shadow: 0 4px 24px #a58d5522;
}

/* SERVICE/CASE STUDY CARDS */
.service-card, .case-study-card, .blog-post {
  background: var(--color-bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 26px 24px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .2s;
}
.service-card:hover, .case-study-card:hover, .blog-post:hover {
  box-shadow: 0 8px 36px #d2caaa33;
  transform: translateY(-3px) scale(1.01);
}
.service-card h2 span {
  font-size: 0.93rem;
  color: #b89d6c;
  font-weight: 500;
}

/* BLOG META */
.blog-meta {
  display: block;
  font-size: 0.98rem;
  color: #8ca0b0;
  margin-top: 16px;
}

/* LISTS INSIDE CARDS & TEXT SECTIONS */
.text-section ul, .text-section ol {
  margin-bottom: 8px;
}
.text-section li {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* BENEFITS SECTION */
.benefits {
  background: var(--color-pastel-lavender);
}

/* MATERIALS & PROCESS */
.materials, .process {
  background: var(--color-pastel-rose);
}
.process ol {
  padding-left: 1em;
}
.process li {
  margin-bottom: 0.8em;
}

/* FOOTER */
footer {
  background: #fff;
  padding: 32px 20px 24px 20px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 1rem;
  color: #768293;
  margin-top: 20px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-menu a {
  color: #b1b5bb;
  font-size: 0.97rem;
  padding: 4px 10px;
  border-radius: 6px;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--color-pastel-yellow);
  color: var(--color-secondary);
}

/* MAIN NAVIGATION (DESKTOP) */
.main-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  background: transparent;
  padding: 18px 20px;
}
.main-nav img {
  height: 38px;
  margin-right: 14px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-primary);
  border-radius: 14px;
  padding: 6px 13px;
  transition: background .18s, color .14s;
}
.main-nav .cta-primary {
  margin-left: 22px;
  box-shadow: 0 1px 7px #e1ca9780;
  font-size: 1.06rem;
  padding: 10px 28px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-pastel-blue);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 2.1rem;
  border: none;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 1032;
  box-shadow: 0 2px 10px #e4e7ee55;
  cursor: pointer;
  transition: background .16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1400;
  background: linear-gradient(115deg, #fafafc 80%, #e9e6f7 100%);
  box-shadow: 0 8px 48px #b6b7bf80;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.48,.03,.21,.93);
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-pastel-rose);
  color: var(--color-secondary);
  border: none;
  border-radius: 10px;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 24px;
  right: 18px;
  z-index: 1450;
  box-shadow: 0 2px 10px #eddbe7bb;
  cursor: pointer;
  transition: background .16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-pastel-yellow);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 120px 36px 32px 36px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 12px 10px;
  border-radius: 9px;
  width: 100%;
  transition: background .19s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 1800;
  background: var(--color-pastel-lavender);
  color: #2C3E47;
  box-shadow: 0 -4px 36px #aaa6dc60;
  padding: 24px 14px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  animation: cookieFadeIn .8s ease;
}
@keyframes cookieFadeIn { from { opacity:0; transform: translateY(60px); } to { opacity:1; transform: translateY(0);} }
.cookie-banner p { font-size: 1rem; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-right: 9px;
  box-shadow: 0 1px 7px #e1ca9780;
  transition: var(--transition);
  outline: none;
}
.cookie-banner button.cookie-reject {
  background: #ede8c4;
  color: var(--color-secondary);
  font-weight: 600;
}
.cookie-banner button.cookie-settings {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
  font-weight: 600;
  border: 1px solid #cfdde5;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #8F7642;
  color: #fff;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #ded8b6;
  color: #2c3e47;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #daeaf7;
  color: #a58d55;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #4d577b40;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .28s;
}
@keyframes fadeInModal { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
  background: var(--color-bg-card);
  border-radius: 30px;
  box-shadow: 0 10px 48px #afa1d633;
  padding: 38px 30px 30px 32px;
  min-width: 340px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalPop .28s;
}
@keyframes modalPop { from { transform: scale(.8); opacity:.58; } to { transform:scale(1); opacity:1; } }
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 19px;
  color: var(--color-secondary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-category-label {
  font-weight: 600;
  font-size: 1.05rem;
  color: #2c3e47;
}
.cookie-toggle {
  width: 46px;
  height: 24px;
  border-radius: 14px;
  background: var(--color-pastel-blue);
  border: 1px solid #b3c1d3;
  position: relative;
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: background .22s;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
  border: 1px solid #A58D55;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 2px; top: 2.2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .19s;
}
.cookie-toggle:checked::before {
  transform: translateX(20px);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-close {
  background: #ede8c4;
  color: var(--color-secondary);
  border: none;
  border-radius: 16px;
  font-size: 1.02rem;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 8px;
  cursor: pointer;
  transition: background .18s, color .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-pastel-yellow);
  color: #2c3e47;
}

/* FORMS (Minimal, as seen on contact) */
input, textarea, select {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  background: #f8f6fb;
  border: 1px solid #cfc4d8;
  border-radius: 12px;
  padding: 13px 15px;
  margin-bottom: 14px;
  width: 100%;
  color: #2c3e47;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #a58d55;
  box-shadow: 0 2px 10px #d9e6f555;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: #7d8792;
}
button, input[type="submit"] {
  outline: none;
}

/* THANK YOU SECTION */
.thank-you {
  background: var(--color-pastel-green);
  padding: 60px 20px;
  text-align: center;
  border-radius: 22px;
  box-shadow: 0 3px 42px #b6e5d18e;
}
.thank-you h1 {
  margin-bottom: 20px;
}

/* PAGE-SPECIFIC STYLES (for privacy, gdpr, tos, cookies, etc.) */
.privacy, .gdpr, .tos, .cookies {
  background: var(--color-pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 15px var(--color-shadow);
  padding: 44px 24px;
  margin-bottom: 38px;
}

/* GENERAL GAPS AND LAYOUTS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Utility Classes for Margin, Gap, Flex (if well maintained by main structure) */
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 2rem; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-20 { gap: 20px; }

/* RESPONSIVE: Mobile-First */
@media (max-width: 1199px) {
  .container { max-width: 990px; }
}
@media (max-width: 900px) {
  .container { max-width: 95vw; }
  .main-nav {
    gap: 12px;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  /* Navigation mobile styles */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .hero, .thank-you {
    padding: 30px 0 34px 0;
    border-radius: 0;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 22px 6px;
    border-radius: 12px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .testimonial-card {
    padding: 18px 11px;
    font-size: 1rem;
    min-width: unset;
    max-width: 100vw;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .service-card, .case-study-card, .blog-post {
    padding: 17px 8px;
    font-size: 1rem;
    margin-bottom: 16px;
  }
  .footer-menu {
    gap: 7px;
  }
  .cookie-modal {
    min-width: 96vw;
    padding: 18px 7px 16px 13px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  .testimonial-card { font-size: 0.99rem; }
}

/* ACCESSIBILITY & FOCUS */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible {
  outline: 2px solid #A58D55;
  outline-offset: 2px;
  z-index: 15;
}

/* MICRO-INTERACTIONS */
.card, .service-card, .case-study-card, .blog-post, .testimonial-card {
  transition: box-shadow .16s, transform .17s;
}
.card:active, .service-card:active, .case-study-card:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* REMOVE SPURIOUS MARGINS AT END OF SECTIONS */
section:last-of-type, .section:last-of-type {
  margin-bottom: 0;
}

/* END OF STYLE.CSS */
