/* ==========================================================
   AKN AREVI — Landing page
   Brand colors: #3c3c3a (charcoal) · #f0db88 (sun gold)
   ========================================================== */

:root {
  --charcoal: #3c3c3a;
  --ink: #161615;
  --gold: #f0db88;
  --gold-deep: #c9a94f;
  --cream: #f7f1dc;
  --muted: rgba(247, 241, 220, 0.66);
  --line: rgba(240, 219, 136, 0.28);
  --glass: rgba(28, 28, 27, 0.48);

  --serif: "Cormorant Garamond", "Noto Serif Armenian", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: clamp(16px, 4vw, 56px);
}

/* Armenian reads better in its native faces */
html[lang="hy"] {
  --serif: "Noto Serif Armenian", "Cormorant Garamond", Georgia, serif;
  --sans: "Noto Sans Armenian", "Montserrat", system-ui, sans-serif;
}

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

/* ---------- No scroll, ever ---------- */
html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  font-family: var(--sans);
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg__image {
  position: absolute;
  inset: -4%;
  background: var(--ink) url("images/background.jpg") center / cover no-repeat;
  background-image: image-set(url("images/background.webp") type("image/webp"), url("images/background.jpg") type("image/jpeg"));
  scale: 1.06;
  translate: var(--px, 0px) var(--py, 0px);
  animation: bgIn 2.4s var(--ease) backwards;
  transition: translate 1.2s var(--ease);
  will-change: translate;
}

.bg__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 62% 58% at 50% 45%, rgba(22, 22, 21, 0.25) 0%, rgba(22, 22, 21, 0.55) 70%, rgba(22, 22, 21, 0.78) 100%),
    linear-gradient(180deg, rgba(22, 22, 21, 0.65) 0%, rgba(22, 22, 21, 0.05) 22%, rgba(22, 22, 21, 0.2) 65%, rgba(22, 22, 21, 0.9) 100%);
}

@keyframes bgIn {
  from {
    opacity: 0;
    scale: 1.16;
  }
}

/* Floating golden embers */
.bg,
.bg__particles {
  pointer-events: none;
}

.bg__particles {
  position: absolute;
  inset: 0;
}

.bg__particles span {
  position: absolute;
  bottom: -10px;
  width: var(--s, 3px);
  height: var(--s, 3px);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 2px rgba(240, 219, 136, 0.55);
  opacity: 0;
  animation: rise var(--t, 14s) linear var(--delay, 0s) infinite;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  12% {
    opacity: var(--o, 0.7);
  }
  85% {
    opacity: var(--o, 0.7);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 30px), -105vh, 0);
  }
}

/* ---------- Layout ---------- */
.page {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* never let wide content stretch the page */
  grid-template-rows: auto 1fr auto;
  padding: max(env(safe-area-inset-top), 0px) max(env(safe-area-inset-right), 0px) max(env(safe-area-inset-bottom), 0px)
    max(env(safe-area-inset-left), 0px);
}

/* ---------- Header ---------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(12px, 2.6vh, 26px) var(--pad-x);
  position: relative;
  z-index: 10; /* keep header controls above the hero's sun rays */
  animation: dropIn 1s var(--ease) 0.15s both;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: clamp(36px, 5.5vh, 48px);
  height: auto;
  filter: drop-shadow(0 0 10px rgba(240, 219, 136, 0.35));
  transition: transform 0.8s var(--ease);
}

.brand:hover .brand__logo {
  transform: rotate(-12deg) scale(1.06);
}

.brand__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(17px, 2.4vh, 22px);
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
}

/* Language switcher */
.lang {
  position: relative;
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lang__btn {
  position: relative;
  z-index: 1;
  min-width: 48px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.35s var(--ease);
}

.lang__btn[lang="hy"] {
  font-family: "Noto Sans Armenian", var(--sans);
}

.lang__btn:hover {
  color: var(--cream);
}

.lang__btn[aria-pressed="true"] {
  color: var(--ink);
}

.lang__indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6e7a8, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 4px 14px rgba(240, 219, 136, 0.3);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}

/* Login */
.login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(22, 22, 21, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.login::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}

.login:hover {
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(240, 219, 136, 0.3);
}

.login:hover::before {
  transform: translateY(0);
}

.login__icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
  transition: transform 0.4s var(--ease);
}

.login:hover .login__icon {
  transform: translateX(2px);
}

/* Header "Home" link — outlined, quieter than the gold LOGIN button */
.login--ghost {
  border-color: var(--line);
  color: var(--cream);
}

.login--ghost:hover .login__icon--back {
  transform: translateX(-2px);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad-x);
  gap: clamp(6px, 1.6vh, 18px);
}

/* Sun logo */
.sun {
  --size: clamp(120px, min(34vh, 56vw), 340px);
  position: relative;
  width: var(--size);
  height: var(--size);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  pointer-events: none; /* decorative — its rays must never block taps */
  animation: sunIn 1.8s var(--ease) 0.2s both;
}

