/* ============================================
   TecnoPlast Solutions - Industrial Modern
   ============================================ */

:root {
  --tp-primary: #00695c;
  --tp-primary-light: #00897b;
  --tp-primary-dark: #004d40;
  --tp-secondary: #ff6d00;
  --tp-secondary-light: #ff9100;
  --tp-warning: #ffd600;
  --tp-text: #333333;
  --tp-text-light: #666666;
  --tp-text-dark: #1a1a1a;
  --tp-bg: #ffffff;
  --tp-bg-card: #ffffff;
  --tp-bg-alt: #f5f7f8;
  --tp-border: #e0e0e0;
  --tp-border-light: #eeeeee;
  --tp-success: #2e7d32;
  --tp-error: #c62828;
  --tp-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --tp-font-heading: 'Merriweather', Georgia, serif;
  --tp-font-ui: 'Montserrat', 'Helvetica Neue', sans-serif;
  --tp-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --tp-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --tp-shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --tp-radius: 8px;
  --tp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tp-max-width: 1200px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--tp-font-primary);
  color: var(--tp-text);
  background-color: var(--tp-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  text-decoration: none;
  color: var(--tp-primary);
  transition: var(--tp-transition);
}
a:hover { color: var(--tp-secondary); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tp-font-heading);
  color: var(--tp-text-dark);
  line-height: 1.3;
  font-weight: 700;
}

.container {
  max-width: var(--tp-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Utility Classes
   ============================================ */
.section { padding: 70px 0; }
.section--alt { background-color: var(--tp-bg-alt); border-top: 1px solid var(--tp-border-light); }

.section__header {
  text-align: center;
  margin-bottom: 50px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--tp-primary);
  margin-bottom: 12px;
}

.section__title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.section__title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--tp-secondary);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section__subtitle {
  color: var(--tp-text-light);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--tp-font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--tp-radius);
  transition: var(--tp-transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--tp-primary);
  color: #fff;
  border-color: var(--tp-primary);
}
.btn--primary:hover {
  background: var(--tp-primary-dark);
  border-color: var(--tp-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--tp-shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--tp-primary);
  border-color: var(--tp-primary);
}
.btn--outline:hover {
  background: var(--tp-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--tp-text-dark);
  color: #fff;
  border-color: var(--tp-text-dark);
}
.btn--dark:hover {
  background: #333;
  border-color: #333;
  color: #fff;
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--tp-secondary);
  color: #fff;
  border-color: var(--tp-secondary);
}
.btn--secondary:hover {
  background: #e66000;
  border-color: #e66000;
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   Site Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--tp-border-light);
  transition: var(--tp-transition);
}

.site-header.scrolled {
  box-shadow: var(--tp-shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tp-text-dark);
}
.site-logo:hover { color: var(--tp-primary); }

.site-logo__icon {
  width: 42px;
  height: 42px;
  background: var(--tp-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tp-font-ui);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 6px;
}

.site-logo__text {
  font-family: var(--tp-font-ui);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}
.site-logo__text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--tp-text-light);
  letter-spacing: 0.5px;
}

/* Navigation */
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tp-text);
  border-radius: 6px;
}
.main-nav__link:hover {
  color: var(--tp-primary);
  background: rgba(0,105,92,0.06);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--tp-text-dark);
  border-radius: 2px;
  transition: var(--tp-transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,77,64,0.85), rgba(0,105,92,0.7));
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: #fff;
}

.hero__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 20px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 30px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero__title span {
  color: var(--tp-secondary);
}

.hero__text {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero__buttons .btn--primary {
  background: var(--tp-secondary);
  border-color: var(--tp-secondary);
}
.hero__buttons .btn--primary:hover {
  background: #e66000;
  border-color: #e66000;
  color: #fff;
}

.hero__buttons .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.hero__buttons .btn--outline:hover {
  background: #fff;
  color: var(--tp-primary);
  border-color: #fff;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__stats > div { text-align: center; }
.hero__stat-number {
  font-family: var(--tp-font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}
.hero__stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* ============================================
   Product Cards
   ============================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  position: relative;
  border-radius: var(--tp-radius);
  overflow: hidden;
  box-shadow: var(--tp-shadow-sm);
  transition: var(--tp-transition);
  aspect-ratio: 3/2;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tp-shadow-lg);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__image { transform: scale(1.05); }

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
}

.product-card__title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 8px;
}
.product-card__text {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 12px;
}
.product-card__link {
  color: var(--tp-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}
.product-card__link:hover { color: var(--tp-secondary-light); }

/* ============================================
   Feature Cards (Why Us)
   ============================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--tp-bg-card);
  padding: 35px 25px;
  border-radius: var(--tp-radius);
  text-align: center;
  box-shadow: var(--tp-shadow-sm);
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  transition: var(--tp-transition);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tp-shadow-md);
  border-left-color: var(--tp-secondary);
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(0,105,92,0.08);
  color: var(--tp-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 20px;
}

.feature-card__title {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.feature-card__text {
  font-size: 0.9rem;
  color: var(--tp-text-light);
  line-height: 1.6;
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
  background: var(--tp-primary);
  padding: 40px 0;
  color: #fff;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stats-bar__number {
  font-family: var(--tp-font-ui);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}

.stats-bar__label {
  font-size: 0.85rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============================================
   Certifications
   ============================================ */
.certs__grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cert-badge {
  text-align: center;
  padding: 25px;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  min-width: 140px;
  transition: var(--tp-transition);
}
.cert-badge:hover {
  border-color: var(--tp-primary);
  box-shadow: var(--tp-shadow-sm);
}

.cert-badge__icon {
  color: var(--tp-primary);
  margin-bottom: 10px;
}
.cert-badge__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tp-text-dark);
}

