/* ============================================================
   FOUNDSTONE INFRA — Shared Service Page Styles
   Used by: property-management.html (and future service pages)
   Extends: ../css/style.css
   ============================================================ */

/* Active dropdown item */
.nav-active { color: var(--copper-lt) !important; }
.dd-active { color: var(--copper) !important; font-weight: 700 !important; }

/* ============================================================
   A. SERVICE HERO
   ============================================================ */
#svc-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 6rem;
  padding-top: 120px;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1800&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.05);
  transition: transform 10s ease;
}
#svc-hero.loaded .svc-hero-bg { transform: scale(1); }
.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(22, 34, 27, 0.42) 0%,
    rgba(32, 48, 38, 0.74) 45%,
    rgba(28, 32, 28, 0.95) 100%
  );
}
.svc-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.svc-hero-inner { max-width: 820px; }

/* Breadcrumb — reuse from about.css patterns */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--copper-lt); }
.breadcrumb span[aria-current] { color: var(--copper-lt); font-weight: 600; }

.svc-hero-label {
  color: var(--copper-lt) !important;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
  letter-spacing: 0.16em;
}
.svc-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
  text-shadow: 0 3px 20px rgba(0,0,0,0.45);
}
.svc-hero-h1 em {
  color: var(--copper-lt);
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 3px 20px rgba(0,0,0,0.5);
}
.svc-hero-desc {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  line-height: 1.82;
  margin-bottom: 2.3rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.svc-hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s forwards;
}

/* ============================================================
   B. INTRODUCTION — split layout
   ============================================================ */
#svc-intro {
  background: var(--ivory);
  padding: 7.5rem 0;
  overflow: hidden;
}
.svc-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}
.svc-intro-img {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}
.svc-intro-img img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  transition: transform 0.8s ease;
}
.svc-intro-img:hover img { transform: scale(1.03); }
.svc-intro-img-frame {
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  border: 2px solid var(--copper);
  border-radius: 18px;
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}
.svc-intro-h2 {
  font-size: clamp(1.85rem, 2.9vw, 2.65rem);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.22;
}
.svc-intro-h2 em { color: var(--forest); font-style: italic; }
.svc-intro-body {
  font-size: 1.02rem;
  color: #4a4a4a;
  line-height: 1.86;
  margin-bottom: 1.3rem;
}
.svc-intro-highlights {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.6rem;
}
.svc-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--charcoal);
}
.copper-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(197,139,85,0.6);
}

/* ============================================================
   C. WHAT WE MANAGE — 4 cards on forest green
   ============================================================ */
#svc-what-we-manage {
  background: var(--forest);
  padding: 7.5rem 0;
  position: relative;
  overflow: hidden;
}
#svc-what-we-manage::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border: 1px solid rgba(197,139,85,0.12);
  border-radius: 50%;
  pointer-events: none;
}
.svc-section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.svc-section-h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  color: var(--white);
  margin-top: 0.4rem;
}
.svc-section-h2 em { color: var(--copper); font-style: italic; }
.svc-section-h2.light { color: var(--white); }
.svc-section-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0.9rem auto 0;
  line-height: 1.74;
}

.manage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
.manage-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.manage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197,139,85,0.55);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.manage-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.manage-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.manage-card:hover .manage-card-img img { transform: scale(1.08); }
.manage-card-body {
  padding: 1.75rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.manage-card-icon {
  width: 44px; height: 44px;
  background: rgba(197,139,85,0.16);
  border: 1px solid rgba(197,139,85,0.38);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  margin-bottom: 1.1rem;
  transition: background var(--transition);
  flex-shrink: 0;
}
.manage-card:hover .manage-card-icon { background: rgba(197,139,85,0.28); }
.manage-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}
.manage-card-body p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* ============================================================
   D. FOR EVERY OWNER — alternating blocks
   ============================================================ */
.owner-block { padding: 7rem 0; }
.owner-block--ivory { background: var(--ivory); }
.owner-block--beige { background: var(--beige); }

.owner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}
.owner-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.owner-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.7s ease;
  display: block;
}
.owner-img:hover img { transform: scale(1.04); }
.owner-tag {
  display: inline-block;
  background: rgba(52,74,61,0.1);
  border: 1px solid rgba(52,74,61,0.25);
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.38rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.3rem;
}
.owner-h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  color: var(--charcoal);
  line-height: 1.22;
  margin-bottom: 1.3rem;
}
.owner-h2 em { color: var(--forest); font-style: italic; }
.owner-body {
  font-size: 1.02rem;
  color: #444444;
  line-height: 1.86;
  margin-bottom: 2rem;
}

/* ============================================================
   E. MANAGEMENT APPROACH — 4-step process (charcoal bg)
   ============================================================ */
