/* =============================================
   web.css — Nav Studio Web Services Page
   Depends on: style.css (variables, base)
   ============================================= */

/* Service color tokens */
:root {
  --s1: #56CCFF;           /* NAV Blue  — Landing Page */
  --s2: #A78BFA;           /* Soft violet — Web Corporativa */
  --s3: #FBBF24;           /* Amber gold — Plataforma Custom */
  --s4: #34D399;           /* Emerald — Gestión Web */
  --s1-a: rgba(86,204,255,0.12);
  --s2-a: rgba(167,139,250,0.12);
  --s3-a: rgba(251,191,36,0.12);
  --s4-a: rgba(52,211,153,0.12);
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.reveal.reveal-right {
  transform: translateX(36px);
}
.reveal.visible {
  opacity: 1;
  transform: translate(0,0);
}
/* Stagger children inside grids */
.value-grid .value-card:nth-child(2) { transition-delay: .08s; }
.value-grid .value-card:nth-child(3) { transition-delay: .16s; }
.value-grid .value-card:nth-child(4) { transition-delay: .08s; }
.value-grid .value-card:nth-child(5) { transition-delay: .16s; }
.value-grid .value-card:nth-child(6) { transition-delay: .24s; }
.service-cards-row .service-card-link:nth-child(2) { transition-delay: .1s; }
.service-cards-row .service-card-link:nth-child(3) { transition-delay: .2s; }
.service-cards-row .service-card-link:nth-child(4) { transition-delay: .3s; }

/* =============================================
   LAYOUT — CONTAINER
   ============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

/* =============================================
   NAVBAR OVERRIDE (active item highlight)
   ============================================= */
.nav-current {
  background: rgba(86, 204, 255, 0.18) !important;
  color: #fff !important;
  border-radius: 20px;
}

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

.web-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(86,204,255,.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(167,139,250,.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(86,204,255,.04) 0%, transparent 40%),
    linear-gradient(180deg, #1C252A 0%, #263238 60%, #1C252A 100%);
  z-index: 0;
}

.web-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  width: 100%;
}

.web-hero-text .eyebrow-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--s1);
  border: 1px solid rgba(86,204,255,.3);
  border-radius: 30px;
  padding: .35rem 1rem;
  margin-bottom: 1.5rem;
}

.web-hero-text h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: #fff;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 300;
}

.hero-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats column */
.hero-stats-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s ease;
}

.hero-stat:hover {
  border-color: rgba(86,204,255,.25);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--s1);
  line-height: 1;
  margin-bottom: .5rem;
}

.hero-stat p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: .4rem;
}

.hero-stat cite {
  font-size: .72rem;
  color: rgba(176,190,197,.5);
  font-style: normal;
  letter-spacing: .04em;
}

/* Scroll hint */
.hero-scroll-hint {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.35);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  animation: hintFloat 2.5s ease-in-out infinite;
}

.scroll-chevron {
  width: 18px; height: 18px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -.3rem;
}

@keyframes hintFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* =============================================
   SHARED SECTION ELEMENTS
   ============================================= */
.section-eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--s1);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 720px;
  margin-top: 1rem;
}

/* =============================================
   WHY SECTION
   ============================================= */
.why-section {
  padding: 8rem 0;
  background: var(--bg-secondary);
}

.why-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--nav-blue);
  margin-bottom: .5rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.value-card {
  background: rgba(38,50,56,.6);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color .3s ease, transform .3s ease;
}

.value-card:hover {
  border-color: rgba(86,204,255,.25);
  transform: translateY(-4px);
}

.value-icon {
  width: 42px; height: 42px;
  color: var(--s1);
  margin-bottom: 1.2rem;
}
.value-icon svg { width: 100%; height: 100%; }

.value-card h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: .6rem;
  font-family: var(--font-display);
}

.value-card p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   SERVICES OVERVIEW
   ============================================= */
.services-overview {
  padding: 8rem 0;
}

.services-overview h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--nav-blue);
}

/* Evolution Path */
.evolution-path {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 4rem 0 5rem;
  flex-wrap: wrap;
}