/* ============================================
   Process Timeline
   ============================================ */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--tp-primary), var(--tp-secondary));
  opacity: 0.2;
  z-index: 0;
}

.process__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process__number {
  font-family: var(--tp-font-ui);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0,105,92,0.1);
  margin-bottom: 10px;
}

.process__icon {
  width: 60px;
  height: 60px;
  background: var(--tp-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.process__title {
  font-size: 1rem;
  margin-bottom: 10px;
}
.process__text {
  font-size: 0.85rem;
  color: var(--tp-text-light);
  line-height: 1.6;
}

/* ============================================
   Blog Cards
   ============================================ */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--tp-bg-card);
  border-radius: var(--tp-radius);
  overflow: hidden;
  box-shadow: var(--tp-shadow-sm);
  border: 1px solid var(--tp-border-light);
  transition: var(--tp-transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tp-shadow-md);
}

.blog-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card__body { padding: 24px; }

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--tp-text-light);
  margin-bottom: 10px;
}
.blog-card__meta i { margin-right: 6px; }

.blog-card__title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card__title a { color: var(--tp-text-dark); }
.blog-card__title a:hover { color: var(--tp-primary); }

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--tp-text-light);
  line-height: 1.6;
}

.blog-card__read-time {
  font-size: 0.8rem;
  color: var(--tp-text-light);
}

/* ============================================
   CTA Band
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, rgba(0,77,64,0.92), rgba(0,105,92,0.88)),
              url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-band__title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
}
.cta-band__text {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}
.cta-band .btn--primary {
  background: var(--tp-secondary);
  border-color: var(--tp-secondary);
}
.cta-band .btn--primary:hover {
  background: #e66000;
  border-color: #e66000;
  color: #fff;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 60px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer__title {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.site-footer__text {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
}

.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.site-footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.85rem;
}
.site-footer__social a:hover {
  background: var(--tp-primary);
  border-color: var(--tp-primary);
  color: #fff;
}

.site-footer__links li { margin-bottom: 8px; }
.site-footer__links a {
  color: #aaa;
  font-size: 0.9rem;
}
.site-footer__links a:hover { color: #fff; }

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.site-footer__contact-item i {
  color: var(--tp-primary-light);
  margin-top: 3px;
  width: 16px;
  text-align: center;
}

.site-footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ============================================
   Scroll Top Button
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--tp-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--tp-transition);
  z-index: 1001;
  box-shadow: var(--tp-shadow-md);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--tp-primary-dark); transform: translateY(-3px); }

/* ============================================
   About Page
   ============================================ */
.page-hero {
  background: var(--tp-primary);
  color: #fff;
  padding: 120px 0 60px;
  text-align: center;
  margin-top: 70px;
}
.page-hero__title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 12px;
}
.page-hero__subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about__image {
  border-radius: var(--tp-radius);
  overflow: hidden;
  box-shadow: var(--tp-shadow-md);
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.about__text p {
  color: var(--tp-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.about__value-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--tp-bg-card);
  border-radius: var(--tp-radius);
  border: 1px solid var(--tp-border-light);
}
.about__value-card i {
  font-size: 2rem;
  color: var(--tp-primary);
  margin-bottom: 12px;
}
.about__value-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.about__value-card p {
  font-size: 0.85rem;
  color: var(--tp-text-light);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.team-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--tp-bg-card);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow-sm);
  transition: var(--tp-transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--tp-shadow-md); }
.team-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}
.team-card__name {
  font-size: 1rem;
  margin-bottom: 4px;
}
.team-card__role {
  font-size: 0.85rem;
  color: var(--tp-text-light);
}

/* ============================================
   Products Page
   ============================================ */