@keyframes sunIn {
  from {
    opacity: 0;
    transform: scale(0.7) rotate(-25deg);
    filter: blur(8px);
  }
}

.sun picture {
  display: contents;
}

.sun__logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(240, 219, 136, 0.28));
  animation: float 7s ease-in-out 2s infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.sun__glow {
  position: absolute;
  inset: 12%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 219, 136, 0.42) 0%, rgba(240, 219, 136, 0.12) 45%, transparent 70%);
  filter: blur(10px);
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.sun__rays {
  position: absolute;
  inset: -38%;
  z-index: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(246, 228, 150, 0.26) 0deg 3.5deg, transparent 3.5deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 22%, transparent 72%);
  mask: radial-gradient(circle, #000 22%, transparent 72%);
  animation: spin 90s linear infinite;
}

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

/* Text */
.reveal {
  animation: rise-in 1.1s var(--ease) var(--d, 0s) both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(2px, 1vh, 10px) 0 0;
  font-size: clamp(10px, 1.45vh, 12.5px);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow > span[data-i18n] {
  margin-right: -0.42em; /* balance trailing letter-spacing */
}

.eyebrow__line {
  width: clamp(24px, 4vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow__line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, min(8.5vh, 11vw), 92px);
  line-height: 1;
  letter-spacing: 0.12em;
  margin-right: -0.12em;
  background: linear-gradient(100deg, #b8923a 0%, var(--gold) 30%, #fff7d6 48%, var(--gold) 62%, #b8923a 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise-in 1.1s var(--ease) var(--d, 0s) both, shimmer 9s ease-in-out 2s infinite;
  text-shadow: 0 0 40px rgba(240, 219, 136, 0.08);
}

html[lang="hy"] .title {
  letter-spacing: 0.06em;
  margin-right: -0.06em;
  font-size: clamp(30px, min(7.4vh, 9.5vw), 80px);
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}

.tagline {
  margin: 0;
  max-width: 44ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 2.7vh, 26px);
  line-height: 1.3;
  color: var(--muted);
}

html[lang="hy"] .tagline {
  font-style: normal;
  font-size: clamp(14px, 2.3vh, 21px);
}

/* ---------- CTA cards ---------- */
.cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
  width: min(640px, 100%);
  margin-top: clamp(8px, 2.4vh, 26px);
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(12px, 2vh, 20px) clamp(14px, 2vw, 22px);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(60, 60, 58, 0.55), rgba(22, 22, 21, 0.55));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: inherit;
  text-align: left;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

/* moving light sheen */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 219, 136, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 219, 136, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(240, 219, 136, 0.12), 0 0 32px rgba(240, 219, 136, 0.12);
}

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

.card:active {
  transform: translateY(-1px) scale(0.99);
}

.card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(38px, 5.6vh, 50px);
  height: clamp(38px, 5.6vh, 50px);
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, #f8ebb4, var(--gold) 50%, var(--gold-deep));
  box-shadow: 0 0 0 4px rgba(240, 219, 136, 0.12);
  transition: transform 0.6s var(--ease);
}

.card:hover .card__icon {
  transform: rotate(-10deg) scale(1.06);
}

.card__icon svg {
  width: 46%;
  height: 46%;
  stroke-width: 1.9;
}

.card__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(19px, 2.9vh, 27px);
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

html[lang="hy"] .card__title {
  font-size: clamp(16px, 2.4vh, 22px);
  letter-spacing: 0.04em;
}

.card__sub {
  font-size: clamp(11px, 1.5vh, 13px);
  line-height: 1.35;
  color: var(--muted);
}

.card__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
  opacity: 0.6;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.card:hover .card__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(10px, 2.4vh, 24px) var(--pad-x);
  font-size: clamp(10px, 1.4vh, 12px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 241, 220, 0.5);
}

