/* ============================================
   PEGASUS CONSULT — Static Site
   Aesthetic: Refined Luxury Consulting
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0b0e13;
  --bg-secondary: #111720;
  --bg-card: #161d28;
  --bg-card-hover: #1c2535;
  --gold: #c8a04e;
  --gold-light: #dbb960;
  --gold-dim: rgba(200, 160, 78, 0.15);
  --gold-glow: rgba(200, 160, 78, 0.08);
  --text-primary: #e8e6e1;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: rgba(200, 160, 78, 0.12);
  --border-strong: rgba(200, 160, 78, 0.25);
  --font-display: "Eurostile", "Century Gothic", "Futura", "Avenir", sans-serif;
  --font-body: "Century Gothic", "Futura", "Avenir", "Segoe UI", sans-serif;
  --nav-height: 72px;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* --- Background Texture --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(200,160,78,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(200,160,78,0.02) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(11, 14, 19, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(11, 14, 19, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo img {
  height: 40px;
  width: auto;
  filter: brightness(1.1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav__links > li {
  position: relative;
}

.nav__links > li > a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav__links > li > a:hover,
.nav__links > li > a.active {
  color: var(--gold);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  list-style: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.nav__links > li:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav__dropdown a:hover {
  color: var(--gold);
  background: var(--gold-glow);
}

/* Language Switcher */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.nav__lang a {
  font-size: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  color: var(--text-muted);
  border-radius: 3px;
  transition: all var(--transition);
}

.nav__lang a:hover { color: var(--text-secondary); }
.nav__lang a.active {
  color: var(--gold);
  background: var(--gold-dim);
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 40%, rgba(200,160,78,0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.hero__tagline span {
  color: var(--gold);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.btn--filled {
  background: var(--gold);
  color: var(--bg-primary);
}

.btn--filled:hover {
  background: var(--gold-light);
  color: var(--bg-primary);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  position: relative;
  padding: 6rem 0;
  z-index: 1;
}

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

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

.section__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

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

/* Page Header (subpages) */
.page-header {
  padding: calc(var(--nav-height) + 4rem) 0 3rem;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(200,160,78,0.04) 0%, transparent 70%);
}

.page-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.page-header__desc {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ============================================
   AWARD SECTION
   ============================================ */
.award {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.award__image {
  flex: 0 0 200px;
}

.award__image img {
  width: 200px;
  filter: brightness(1.05);
}

.award__text {
  flex: 1;
  min-width: 280px;
}

.award__text h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.award__text p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* ============================================
   CARDS GRID
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
}

.card__number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.card__title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.card__list {
  list-style: none;
  padding: 0;
}

.card__list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
}

.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
}

.team-card__name {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.team-card__company {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   PARTNER GRID
   ============================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.partner-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.partner-card__name {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.partner-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.partner-card__link {
  margin-top: auto;
  font-size: 0.82rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

/* ============================================
   VALUES
   ============================================ */
.values-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all var(--transition);
}

.value-item:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.value-item__number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.value-item__text {
  font-size: 1.05rem;
}

/* ============================================
   INDUSTRIES LIST
   ============================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.industry-item {
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  position: relative;
  padding-left: 2.5rem;
}

.industry-item::before {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.industry-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* ============================================
   DIGITAL OFFERS
   ============================================ */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem;
  transition: all var(--transition);
}

.offer-card:hover {
  border-color: var(--border-strong);
}

.offer-card__title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.offer-card__meta {
  font-size: 0.82rem;
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.offer-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Platforms */
.platforms {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.platform-tag {
  padding: 0.5rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

/* Advantages */
.advantages {
  max-width: 700px;
  margin: 3rem auto 0;
}

.advantages h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.advantages ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.advantages li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
}

.advantages li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.contact-info__item {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-info__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
  max-width: 750px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg-secondary);
}

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

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* Hero specific animations */
.hero .hero__tagline {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s ease forwards 0.2s;
}

.hero .hero__subtitle {
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards 0.5s;
}

.hero .hero__buttons {
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards 0.7s;
}

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 2rem;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__links > li > a {
    padding: 0.75rem 0;
    font-size: 0.9rem;
  }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    display: none;
  }

  .nav__links > li.dropdown-open .nav__dropdown {
    display: block;
  }

  .nav__lang {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border);
  }

  .nav__toggle { display: flex; }

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

  .award {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 600px) {
  .section { padding: 4rem 0; }

  .hero { min-height: 90vh; }

  .hero__tagline { font-size: 2.2rem; }

  .value-item {
    padding: 1.2rem;
    gap: 1rem;
  }

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

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

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