/* ========================================
   V3 Upgrades — Land & Sea
   Impact dashboard, differentiators, vision,
   email capture, video hero placeholder
   ======================================== */

/* === CTA BAND — final override (loads last) === */
.cta-band,
.section-dark.cta-band {
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta-band h2,
.section-dark.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin: 0 auto var(--space-lg);
  max-width: 800px;
}

.cta-band p,
.section-dark.cta-band p,
.section-dark .cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  margin: 0 auto var(--space-2xl);
  max-width: 600px;
}

.cta-band .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* === IMPACT DASHBOARD === */
.impact-dashboard {
  background: var(--color-surface-darker);
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.impact-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(232, 98, 28, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.impact-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.impact-header .section-label {
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.impact-header .section-label::before {
  background: var(--color-accent);
}

.impact-header h2 {
  color: var(--color-text-on-dark);
  max-width: 600px;
  margin: 0 auto;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.impact-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-base);
}

.impact-card:hover {
  border-color: rgba(232, 98, 28, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.impact-number {
  font-family: var(--font-primary);
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-black);
  color: var(--color-text-on-dark);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.impact-number sup {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--color-accent);
}

.impact-unit {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--color-text-on-dark-muted);
  margin-bottom: var(--space-sm);
}

.impact-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-on-dark-muted);
  line-height: var(--line-height-relaxed);
}

@media (max-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .impact-number {
    font-size: var(--font-size-4xl);
  }
}

/* === WHY LAND & SEA (Differentiators) === */
.why-section {
  background: var(--color-surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.why-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.why-card-number {
  font-family: var(--font-primary);
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-black);
  color: var(--color-surface-alt);
  line-height: 1;
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
}

.why-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
  position: relative;
}

.why-card p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  position: relative;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* === VISION / GROWTH SECTION === */
.vision-section {
  background: var(--color-surface-alt);
  position: relative;
  overflow: hidden;
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.vision-text h2 {
  margin-bottom: var(--space-lg);
}

.vision-text p {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.vision-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.vision-stat {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.vision-stat-number {
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-black);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.vision-stat-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.vision-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vision-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .vision-content {
    grid-template-columns: 1fr;
  }

  .vision-image img {
    height: 300px;
  }
}

/* === EMAIL CAPTURE === */
.email-capture {
  background: var(--color-accent);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.email-capture h3 {
  color: var(--color-text-on-dark);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

.email-capture p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-md);
  margin-bottom: var(--space-xl);
}

.email-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 500px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-text-on-dark);
  font-size: var(--font-size-sm);
  outline: none;
  transition: border-color var(--transition-fast);
}

.email-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.email-form input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.2);
}

.email-form button {
  padding: 0.85rem 1.75rem;
  background: var(--color-surface);
  color: var(--color-accent);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.email-form button:hover {
  background: var(--color-surface-alt);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .email-form {
    flex-direction: column;
  }
}

.email-thank-you p {
  font-size: var(--font-size-lg);
  color: #fff;
  font-weight: var(--font-weight-semibold);
}

/* === VIDEO HERO PLACEHOLDER === */
.hero-video-ready {
  position: relative;
}

.hero-video-ready .hero-play {
  position: absolute;
  bottom: var(--space-3xl);
  right: var(--space-3xl);
  z-index: 3;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.hero-video-ready .hero-play:hover {
  background: rgba(232, 98, 28, 0.8);
  border-color: var(--color-accent);
  transform: scale(1.1);
}

.hero-video-ready .hero-play svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 3px;
}

/* Hide play button on mobile — no video yet */
@media (max-width: 768px) {
  .hero-video-ready .hero-play {
    display: none;
  }
}

/* === LEADERSHIP BIOS === */
.team-card-bio {
  font-size: var(--font-size-xs);
  color: var(--color-text-on-dark-muted);
  line-height: var(--line-height-relaxed);
  margin-top: var(--space-sm);
}

/* === CASE STUDY KPI BADGES === */
.case-kpi-bar {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
}

.case-kpi {
  display: flex;
  flex-direction: column;
}

.case-kpi-value {
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-black);
  color: var(--color-accent);
  line-height: 1;
}

.case-kpi-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
}

/* === HERITAGE BADGE (Lind Marine-inspired) === */
.hero-heritage-badge {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.08);
}

/* === WHITESPACE IMPROVEMENTS === */
/* Balanced spacing on desktop */
.section-split {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.section-dark + .section-split,
.marquee + section {
  padding-top: var(--space-xl);
}

/* Pillar cards — more vertical breathing room */
.pillar-cards {
  gap: 2rem;
}

/* Stats section — generous spacing */
.stats-bar {
  padding: var(--space-4xl) 0;
}

/* === MOBILE SPACING TIGHTENING === */
@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-split {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  .section-dark + .section-split,
  .marquee + section {
    padding-top: var(--space-lg);
  }

  .marquee {
    padding: var(--space-md) 0;
  }

  .impact-dashboard {
    padding: var(--space-2xl) 0;
  }

  .stats-bar {
    padding: var(--space-2xl) 0;
  }

  .section-dark.cta-band,
  .cta-band.section-dark,
  .cta-band {
    padding: var(--space-3xl) var(--gutter);
  }
}

/* === MAP HOVER INTERACTIVITY === */
.map-section img {
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}

.map-section img:hover {
  transform: scale(1.02);
  filter: brightness(1.05) contrast(1.05);
}

/* === CTA BUTTON CONSISTENCY === */
/* Ensure all .btn-primary share exact same treatment */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  background: var(--color-cta);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.btn-primary:hover {
  background: var(--color-cta-hover, #2451c7);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* =============================================
   PCO-INSPIRED UPGRADES
   ============================================= */

/* === PCO #2: LINE-CLAMPING ON CASE STUDY CARDS === */
.case-card p,
.case-card .case-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.service-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === PCO #3: PARTNER LOGO HOVER REVEALS === */
.logo-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.logo-bar img {
  height: 45px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.logo-bar img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* === PCO #4: LANDSCAPE TABLET HERO FIX === */
@media (min-width: 768px) and (max-height: 700px) {
  .hero {
    min-height: 60vh;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .hero-heritage-badge {
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
  }
}

/* === PCO #5: TESTIMONIAL MANUAL CONTROLS === */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border, #d1d5db);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.testimonial-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

.testimonial-dot:hover {
  background: var(--color-text-secondary, #6b7280);
}

.testimonial-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
  padding: 0;
}

.testimonial-arrow:hover {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
}

.testimonial-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
