/* ============================================
   HOMEPAGE — Premium Landing Page Styles
   Cinematic hero, glass morphism, scroll reveals
   ============================================ */

/* ===== HERO ===== */
.hp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hp-hero__bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(8,145,178,0.28), transparent),
    radial-gradient(ellipse 60% 40% at 85% 80%, rgba(251,191,36,0.18), transparent),
    radial-gradient(ellipse 50% 35% at 10% 60%, rgba(56,189,248,0.22), transparent);
  animation: heroMesh 14s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroMesh {
  0%   { transform: scale(1) translate(0,0); }
  50%  { transform: scale(1.06) translate(-1%,1%); }
  100% { transform: scale(1.03) translate(1%,-1%); }
}

.hp-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
}

/* Badge */
.hp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  background: rgba(8,145,178,0.08);
  border: 1px solid rgba(8,145,178,0.25);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  animation: fadeUp .8s ease both;
}

.hp-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .4; transform: scale(1.6); }
}

/* Title */
.hp-hero__title {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--heading);
  animation: fadeUp .8s ease .1s both;
}

.hp-gradient-text {
  background: linear-gradient(135deg, #0891b2 0%, #38bdf8 40%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* Subtitle */
.hp-hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  animation: fadeUp .8s ease .2s both;
}

/* CTA */
.hp-hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeUp .8s ease .3s both;
}

.hp-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  border: 2px solid var(--border-strong);
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
  transition: all .3s ease;
  text-decoration: none;
}

.hp-ghost-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(8,145,178,0.15);
}

/* Stats Bar */
.hp-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem 3rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 25px 60px rgba(0,0,0,0.07);
  animation: fadeUp .8s ease .5s both;
  flex-wrap: wrap;
}

.hp-stat { text-align: center; }

.hp-stat__number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--accent);
  line-height: 1;
}

.hp-stat__plus,
.hp-stat__star,
.hp-stat__unit {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.hp-stat__label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .25rem;
}

.hp-stat__divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Scroll Indicator */
.hp-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: fadeUp .8s ease .7s both;
}

.hp-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: 1; height: 40px; }
  50%     { opacity: .3; height: 20px; }
}

/* ===== TRUST MARQUEE ===== */
.hp-marquee {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}

.hp-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.hp-marquee__content {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  padding-right: 2rem;
}

.hp-marquee__content span {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-muted);
  letter-spacing: .02em;
}

.hp-marquee__dot {
  color: var(--accent) !important;
  font-size: 1.2rem !important;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SCROLL REVEAL ===== */
.hp-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}

.hp-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hp-reveal-d1 { transition-delay: .1s; }
.hp-reveal-d2 { transition-delay: .2s; }
.hp-reveal-d3 { transition-delay: .3s; }
.hp-reveal-d4 { transition-delay: .4s; }
.hp-reveal-d5 { transition-delay: .5s; }

/* ===== SECTION HEADERS ===== */
.hp-section {
  padding: clamp(4rem,8vw,7rem) 0;
  /* Override base section animation */
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.hp-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hp-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hp-title {
  font-size: clamp(2rem,4.5vw,3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--heading);
  margin-bottom: 1rem;
}

.hp-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.hp-center { text-align: center; }
.hp-center .hp-desc { margin: 0 auto; }

/* ===== SERVICES GRID ===== */
.hp-services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.hp-service-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all .4s cubic-bezier(.16,1,.3,1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hp-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.hp-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
  border-color: rgba(8,145,178,0.2);
}

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

.hp-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(8,145,178,0.1), rgba(56,189,248,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  transition: all .3s ease;
}

.hp-service-card:hover .hp-service-icon {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  transform: scale(1.1);
}

.hp-service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--heading);
}

.hp-service-card p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.hp-service-metric {
  margin-top: 1.25rem;
  padding: .5rem 0;
  border-top: 1px solid var(--border);
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ===== RESULTS / DARK SECTION ===== */
.hp-results {
  padding: clamp(4rem,8vw,6rem) 0;
  background: linear-gradient(135deg, #0c2d3f 0%, #0a1628 100%);
  position: relative;
  overflow: hidden;
  /* Override base section */
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.hp-results::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(8,145,178,0.2), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(251,191,36,0.1), transparent 50%);
}

.hp-results-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hp-result-item { text-align: center; }

.hp-result-number {
  font-size: clamp(2.5rem,5vw,4rem);
  font-weight: 900;
  font-family: var(--font-heading);
  color: #22d3ee;
  line-height: 1;
  margin-bottom: .5rem;
}

.hp-result-label {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ===== PROCESS STEPS ===== */
.hp-process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  counter-reset: step;
}

.hp-step {
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  counter-increment: step;
  transition: all .3s ease;
}

.hp-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: rgba(8,145,178,0.12);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color .3s ease;
}

.hp-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.hp-step:hover::before { color: rgba(8,145,178,0.25); }

.hp-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.hp-step p {
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.hp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.hp-testimonial {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}

.hp-testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.hp-testimonial__stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hp-testimonial__quote {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.hp-testimonial__author {
  font-size: .85rem;
  font-weight: 700;
  color: var(--heading);
}

.hp-testimonial__role {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .15rem;
}

/* ===== SHOWCASE (IMAGE GRID) ===== */
.hp-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px;
  gap: 1rem;
  margin-top: 3rem;
}

.hp-showcase-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}

