/* ============================================================
   SERVICES PAGE — services.css
   White background, reference-image inspired layout
============================================================ */

/* ============================================================
   SERVICES PAGE HERO
============================================================ */
.services-page body {
  background: #fff;
}

.services-hero {
  background: #fff;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  padding-left: 60px;
  padding-right: 60px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.services-hero-inner {
  max-width: 780px;
}

.services-hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #111;
  margin: 20px 0 28px;
}

.services-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #555;
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
}

/* Scroll hint */
.services-scroll-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 60px;
}

.services-scroll-hint span {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
}

.services-scroll-line {
  width: 60px;
  height: 1px;
  background: #ccc;
  position: relative;
  overflow: hidden;
}

.services-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: #111;
  animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

/* ============================================================
   SERVICES SECTIONS — common
============================================================ */
.services-section {
  padding: 100px 0;
  background: #fff;
}

.srv-section-header {
  max-width: 1280px;
  margin: 0 auto 70px;
  padding: 0 60px;
}

.srv-section-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111;
  border: 1px solid #ddd;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.srv-section-badge--dark {
  background: #111;
  color: #fff;
  border-color: #111;
}

.srv-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 20px;
}

.srv-section-title em {
  font-style: italic;
  font-weight: 300;
}

.srv-section-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #666;
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
}

/* ============================================================
   LOCAL SERVICES GRID
============================================================ */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  gap: 0;
  border-top: 1px solid #e8e6e1;
  border-left: 1px solid #e8e6e1;
}

/* Service Card */
.srv-card {
  background: #fff;
  border-right: 1px solid #e8e6e1;
  border-bottom: 1px solid #e8e6e1;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease;
  animation-delay: var(--delay, 0s);
}

.srv-card:hover {
  background: #f9f8f6;
}

/* Wide card spans 2 columns */
.srv-card--wide {
  grid-column: span 2;
}

.srv-card-icon {
  width: 36px;
  height: 36px;
  color: #111;
  opacity: 0.6;
}

.srv-card-icon svg {
  width: 100%;
  height: 100%;
}

.srv-card-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #bbb;
  text-transform: uppercase;
}

.srv-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
  margin: 0;
}

.srv-card-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #999;
  font-weight: 400;
  margin: -10px 0 0;
  letter-spacing: 0.02em;
}

.srv-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.srv-card-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #555;
  font-weight: 300;
  line-height: 1.6;
  padding: 5px 0;
  border-bottom: 1px solid #f0eeea;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.srv-card-list li::before {
  content: '—';
  color: #bbb;
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Card image — hidden by default, revealed on hover */
.srv-card-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.srv-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
}

.srv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.srv-card:hover .srv-card-img {
  opacity: 1;
}

/* Keep text above image on hover */
.srv-card-icon,
.srv-card-number,
.srv-card-title,
.srv-card-sub,
.srv-card-list {
  position: relative;
  z-index: 3;
  transition: color 0.35s ease;
}

.srv-card:hover .srv-card-title,
.srv-card:hover .srv-card-number {
  color: #fff;
}

.srv-card:hover .srv-card-list li {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.1);
}

.srv-card:hover .srv-card-icon {
  color: #fff;
  opacity: 1;
}

/* ============================================================
   SECTION DIVIDER
============================================================ */
.services-divider {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 60px;
  max-width: 1280px;
  margin: 0 auto 0;
}

.services-divider-line {
  flex: 1;
  height: 1px;
  background: #e0ddd8;
}

.services-divider-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #999;
  white-space: nowrap;
}

/* ============================================================
   INTERNATIONAL SERVICES
============================================================ */
.services-section--international {
  background: #fff;
  padding-top: 80px;
}

/* Featured Blocks (Architecture Image + text side-by-side) */
.srv-intl-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

.srv-intl-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.srv-intl-featured--reverse {
  direction: rtl;
}

.srv-intl-featured--reverse > * {
  direction: ltr;
}