.filters,
.products-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn,
.products-filter__btn {
  padding: 10px 24px;
  font-family: var(--tp-font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--tp-border);
  background: transparent;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--tp-transition);
  color: var(--tp-text);
}
.filter-btn:hover,
.filter-btn.active,
.products-filter__btn:hover,
.products-filter__btn--active {
  background: var(--tp-primary);
  border-color: var(--tp-primary);
  color: #fff;
}

.products-page__grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-page-card,
.product-item {
  background: var(--tp-bg-card);
  border-radius: var(--tp-radius);
  overflow: hidden;
  box-shadow: var(--tp-shadow-sm);
  border: 1px solid var(--tp-border-light);
  transition: var(--tp-transition);
}
.product-page-card:hover,
.product-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--tp-shadow-md);
}
.product-page-card__image,
.product-item__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-page-card__body,
.product-item__body { padding: 24px; }
.product-page-card__category,
.product-item__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tp-primary);
  margin-bottom: 8px;
}
.product-page-card__title,
.product-item__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.product-page-card__text,
.product-item__text {
  font-size: 0.9rem;
  color: var(--tp-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-page-card__specs,
.product-item__specs {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--tp-text-light);
}
.product-page-card__specs i,
.product-item__specs i { color: var(--tp-primary); margin-right: 4px; }

/* ============================================
   Contact & Forms
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info__icon {
  width: 48px;
  height: 48px;
  background: rgba(0,105,92,0.08);
  color: var(--tp-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info__text h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.contact-info__text p {
  font-size: 0.9rem;
  color: var(--tp-text-light);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--tp-text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  font-family: var(--tp-font-primary);
  font-size: 0.95rem;
  transition: var(--tp-transition);
  background: #fff;
  color: var(--tp-text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 3px rgba(0,105,92,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--tp-error);
}
.form-group .error-message {
  font-size: 0.8rem;
  color: var(--tp-error);
  margin-top: 4px;
}

/* Multi-step form */
.form-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.form-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-step-indicator__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--tp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--tp-text-light);
  transition: var(--tp-transition);
}
.form-step-indicator.active .form-step-indicator__number {
  background: var(--tp-primary);
  border-color: var(--tp-primary);
  color: #fff;
}
.form-step-indicator.completed .form-step-indicator__number {
  background: var(--tp-success);
  border-color: var(--tp-success);
  color: #fff;
}
.form-step-indicator__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tp-text-light);
}
.form-step-indicator.active .form-step-indicator__label {
  color: var(--tp-primary);
}
.form-step-connector {
  width: 40px;
  height: 2px;
  background: var(--tp-border);
  margin: 0 4px;
}

.form-panel { display: none; }
.form-panel.active { display: block; }

.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

/* ============================================
   Area Riservata
   ============================================ */
.login-box {
  max-width: 420px;
  margin: 0 auto;
  padding: 40px;
  background: var(--tp-bg-card);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow-md);
  border: 1px solid var(--tp-border-light);
}
.login-box__title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.login-box .btn { width: 100%; }

.dashboard { display: none; }
.dashboard.active { display: block; }

.dashboard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.dashboard__card {
  padding: 24px;
  background: var(--tp-bg-card);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow-sm);
  border: 1px solid var(--tp-border-light);
}
.dashboard__card-title {
  font-size: 0.95rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tp-border-light);
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tp-border-light);
}
.file-item:last-child { border-bottom: none; }
.file-item__icon { color: var(--tp-primary); font-size: 1.1rem; }
.file-item__name { font-size: 0.9rem; font-weight: 500; }
.file-item__size { font-size: 0.8rem; color: var(--tp-text-light); margin-left: auto; }
.file-item__download {
  color: var(--tp-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================
   Blog Page
   ============================================ */
.blog-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article__content {
  max-width: 780px;
  margin: 0 auto;
}
.article__content h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.article__meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--tp-text-light);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tp-border-light);
}
.article__body {
  font-size: 1.05rem;
  line-height: 1.8;
}
.article__body p { margin-bottom: 20px; }
.article__body h2 {
  font-size: 1.5rem;
  margin: 30px 0 16px;
}
.article__body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}
.article__body ul li { margin-bottom: 8px; }

/* ============================================
   Privacy Page
   ============================================ */
.privacy__content {
  max-width: 780px;
  margin: 0 auto;
}
.privacy__content h2 {
  font-size: 1.4rem;
  margin: 30px 0 12px;
}
.privacy__content p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--tp-text-light);
}
.privacy__content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.privacy__content ul li {
  margin-bottom: 6px;
  color: var(--tp-text-light);
}

/* ============================================
   Success Message
   ============================================ */
.success-message {
  text-align: center;
  padding: 40px;
  background: rgba(0,105,92,0.05);
  border: 1px solid rgba(0,105,92,0.2);
  border-radius: var(--tp-radius);
}
.success-message i {
  font-size: 3rem;
  color: var(--tp-success);
  margin-bottom: 16px;
}
.success-message h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.success-message p {
  color: var(--tp-text-light);
}