.evo-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
}

.evo-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  border: 2px solid;
}

.s1-badge { color: var(--s1); border-color: var(--s1); background: var(--s1-a); }
.s2-badge { color: var(--s2); border-color: var(--s2); background: var(--s2-a); }
.s3-badge { color: var(--s3); border-color: var(--s3); background: var(--s3-a); }
.s4-badge { color: var(--s4); border-color: var(--s4); background: var(--s4-a); }

.evo-node strong {
  font-family: var(--font-display);
  font-size: .85rem;
  color: #fff;
}

.evo-node span {
  font-size: .75rem;
  color: var(--text-secondary);
}

.evo-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  color: rgba(255,255,255,.25);
  flex: 1;
  min-width: 60px;
}

.evo-connector svg { width: 60px; color: inherit; }
.evo-connector span { font-size: .7rem; letter-spacing: .06em; }

/* Service Cards — plan-card format */
.service-card-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

.service-card {
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
  height: 100%;
  box-sizing: border-box;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}

/* Same gradients as plan-basic / plan-standard / plan-premium + teal for service 4 */
.sc-1 { background: linear-gradient(180deg, rgba(29, 63, 137, 0.4) 0%, rgba(20, 20, 20, 1) 40%); }
.sc-2 { background: linear-gradient(180deg, rgba(98, 38, 142, 0.4) 0%, rgba(20, 20, 20, 1) 40%); }
.sc-3 { background: linear-gradient(180deg, rgba(142, 38, 59, 0.4) 0%, rgba(20, 20, 20, 1) 40%); }
.sc-4 { background: linear-gradient(180deg, rgba(20, 110, 80, 0.4) 0%, rgba(20, 20, 20, 1) 40%); }

/* Reuse plan-header h4 style for h3 inside service cards */
.service-card .plan-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
  color: var(--nav-blue);
  font-family: var(--font-display);
  font-weight: 700;
}

/* 4-column grid for 4 service cards */
.service-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.sc-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.s1-color { color: var(--s1); }
.s2-color { color: var(--s2); }
.s3-color { color: var(--s3); }
.s4-color { color: var(--s4); }

.service-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin: 0;
}

.service-card p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.sc-cta {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .04em;
  transition: color .2s;
}
.sc-cta svg { width: 14px; height: 14px; transition: transform .2s; }
.service-card:hover .sc-cta { color: #fff; }
.service-card:hover .sc-cta svg { transform: translateX(4px); }

/* =============================================
   STICKY SERVICES NAV
   ============================================= */
.services-sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(18, 26, 32, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.services-sticky-nav.visible {
  transform: translateY(0);
}

.ssn-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .9rem 5%;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ssn-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .2s;
  padding: .2rem .1rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.ssn-link:hover,
.ssn-link.ssn-active { color: #fff; border-bottom-color: var(--s1); }

.ssn-dot { color: rgba(255,255,255,.2); font-size: 1.2rem; line-height: 1; }

/* =============================================
   SERVICE SECTIONS
   ============================================= */
.service-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.alt-bg {
  background: var(--bg-secondary);
}

/* Large faded background number */
.svc-num-bg {
  position: absolute;
  top: -1rem;
  right: 3%;
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  opacity: .04;
  letter-spacing: -.05em;
}
.s1-bg { color: var(--s1); }
.s2-bg { color: var(--s2); }
.s3-bg { color: var(--s3); }
.s4-bg { color: var(--s4); }

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 4rem;
  position: relative;
}

.service-header-text { max-width: 700px; }

.service-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: .75rem;
}

.service-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--nav-blue);
  margin-bottom: 1rem;
}

.service-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 620px;
}

.service-body { position: relative; }

/* Article blocks */
.article-block {
  max-width: 720px;
  margin-bottom: 3rem;
}

.article-block h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.article-block p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: .9rem;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(38,50,56,.5);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color .3s;
}
.feature-item:hover { border-color: rgba(86,204,255,.2); }