#svc-approach {
  background: var(--charcoal);
  padding: 7.5rem 0;
  position: relative;
  overflow: hidden;
}
#svc-approach::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 350px; height: 350px;
  border: 1px solid rgba(197,139,85,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  align-items: stretch;
}
.process-connector {
  position: absolute;
  top: 2.1rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197,139,85,0.5), rgba(197,139,85,0.5), transparent);
  pointer-events: none;
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.process-num {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 8px rgba(197,139,85,0.18);
  flex-shrink: 0;
}
.process-step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.process-step p {
  font-size: 0.90rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* ============================================================
   F. WHY FOUNDSTONE INFRA — forest green, 4 benefits
   ============================================================ */
#svc-why {
  background: var(--forest);
  padding: 7.5rem 0;
  position: relative;
  overflow: hidden;
}
#svc-why::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border: 1px solid rgba(197,139,85,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.svc-why-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.svc-why-h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  color: var(--white);
  margin-top: 0.4rem;
}
.svc-why-h2 em { color: var(--copper); font-style: italic; }

.why-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}
.why-benefit {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2.5rem 1.8rem 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.why-benefit:hover {
  transform: translateY(-5px);
  border-color: rgba(197,139,85,0.5);
  background: rgba(255,255,255,0.09);
}
.why-benefit-icon {
  width: 62px; height: 62px;
  border-radius: 14px;
  background: rgba(197,139,85,0.14);
  border: 1px solid rgba(197,139,85,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  margin: 0 auto 1.5rem;
  transition: background var(--transition);
  flex-shrink: 0;
}
.why-benefit:hover .why-benefit-icon { background: rgba(197,139,85,0.26); }
.why-benefit h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}
.why-benefit p {
  font-size: 0.90rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* ============================================================
   OTHER SERVICES STRIP
   ============================================================ */
#other-services {
  background: var(--beige);
  padding: 6rem 0;
}
.other-svc-header {
  text-align: center;
  margin-bottom: 3rem;
}
.other-svc-h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  color: var(--charcoal);
  margin-top: 0.4rem;
}
.other-svc-h2 em { color: var(--forest); font-style: italic; }
.other-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.other-svc-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.other-svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: rgba(197,139,85,0.4);
}
.other-svc-icon {
  width: 48px; height: 48px;
  background: rgba(52,74,61,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: background var(--transition), color var(--transition);
}
.other-svc-card:hover .other-svc-icon {
  background: var(--copper);
  color: var(--white);
}
.other-svc-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  color: var(--charcoal);
  font-weight: 600;
}
.other-svc-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
  flex: 1;
}
.other-svc-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.04em;
}

/* ============================================================
   G. FINAL CTA — Photo background
   ============================================================ */
#svc-cta {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.svc-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?w=1800&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.03);
  transition: transform 0.6s ease;
}
#svc-cta:hover .svc-cta-bg { transform: scale(1); }
.svc-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(36,53,41,0.97) 0%,
    rgba(36,53,41,0.8) 55%,
    rgba(36,53,41,0.35) 100%
  );
}
.svc-cta-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
  width: 100%;
}
.svc-cta-inner { max-width: 620px; }
.svc-cta-h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--white);
  margin: 0.6rem 0 1rem;
  line-height: 1.2;
}
.svc-cta-h2 em { color: var(--copper); font-style: italic; }
.svc-cta-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 2.2rem;
}
.svc-cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .manage-grid { grid-template-columns: repeat(2, 1fr); }
  .why-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-connector { display: none; }
}

@media (max-width: 1024px) {
  .svc-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .svc-intro-img img { height: 400px; }
  .svc-intro-img-frame { display: none; }
  .owner-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .owner-img img { height: 340px; }
  .other-svc-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 768px) {
  #svc-hero { min-height: 65vh; }
  #svc-intro, #svc-what-we-manage, #svc-approach, #svc-why, #other-services { padding: 5rem 0; }
  .owner-block { padding: 4.5rem 0; }
  .manage-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .why-benefits-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .other-svc-grid { grid-template-columns: 1fr; }
  .svc-cta-content { padding: 4rem 0; }
  .svc-intro-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  #svc-hero { padding-top: 90px; padding-bottom: 4rem; }
  .svc-hero-h1 { font-size: clamp(2rem, 7.5vw, 2.8rem); }
  .svc-hero-desc { font-size: 0.95rem; }
  .svc-hero-btns { flex-direction: column; }
  .svc-hero-btns .btn-primary,
  .svc-hero-btns .btn-outline { width: 100%; justify-content: center; }
  .process-steps { grid-template-columns: 1fr; }
  .why-benefits-grid { grid-template-columns: 1fr; }
  .svc-cta-btns { flex-direction: column; }
  .svc-cta-btns .btn-primary,
  .svc-cta-btns .btn-outline { width: 100%; justify-content: center; }
  .owner-h2 { font-size: 1.75rem; }
}