.hp-showcase-item:first-child {
  grid-row: 1 / 3;
}

.hp-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.hp-showcase-item:hover img {
  transform: scale(1.05);
}

.hp-showcase-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  font-size: .8rem;
  font-weight: 700;
}

/* ===== LOCATIONS ===== */
.hp-locations-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: .75rem;
  margin-top: 2rem;
}

.hp-loc {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.06);
  font-weight: 600;
  font-size: .85rem;
  color: var(--text);
  text-decoration: none;
  transition: all .3s ease;
}

.hp-loc:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8,145,178,0.25);
}

/* ===== RESOURCES ===== */
.hp-resources-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.hp-resource {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}

.hp-resource:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-color: rgba(8,145,178,0.2);
}

.hp-tag {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .75rem;
  width: fit-content;
}

.hp-tag.green  { background: rgba(34,197,94,0.1); color: #16a34a; }
.hp-tag.blue   { background: rgba(8,145,178,0.1);  color: var(--accent); }
.hp-tag.amber  { background: rgba(245,158,11,0.1); color: #d97706; }

.hp-resource h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--heading);
}

.hp-resource p {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== FAQ ACCORDION ===== */
.hp-accordion { margin-top: 2.5rem; }

.hp-acc-item {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: all .3s ease;
}

.hp-acc-item:hover { border-color: rgba(8,145,178,0.15); }

.hp-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  text-align: left;
  transition: color .2s ease;
}

.hp-acc-trigger:hover { color: var(--accent); }

.hp-acc-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(8,145,178,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s ease;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 300;
}

.hp-acc-item.open .hp-acc-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: white;
}

.hp-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.16,1,.3,1);
}

.hp-acc-item.open .hp-acc-content {
  max-height: 400px;
}

.hp-acc-body {
  padding: 0 1.5rem 1.5rem;
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== FINAL CTA ===== */
.hp-cta {
  padding: clamp(4rem,8vw,7rem) 0;
  background: linear-gradient(135deg, #0891b2 0%, #6d28d9 50%, #f59e0b 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  /* Override base section */
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.hp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hp-cta__inner { position: relative; z-index: 1; }

.hp-cta__title {
  font-size: clamp(2rem,5vw,3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.hp-cta__desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hp-cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hp-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1.1rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.05rem;
  background: white;
  color: #0891b2;
  text-decoration: none;
  transition: all .3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hp-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.2);
  color: #0891b2;
}

.hp-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1.1rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  background: rgba(255,255,255,0.12);
  color: white;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(10px);
  transition: all .3s ease;
}

.hp-cta-secondary:hover {
  background: rgba(255,255,255,0.22);
  border-color: white;
  transform: translateY(-3px);
  color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hp-services-grid  { grid-template-columns: repeat(2,1fr); }
  .hp-process-grid   { grid-template-columns: repeat(2,1fr); }
  .hp-locations-grid  { grid-template-columns: repeat(3,1fr); }
  .hp-resources-grid  { grid-template-columns: repeat(2,1fr); }
  .hp-showcase-grid   { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
  .hp-showcase-item:first-child { grid-row: auto; }
}

@media (max-width: 768px) {
  .hp-hero { min-height: auto; padding: 100px 0 60px; }
  .hp-hero__stats { gap: 1.25rem; padding: 1.25rem 1.5rem; }
  .hp-stat__number { font-size: 1.5rem; }
  .hp-stat__divider { display: none; }
  .hp-hero__scroll { display: none; }
  .hp-results-grid { grid-template-columns: repeat(2,1fr); gap: 2rem 1.5rem; }
  .hp-testimonials-grid { grid-template-columns: 1fr; }
  .hp-showcase-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
}

@media (max-width: 640px) {
  .hp-services-grid  { grid-template-columns: 1fr; }
  .hp-process-grid   { grid-template-columns: 1fr; }
  .hp-locations-grid  { grid-template-columns: repeat(2,1fr); }
  .hp-resources-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hp-hero__stats { gap: 1rem; justify-content: space-around; }
  .hp-hero__badge { font-size: .75rem; }
  .hp-results-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   INNER PAGE STYLES (Services, About, etc.)
   ============================================ */

/* ===== PAGE HERO (shorter than homepage) ===== */
.hp-page-hero {
  position: relative;
  padding: clamp(6rem,12vw,9rem) 0 clamp(3rem,6vw,5rem);
  text-align: center;
  overflow: hidden;
}

.hp-page-hero .hp-hero__bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(8,145,178,0.22), transparent),
    radial-gradient(ellipse 60% 40% at 85% 80%, rgba(251,191,36,0.12), transparent);
  animation: heroMesh 14s ease-in-out infinite alternate;
  z-index: 0;
}

.hp-page-hero .container { position: relative; z-index: 1; }

.hp-page-hero .hp-hero__badge { margin-bottom: 1.5rem; }

.hp-page-hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

.hp-page-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* Breadcrumb in page hero */
.hp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hp-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.hp-breadcrumb a:hover { text-decoration: underline; }

/* ===== CASE STUDY CARDS ===== */
.hp-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.hp-case-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all .3s ease;
}

.hp-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.hp-case-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .5rem;
}