.feature-icon-wrap {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.s1-icon { background: var(--s1-a); color: var(--s1); }
.s2-icon { background: var(--s2-a); color: var(--s2); }
.s3-icon { background: var(--s3-a); color: var(--s3); }
.s4-icon { background: var(--s4-a); color: var(--s4); }
.feature-icon-wrap svg { width: 100%; height: 100%; }

.feature-item h4 {
  font-size: .95rem;
  color: #fff;
  margin-bottom: .3rem;
  font-family: var(--font-display);
}

.feature-item p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* For Who box */
.for-who-box {
  background: rgba(28,37,42,.8);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem 0;
}

.for-who-box h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.for-who-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem 2rem;
}

.fw-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.fw-check {
  color: var(--s1);
  font-weight: 700;
  flex-shrink: 0;
  font-size: .95rem;
}
.s2-check { color: var(--s2); }
.s4-check { color: var(--s4); }

/* Evolution callout */
.evolution-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(86,204,255,.07) 0%, rgba(28,37,42,.6) 100%);
  border: 1px solid rgba(86,204,255,.2);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.ec-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--s1);
  margin-bottom: .6rem;
}

.ec-text h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .6rem;
  font-family: var(--font-display);
}

.ec-text p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
}

/* Service CTA row */
.service-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  margin-top: 3rem;
}

.cta-sub {
  font-size: .85rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 480px;
  line-height: 1.6;
}

/* Pages grid (service 2) */
.pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.page-card {
  background: rgba(38,50,56,.5);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  transition: border-color .3s, transform .3s;
}
.page-card:hover { border-color: rgba(167,139,250,.25); transform: translateY(-3px); }

.pc-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--s2);
  margin-bottom: .5rem;
}

.page-card h4 {
  font-size: .95rem;
  color: #fff;
  margin-bottom: .5rem;
  font-family: var(--font-display);
}

.page-card p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Tech tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 2rem 0 3rem;
}

.tech-tag {
  background: rgba(167,139,250,.12);
  border: 1px solid rgba(167,139,250,.25);
  color: var(--s2);
  border-radius: 30px;
  padding: .4rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* Custom examples grid (service 3) */
.custom-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.ce-card {
  background: rgba(38,50,56,.5);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: border-color .3s, transform .3s;
}
.ce-card:hover { border-color: rgba(251,191,36,.25); transform: translateY(-3px); }

.ce-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 7px;
}
.ce-icon svg { width: 100%; height: 100%; }

.ce-card h4 {
  font-size: .95rem;
  color: #fff;
  margin-bottom: .5rem;
  font-family: var(--font-display);
}

.ce-card p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Blockquote */
.service-blockquote {
  border-left: 3px solid var(--s3);
  margin: 3rem 0;
  padding: 1.5rem 2rem;
  background: rgba(251,191,36,.05);
  border-radius: 0 12px 12px 0;
}

.service-blockquote p {
  font-size: 1.1rem;
  color: #e5e5e5;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: .75rem;
}

.service-blockquote cite {
  font-size: .8rem;
  color: var(--text-secondary);
  font-style: normal;
  letter-spacing: .05em;
}

/* Management highlight (service 4) */
.management-highlight {
  background: linear-gradient(135deg, rgba(52,211,153,.08) 0%, rgba(28,37,42,.5) 100%);
  border: 1px solid rgba(52,211,153,.2);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  margin: 2rem 0 3rem;
}

.management-highlight p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.management-highlight strong {
  color: var(--s4);
  display: block;
}

/* Management columns */
.management-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.mgmt-col {
  background: rgba(38,50,56,.5);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 2rem;
}

.mgmt-col h4 {
  font-size: .95rem;
  color: var(--s4);
  font-family: var(--font-display);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(52,211,153,.15);
}

.mgmt-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.mgmt-col li {
  font-size: .875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.mgmt-col li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--s4);
  font-size: .7rem;
  top: .15em;
}

/* Partnership box */
.partnership-box {
  background: linear-gradient(135deg, rgba(52,211,153,.06) 0%, rgba(28,37,42,.6) 100%);
  border: 1px solid rgba(52,211,153,.2);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem 0;
}

.partnership-box h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.partnership-box p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: .8rem;
}

