/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 12rem;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue-accent);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.125rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__hex-container {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__hex-ring {
  position: absolute;
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 50%;
  animation: rotate-slow 40s linear infinite;
}

.hero__hex-ring--1 {
  width: 100%;
  height: 100%;
}

.hero__hex-ring--2 {
  width: 80%;
  height: 80%;
  border-color: rgba(34, 211, 238, 0.1);
  animation-direction: reverse;
  animation-duration: 30s;
}

.hero__hex-ring--3 {
  width: 60%;
  height: 60%;
  border-color: rgba(14, 165, 233, 0.08);
  animation-duration: 20s;
}

.hero__hex-ring-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--blue-accent);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px var(--blue-accent);
}

.hero__logo-center {
  position: relative;
  z-index: 2;
  width: 364px;
  max-width: 100%;
  filter: drop-shadow(0 0 50px rgba(14, 165, 233, 0.4));
  animation: float 6s ease-in-out infinite;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-mono);
}

.hero__stat-value span {
  color: var(--blue-accent);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════
   NUMBERS BAR
   ═══════════════════════════════════════════ */
.numbers {
  background: var(--navy);
  padding: 4rem 0;
  position: relative;
}

.numbers::before,
.numbers::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.2), transparent);
}

.numbers::before { top: 0; }
.numbers::after { bottom: 0; }

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.numbers__item {
  padding: 1.5rem 1rem;
}

.numbers__value {
  font-size: 2.75rem;
  font-weight: 900;
  font-family: var(--font-mono);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.numbers__label {
  font-size: 0.85rem;
  color: var(--gray-300);
  font-weight: 500;
}

.numbers__detail {
  font-size: var(--fs-body-small);
  color: var(--gray-500);
  margin-top: 0.35rem;
  font-family: var(--font-mono);
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services {
  position: relative;
}

.services__header {
  text-align: center;
  margin-bottom: 4rem;
}

.services__header .section-label {
  justify-content: center;
}

.services__header .section-label::before {
  display: none;
}

.services__header .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  background: rgba(14, 165, 233, 0.04);
  border-color: rgba(14, 165, 233, 0.15);
  transform: translateY(-4px);
}

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

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.925rem;
  color: var(--gray-300);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   AI SECTION
   ═══════════════════════════════════════════ */
.ai-section {
  background: var(--navy);
  position: relative;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.2), transparent);
}

.ai-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ai-section__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-section__neural {
  width: 100%;
  aspect-ratio: 1;
  max-width: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-section__neural-ring {
  position: absolute;
  border: 1px dashed rgba(14, 165, 233, 0.2);
  border-radius: 50%;
  animation: rotate-slow 25s linear infinite;
}

.ai-section__neural-ring:nth-child(1) {
  width: 100%;
  height: 100%;
}

.ai-section__neural-ring:nth-child(2) {
  width: 70%;
  height: 70%;
  animation-direction: reverse;
  animation-duration: 18s;
  border-color: rgba(34, 211, 238, 0.15);
}

.ai-section__neural-ring:nth-child(3) {
  width: 40%;
  height: 40%;
  animation-duration: 12s;
}

.ai-section__neural-core {
  position: relative;
  z-index: 2;
  font-size: 4rem;
  filter: drop-shadow(0 0 30px rgba(14, 165, 233, 0.4));
}

.ai-section__neural-node {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--blue-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--blue-accent);
  animation: pulse-dot 3s infinite;
}

.ai-section__neural-node:nth-child(4) { top: 10%; left: 50%; animation-delay: 0s; }
.ai-section__neural-node:nth-child(5) { top: 30%; right: 5%; animation-delay: 0.5s; }
.ai-section__neural-node:nth-child(6) { bottom: 20%; right: 10%; animation-delay: 1s; }
.ai-section__neural-node:nth-child(7) { bottom: 10%; left: 20%; animation-delay: 1.5s; }
.ai-section__neural-node:nth-child(8) { top: 40%; left: 5%; animation-delay: 2s; }

.ai-section__capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.ai-cap {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.ai-cap:hover {
  background: rgba(14, 165, 233, 0.04);
  border-color: rgba(14, 165, 233, 0.15);
}

.ai-cap__icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.ai-cap__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.ai-cap__desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   DIFERENCIAL
   ═══════════════════════════════════════════ */
.diferencial {
  position: relative;
}

.diferencial__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.diferencial__text .section-subtitle {
  margin-bottom: 2rem;
}

.diferencial__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.diferencial__feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.diferencial__feature:hover {
  background: rgba(14, 165, 233, 0.04);
  border-color: rgba(14, 165, 233, 0.15);
}

.diferencial__feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 2px;
}

