/* Design: Brand + Product form | Vibe: Warm structural | Layout: Editorial split | Color: Restrained */

/* Homepage blog: light editorial surface with readable, quiet cards. */
.blog-section {
  background: #f3f5ef;
  color: var(--garden-charcoal);
}
.blog-section .section-title { color: var(--garden-charcoal); }
.blog-section .section-desc { color: #59615d; }
.blog-section .blog-carousel .blog-card:not(.blog-all-card) {
  background: #fafbf7;
  color: var(--garden-charcoal);
  border-color: #d8ddd5;
  box-shadow: 0 16px 36px rgba(34,38,41,.09);
}
.blog-section .blog-carousel .blog-card:not(.blog-all-card):hover {
  box-shadow: 0 22px 44px rgba(34,38,41,.14);
}
.blog-section .blog-card-date { color: #747d78; }
.blog-section .blog-card-excerpt { color: #59615d; }
.blog-section .blog-card-cta { color: #4f7925; }
.blog-section .blog-carousel-btn { border-color: #cbd1c8; color: var(--garden-charcoal); }
.blog-section .blog-carousel-btn:hover { background: var(--garden-charcoal); color: var(--garden-lime); }
.blog-section .blog-carousel { scrollbar-color: var(--garden-olive) #dce1d9; }

/* Shared contact background: one evocative photovoltaic home across every form section. */
.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #202426;
  background-image:
    linear-gradient(90deg, rgba(24,28,29,.9) 0%, rgba(24,28,29,.76) 44%, rgba(24,28,29,.66) 100%),
    image-set(
      url('/assets/contact-section-sunset.webp') type('image/webp'),
      url('/assets/contact-section-sunset.jpg') type('image/jpeg')
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.contact-section .section-inner { position: relative; z-index: 1; }
.contact-section .section-title { color: var(--garden-white); }
.contact-section .section-desc { color: #d9ddd5; }
.contact-grid {
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  gap: clamp(2.5rem,6vw,5rem);
}
.contact-intro { min-width: 0; }
.contact-section .contact-form {
  background: rgba(34,38,41,.94);
  border-color: rgba(242,244,239,.2);
  box-shadow: 0 24px 64px rgba(8,10,11,.28);
}

/* Chi siamo: narrative on the left, milestones on the right. */
.page-about .about-story-grid {
  grid-template-columns: minmax(0,1.28fr) minmax(18rem,.72fr);
  gap: clamp(3rem,8vw,8rem);
}
.page-about .about-story-content .section-title {
  max-width: 17ch;
  color: var(--garden-charcoal);
}
.page-about .about-story-copy {
  margin-top: clamp(2rem,4vw,3.5rem);
  max-width: 46rem;
}
.page-about .about-timeline {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  margin-top: 0;
  border-top: 0;
  border-left: 1px solid #cfd3cd;
}
.page-about .about-timeline article {
  padding: 0 0 clamp(2rem,5vw,3.5rem) clamp(1.75rem,4vw,3rem);
  margin-bottom: clamp(2rem,4vw,3rem);
  border-bottom: 1px solid #cfd3cd;
}
.page-about .about-timeline article:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-section {
    background-image:
      linear-gradient(180deg, rgba(24,28,29,.58) 0, rgba(24,28,29,.82) 32rem, #202426 52rem),
      image-set(
        url('/assets/contact-section-sunset.webp') type('image/webp'),
        url('/assets/contact-section-sunset.jpg') type('image/jpeg')
      );
    background-position: 62% top;
    background-size: auto 52rem;
  }
  .page-about .about-story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .page-about .about-timeline { border-top: 1px solid #cfd3cd; border-left: 0; }
  .page-about .about-timeline article { padding: 1.75rem 0; margin: 0; }
}