.partnership-box p:last-child { margin-bottom: 0; }

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio-section {
  padding: 8rem 0;
  background: var(--bg-secondary);
}

.portfolio-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--nav-blue);
  margin-bottom: .5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 3.5rem 0 2rem;
}

.portfolio-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.pi-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(28,37,42,.9);
  border: 1px solid var(--glass-border);
  transition: border-color .3s;
}

.pi-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.portfolio-item:hover .pi-img-wrap { border-color: rgba(86,204,255,.3); }
.portfolio-item:hover .pi-img-wrap img { transform: scale(1.04); }

.pi-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,26,32,.95) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .3s ease;
}

.portfolio-item:hover .pi-overlay { opacity: 1; }

.pi-tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--s1);
  margin-bottom: .4rem;
}

.pi-overlay h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: .3rem;
  font-family: var(--font-display);
}

.pi-overlay p {
  font-size: .82rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Placeholder items */
.pi-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(38,50,56,.3),
      rgba(38,50,56,.3) 10px,
      rgba(28,37,42,.3) 10px,
      rgba(28,37,42,.3) 20px
    );
}

.pi-placeholder svg {
  width: 48px; height: 48px;
  color: rgba(176,190,197,.15);
}

.pi-placeholder span {
  font-size: .78rem;
  color: rgba(176,190,197,.3);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}

.portfolio-note {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 3rem;
}

.portfolio-note p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* =============================================
   FINAL CTA
   ============================================= */
.final-cta-section {
  padding: 9rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(86,204,255,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(86,204,255,.05) 0%, transparent 50%),
    var(--bg-primary);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--nav-blue);
  margin-bottom: 1.5rem;
}

.cta-body {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.cta-disclaimer {
  font-size: .85rem;
  color: rgba(176,190,197,.5);
  line-height: 1.7;
  margin-top: 1.5rem;
}

/* =============================================
   FOOTER
   ============================================= */
.web-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5%;
  flex-wrap: wrap;
  gap: 1rem;
}

.web-footer .footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-back-link {
  font-size: .85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .2s;
}
.footer-back-link:hover { color: #fff; }

/* =============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .web-hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-stats-col {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-stat {
    flex: 1 1 180px;
  }

  .reveal.reveal-right {
    transform: translateY(28px);
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .evolution-path {
    gap: .75rem;
  }

  .evo-connector { min-width: 40px; }
  .evo-connector svg { width: 40px; }

  .features-grid { grid-template-columns: 1fr; }

  .pages-grid { grid-template-columns: repeat(2, 1fr); }

  .custom-examples { grid-template-columns: repeat(2, 1fr); }

  .management-cols { grid-template-columns: 1fr; }

  .for-who-list { grid-template-columns: 1fr; }

  .evolution-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {
  .web-hero {
    padding: 100px 5% 60px;
  }

  .web-hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-stats-col {
    flex-direction: column;
  }

  .hero-stat { flex: 1 1 100%; }

  .why-section h2,
  .services-overview h2,
  .service-header h2 {
    font-size: 1.75rem;
  }

  .value-grid,
  .service-cards-row,
  .pages-grid,
  .custom-examples {
    grid-template-columns: 1fr;
  }

  .evolution-path {
    flex-direction: column;
    align-items: flex-start;
  }

  .evo-connector { transform: rotate(90deg); }

  .services-sticky-nav .ssn-inner {
    gap: .5rem;
    font-size: .75rem;
  }
  .ssn-dot { display: none; }
  .ssn-link { flex: 1; text-align: center; font-size: .72rem; }

  .service-header { flex-direction: column; }

  .for-who-list { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .management-cols { grid-template-columns: 1fr; }

  .evolution-callout .btn-outline { width: 100%; text-align: center; }

  .cta-inner h2 { font-size: 1.9rem; }

  .service-cta-row .btn-primary { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .ssn-inner { padding: .7rem 3%; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-outline { width: 100%; text-align: center; }
  .hero-stat-number { font-size: 1.8rem; }
  .management-highlight p { font-size: 1.2rem; }
}
