/* ===== PORTFOLIO PAGE ===== */

/* ===== HERO ===== */
.portfolio-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #5a2020;
}

.portfolio-hero__bg {
  width: 100%;
  height: 100%;
}

.portfolio-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(60, 20, 20, 0.45);
}

.portfolio-hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

/* ===== INTRO TEXT ===== */
.portfolio-intro {
  max-width: 560px;
  margin: 48px auto 0;
  padding: 0 24px;
  text-align: center;
  font-size: 13px;
  color: #444;
  line-height: 1.85;
}

/* ===== CATEGORY SECTION ===== */
.portfolio-category {
  padding: 52px 24px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.portfolio-category__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.portfolio-card {}

.portfolio-card__img {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.portfolio-card__name {
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 4px;
  text-align: center;
}

.portfolio-card__sub {
  font-size: 12px;
  color: var(--gray-text);
  text-align: center;
  line-height: 1.5;
}

/* ===== SITE FOOTER (dark) ===== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 0;
  margin-top: 60px;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand__logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.footer-brand__address,
.footer-brand__hours {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-brand__hours { margin-top: 10px; }

.footer-brand__hours strong {
  display: block;
  margin-bottom: 2px;
  color: rgba(255,255,255,0.6);
}

.footer-nav h4,
.footer-products h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-nav ul,
.footer-products ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav ul li a,
.footer-products ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-nav ul li a:hover,
.footer-products ul li a:hover { color: var(--white); }

.footer-nav ul li a.active,
.footer-nav ul li a.orange { color: var(--accent-orange); }

.footer-products ul li a.green { color: var(--accent-green); }

.footer-map-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.footer-map-wrap .img-placeholder {
  height: 160px;
  border-radius: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ===== TILDA BADGE ===== */
.tilda-badge {
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 24px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tilda-badge__icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
}

.tilda-badge__text {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
}

.tilda-badge__btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  padding: 7px 22px;
  border-radius: 20px;
  font-size: 11px;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background 0.2s;
}
.tilda-badge__btn:hover { background: rgba(255,255,255,0.15); }

.tilda-badge__links {
  display: flex;
  gap: 24px;
  font-size: 10px;
}
.tilda-badge__links a {
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.tilda-badge__links a:hover { color: rgba(255,255,255,0.55); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .portfolio-hero { height: 200px; }
  .portfolio-hero__title { font-size: 26px; white-space: normal; text-align: center; width: 90%; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card__img { height: 200px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .tilda-badge__links { flex-direction: column; gap: 8px; }
}
