/* CUT.si home refresh — visual system for the live PHP homepage */

.hero {
  padding: 92px 0 128px;
  background:
    radial-gradient(circle at 82% 18%, rgba(101, 188, 234, 0.35), transparent 26%),
    radial-gradient(circle at 10% 92%, rgba(109, 92, 168, 0.26), transparent 28%),
    linear-gradient(126deg, #0a3b4b 0%, #0d6479 45%, #2d92aa 73%, #55b7cc 100%);
}

.hero::before {
  top: -260px;
  right: -180px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(74, 161, 219, 0.4) 0%, transparent 68%);
}

.hero::after {
  bottom: -280px;
  left: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(94, 73, 160, 0.3) 0%, transparent 68%);
}

.hero-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.55;
}

.hero .row {
  min-height: 570px;
}

.hero-badge {
  margin-bottom: 20px;
  background: rgba(5, 37, 48, 0.24);
  border-color: rgba(255,255,255,0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(2.65rem, 5vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 .accent {
  background: linear-gradient(135deg, #fff0c7 0%, #ffd17e 48%, #ffad5c 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero .lead {
  max-width: 625px;
  margin-bottom: 24px;
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 24px 0 28px;
}

.hero-proof .hero-point {
  display: flex;
  min-height: 76px;
  align-items: center;
  padding: 12px 13px;
  background: rgba(7, 48, 61, 0.27);
  border-color: rgba(255,255,255,0.16);
  font-size: 0.84rem;
  line-height: 1.35;
}

.hero-proof .hero-point i {
  flex: 0 0 auto;
  font-size: 1.08rem;
}

.hero .btn-lg {
  padding: 0.9rem 1.45rem;
  font-size: 0.98rem;
}

.hero-reassurance {
  display: flex;
  align-items: center;
  gap: 3px;
  color: rgba(255,255,255,0.8);
}

.hero-reassurance i {
  font-size: 1.05rem;
}

.hero-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(165px, 0.72fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,0.19), rgba(255,255,255,0.07));
  box-shadow: 0 34px 85px rgba(0, 27, 38, 0.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-showcase::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}

.hero-showcase figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #0a3643;
}

.hero-showcase-main {
  min-height: 500px;
}

.hero-showcase img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}

.hero-showcase figure:hover img {
  transform: scale(1.035);
}

.hero-showcase-main img {
  object-position: center;
}

.hero-showcase figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 46px 20px 17px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(2,23,30,0.88));
}

.hero-showcase figcaption strong {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.25;
}

.hero-showcase figcaption span {
  color: rgba(255,255,255,0.75);
  font-size: 0.76rem;
}

.hero-showcase .showcase-kicker {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 4px 8px;
  color: #143846;
  border-radius: 999px;
  background: #fff2c9;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-showcase-side {
  display: grid;
  min-width: 0;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-showcase-side figure {
  min-height: 244px;
}

.hero-showcase-side figcaption {
  padding: 38px 14px 13px;
}

.hero-showcase-side figcaption strong {
  font-size: 0.83rem;
}

.hero-showcase-side figcaption span {
  font-size: 0.68rem;
}

.showcase-materials {
  position: absolute;
  right: 28px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: var(--secondary-color);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 15px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 16px 35px rgba(0,28,40,0.22);
  font-size: 0.75rem;
}

.showcase-materials span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-dark);
  font-weight: 800;
}

.showcase-materials i {
  color: var(--primary-color);
}

.showcase-materials strong {
  padding-left: 10px;
  border-left: 1px solid #d8e5e9;
  color: #5b6472;
  font-size: 0.7rem;
  font-weight: 600;
}

.stats-section {
  margin-top: -68px;
}

.stats-card {
  padding: 29px 22px;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(15,23,42,0.13);
}

.stat-item {
  padding: 8px 12px;
}

.stat-item i {
  width: 44px;
  height: 44px;
  margin-bottom: 11px;
  border-radius: 13px;
  font-size: 1.2rem;
}

.stat-item .stat-num {
  min-height: 1.22em;
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 1.12;
}

.stat-item .stat-label {
  display: block;
  max-width: 175px;
  margin: 0 auto;
  line-height: 1.4;
}

.application-guide {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 28px;
  margin-top: 34px;
  padding: 26px 30px;
  border: 1px solid rgba(15,157,183,0.13);
  border-radius: 22px;
  background: linear-gradient(135deg, #f4fbfc 0%, #fff 50%, #faf8ff 100%);
  box-shadow: 0 14px 38px rgba(15,23,42,0.055);
}

.application-guide-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.application-guide-icon {
  display: flex;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  border-radius: 16px;
  background: var(--primary-light);
  font-size: 1.3rem;
}

.application-guide-item.htv .application-guide-icon {
  color: var(--htv-color);
  background: var(--htv-light);
}

.application-guide-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--secondary-color);
  font-family: "Poppins", sans-serif;
  font-size: 0.96rem;
}

.application-guide-item p {
  margin: 0;
  color: #6b7280;
  font-size: 0.86rem;
  line-height: 1.5;
}

.application-guide-divider {
  width: 1px;
  background: #dfe8eb;
}

.project-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15,157,183,0.24);
  box-shadow: 0 22px 50px rgba(15,157,183,0.15);
}

.project-card .gallery-item {
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.project-card .gallery-item:hover {
  transform: none;
  box-shadow: none;
}

.project-card .gallery-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 20px 20px;
}

.project-card-body h3 {
  margin: 0 0 3px;
  font-size: 1rem;
  font-weight: 700;
}

.project-card-body p {
  margin: 0;
  color: #6b7280;
  font-size: 0.82rem;
}

.project-card-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 700;
}

.project-card-link:hover {
  color: #fff;
  background: var(--primary-color);
}

@media (max-width: 1199.98px) {
  .hero {
    padding-top: 78px;
  }

  .hero .row {
    min-height: 520px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof .hero-point {
    min-height: 0;
  }

  .hero-showcase {
    grid-template-columns: minmax(0, 1.25fr) minmax(145px, 0.75fr);
  }

  .hero-showcase-main {
    min-height: 450px;
  }

  .hero-showcase-side figure {
    min-height: 219px;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding: 72px 0 126px;
  }

  .hero .row {
    min-height: 0;
  }

  .hero h1,
  .hero .lead {
    max-width: 760px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-showcase {
    max-width: 760px;
    margin: 10px auto 0;
  }

  .application-guide {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .application-guide-divider {
    width: 100%;
    height: 1px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 24px;
  }

  .hero-showcase-main {
    min-height: 380px;
  }

  .hero-showcase-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .hero-showcase-side figure {
    min-height: 180px;
  }

  .showcase-materials {
    right: 22px;
    bottom: -22px;
  }

  .showcase-materials strong {
    display: none;
  }

  .stats-card {
    padding: 18px 12px;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 50px 0 112px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.1rem, 12vw, 2.8rem);
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-reassurance {
    align-items: flex-start;
    font-size: 0.82rem;
  }

  .hero-showcase-main {
    min-height: 320px;
  }

  .hero-showcase-side figure {
    min-height: 150px;
    border-radius: 15px;
  }

  .hero-showcase-side figcaption {
    padding: 34px 10px 10px;
  }

  .hero-showcase-side figcaption strong {
    font-size: 0.73rem;
  }

  .hero-showcase-side figcaption span {
    display: none;
  }

  .showcase-materials {
    right: 50%;
    transform: translateX(50%);
    white-space: nowrap;
  }

  .application-guide {
    padding: 22px 20px;
  }

  .application-guide-item {
    align-items: flex-start;
  }

  .project-card-body {
    align-items: flex-start;
  }
}
