/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at var(--glow-x, 68%) var(--glow-y, 38%),
      rgba(200, 149, 108, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 15% 80%,
      rgba(80, 90, 140, 0.04) 0%, transparent 55%);
  pointer-events: none;
  transition: background 0.6s ease;
  z-index: 1;
}

.hero-orbital-wrap {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: min(600px, 55vw);
  aspect-ratio: 1;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 40px rgba(200, 149, 108, 0.25));
}

.hero-orbital { width: 100%; height: 100%; }

.orbital-arc-1 {
  animation: orbit 30s linear infinite;
  transform-origin: 50% 50%;
}

.orbital-arc-2 {
  animation: orbit 48s linear infinite reverse;
  transform-origin: 50% 50%;
}

.orbital-hand {
  animation: orbit 60s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes orbit { to { transform: rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  max-width: 720px;
}

.hero-title-accent {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hero-stat-label span {
  display: block;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.hero-scroll span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 48px;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scroll-line 2.4s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

/* ===========================
   PHILOSOPHY
   =========================== */
.philosophy {
  padding: 5.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Subtle fill so the greek καιρός watermark reads on dark ribbon */
.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 13, 20, 0.4) 0%,
    rgba(13, 13, 20, 0.65) 50%,
    rgba(13, 13, 20, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

.philosophy > .container { position: relative; z-index: 3; }

.philosophy-greek {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--accent);
  opacity: 0.08;
  line-height: 1;
  margin-bottom: -1.5rem;
  user-select: none;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.6;
  color: var(--text-primary);
  max-width: 620px;
  margin: 0 auto 1.5rem;
}

.philosophy-quote em {
  color: var(--accent);
  font-style: italic;
}

.philosophy-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.8;
}

.philosophy-text strong { color: var(--text-primary); }
.philosophy-text em { color: var(--accent); font-style: italic; }

/* ===========================
   LEGACY / EXPERIENCE
   =========================== */
.legacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4.5rem;
  align-items: start;
}

.legacy-head { position: sticky; top: 6rem; }

.legacy-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.legacy-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  color: var(--text-primary);
}

.legacy-title em {
  color: var(--accent);
  font-style: normal;
}

.legacy-sub {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.legacy-lead {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.legacy-text {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

.legacy-text strong { color: var(--text-primary); }

.legacy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-primary);
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--accent);
  background: rgba(200, 149, 108, 0.05);
  border-radius: 0 8px 8px 0;
  margin-bottom: 2.25rem;
}

.legacy-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.legacy-metric {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: rgba(21, 21, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.legacy-metric:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.legacy-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.legacy-metric span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.service-tagline {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  transition: gap 0.3s ease;
}

.service-link:hover { gap: 0.625rem; }

/* ===========================
   PROCESS
   =========================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step { position: relative; }

.process-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.process-connector {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  width: calc(2rem);
  height: 1px;
  background: var(--border);
}

/* ===========================
   PRODUCTS
   =========================== */
.product-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  transition: border-color 0.4s ease;
}

.product-featured:hover { border-color: var(--border-accent); }

.product-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.product-compat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--success);
  background: rgba(74, 155, 126, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  margin-bottom: 1.25rem;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.product-info > p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.products-coming {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 2.5rem;
  font-style: italic;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
  position: relative;
  padding-top: 1.5rem;
}

.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  left: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ===========================
   TEAM / ABOUT
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-needs {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.about-needs li {
  font-size: 0.925rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.about-needs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.about-differentiators h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.about-diff-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.about-diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.diff-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--accent);
}

.team-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 30%,
    rgba(200, 149, 108, 0.06) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(13, 13, 20, 0.55) 0%,
      rgba(13, 13, 20, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

.contact > .container { position: relative; z-index: 3; }

.contact-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-intro h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 0.75rem;
  border-radius: 1px;
}

.contact-intro p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-email-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.contact-email {
  font-size: 1.05rem;
  color: var(--accent);
  transition: color 0.3s ease;
}

.contact-email:hover { color: var(--accent-light); }

/* ===========================
   RESPONSIVE (section-specific)
   =========================== */
@media (max-width: 1024px) {
  .hero-orbital-wrap {
    width: 50vw;
    right: -8%;
    opacity: 0.35;
  }

  .legacy-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .legacy-head { position: static; }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .process-connector { display: none; }

  .product-featured { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }

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

@media (max-width: 768px) {
  .hero { padding: 7rem 0 3rem; min-height: 100svh; }

  .hero-orbital-wrap {
    top: 20%;
    right: -20%;
    width: 80vw;
    opacity: 0.25;
  }

  .hero-title, .hero-subtitle { max-width: 100%; }
  .hero-scroll { display: none; }

  .hero-stats { flex-direction: column; gap: 1.5rem; }

  .philosophy { padding: 3.5rem 0; }
  .contact { padding: 4rem 0 5rem; }

  .services-grid,
  .testimonials-grid,
  .process-grid { grid-template-columns: 1fr; gap: 1rem; }

  .service-card,
  .testimonial-card { padding: 2rem 1.5rem; }

  .product-featured { padding: 2rem 1.5rem; }
}

@media (max-width: 640px) {
  .legacy-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-label { font-size: 0.7rem; }
}
