/* ============================================
   PREMIUM PROPERTY MANAGEMENT PAGE STYLES
   Custom-built premium design system
   ============================================ */

/* ===== CSS VARIABLES - PREMIUM PALETTE ===== */
:root {
  --navy-deep: #0a1628;
  --navy-dark: #0f2137;
  --navy: #1a3a5c;
  --navy-light: #2d5a87;
  --blue-deep: #3d7ab5;
  --blue: #5A9BB8;
  --blue-light: #7ab8d4;
  --blue-pale: #a8d4e6;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --glass-white: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 4px 20px rgba(10, 22, 40, 0.15);
  --shadow-medium: 0 8px 32px rgba(10, 22, 40, 0.2);
  --shadow-strong: 0 16px 48px rgba(10, 22, 40, 0.25);
  --glow-blue: 0 0 40px rgba(90, 155, 184, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== HERO SECTION - WARM FAMILY-OWNED PREMIUM ===== */
.page-hero.dark-hero {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-dark) 100%);
  position: relative;
  padding: 120px 0 80px;
}

/* Single subtle ambient element */
.page-hero.dark-hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(90, 155, 184, 0.08) 0%, transparent 70%);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Hero Typography - Premium Hierarchy */
.page-hero.dark-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.page-hero.dark-hero .hero-wide-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* ===== BENEFIT PILLS - WARM INDEPENDENT STYLE ===== */
.hero-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-pills .benefit-pill:nth-child(1) { animation-delay: 0s; }
.hero-pills .benefit-pill:nth-child(2) { animation-delay: 0.5s; }
.hero-pills .benefit-pill:nth-child(3) { animation-delay: 1s; }
.hero-pills .benefit-pill:nth-child(4) { animation-delay: 1.5s; }

.benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 22px;
  border-radius: 50px;
  transition: all 0.25s ease;
  cursor: default;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: float 3s ease-in-out infinite;
  will-change: transform;
}

.benefit-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  animation-play-state: paused;
}

.benefit-icon {
  width: 20px;
  height: 20px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
}

.benefit-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.benefit-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ===== PREMIUM BUTTONS - NAVY TO BLUE ===== */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue-deep) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: none;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-smooth);
  margin-top: auto;
  align-self: flex-start;
  box-shadow: 
    0 4px 12px rgba(26, 58, 92, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.card-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.card-link:hover {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--blue-deep) 50%, var(--blue) 100%);
  transform: translateY(-3px);
  box-shadow: 
    0 8px 24px rgba(26, 58, 92, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    var(--glow-blue);
  border-color: rgba(255, 255, 255, 0.35);
}

.card-link:hover::before {
  left: 100%;
}

.card-link:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 58, 92, 0.3);
}

.card-link span {
  transition: transform var(--transition-fast);
}

.card-link:hover span {
  transform: translateX(4px);
}

/* ===== SERVICE CARDS - CLEAN & WARM ===== */
.page-content.light {
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue) 40%, #4a8ba8 100%);
  padding: 80px 0;
}

.page-content.light .service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-content.light .service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.page-content.light .service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.page-content.light .service-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

/* Images are the stars - minimal styling */
.page-content.light .service-card img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-top: auto;
  display: block;
}

/* ===== GRID LAYOUTS - IMPROVED SPACING ===== */
.content-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

/* ===== PREMIUM CONVERSION SECTION ===== */
.conversion-row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.2fr;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

/* Primary CTA Cards - Left & Right */
.conversion-card.cta-primary {
  background: rgba(26, 58, 92, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 340px;
}

.conversion-card.cta-primary:hover {
  background: rgba(26, 58, 92, 0.5);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

.conversion-card.cta-primary .card-label {
  margin-bottom: 12px;
}

.conversion-card.cta-primary h3 {
  margin-bottom: 12px;
  flex-shrink: 0;
}

.conversion-card.cta-primary p {
  margin-bottom: 24px;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.conversion-card.cta-primary .btn-convert {
  margin-top: auto;
  margin-bottom: auto;
  flex-shrink: 0;
  align-self: center;
}

/* Secondary/Supporting Card - Center */
.conversion-card.cta-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
  align-self: center;
}

.conversion-card.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Card Icons */
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 16px;
}

.card-icon.small {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.card-icon.small svg {
  width: 22px;
  height: 22px;
}

/* Card Typography */
.conversion-card .card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-pale);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.conversion-card.cta-secondary .card-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
}

.conversion-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.conversion-card.cta-secondary h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.conversion-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* Premium Navy-to-Blue Buttons */
.btn-convert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-convert:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-convert span {
  transition: transform 0.2s ease;
}

.btn-convert:hover span {
  transform: translateX(3px);
}

/* Service List - Secondary Card */
.service-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.service-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.service-list li a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.list-icon {
  margin-right: 10px;
  font-size: 1.1rem;
}

.list-text {
  flex: 1;
}

/* Section Label */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== PREMIUM CTA BAND - 2 COLUMN ===== */
.cta-band {
  margin-top: 60px;
  padding: 40px;
  background: rgba(26, 58, 92, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.cta-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.cta-divider {
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.cta-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-pale);
  margin-bottom: 12px;
}

.cta-option h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-option p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 280px;
}

.cta-option .btn-convert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.cta-option .btn-convert:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-buttons .card-link {
  padding: 12px 24px;
  font-size: 0.85rem;
  border-radius: 50px;
}

.cta-option .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, #243b55 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  margin: 0 auto;
}

.cta-option .card-link:hover {
  background: linear-gradient(135deg, #243b55 0%, var(--navy) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

.cta-option .card-link span {
  transition: transform 0.2s ease;
}

.cta-option .card-link:hover span {
  transform: translateX(4px);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 968px) {
  .content-grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .cta-band {
    padding: 32px 24px;
    margin-top: 40px;
  }
  
  .cta-band-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .cta-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  }
  
  .hero-pills-wrapper {
    margin: 16px auto 32px;
    padding: 16px 20px;
  }
  
  .hero-pills {
    gap: 10px;
  }
  
  .benefit-pill {
    padding: 10px 14px;
  }
  
  .benefit-text {
    font-size: 0.8rem;
  }
  
  .page-hero.dark-hero {
    padding: 80px 0 50px;
  }
  
  .page-hero.dark-hero h1 {
    font-size: 2.2rem;
  }
  
  .page-content.light .service-card {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .page-hero.dark-hero h1 {
    font-size: 1.8rem;
  }
  
  .page-hero.dark-hero .hero-wide-text {
    font-size: 1rem;
  }
  
  .benefit-text {
    font-size: 0.8rem;
  }
  
  .card-link {
    padding: 12px 20px;
    font-size: 0.85rem;
  }
  
  .page-content.light .service-card h3 {
    font-size: 1.15rem;
  }
}
