/* Garza, Gómez y Asociados — Executive Trilingual UI & Korean Typography Styles v2 */

/* Responsive single-row header layout with switcher (no 2-line nav wrap at 1024-1366px) */
header .container {
  gap: 0.75rem;
}

header nav a {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.78rem !important;
}

header a.border-navy {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  header .container {
    gap: 0.85rem !important;
  }

  header nav {
    gap: 0.9rem !important;
  }

  header a.border-navy {
    padding: 0.65rem 1rem !important;
    font-size: 0.6875rem !important;
    letter-spacing: 0.14em !important;
  }
}

@media (min-width: 1280px) {
  header .container {
    gap: 1.15rem !important;
  }

  header nav {
    gap: 1.25rem !important;
  }

  header a.border-navy {
    padding: 0.7rem 1.2rem !important;
  }
}

/* Language Switcher Pill Bar (ES · EN · KO) */
.gga-lang-wrap {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .gga-lang-wrap {
    margin-left: 0;
  }
}

.gga-lang-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(176, 141, 87, 0.38);
  background: rgba(255, 255, 255, 0.72);
  padding: 2px;
  gap: 2px;
}

.gga-lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(31, 41, 55, 0.7);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 0.38rem 0.48rem;
  cursor: pointer;
  transition: background-color 0.24s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.gga-lang-btn:hover {
  color: #1a2238;
}

.gga-lang-btn.is-active,
.gga-lang-btn[aria-pressed="true"] {
  background: #1a2238;
  color: #c9ab7c;
}

/* Smooth fade feedback when switching languages */
main {
  transition: opacity 0.2s ease;
}

html.gga-lang-switching main {
  opacity: 0.92;
}

/* Korean (Hangul) Executive Typography under html[lang="ko"] */
html[lang="ko"] body {
  font-family: "Noto Sans KR", "Inter", system-ui, -apple-system, sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}

html[lang="ko"] .font-serif,
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] blockquote {
  font-family: "Noto Serif KR", "Cormorant Garamond", Georgia, serif;
  word-break: keep-all;
}

html[lang="ko"] .eyebrow,
html[lang="ko"] header nav a,
html[lang="ko"] header a.uppercase,
html[lang="ko"] a.uppercase,
html[lang="ko"] button.uppercase {
  letter-spacing: 0.08em !important;
}

html[lang="ko"] h1 {
  line-height: 1.2 !important;
}

html[lang="ko"] h2 {
  line-height: 1.28 !important;
}
