/* =========================================================
  Vivid Skills Architektur – Elegant Classic CSS
  Layouts: Flexbox Only – No grid/columns anywhere!
  Font: Montserrat (display, fallback: Georgia), Roboto (body, fallback: serif)
  Brand colors: primary #24303E, secondary #7EA08A, accent #F3EDF1
  Muted classic palette: Off-white backgrounds, deep blue text, sage accents
  Spacing: 8/16/24/32/40/60px patterns; classic visual hierarchy
  Responsive: Mobile-first, gentle transitions
  ========================================================= */

/* ========================== RESET / BASE ========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #24303E;
  background-color: #F9F8F6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}
a {
  color: #24303E;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #7EA08A;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 16px;
  padding-left: 0;
}
li {
  margin-bottom: 8px;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #7EA08A;
  padding-left: 16px;
  margin-bottom: 12px;
}

/* === Typography === */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Georgia, serif;
  letter-spacing: 0.015em;
  line-height: 1.15;
  color: #24303E;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1.075rem;
  color: #54606b;
  margin-bottom: 24px;
}
p {
  margin-bottom: 16px;
  color: #2c3c4f;
}
strong {
  font-weight: 600;
}

/* ========================== CONTAINERS ========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ========================== HEADER & NAV ========================== */
header {
  background: #F3EDF1;
  border-bottom: 1px solid #e2e2e2;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
header img {
  height: 38px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  font-size: 1rem;
  color: #24303E;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom-color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #7EA08A;
  border-bottom: 2px solid #7EA08A;
}
header nav a.cta-primary {
  background: #7EA08A;
  color: #fff;
  font-weight: 700;
  border-radius: 22px;
  padding: 10px 24px;
  margin-left: 12px;
  border-bottom: none;
  box-shadow: 0 4px 18px rgba(126,160,138,0.08);
  transition: background 0.25s, color 0.2s, box-shadow 0.2s;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: #24303E;
  color: #fff;
  box-shadow: 0 4px 24px rgba(36,48,62,0.14);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: #7EA08A;
  color: #fff;
  font-size: 2rem;
  border-radius: 6px;
  padding: 6px 18px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 30;
  margin-left: 16px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #24303E;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,48,62,0.98);
  color: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.83,-0.06,.18,.99);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px 20px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  margin-bottom: 18px;
  align-self: flex-end;
  transition: background 0.18s;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #7EA08A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.2rem;
  padding: 12px 0;
  color: #fff;
  border-radius: 7px;
  transition: background 0.19s, color 0.2s;
  text-align: left;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #7EA08A;
  color: #fff;
}

/* Hide desktop nav/show mobile on mobile */
@media (max-width: 990px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =========== HERO SECTIONS =========== */
.hero {
  padding: 60px 0 24px;
  background: #F9F8F6;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  text-align: center;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #24303E;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.hero .subheadline {
  max-width: 680px;
}

/* =========== Feature/Service Grid =========== */
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-item, .service-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(126, 160, 138, 0.07);
  padding: 28px 20px 24px 20px;
  flex: 1 1 250px;
  max-width: 300px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  position: relative;
  margin-bottom: 20px;
  border: 1px solid #E9EAED;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.19s;
}
.feature-item:hover,
.service-item:hover {
  box-shadow: 0 8px 32px rgba(36,48,62,0.10), 0 1.5px 5px rgba(36,48,62,0.035);
  border-color: #7EA08A;
  transform: translateY(-3px) scale(1.015);
}
.feature-item img,
.service-item img {
  height: 42px;
  width: 42px;
  margin-bottom: 8px;
  flex: none;
}
.feature-item h3, .service-item h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
  color: #24303E;
  font-weight: 600;
}
.feature-item p, .service-item p {
  font-size: 1rem;
  color: #36495c;
  margin-bottom: 0;
}
.feature-price, .service-price {
  margin-top: 4px;
  font-size: 1.07rem;
  color: #7EA08A;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
}