.footer__pin {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Home footer: phone numbers & social links above the location */
.footer--home {
  flex-direction: column;
  gap: clamp(6px, 1.1vh, 10px);
  padding-top: clamp(4px, 1vh, 12px);
  letter-spacing: normal;
  text-transform: none;
}

.footer__location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.contacts__phones {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 4px 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contacts__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-right: 2px;
  color: var(--gold);
}

.contacts__tel {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.contacts__tel:hover {
  background: var(--gold);
  color: var(--ink);
}

.contacts__sep {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.contacts__social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.contacts__social svg {
  width: 17px;
  height: 17px;
}

.contacts__social:hover {
  border-color: transparent;
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

/* Wide screens: location and contacts share one line */
@media (min-width: 900px) {
  .footer--home {
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 10px 28px;
  }
}

/* ---------- Reviews modal ---------- */
.modal {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}

.modal::backdrop {
  background: rgba(10, 10, 9, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal[open] {
  animation: modalIn 0.55s var(--ease) both;
}

.modal[open]::backdrop {
  animation: fadeIn 0.4s ease both;
}

.modal.is-closing {
  animation: modalOut 0.3s ease both;
}

.modal.is-closing::backdrop {
  animation: fadeOut 0.3s ease both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
}

@keyframes modalOut {
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

.modal__panel {
  position: relative;
  padding: clamp(22px, 4vh, 34px) clamp(18px, 4vw, 30px) clamp(18px, 3.4vh, 28px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% -10%, rgba(240, 219, 136, 0.16), transparent 55%),
    linear-gradient(160deg, #42423f, #1d1d1c 70%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.3s, background 0.3s, transform 0.4s var(--ease);
}

.modal__close:hover {
  color: var(--gold);
  background: rgba(240, 219, 136, 0.1);
  transform: rotate(90deg);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.modal__logo {
  width: clamp(48px, 8vh, 64px);
  height: auto;
  filter: drop-shadow(0 0 14px rgba(240, 219, 136, 0.35));
}

.modal__title {
  margin: 8px 0 4px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 4vh, 32px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.modal__sub {
  margin: 0 0 clamp(14px, 2.6vh, 22px);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.platforms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.platform {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(10px, 1.8vh, 14px) 16px;
  border-radius: 14px;
  border: 1px solid rgba(240, 219, 136, 0.16);
  background: rgba(22, 22, 21, 0.45);
  color: var(--cream);
  text-decoration: none;
  text-align: left;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}

.modal[open] .platforms li {
  animation: rise-in 0.6s var(--ease) both;
}

.modal[open] .platforms li:nth-child(1) {
  animation-delay: 0.12s;
}
.modal[open] .platforms li:nth-child(2) {
  animation-delay: 0.2s;
}
.modal[open] .platforms li:nth-child(3) {
  animation-delay: 0.28s;
}

.platform:hover {
  transform: translateX(4px);
  border-color: rgba(240, 219, 136, 0.6);
  background: rgba(240, 219, 136, 0.08);
}

.platform__badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
}

.platform__badge svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.platform__badge--google {
  background: linear-gradient(135deg, #4285f4, #34a853);
}

.platform__badge--yandex {
  background: linear-gradient(135deg, #ff4433, #fc3f1d);
}

.platform__badge--trip {
  background: linear-gradient(135deg, #34e0a1, #00aa6c);
  color: #0b1f17;
}

.platform__name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 15px;
}

.platform__ext {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold);
  opacity: 0.55;
  transition: opacity 0.3s;
}

.platform:hover .platform__ext {
  opacity: 1;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: clamp(56px, 9vh, 90px);
  z-index: 20;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(28, 28, 27, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .brand__name {
    display: none;
  }

  .lang__btn {
    min-width: 40px;
    padding: 6px 7px;
    font-size: 10.5px;
  }

  .login {
    padding: 9px 12px;
  }

  .cta {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .footer,
  .footer__location {
    letter-spacing: 0.14em;
  }

  .contacts {
    gap: 6px;
  }

  .contacts__phones {
    padding-left: 8px;
  }

  .contacts__tel {
    padding: 7px 5px;
    font-size: 12px;
    letter-spacing: 0;
  }

  .contacts__social {
    width: 34px;
    height: 34px;
  }

  .contacts__social svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 380px) {
  .login__label {
    display: none;
  }

  .login {
    padding: 9px;
  }

  .contacts__icon {
    display: none;
  }

  .contacts__phones {
    padding-left: 4px;
  }
}

@media (max-width: 340px) {
  .contacts {
    gap: 4px;
  }

  .contacts__tel {
    padding: 7px 4px;
    font-size: 11px;
  }

  .contacts__social {
    width: 30px;
    height: 30px;
  }

  .contacts__social svg {
    width: 15px;
    height: 15px;
  }
}

/* Shorter portrait phones: a smaller sun leaves room for the contacts */
@media (max-width: 480px) and (max-height: 720px) {
  .sun {
    --size: clamp(110px, min(26vh, 50vw), 200px);
  }
}

@media (max-width: 480px) and (max-height: 600px) {
  .sun {
    --size: clamp(100px, 22vh, 160px);
  }

  .tagline {
    display: none;
  }
}

/* Short screens (landscape phones, small laptops) */
@media (max-height: 560px) {
  .tagline,
  .eyebrow {
    display: none;
  }

  .cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }
}

@media (max-height: 420px) and (min-width: 560px) {
  .hero {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
      "sun title"
      "sun cta";
    align-content: center;
    justify-content: center;
    column-gap: 6vw;
    row-gap: 0;
    text-align: left;
  }

  .sun {
    grid-area: sun;
    --size: 58vh;
  }

  .title {
    grid-area: title;
    align-self: end;
  }

  .cta {
    grid-area: cta;
    align-self: start;
    width: min(480px, 52vw);
    margin-top: 16px;
  }

  /* Landscape phones: keep the phone numbers & socials, drop the address line */
  .footer {
    display: none;
  }

  .footer--home {
    display: flex;
    padding-top: 0;
    padding-bottom: 8px;
  }

  .footer--home .footer__location {
    display: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .bg__particles {
    display: none;
  }
}
