﻿/* Company page styles */
.cards-section {
  position: relative;
}

.cards-grid {
  position: relative;
  z-index: 10;
  padding: 40px 20px 0;
}

.cards-grid > [class*="col-"] {
  display: flex;
}

.info-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: box-shadow 0.5s, transform 0.5s;
}

.info-card:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: translateY(-8px);
}

.card-img {
  position: relative;
  height: 192px;
  overflow: hidden;
}

.card-img-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  transition: transform 0.7s;
}

.card-ceo {
  background: url("../images/ceo.png") center top / cover no-repeat;
}

.card-philosophy {
  background: url("../images/philosophy.jpg") center / cover no-repeat;
}

.card-team {
  background: url("../images/team.jpg") center / cover no-repeat;
}

.card-faq {
  background: url("../images/faq.jpg") center / cover no-repeat;
}

.info-card:hover .card-img-photo {
  transform: scale(1.1);
}

.card-img-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.8), rgb(0 0 0 / 0.2), transparent);
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card:hover .card-body h3 {
  color: var(--brand-primary);
}

.card-body p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.625;
  margin-bottom: 24px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.view-more {
  display: flex;
  align-items: center;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 14px;
  margin-top: auto;
}

.view-more svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
}

.profile-wrap {
  position: relative;
  max-width: var(--max-6xl);
  margin: 0 auto;
  padding: 80px 16px;
}

.watermark {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8vw;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgb(31 31 84 / 0.1);
  z-index: 0;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.profile-title {
  position: relative;
  z-index: 1;
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 20px 0 16px;
}

.profile-title > span {
  display: block;
}

.profile-title > span:last-child {
  font-size: 20px;
  font-weight: 700;
}

.profile-table {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: left;
  border: 1px solid #d1d5db;
  border-collapse: collapse;
  margin: 40px 0;
}

.profile-table th,
.profile-table td {
  padding: 16px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}

.profile-table th {
  background: var(--gray-100);
  width: 25%;
  font-weight: 600;
}

.profile-table ul {
  padding-left: 20px;
}

.profile-table li {
  list-style: disc;
  margin: 4px 0;
}

.access-block {
  position: relative;
  margin: 80px 0 16px;
}

.access-title {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--brand-primary);
}

.access-copy {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.access-copy h3 {
  font-weight: 600;
  margin-bottom: 4px;
}

.access-copy p {
  margin: 4px 0;
}

.map-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 384px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 { font-size: 40px; }
  .hero-lead, .hero-emphasis { font-size: 18px; }
}

@media (max-width: 767.98px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 240px;
    padding: 48px 8px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-lead,
  .hero-emphasis {
    font-size: 16px;
  }

  .map-frame {
    height: 280px;
  }
}