.hp-case-meta {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hp-case-card h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--heading);
  margin-top: 1rem;
  margin-bottom: .5rem;
}

.hp-case-card p,
.hp-case-card ul {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hp-case-card ul {
  padding-left: 1.25rem;
  margin: 0;
}

.hp-case-card ul li { margin-bottom: .25rem; }

.hp-case-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}

.hp-case-stat {
  padding: .75rem;
  border-radius: var(--radius);
  background: rgba(34,197,94,0.06);
  text-align: center;
}

.hp-case-stat__num {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: #16a34a;
  font-family: var(--font-heading);
}

.hp-case-stat__label {
  font-size: .7rem;
  color: var(--text-muted);
}

/* ===== COMPARISON TABLE ===== */
.hp-table-wrap {
  margin-top: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  overflow-x: auto;
}

.hp-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.hp-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  background: rgba(0,0,0,0.02);
}

.hp-table td {
  padding: .85rem 1.25rem;
  font-size: .88rem;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.hp-table td:first-child { font-weight: 700; color: var(--heading); }

.hp-table tr:hover td { background: rgba(8,145,178,0.03); }

/* ===== PRICING CARDS ===== */
.hp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.hp-price-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  transition: all .3s ease;
}

.hp-price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.hp-price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 10px 40px rgba(8,145,178,0.15);
}

.hp-price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: .25rem 1rem;
  border-radius: 100px;
  background: var(--accent);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.hp-price-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: .5rem;
}

.hp-price-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-heading);
  margin-bottom: .5rem;
}

.hp-price-card p {
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== CONTACT FORM ===== */
.hp-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.hp-form-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.hp-form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1.5rem;
  text-align: center;
}

.hp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hp-form-card label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: .35rem;
}

.hp-form-card input,
.hp-form-card select,
.hp-form-card textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: white;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}

.hp-form-card input:focus,
.hp-form-card select:focus,
.hp-form-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}

.hp-form-card textarea { min-height: 120px; resize: vertical; }

.hp-form-note {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(8,145,178,0.04);
  border-left: 3px solid var(--accent);
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.hp-sidebar-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
}

.hp-sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1rem;
}

.hp-process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-process-list li {
  padding: .65rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hp-process-list li:last-child { border-bottom: none; }

.hp-process-list li strong { color: var(--heading); }

/* ===== INDUSTRY CARDS ===== */
.hp-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.hp-industry-card {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all .3s ease;
}

.hp-industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-color: rgba(8,145,178,0.2);
}

.hp-industry-card__icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.hp-industry-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: .5rem;
}

.hp-industry-card p {
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: .75rem;
}

.hp-industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .75rem;
}

.hp-industry-tags span {
  padding: .2rem .55rem;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 600;
  background: rgba(8,145,178,0.06);
  color: var(--accent);
}

.hp-industry-card .hp-service-metric {
  margin-top: .5rem;
  padding-top: .5rem;
}

/* ===== ABOUT — FOUNDER ===== */
.hp-founder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(8,145,178,0.04), rgba(56,189,248,0.06));
  border: 1px solid rgba(8,145,178,0.1);
}

.hp-founder h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hp-founder p {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: .75rem;
}

.hp-founder-skills {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.8);
}

.hp-founder-skills h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1rem;
}

.hp-founder-skills ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-founder-skills li {
  padding: .6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: .9rem;
  color: var(--text-secondary);
}

.hp-founder-skills li:last-child { border-bottom: none; }

.hp-founder-phone {
  margin-top: 1rem;
  padding: .75rem;
  border-radius: var(--radius);
  background: rgba(8,145,178,0.08);
  text-align: center;
  font-weight: 700;
  color: var(--accent);
}

/* ===== PORTFOLIO — PROJECT CARDS ===== */
.hp-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.hp-project-card {
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all .4s cubic-bezier(.16,1,.3,1);
}

.hp-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.hp-project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .5s ease;
}

.hp-project-card:hover img { transform: scale(1.05); }

.hp-project-card__body {
  padding: 1.5rem;
}

.hp-project-card__body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: .5rem;
}

.hp-project-card__body p {
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: .75rem;
}

/* ===== INNER PAGE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hp-case-grid        { grid-template-columns: 1fr; }
  .hp-pricing-grid     { grid-template-columns: repeat(3, 1fr); }
  .hp-contact-grid     { grid-template-columns: 1fr; }
  .hp-industry-grid    { grid-template-columns: repeat(2, 1fr); }
  .hp-founder          { grid-template-columns: 1fr; }
  .hp-project-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hp-page-hero { padding: 100px 0 40px; }
  .hp-pricing-grid     { grid-template-columns: 1fr; }
  .hp-form-row         { grid-template-columns: 1fr; }
  .hp-case-results     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hp-industry-grid    { grid-template-columns: 1fr; }
  .hp-project-grid     { grid-template-columns: 1fr; }
}
