/* homepage.php page styles. */

/* pages/homepage.css */
/* Native homepage. */

.gos-home {
  background: #f5f7fa;
}

.gos-section-inner {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.gos-section-kicker {
  margin: 0 0 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e5936b;
}

.gos-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.gos-section-head h2,
.gos-welcome h2,
.gos-cta h2 {
  margin: 0;
  font-family: "Cormorant", serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.1;
  color: #0b2a4a;
}

.gos-text-link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid #e5936b;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #017cc2;
  text-decoration: none;
}

.gos-text-link:hover,
.gos-text-link:focus {
  color: #e5936b;
}

.gos-text-link-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* Hero carousel. */
.gos-hero {
  position: relative;
  overflow: hidden;
  background: #0b2a4a;
}

.gos-hero-track {
  display: flex;
  transition: transform 0.7s ease;
  will-change: transform;
}

.gos-hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: clamp(440px, 72vh, 680px);
  display: flex;
  align-items: center;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.gos-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 20, 38, 0.82) 0%, rgba(3, 20, 38, 0.58) 46%, rgba(3, 20, 38, 0.16) 100%);
}

.gos-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
  padding: 70px 0;
  color: #fff;
}

.gos-hero-kicker {
  margin: 0 0 16px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #e5936b;
}

.gos-hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Cormorant", serif;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.gos-hero-copy {
  max-width: 560px;
  margin: 18px 0 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.gos-hero-button {
  display: inlingos-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 15px 32px;
  border-radius: 3px;
  background: #e5936b;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gos-hero-button:hover,
.gos-hero-button:focus {
  background: #017cc2;
  color: #fff;
}

/* Carousel controls. */
.gos-carousel-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.gos-hero-nav {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 26px;
  z-index: 3;
  margin: 0;
}

.gos-carousel-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(11, 42, 74, 0.16);
  border-radius: 50%;
  background: #fff;
  color: #0b2a4a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gos-hero-nav .gos-carousel-arrow {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(4px);
}

.gos-carousel-arrow:hover,
.gos-carousel-arrow:focus {
  border-color: #e5936b;
  background: #e5936b;
  color: #fff;
}

.gos-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gos-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d4e2;
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.gos-hero-nav .gos-carousel-dot {
  background: rgba(255, 255, 255, 0.45);
}

.gos-carousel-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: #e5936b;
}

/* Welcome. */
.gos-welcome {
  padding: 76px 0 68px;
  background: #fff;
}

.gos-welcome h2 {
  max-width: 760px;
}

.gos-welcome-copy {
  max-width: 820px;
  margin-top: 18px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: #475569;
}

.gos-welcome-copy p {
  margin: 0 0 1em;
}

/* Practice areas. */
.gos-practice {
  padding: 70px 0;
  background: #f5f7fa;
}

.gos-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gos-practice-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e4e9f1;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(2, 21, 45, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gos-practice-card:hover,
.gos-practice-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(2, 21, 45, 0.12);
}

.gos-practice-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.gos-practice-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gos-practice-card:hover .gos-practice-image img {
  transform: scale(1.04);
}

.gos-practice-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.gos-practice-body h3 {
  margin: 0;
  font-family: "Cormorant", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: #0b2a4a;
}

.gos-practice-copy {
  margin-top: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
}

.gos-practice-more {
  margin-top: auto;
  padding-top: 16px;
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5936b;
}

/* Team carousel. */
.gos-team {
  padding: 76px 0;
  background: #0b2a4a;
}

.gos-team .gos-section-head h2 {
  color: #fff;
}

.gos-team .gos-text-link {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.gos-team-carousel {
  overflow: hidden;
}

.gos-team-track {
  display: flex;
  gap: 22px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.gos-lawyer-slide {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
}

.gos-lawyer-card {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #0f3557;
  text-decoration: none;
}

.gos-lawyer-photo {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #123c63;
}

.gos-lawyer-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.gos-lawyer-card:hover .gos-lawyer-photo img {
  transform: scale(1.04);
}

.gos-lawyer-info {
  display: block;
  padding: 20px 20px 22px;
}

.gos-lawyer-info h3 {
  margin: 0;
  font-family: "Cormorant", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}

.gos-lawyer-role {
  display: block;
  margin-top: 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5936b;
}

.gos-team .gos-carousel-arrow {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.gos-team .gos-carousel-arrow:hover,
.gos-team .gos-carousel-arrow:focus {
  background: #e5936b;
  color: #fff;
}

.gos-team .gos-carousel-dot {
  background: rgba(255, 255, 255, 0.4);
}

.gos-team .gos-carousel-dot.is-active {
  background: #e5936b;
}

.gos-team .gos-carousel-nav {
  justify-content: center;
  margin-top: 30px;
}

/* Closing CTA. */
.gos-cta {
  padding: 64px 0;
  background: #eef3f8;
}

.gos-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gos-cta h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.gos-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.gos-cta .gos-hero-button {
  margin-top: 0;
}

@media (max-width: 980px) {
  .gos-practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gos-lawyer-slide {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 700px) {
  .gos-welcome,
  .gos-practice,
  .gos-team {
    padding: 52px 0;
  }

  .gos-practice-grid {
    grid-template-columns: 1fr;
  }

  .gos-lawyer-slide {
    flex-basis: 100%;
  }

  .gos-hero-slide {
    min-height: 520px;
  }

  .gos-hero-nav {
    right: 20px;
    bottom: 18px;
  }
}

/* Homepage: keep hero images covered. */
.gos-el-4384 .gos-block-96ae6f5 {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Homepage: lawyers are a static three-card row, not a carousel. */
.swiper:has(.gos-el-4469) .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  transform: none !important;
}

.swiper:has(.gos-el-4469) .gos-el-4469 {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 !important;
}

.swiper:has(.gos-el-4469) .gos-arrow-prev,
.swiper:has(.gos-el-4469) .gos-arrow-next,
.swiper:has(.gos-el-4469) .swiper-pagination {
  display: none !important;
}

@media (max-width: 900px) {
  .swiper:has(.gos-el-4469) .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .swiper:has(.gos-el-4469) .swiper-wrapper {
    grid-template-columns: 1fr !important;
  }
}

/* Hero carousel: cross-fade slides so background images always paint. */
.gos-slider:has(.gos-el-4384) .swiper-wrapper {
  display: block !important;
  transform: none !important;
}

.gos-slider:has(.gos-el-4384) .swiper-slide {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: 100% !important;
  opacity: 0;
  visibility: hidden;
  transform: none !important;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.gos-slider:has(.gos-el-4384) .swiper-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