/* ============================================
   Page Hero Breadcrumb
   ============================================ */
.page-hero__breadcrumb {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: 8px;
}
.page-hero__breadcrumb a { color: #fff; }
.page-hero__breadcrumb a:hover { opacity: 0.9; }

/* ============================================
   Forms — Shared
   ============================================ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.login-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: var(--tp-bg-card);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow-md);
  border: 1px solid var(--tp-border-light);
}
.form-error {
  font-size: 0.8rem;
  color: var(--tp-error);
  margin-top: 4px;
}
.form-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

/* ============================================
   Multi-step Form (Preventivo)
   ============================================ */
.multistep-form {
  max-width: 700px;
  margin: 0 auto;
}
.form-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.form-progress__step {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-progress__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--tp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--tp-text-light);
  transition: var(--tp-transition);
}
.form-progress__step--active .form-progress__circle {
  background: var(--tp-primary);
  border-color: var(--tp-primary);
  color: #fff;
}
.form-progress__step--completed .form-progress__circle {
  background: var(--tp-success);
  border-color: var(--tp-success);
  color: #fff;
}
.form-progress__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tp-text-light);
}
.form-progress__step--active .form-progress__label {
  color: var(--tp-primary);
}
.form-progress__connector {
  width: 40px;
  height: 2px;
  background: var(--tp-border);
  margin: 0 4px;
  align-self: center;
}
.form-step { display: none; }
.form-step--active { display: block; }
.form-summary {
  padding: 30px;
  background: var(--tp-bg-alt);
  border-radius: var(--tp-radius);
  border: 1px solid var(--tp-border-light);
}
.form-summary h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.form-summary p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--tp-text-light);
}

/* ============================================
   Area Riservata
   ============================================ */
.area-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}
.area-tabs__btn {
  padding: 10px 24px;
  font-family: var(--tp-font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--tp-border);
  background: transparent;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--tp-transition);
  color: var(--tp-text);
}
.area-tabs__btn:hover,
.area-tabs__btn--active {
  background: var(--tp-primary);
  border-color: var(--tp-primary);
  color: #fff;
}
.area-view { display: none; }
.area-view--active { display: block; }

.dashboard__welcome {
  padding: 30px;
  background: rgba(0,105,92,0.05);
  border: 1px solid rgba(0,105,92,0.15);
  border-radius: var(--tp-radius);
  margin-bottom: 30px;
}
.dashboard__welcome h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.dashboard__welcome p {
  color: var(--tp-text-light);
  font-size: 0.95rem;
}

.dashboard__files {
  background: var(--tp-bg-card);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow-sm);
  border: 1px solid var(--tp-border-light);
  overflow: hidden;
}
.dashboard__files-header {
  padding: 16px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--tp-border-light);
  background: var(--tp-bg-alt);
}
.file-item__info {
  flex: 1;
}

/* ============================================
   Article / Post
   ============================================ */
.featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--tp-radius);
  margin-bottom: 30px;
}
.post-content {
  max-width: 780px;
  margin: 0 auto;
}
.post-content h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.post-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05rem;
}
.post-content h2 {
  font-size: 1.5rem;
  margin: 30px 0 16px;
}
.post-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}
.post-content ul li { margin-bottom: 8px; }
.post-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--tp-text-light);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tp-border-light);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--tp-border-light);
    box-shadow: var(--tp-shadow-md);
    transform: translateY(-120%);
    transition: var(--tp-transition);
    z-index: 999;
  }
  .main-nav.active { transform: translateY(0); }

  .main-nav__list {
    flex-direction: column;
    padding: 20px;
    gap: 4px;
  }
  .main-nav__link {
    display: block;
    padding: 12px 16px;
  }

  .hero { min-height: 70vh; }
  .hero__title { font-size: 2rem; }
  .hero__stats { gap: 20px; }
  .hero__stat-number { font-size: 1.4rem; }

  .products__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .products-page__grid,
  .products-grid { grid-template-columns: 1fr; }
  .blog-page__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-progress { flex-wrap: wrap; }
  .area-tabs { flex-wrap: wrap; justify-content: center; }
  .about__content { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .about__values { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }

  .section { padding: 60px 0; }
  .section__title { font-size: 1.8rem; }
  .page-hero { padding: 100px 0 40px; }
  .page-hero__title { font-size: 1.8rem; }

  .form-steps { flex-wrap: wrap; }
  .form-step-connector { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.6rem; }
  .hero__buttons { flex-direction: column; }
  .hero__stats { flex-direction: column; gap: 16px; }
  .cta-band__title { font-size: 1.5rem; }
  .filters { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 0.8rem; }
}