.diferencial__feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.diferencial__feature-text p {
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.diferencial__visual {
  position: relative;
}

.diferencial__code-block {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: var(--fs-code);
}

.diferencial__code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.diferencial__code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.diferencial__code-dot--red { background: #ef4444; }
.diferencial__code-dot--yellow { background: #eab308; }
.diferencial__code-dot--green { background: #22c55e; }

.diferencial__code-body {
  padding: 1.5rem;
  line-height: 1.9;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.diferencial__code-body .comment { color: var(--gray-500); }
.diferencial__code-body .keyword { color: #c084fc; }
.diferencial__code-body .string { color: #34d399; }
.diferencial__code-body .function { color: var(--blue-glow); }
.diferencial__code-body .variable { color: #fb923c; }

/* ═══════════════════════════════════════════
   TECHNOLOGIES
   ═══════════════════════════════════════════ */
.tech {
  background: var(--navy);
  position: relative;
}

.tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.2), transparent);
}

.tech__header {
  text-align: center;
  margin-bottom: 4rem;
}

.tech__header .section-label {
  justify-content: center;
}

.tech__header .section-label::before {
  display: none;
}

.tech__header .section-subtitle {
  margin: 0 auto;
}

.tech__categories {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.tech__category-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  text-align: center;
}

.tech__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tech__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  min-height: var(--touch-min);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-100);
  transition: all 0.3s ease;
}

.tech__item:hover {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.2);
  transform: translateY(-2px);
}

.tech__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.tech__footnote {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   PILARES
   ═══════════════════════════════════════════ */
.pilares {
  position: relative;
}

.pilares__header {
  text-align: center;
  margin-bottom: 4rem;
}

.pilares__header .section-label {
  justify-content: center;
}

.pilares__header .section-label::before {
  display: none;
}

.pilares__header .section-subtitle {
  margin: 0 auto;
}

.pilares__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.pilar-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
}

.pilar-card:hover {
  background: rgba(14, 165, 233, 0.06);
  border-color: rgba(14, 165, 233, 0.2);
  transform: translateY(-6px);
}

.pilar-card__number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.pilar-card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.pilar-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.pilar-card__desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   FOUNDER
   ═══════════════════════════════════════════ */
.founder {
  background: var(--navy);
  position: relative;
}

.founder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.2), transparent);
}

.founder__content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.founder__avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--blue-subtle));
  border: 2px solid rgba(14, 165, 233, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder__avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

.founder__avatar-initials {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.founder__avatar::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(14, 165, 233, 0.15);
  animation: rotate-slow 30s linear infinite;
}

.founder__info .section-label {
  margin-bottom: 0.75rem;
}

.founder__name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.founder__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(10, 102, 194, 0.15);
  border: 1px solid rgba(10, 102, 194, 0.3);
  color: #0a66c2;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.founder__linkedin:hover {
  background: rgba(10, 102, 194, 0.3);
  border-color: rgba(10, 102, 194, 0.7);
  transform: translateY(-1px);
}

.founder__linkedin svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.founder__role {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue-accent);
  margin-bottom: 1.5rem;
}

.founder__bio {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.founder__quote {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--blue-accent);
  background: rgba(14, 165, 233, 0.04);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.7;
}

.founder__certs {
  margin-top: 2rem;
}

.founder__certs-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.founder__certs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.founder__cert-badge {
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  cursor: default;
}

.founder__cert-badge:hover {
  border-color: rgba(14, 165, 233, 0.45);
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}

.founder__cert-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.founder__cert-badge-info {
  display: flex;
  flex-direction: column;
}

.founder__cert-badge-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.founder__cert-badge-issuer {
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1.5vw, 0.7rem);
  color: var(--blue-accent);
  margin-top: 0.1rem;
}

/* ═══════════════════════════════════════════
   CLIENTS
   ═══════════════════════════════════════════ */
.clients {
  position: relative;
}

.clients__header {
  text-align: center;
  margin-bottom: 4rem;
}

.clients__header .section-label {
  justify-content: center;
}

.clients__header .section-label::before {
  display: none;
}

.clients__header .section-subtitle {
  margin: 0 auto;
}

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

.client-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.client-card:hover {
  background: rgba(14, 165, 233, 0.04);
  border-color: rgba(14, 165, 233, 0.15);
  transform: translateY(-3px);
}

.client-card__icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.client-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.client-card__desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.clients__testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.clients__testimonial-text {
  font-size: 1.25rem;
  color: var(--gray-100);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.clients__testimonial-text::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--blue-accent);
  opacity: 0.3;
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.clients__testimonial-author {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.clients__testimonial-author strong {
  color: var(--white);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   METODOLOGIA
   ═══════════════════════════════════════════ */
.metodologia {
  background: var(--navy);
  position: relative;
}

.metodologia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.2), transparent);
}

.metodologia__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.metodologia__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.metodologia__step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 2.5rem;
}