/* =========== PROJECT & BLOG TEASERS =========== */
.projects-preview .project-teasers, .project-list, .post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.project-teaser, .project-item, .blog-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(36,48,62,0.08);
  padding: 22px 18px 18px 18px;
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #E6E2E8;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.17s;
}
.project-teaser:hover,
.project-item:hover,
.blog-post:hover {
  border-color: #7EA08A;
  box-shadow: 0 6px 28px rgba(126,160,138,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* =========== TESTIMONIALS =========== */
.testimonials {
  background: #F3EDF1;
  padding: 40px 0;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(36,48,62,0.11);
  border-radius: 11px;
  border: 1px solid #E6E2E8;
  max-width: 540px;
  color: #222C3A;
  position: relative;
}
.testimonial-card blockquote {
  color: #24303E;
  font-size: 1.09rem;
  font-family: 'Montserrat', serif;
  margin-bottom: 8px;
}
.testimonial-author {
  font-size: 1rem;
  color: #7EA08A;
  font-weight: 600;
  font-family: 'Montserrat', Georgia, serif;
}

/* =========== LEGAL SECTIONS =========== */
.legal {
  background: #F9F8F6;
  padding: 40px 0;
  margin-bottom: 60px;
}
.legal .content-wrapper {
  max-width: 740px;
  margin: 0 auto;
}
.legal h1, .legal h2 {
  color: #24303E;
}
.legal ul, .legal ol {
  margin-bottom: 20px;
}

/* =========== TEAM/ABOUT/BLOG LAYOUTS =========== */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.team-member {
  background: #fff;
  border-radius: 10px;
  padding: 18px 16px;
  box-shadow: 0 1.5px 6px rgba(36,48,62,0.065);
  min-width: 180px;
  flex: 1 1 200px;
  border: 1px solid #E6E2E8;
  margin-bottom: 20px;
}
.case-study-item {
  background: #fff;
  border-radius: 10px;
  padding: 20px 16px 16px 16px;
  box-shadow: 0 2px 14px rgba(36,48,62,0.09);
  margin-bottom: 20px;
  border: 1px solid #E6E2E8;
}
.categories {
  font-size: 0.98rem;
  color: #7EA08A;
  margin-bottom: 10px;
  font-family: 'Montserrat', Georgia, serif;
}

/* Feature/Section Containers */
.features, .about-preview, .projects-preview, .about-section, .team-section, .approach-section, .services-list, .contact-section, .process-section, .blog-posts, .cta-section, .subscribe-cta, .contact-cta, .thank-you-hero {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========================== CTA BUTTONS ========================== */
.cta-primary {
  background: #24303E;
  color: #fff !important;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 26px;
  padding: 13px 38px;
  cursor: pointer;
  box-shadow: 0 3.5px 30px rgba(36,48,62,0.085);
  margin: 10px 0 0 0;
  transition: background 0.23s, color 0.18s, box-shadow 0.21s, transform 0.13s;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #7EA08A;
  color: #fff !important;
  box-shadow: 0 6px 30px rgba(126,160,138,0.18);
  transform: translateY(-2px) scale(1.025);
}
.cta-secondary {
  background: transparent;
  color: #24303E;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  font-size: 1.05rem;
  border-radius: 22px;
  border: 2px solid #7EA08A;
  padding: 9px 28px;
  margin: 8px 0 0 0;
  transition: background 0.22s, color 0.16s, border-color 0.16s;
  outline: none;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #7EA08A;
  color: #fff;
  border-color: #24303E;
}

/* ========================== FOOTER ========================== */
footer {
  background: #24303E;
  color: #fff;
  padding: 32px 0 24px;
  border-top: 2px solid #E6E2E8;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer img {
  height: 42px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 14px;
}
footer nav a {
  color: #F3EDF1;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #7EA08A;
}
.footer-contact {
  font-size: 0.97rem;
  color: #D8D3DA;
  margin-top: 7px;
  text-align: center;
}

/* ========================== MISC ELEMENTS ===================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================== COOKIE CONSENT BANNER ========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #222C3A;
  box-shadow: 0px -2px 18px rgba(36,48,62,0.11);
  border-top: 1px solid #E6E2E8;
  z-index: 1999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 24px;
  font-size: 0.95rem;
  animation: cookieBounceIn 0.45s cubic-bezier(.73,.03,.3,.96);
  transition: transform 0.31s, opacity 0.22s;
}
@keyframes cookieBounceIn {
  0% { transform: translateY(100px); opacity: 0; }
  60% { transform: translateY(-16px); opacity: 1; }
  100% { transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  border-radius: 8px;
  padding: 7px 18px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  background: #F3EDF1;
  color: #24303E;
}
.cookie-btn.accept {
  background: #7EA08A;
  color: #fff;
  font-weight: 700;
}
.cookie-btn.reject {
  background: #eee;
  color: #24303E;
  font-weight: 500;
}
.cookie-btn.settings {
  background: #F3EDF1;
  color: #7EA08A;
  font-weight: 500;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #24303E;
  color: #fff;
}

/* COOKIE MODAL  */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,48,62,0.65);
  z-index: 2999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: cookieModalShow 0.34s cubic-bezier(.7,.18,.22,1);
}
@keyframes cookieModalShow {
  0% { opacity: 0; transform: translateY(80px); }
  90% { opacity: 1; transform: translateY(-7px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal {
  background: #fff;
  color: #222C3A;
  border-radius: 16px;
  max-width: 390px;
  width: 94vw;
  box-shadow: 0 13px 40px rgba(36,48,62,0.19);
  padding: 34px 24px 20px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Georgia, serif;
  color: #24303E;
}
.cookie-category {
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #2F3845;
}
.cookie-toggle {
  width: 36px;
  height: 22px;
  background: #eee;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.19s;
  border: 1px solid #7EA08A;
}
.cookie-toggle[aria-checked="true"] {
  background: #7EA08A;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 7px rgba(36,48,62,0.11);
  transition: left 0.18s;
}
.cookie-toggle[aria-checked="true"]::after {
  left: 17px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  right: 12px; top: 13px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #7EA08A;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #E9EAED;
}

/* =================== MEDIA QUERIES (MOBILE-FIRST) ===================*/
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section, .features, .about-preview, .projects-preview, .about-section, .team-section, .approach-section, .services-list, .contact-section, .process-section, .blog-posts, .cta-section, .subscribe-cta, .contact-cta, .thank-you-hero, .legal {
    padding: 30px 4px;
    margin-bottom: 38px;
  }
  .feature-grid, .service-grid, .projects-preview .project-teasers, .project-list, .team-list, .post-grid {
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    height: 58px;
    gap: 10px;
  }
  .hero {
    padding: 36px 0 12px;
  }
  .hero .content-wrapper {
    align-items: flex-start;
    text-align: left;
  }
  .testimonials .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 7px;
    font-size: 1rem;
  }
  .cookie-modal {
    max-width: 95vw;
    padding: 23px 9px 16px 12px;
  }
  .footer-contact {
    font-size: 0.915rem;
  }
  footer nav {
    gap: 13px;
    font-size: 0.99rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  header img {
    height: 26px;
  }
  footer img {
    height: 30px;
  }
}

/* ================== UTILITIES ===================*/
.text-center { text-align: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-100 { width: 100%; }

/* ======================= FOCUS VISIBLE ======================= */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible, .cookie-btn:focus-visible, .mobile-menu-toggle:focus-visible {
  outline: 2px solid #7EA08A;
  outline-offset: 2px;
}

/* ======================== SCROLLBARS ======================== */
::-webkit-scrollbar {
  width: 8px; background: #F3EDF1;
}
::-webkit-scrollbar-thumb {
  background: #E6E2E8; border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7EA08A;
}

/* ================== END OF STYLES ===================== */
