:root {
  --bg: #111111;
  --bg-soft: #191919;
  --panel: rgba(28, 28, 28, 0.84);
  --panel-strong: rgba(34, 34, 34, 0.95);
  --text: #f2eee6;
  --muted: #c8c0b4;
  --gold: #c6a430;
  --gold-soft: rgba(214, 174, 88, 0.38);
  --gold-glow: rgba(214, 174, 88, 0.16);
  --border: rgba(214, 174, 88, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(rgba(10, 10, 10, 0.62), rgba(10, 10, 10, 0.62)),
    url("../img/miralya-turizm-background-1781808682262.jpg?v=2026-06-22") center / cover no-repeat,
    linear-gradient(180deg, #171717 0%, #0d0d0d 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  opacity: 1;
  background-attachment: scroll;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 42vw;
  height: 42vw;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.22;
}

body::before {
  top: -12vw;
  right: -10vw;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
}

body::after {
  bottom: -16vw;
  left: -14vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
}

body:not(.is-loaded) .hero,
body:not(.is-loaded) .brand-card,
body:not(.is-loaded) .site-footer {
  transform: translateY(10px);
  opacity: 0.96;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: 1.25rem 0 2.25rem;
}

.hero {
  text-align: center;
  padding: 1.1rem 0 1.2rem;
  transition: transform 320ms ease, opacity 320ms ease;
}

.hero__favicon {
  display: block;
  width: clamp(3.8rem, 9vw, 5.4rem);
  height: auto;
  margin: 0 auto 0.15rem;
  object-fit: contain;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

h1 {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: clamp(2.1rem, 6.2vw, 4.1rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.hero__intro,
.section-heading p,
.brand-card__content p,
.site-footer small {
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.hero__intro {
  width: min(100%, 42rem);
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.4vw, 1.08rem);
}

.brands {
  padding: 0.2rem 0 1.4rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 1.2rem 1.05rem 1.05rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
    var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
}

.brand-card:hover,
.brand-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(214, 174, 88, 0.5);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(214, 174, 88, 0.08);
}

.brand-card--passive:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.brand-card__badge {
  display: grid;
  place-items: center;
  width: 7.4rem;
  height: 7.4rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(214, 174, 88, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.12));
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.02),
    0 14px 28px rgba(0, 0, 0, 0.3);
}

.brand-card__badge img {
  width: 106%;
  max-width: 106%;
  height: auto;
}

.brand-card__content {
  flex: 1;
}

.brand-card h3 {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 1.38rem;
  font-weight: 400;
}

.brand-card__content p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.brand-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.2rem;
  min-height: 2.9rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid rgba(214, 174, 88, 0.88);
  border-radius: 999px;
  color: var(--gold);
  background: linear-gradient(180deg, rgba(214, 174, 88, 0.08), rgba(214, 174, 88, 0.02));
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.94rem;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.brand-card__button:hover,
.brand-card__button:focus-visible {
  background: linear-gradient(180deg, rgba(214, 174, 88, 0.18), rgba(214, 174, 88, 0.06));
  color: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 174, 88, 0.1);
  outline: none;
}

.brand-card__button:focus-visible {
  transform: translateY(-1px);
}

.brand-card__button--disabled {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.03);
  cursor: not-allowed;
}

.brand-grid__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(214, 174, 88, 0.2);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.site-footer {
  padding: 1.6rem 0 0.5rem;
  text-align: center;
  transition: transform 320ms ease, opacity 320ms ease;
}

.site-footer p {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 1.2rem;
}

.site-footer small {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 700px) {
  .page-shell {
    width: min(calc(100% - 3rem), var(--container));
    padding-top: 1.75rem;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .brand-card {
    padding: 1.4rem 1.15rem 1.15rem;
  }
}

@media (min-width: 1040px) {
  .hero {
    padding-top: 1.6rem;
    padding-bottom: 1.45rem;
  }

  .brand-grid {
    gap: 1.25rem;
  }

  .brand-card {
    padding: 1.55rem 1.35rem 1.25rem;
  }
}
