/* ╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝
   SERVICES PAGE — services.css
╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝ */

/* ── HERO ── */
.svc-hero {
  min-height: 80vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 120px 80px 80px;
  gap: 60px;
  overflow: hidden;
  position: relative;
}

.svc-hero-left {
  flex: 0 0 52%;
  max-width: 52%;
}

.svc-hero-right {
  flex: 1;
  position: relative;
  height: 440px;
}

.svc-hero-tag {
  display: inline-block;
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.svc-hero-title {
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.svc-hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  max-width: 460px;
  margin-bottom: 40px;
}

.btn-explore {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.btn-explore:hover { opacity: 0.85; }

/* Float cards */
.float-card {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,0.35);
}

.float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fc-1 {
  width: 200px;
  height: 244px;
  top: 20px;
  left: 5%;
  transform: rotate(-7deg);
  z-index: 3;
}

.fc-2 {
  width: 185px;
  height: 226px;
  top: 56px;
  left: 36%;
  transform: rotate(4deg);
  z-index: 2;
}

.fc-3 {
  width: 192px;
  height: 235px;
  top: 148px;
  left: 64%;
  transform: rotate(-2deg);
  z-index: 1;
}

/* ── SERVICES HORIZONTAL STRIP ── */
#svcPin {
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  padding-top: 68px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.svc-tabs {
  flex-shrink: 0;
  height: 58px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  z-index: 20;
  display: flex;
  align-items: center;
  padding-right: 80px;
}

.svc-tabs-inner {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 24px 0 80px;
  overflow-x: auto;
  scrollbar-width: none;
}

.svc-tabs-inner::-webkit-scrollbar { display: none; }

.svc-tab {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #aaa;
  text-transform: uppercase;
  padding: 0 18px;
  height: 100%;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.svc-tab:hover { color: var(--navy); }

.svc-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.svc-track-wrap {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.svc-track {
  display: flex;
  width: auto;
  height: 100%;
  will-change: transform;
  gap: 128px;
}

/* ── PANEL 3-COLUMN LAYOUT ── */
.svc-panel {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 32px 40px;
  background: #fff;
}

/* Left: navy card */
.svc-panel-card {
  flex: 0 0 280px;
  aspect-ratio: 3 / 5;
  background: var(--navy);
  border-radius: 22px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;

}

.svc-card-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-num {
  display: block;
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

.svc-title {
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: clamp(30px, 2.8vw, 46px);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.05;
}

.svc-desc {
  font-size: 13px;
  line-height: 1.68;
  color: rgba(255,255,255,0.58);
}

.btn-check {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 6px;
  width: fit-content;
  transition: background 0.2s, border-color 0.2s;
}

.btn-check:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* Center: sub-services list */
.svc-panel-list {
  flex: 0 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: fit-content;
}

.svc-sub-item {
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: clamp(18px, 2.4vw, 36px);
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: -0.3px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: color 0.18s;
}

.svc-sub-item:first-child { border-top: 1px solid rgba(0,0,0,0.07); }

.svc-sub-item:hover {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* Right: circular photos — explicit 320×360 bounding box */
.svc-panel-photos {
  flex: 0 0 320px;
  width: 320px;
  height: 360px;
  position: relative;
  flex-shrink: 0;
  align-self: center;
}

.svc-photo {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.14);
}

.svc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-photo-lg {
  width: 260px;
  height: 260px;
  top: 0;
  left: 0;
  animation: svcFloatLg 4s ease-in-out infinite;
}

.svc-photo-sm {
  width: 190px;
  height: 190px;
  top: 170px;
  left: 130px;
  animation: svcFloatSm 3.6s ease-in-out infinite 0.7s;
}

@keyframes svcFloatLg {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

@keyframes svcFloatSm {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

/* ── WHY CHOOSE US ── */
.why-us {
  background: #f7f8fc;
  padding: 100px 80px;
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.why-tag {
  display: inline-block;
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.why-title {
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 18px;
}

.why-sub {
  font-size: 15px;
  line-height: 1.72;
  color: #777;
  max-width: 300px;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  margin-bottom: 44px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.09);
}

.why-card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,43,77,0.06);
  border-radius: 12px;
  color: var(--navy);
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13px;
  line-height: 1.65;
  color: #777;
}

/* ── SERVICE SEARCH ── */
.svc-search {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.svc-search-icon {
  position: absolute;
  left: 11px;
  color: #bbb;
  pointer-events: none;
  z-index: 1;
}

.svc-search-input {
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 7px 14px 7px 34px;
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--navy);
  background: #f7f8fc;
  width: 210px;
  outline: none;
  transition: border-color 0.2s, width 0.3s;
}

.svc-search-input:focus {
  border-color: var(--navy);
  width: 270px;
  background: #fff;
}

.svc-search-input::placeholder { color: #bbb; }

.svc-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
  z-index: 200;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: none;
}

.svc-search-dropdown::-webkit-scrollbar { display: none; }
.svc-search-dropdown[hidden] { display: none; }

.svc-search-result {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.14s;
}

.svc-search-result:last-child { border-bottom: none; }
.svc-search-result:hover { background: #f4f6fb; }

.svc-search-result-name {
  font-family: 'GoodHeadlinePro', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.svc-search-result-tag {
  font-size: 11px;
  color: #aaa;
  margin-top: 1px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  font-family: 'GoodHeadlinePro', sans-serif;
}

.svc-search-no-results {
  padding: 18px 16px;
  font-size: 13px;
  color: #bbb;
  text-align: center;
  font-family: 'GoodHeadlinePro', sans-serif;
  letter-spacing: 0.5px;
}

/* ── NAV active state ── */
.nav-active { color: var(--red) !important; }
nav.scrolled .nav-links .nav-active { color: var(--red) !important; }

/* ── TABLET (769px – 1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .svc-hero { padding: 110px 48px 72px; gap: 40px; }
  .svc-hero-right { height: 340px; }
  .fc-1 { width: 160px; height: 196px; }
  .fc-2 { width: 148px; height: 180px; }
  .fc-3 { width: 154px; height: 188px; top: 120px; }
  .svc-panel { padding: 24px 32px; gap: 40px; }
  .svc-panel-card { flex: 0 0 220px; padding: 28px 24px; }
  .svc-tabs-inner { padding: 0 48px; }
  .why-us { padding: 80px 48px; }
  .why-us-inner { gap: 48px; }
  .why-cards { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
  .svc-hero {
    flex-direction: column;
    padding: 96px 24px 56px;
    min-height: auto;
    gap: 40px;
  }

  .svc-hero-left {
    flex: none;
    max-width: 100%;
  }

  .svc-hero-right {
    width: 100%;
    height: 270px;
  }

  .fc-1 { width: 130px; height: 158px; left: 2%; top: 16px; }
  .fc-2 { width: 118px; height: 144px; left: 34%; top: 50px; }
  .fc-3 { width: 124px; height: 152px; left: 63%; top: 96px; }

  #svcPin {
    height: auto;
    padding-top: 0;
    overflow: visible;
  }

  .svc-tabs {
    position: sticky;
    top: 56px;
    height: 52px;
    flex-shrink: 0;
    padding-right: 0;
  }

  .svc-tabs-inner { flex: 1; padding: 0 16px; gap: 0; }

  .svc-search { display: none; }

  .svc-tab { padding: 0 12px; font-size: 11px; }

  .svc-track-wrap {
    overflow: visible;
    flex: none;
  }

  .svc-track {
    width: 100%;
    flex-direction: column;
    height: auto;
    transform: none !important;
  }

  .svc-panel {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 40px;
    gap: 0;
  }

  .svc-panel-card {
    aspect-ratio: unset;
    height: auto;
    border-radius: 16px;
    margin: 0 24px;
    padding: 36px 28px;
  }

  .svc-title { font-size: clamp(26px, 7vw, 36px); }

  .svc-panel-list {
    padding: 0 24px;
    gap: 0;
  }

  .svc-sub-item {
    font-size: clamp(16px, 4.5vw, 22px);
    padding: 10px 0;
    white-space: normal;
  }

  .svc-panel-photos {
    flex: none;
    width: 240px;
    height: 280px;
    margin-top: 28px;
    align-self: center;
  }

  .svc-photo-lg { width: 200px; height: 200px; top: 0; left: 0; }
  .svc-photo-sm { width: 150px; height: 150px; top: 130px; left: 80px; }

  .why-us { padding: 60px 24px; }
  .why-us-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-sub { max-width: 100%; }
  .why-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .why-cards { grid-template-columns: 1fr; }
}
