/* ══════════════════════════════════════
   Fly Consults — style.css
   Premium Korean SMB Consulting Brand
══════════════════════════════════════ */

/* ── Variables ── */
:root {
  --white:      #ffffff;
  --cream:      #f9f7f4;
  --text:       #1a1a1a;
  --text-muted: #6b6b6b;
  --text-light: #9a9a9a;
  --navy:       #0e2040;
  --navy-dark:  #081529;
  --gold:       #b8963e;
  --gold-light: #d4b06a;
  --border:     #e0dbd4;
  --black:      #0a0a0a;
}

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

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

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── Utility ── */
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 22px;
}

.section-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 600px;
}

.thin-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 24px;
}

/* ── Buttons ── */
.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-link {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border);
  padding: 14px 0;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}
.btn-link:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8vw;
  transition: background 0.3s ease;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links .nav-cta {
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.3s ease;
}
.nav-links .nav-cta:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
#hero {
  background: var(--white);
  padding: 160px 8vw 120px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1100px;
}

.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.9s ease 0.1s forwards;
}

#hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.25s forwards;
  max-width: 820px;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.4s forwards;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-bottom: 88px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.55s forwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.9s ease 0.7s forwards;
}

.stat-item {
  padding: 36px 0 36px;
  border-right: 1px solid var(--border);
  padding-right: 40px;
  padding-left: 0;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { border-right: none; }

.stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix { color: var(--gold); }
.stat-desc {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
#about {
  background: var(--cream);
  padding: 120px 8vw;
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.about-text .section-body {
  margin-bottom: 20px;
}
.about-text .section-body:last-child {
  margin-bottom: 0;
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.value-item {
  background: var(--white);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}
.value-item:hover {
  border-color: var(--gold);
}
.value-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.value-item p {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ════════════════════════════════
   SERVICES
════════════════════════════════ */
#services {
  background: var(--white);
  padding: 120px 8vw;
  border-bottom: 1px solid var(--border);
}

.services-inner {
  max-width: 1100px;
}

.services-header {
  margin-bottom: 64px;
  max-width: 560px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.service-card {
  padding: 44px 36px 48px;
  border-right: 1px solid var(--border);
  transition: background 0.3s ease;
}
.service-card:last-child {
  border-right: none;
}
.service-card:hover {
  background: var(--cream);
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.service-card > p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.service-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

/* ════════════════════════════════
   HISTORY
════════════════════════════════ */
#history {
  background: var(--cream);
  padding: 120px 8vw;
  border-bottom: 1px solid var(--border);
}

.history-inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 100px;
  align-items: start;
}

.history-left .section-body {
  margin-top: 16px;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.tl-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 28px;
  padding-bottom: 36px;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-item::after {
  content: "";
  position: absolute;
  left: 51px;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.tl-item:last-child::after { display: none; }

.tl-year {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-align: right;
  padding-top: 1px;
  white-space: nowrap;
}

.tl-content {
  position: relative;
}
.tl-content::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  border: 1.5px solid var(--cream);
}

.tl-content h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: -0.005em;
}
.tl-content p {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ════════════════════════════════
   TEAM
════════════════════════════════ */
#team {
  background: var(--white);
  padding: 120px 8vw;
  border-bottom: 1px solid var(--border);
}

.team-inner {
  max-width: 1100px;
}

.team-header {
  margin-bottom: 64px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.team-card {
  padding: 44px 36px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease;
}
.team-card:last-child {
  border-right: none;
}
.team-card:hover {
  background: var(--cream);
}

.team-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 22px;
  flex-shrink: 0;
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.team-role {
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.team-divider {
  width: 20px;
  height: 1px;
  background: var(--border);
  margin-bottom: 18px;
}

.team-bio-short {
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  transition: opacity 0.3s ease;
}
.team-bio-hover {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to bottom, rgba(249,247,244,0) 0%, #f9f7f4 22%);
  padding: 44px 36px 36px;
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.team-card:hover .team-bio-short { opacity: 0; }
.team-card:hover .team-bio-hover {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════
   CONTACT
════════════════════════════════ */
#contact {
  background: var(--navy);
  padding: 120px 8vw;
}

.contact-inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 100px;
  align-items: start;
}

.contact-left .section-title {
  color: var(--white);
}
.contact-left .section-body {
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 44px;
}
.contact-left .eyebrow {
  color: var(--gold-light);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}
.contact-item:hover {
  border-color: rgba(184, 150, 62, 0.5);
}
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(184, 150, 62, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--gold-light);
}
.contact-item-text h5 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}
.contact-item-text p {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold-light);
  background: rgba(184, 150, 62, 0.06);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-group select option {
  background: var(--navy-dark);
  color: var(--white);
}

.form-submit-btn {
  align-self: flex-start;
  background: var(--gold);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 14px 36px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 4px;
}
.form-submit-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(184, 150, 62, 0.4);
  border-radius: 4px;
  font-size: 0.87rem;
  font-weight: 400;
  color: var(--gold-light);
}
.form-success.show { display: flex; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  background: var(--black);
  padding: 32px 8vw;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.6); }

footer p {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.25);
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .about-inner    { grid-template-columns: 1fr; gap: 56px; }
  .history-inner  { grid-template-columns: 1fr; gap: 56px; }
  .contact-inner  { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 768px) {
  #hero           { padding: 120px 6vw 88px; }
  #about, #services, #history, #team, #contact { padding: 88px 6vw; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 12px 8vw;
    border-radius: 0;
  }
  .nav-links .nav-cta {
    margin: 8px 8vw 0;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
  }
  .hamburger { display: flex; }

  #navbar { padding: 0 6vw; }

  .hero-stats     { grid-template-columns: 1fr 1fr; }
  .stat-item      { border-right: none; border-bottom: 1px solid var(--border); padding: 28px 0; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .services-grid  { grid-template-columns: 1fr; }
  .service-card   { border-right: none; border-bottom: 1px solid var(--border); }
  .service-card:last-child { border-bottom: none; }

  .team-grid      { grid-template-columns: 1fr; }
  .team-card      { border-right: none; border-bottom: 1px solid var(--border); }
  .team-card:last-child { border-bottom: none; }

  .values-list    { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }

  footer          { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links   { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  #hero h1        { font-size: 2.6rem; }
  .stat-num       { font-size: 2rem; }
  .hero-stats     { grid-template-columns: 1fr 1fr; }
}