.srv-intl-featured-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.srv-intl-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.srv-intl-featured-img:hover img {
  transform: scale(1.04);
}

.srv-intl-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  pointer-events: none;
}

.srv-intl-img-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.srv-intl-featured-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.srv-intl-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #bbb;
  text-transform: uppercase;
}

.srv-intl-featured-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  color: #111;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.srv-intl-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #111;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid #111;
  margin-top: 8px;
  transition: opacity 0.25s ease;
}

.srv-intl-link:hover {
  opacity: 0.6;
}

/* International Cards Grid */
.srv-intl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e8e6e1;
  border-left: 1px solid #e8e6e1;
  margin-top: 20px;
}

.srv-intl-card {
  border-right: 1px solid #e8e6e1;
  border-bottom: 1px solid #e8e6e1;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s ease;
}

.srv-intl-card:hover {
  background: #f9f8f6;
}

.srv-intl-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.srv-intl-card-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #bbb;
  text-transform: uppercase;
}

.srv-intl-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
  margin: 0;
}

/* CTA card */
.srv-intl-card--cta {
  background: #111;
  border-right-color: #111;
  border-bottom-color: #111;
}

.srv-intl-card--cta:hover {
  background: #1a1a1a;
}

.srv-intl-card--cta h4 {
  color: #fff;
  font-size: 1.1rem;
}

.srv-intl-card--cta p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  font-weight: 300;
}

.srv-cta-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  margin-top: 10px;
  transition: border-color 0.25s ease;
}

.srv-cta-btn:hover {
  border-color: #fff;
}

/* ============================================================
   NAVBAR DROPDOWN — Services (reference-image style)
============================================================ */
.sticky-nav li.nav-has-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.nav-arrow {
  display: none;
}

/* ── The panel itself ── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: -28px;                    /* align with nav item */
  background: #fff;
  min-width: 280px;
  padding: 20px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s cubic-bezier(0.22,1,0.36,1),
              transform 0.3s cubic-bezier(0.22,1,0.36,1);
  z-index: 2000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.04);
  border: none;
}

/* Thin top border accent */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #111;
}

.nav-has-dropdown:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ── Each link item ── */
.nav-dropdown-item {
  display: block;
  padding: 14px 30px;
  text-decoration: none;
  color: #111;
  position: relative;
  transition: color 0.2s ease;
  border-bottom: none;
}

/* ── Link label text with left-to-right underline indicator ── */
.nav-dropdown-label {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: inherit;
  letter-spacing: 0.01em;
  line-height: 1.4;
  display: inline-block;
  position: relative;
}

.nav-dropdown-label::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-dropdown-item:hover .nav-dropdown-label::after {
  transform: scaleX(1);
}

/* Hide the sub-description — reference image shows clean list only */
.nav-dropdown-desc {
  display: none;
}

.nav-dropdown-divider {
  display: none;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .srv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .srv-card--wide {
    grid-column: span 2;
  }
  .srv-intl-featured {
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .srv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .srv-card--wide {
    grid-column: span 2;
  }
  .srv-intl-featured {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .srv-intl-featured--reverse {
    direction: ltr;
  }
  .srv-intl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-hero {
    padding-left: 30px;
    padding-right: 30px;
  }
  .srv-section-header {
    padding: 0 30px;
  }
  .srv-intl-layout {
    padding: 0 30px;
  }
  .srv-grid {
    padding: 0 30px;
  }
}

@media (max-width: 600px) {
  .srv-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .srv-card--wide {
    grid-column: span 1;
  }
  .srv-intl-grid {
    grid-template-columns: 1fr;
  }
  .services-divider {
    padding: 0 20px;
  }
  .srv-section-header {
    padding: 0 20px;
    margin-bottom: 40px;
  }
  .srv-intl-layout {
    padding: 0 20px;
  }
  .services-hero {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 50px;
  }
  .services-hero-title {
    font-size: 3rem;
  }
  .nav-dropdown {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    min-width: 100%;
  }
}
