/* ===========================================
   Page — TOP (index.html)
   =========================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  clip-path: polygon(0 0, 39% 0, 32% 100%, 0 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: clamp(240px, 36%, 480px);
  margin: 0;
  padding: 0 16px 0 6%;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: 2.08px;
  color: #111;
  display: flex;
  flex-direction: column;
  font-weight: 400;
  margin-bottom: 37px;
}
.hero-title .bold { font-weight: 700; }
.hero-title .regular { font-weight: 400; }
.hero-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.08px;
  color: #1a1a1a;
  white-space: nowrap;
}

/* ---------- Service ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin-bottom: 60px;
  text-align: left;
}
.service-img-wrap        { height: 188px; overflow: hidden; margin-bottom: 15px; }
.service-info            { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.service-info-header     { display: flex; align-items:center ; gap: 14px; }
.service-num             { font-family: "Istok Web", sans-serif; font-size: 24px; color: var(--color-accent); flex-shrink: 0; line-height: 1.3; }
.service-title           { font-size: clamp(15px, 1.5vw, 20px); font-weight: 500; color: var(--color-text); line-height: 1.4; white-space: nowrap; }
.service-desc            { font-size: 13.5px; color: var(--color-text); }
.service-img-wrap img    { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About (background image section) ---------- */
.about {
  position: relative;
  min-height: 601px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 20px 60px;
  overflow: hidden;
  text-align: center;
}
.about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}
.about-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1140px;
}
.about-text {
  background: rgba(255,255,255,0.72);
  color: #111;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.48px;
  line-height: 2.1;
  padding: 22px 30px;
  margin-bottom: 42px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero            { min-height: 560px; }
  .hero-overlay    { clip-path: polygon(0 0, 62% 0, 55% 100%, 0 100%); }
  .hero-content    { width: 56%; padding: 0 12px 0 6%; }
  .hero-title      { font-size: 32px; letter-spacing: 1.2px; }
  .hero-text       { font-size: 14px; }
  .service-grid    { grid-template-columns: 1fr; gap: 40px; }
  .about           { min-height: 480px; }
  .about-text      { font-size: 14px; line-height: 1.9; padding: 18px 22px; }
}

@media (max-width: 480px) {
  .hero-overlay { clip-path: polygon(0 0, 80% 0, 74% 100%, 0 100%); }
  .hero-content { width: 74%; }
  .hero-title { font-size: 26px; }
  .hero-text   { font-size: 10.5px; letter-spacing: 0.5px; }
}