.metodologia__step:last-child {
  padding-bottom: 0;
}

.metodologia__step-line {
  position: absolute;
  left: 19px;
  top: 44px;
  width: 2px;
  height: calc(100% - 44px);
  background: linear-gradient(to bottom, rgba(14,165,233,0.3), rgba(14,165,233,0.05));
}

.metodologia__step:last-child .metodologia__step-line {
  display: none;
}

.metodologia__step-dot {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.15);
  border: 2px solid rgba(14, 165, 233, 0.3);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-accent);
  position: relative;
  z-index: 1;
}

.metodologia__step-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.metodologia__step-text p {
  font-size: 0.875rem;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   DELIVERY
   ═══════════════════════════════════════════ */
.delivery {
  position: relative;
}

.delivery__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.delivery__content .section-label {
  justify-content: center;
}

.delivery__content .section-label::before {
  display: none;
}

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

.delivery__card {
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.delivery__card:hover {
  background: rgba(14, 165, 233, 0.04);
  border-color: rgba(14, 165, 233, 0.15);
}

.delivery__card-time {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.delivery__card-type {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.delivery__card-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.delivery__note {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════ */
.portfolio {
  background: var(--navy);
  position: relative;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.2), transparent);
}

.portfolio__header {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio__header .section-label {
  justify-content: center;
}

.portfolio__header .section-label::before {
  display: none;
}

.portfolio__header .section-subtitle {
  margin: 0 auto;
}

/* Tabs */
.portfolio__tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.portfolio__tab {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.5rem;
  min-height: var(--touch-min);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.portfolio__tab:hover {
  border-color: rgba(14, 165, 233, 0.3);
  color: var(--white);
  background: rgba(14, 165, 233, 0.06);
}

.portfolio__tab--active {
  background: var(--gradient-brand);
  color: var(--navy-deep);
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25);
}

.portfolio__tab--active:hover {
  color: var(--navy-deep);
  background: var(--gradient-brand);
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.35);
}

/* Timeline Wrapper */
.portfolio__timeline-wrapper {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 3rem;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.portfolio__timeline-wrapper:active {
  cursor: grabbing;
}


.portfolio__timeline-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

/* Timeline Card */
.portfolio__card {
  min-width: 340px;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex-shrink: 0;
  opacity: 0;
}

.portfolio__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.portfolio__card:hover {
  background: rgba(14, 165, 233, 0.04);
  border-color: rgba(14, 165, 233, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(14, 165, 233, 0.05);
}

.portfolio__card:hover::before {
  transform: scaleX(1);
}

/* Timeline node dot */
.portfolio__card::after {
  content: '';
  position: absolute;
  bottom: -1.65rem;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--blue-accent);
  border: 2px solid var(--navy-deep);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
  z-index: 2;
}

.portfolio__card--article::after {
  background: #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

/* Card Image Area */
.portfolio__card-image {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(34, 211, 238, 0.04));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.portfolio__card:hover .portfolio__card-image::after {
  left: 100%;
}

.portfolio__card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.85) saturate(0.9);
}

.portfolio__card:hover .portfolio__card-thumb {
  transform: scale(1.08);
  filter: brightness(1) saturate(1);
}

.portfolio__card-placeholder {
  font-size: 3rem;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.portfolio__card:hover .portfolio__card-placeholder {
  opacity: 0.85;
  transform: scale(1.1);
}

/* Card Badge */
.portfolio__card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(14, 165, 233, 0.2);
  color: var(--blue-glow);
  border: 1px solid rgba(14, 165, 233, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.portfolio__card--article .portfolio__card-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.3);
}

/* Card Body */
.portfolio__card-body {
  padding: 1.5rem;
}

.portfolio__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.portfolio__card-desc {
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.portfolio__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: var(--touch-min);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-accent);
  transition: gap 0.3s ease, color 0.3s ease;
}

.portfolio__card-link:hover {
  gap: 0.7rem;
  color: var(--cyan);
}

/* Timeline Controls */
.portfolio__timeline-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.portfolio__timeline-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio__timeline-btn:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.3);
  color: var(--blue-accent);
  transform: scale(1.05);
}

.portfolio__timeline-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.portfolio__timeline-dots {
  display: flex;
  gap: 0.5rem;
}

.portfolio__timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.portfolio__timeline-dot--active {
  background: var(--blue-accent);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
  transform: scale(1.3);
}

.portfolio__card--hidden {
  display: none;
}

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.cta {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.2), transparent);
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(14,165,233,0.08), transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta__subtitle {
  font-size: 1.125rem;
  color: var(--gray-300);
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  height: 36px;
}

.footer__brand-text {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--gray-500);
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
}

.footer__links a:hover {
  color: var(--gray-100);
}
