/* Premium scale, logo & footer */
@import url("practice.css?v=2");

:root {
  --header-h: 80px;
  --topbar-h: 0px;
  --container-max: 1320px;
  --space-section: clamp(4.5rem, 10vw, 7rem);
}

.container {
  width: min(var(--container-max), 94vw);
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

/* —— Full header logo (no frame) —— */
.nav-logo-full {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-logo-full:hover {
  opacity: 0.92;
  transform: scale(1.01);
}
.logo-img-full {
  height: 48px;
  width: auto;
  max-width: min(280px, 36vw);
  max-height: 48px;
  object-fit: contain;
  object-position: center;
  display: block;
}
[data-theme="dark"] .logo-img-full {
  /* white-logo used via data-logo swap in app.js */
}

/* Header scale */
.top-bar {
  height: var(--topbar-h);
  font-size: 0.8125rem;
}
.header.scrolled {
  box-shadow: 0 8px 40px rgba(70, 72, 73, 0.12);
}
.nav-links a {
  padding: 0.55rem 1.1rem;
  font-size: 0.9375rem;
}
.nav-book-cta {
  padding: 0.6rem 1.5rem !important;
  font-size: 0.9rem !important;
  border-radius: var(--radius-md) !important;
}

/* Hero scale */
.hero {
  min-height: min(100vh, 920px);
  min-height: min(100dvh, 920px);
}
.hero-wrap {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  gap: clamp(2rem, 5vw, 3.5rem);
}
.hero-display {
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  margin-bottom: 1.25rem;
}
.hero-company {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 32ch;
  margin-bottom: 1.5rem;
}
.hero .hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}
.hero-btns { gap: 1.15rem; }
.hero-btns .btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}
.hero-stat-strip {
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.hero-stat-strip .metric-card {
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem);
}
.hero-stat-strip .metric-value {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.35rem;
}
.hero-stat-strip .metric-label {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  line-height: 1.4;
}

/* Sections */
.section { padding: var(--space-section) 0; }
.sec-head-pro { max-width: 760px; }
.sec-head-pro .sec-title {
  font-size: clamp(1.65rem, 4vw, 2.65rem);
}
.sec-lead { font-size: clamp(1.05rem, 2vw, 1.15rem); }

/* Portal cards scale */
.portal-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
}
.portal-card h3 { font-size: clamp(1.1rem, 2vw, 1.25rem); }
.portal-card p { font-size: 0.9375rem; }

/* CTA — premium */
.cta-banner {
  padding: var(--space-section) 0;
  margin-top: 0;
  background: var(--grey-900);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(187, 152, 93, 0.12), transparent),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(187, 152, 93, 0.08), transparent);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(2rem, 5vw, 4rem);
  border-radius: 24px;
  border: 1px solid rgba(187, 152, 93, 0.35);
  background: linear-gradient(135deg, rgba(187, 152, 93, 0.14) 0%, rgba(34, 35, 36, 0.6) 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  align-items: center;
}
.cta-banner .sec-tag-light {
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(187, 152, 93, 0.4);
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
  margin-bottom: 0.65rem !important;
}
.cta-banner p {
  font-size: clamp(1rem, 2vw, 1.125rem) !important;
  max-width: 48ch;
}
.cta-banner .btn-lg {
  padding: 1.05rem 2.5rem;
  font-size: 1.0625rem;
  flex-shrink: 0;
  border-radius: var(--radius-md);
}

/* Footer — premium */
.footer.footer-pro {
  margin-top: 0;
  padding: 0;
  background: #0e0f10;
  position: relative;
  color: rgba(255, 255, 255, 0.78);
}

.footer-pro .footer-main {
  padding: clamp(3.25rem, 7vw, 4.75rem) 0 clamp(2rem, 4vw, 2.75rem);
}

.footer-pro .footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.footer-brand__link {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-pro .footer-brand .footer-logo {
  display: block;
  width: min(240px, 100%);
  height: auto;
  max-height: 56px;
  object-fit: contain;
  object-position: start center;
}

.footer-pro .footer-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--gold-l);
  margin: 0 0 0.65rem;
  line-height: 1.5;
}

.footer-pro .footer-brand-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  max-width: 38ch;
  margin: 0 0 1.35rem;
}

.footer-bar-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.footer-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  line-height: 1.35;
  transition: color 0.2s var(--ease);
}

.footer-bar-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold-l);
}

.footer-bar-link:hover {
  color: var(--gold-l);
}

.footer-col--office p {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  font-size: 0.875rem;
}

.footer-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 22rem;
  margin-bottom: 1.35rem;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 1rem;
  text-decoration: none;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  border: 1px solid rgba(187, 152, 93, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.footer-contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(187, 152, 93, 0.45);
  background: linear-gradient(
    145deg,
    rgba(187, 152, 93, 0.14) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(187, 152, 93, 0.1);
}

.footer-contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  color: var(--gold-l);
  background: rgba(187, 152, 93, 0.15);
  border: 1px solid rgba(187, 152, 93, 0.3);
}

.footer-contact-card__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-contact-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}

.footer-contact-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(187, 152, 93, 0.85);
}

.footer-contact-card__val {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  word-break: break-word;
}

.footer-contact-card:hover .footer-contact-card__val {
  color: #fff;
}

/* Legacy — unused */
.footer-contact-strip {
  display: none;
}

.footer-contact-item {
  display: none;
}

.footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
}

.footer-social__btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social__btn:hover {
  color: #fff;
  border-color: rgba(187, 152, 93, 0.45);
  background: rgba(187, 152, 93, 0.12);
  transform: translateY(-2px);
}

.footer-pro .footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-pro .footer-col p,
.footer-nav a {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-hours {
  margin-top: 0.75rem;
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer-cta {
  display: inline-flex;
  margin-top: 1.15rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--grey-900);
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  border-radius: var(--radius-md);
  transition: filter 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: var(--grey-900);
}

.footer-pro .footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.15rem 0;
  background: rgba(0, 0, 0, 0.35);
}

.footer-pro .footer-bottom p {
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
  max-width: 52ch;
  line-height: 1.6;
}

.footer-pro .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0;
  font-size: 0.8125rem;
}

/* FAB — booking + WhatsApp dock */
.fab-dock {
  bottom: calc(1.75rem + var(--safe-bottom, 0px));
  inset-inline-end: calc(1.75rem + var(--safe-right, 0px));
  gap: 0.75rem;
}

.fab-dock .fab {
  padding: 0.85rem 1.35rem;
  font-size: 0.9rem;
  border-radius: 99px;
  gap: 0.5rem;
  box-shadow: 0 12px 40px rgba(187, 152, 93, 0.45);
}

.fab-dock .fab--wa {
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

.fab-dock .fab svg {
  width: 20px;
  height: 20px;
}

/* Achievements */
.achieve-item {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.achieve-num {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
}
.achieve-lbl {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
}

/* Page hero */
.page-hero {
  padding: clamp(5rem, 14vw, 8rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}
.page-hero-inner { max-width: 800px; }
.hero-display-sm {
  font-size: clamp(2rem, 5vw, 3.25rem) !important;
}
.page-hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem) !important;
}

/* Loader logo */
.loader-logo {
  width: min(200px, 50vw);
  filter: drop-shadow(0 8px 32px rgba(187, 152, 93, 0.25));
}

@media (max-width: 1024px) {
  .logo-img-full {
    height: 36px;
    max-width: min(170px, 45vw);
  }
  .footer-pro .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-pro .footer-brand {
    grid-column: 1 / -1;
  }

}

/* —— Language switch (single button → target language) —— */
.nav-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 34px;
  padding: 0.3rem 0.72rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 244, 240, 0.9));
  border: 1px solid rgba(187, 152, 93, 0.32);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(70, 72, 73, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

[data-theme="dark"] .nav-lang-btn {
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(145deg, rgba(40, 41, 42, 0.95), rgba(24, 25, 26, 0.92));
  border-color: rgba(187, 152, 93, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-lang-btn:hover {
  color: var(--gold-d, #9a7a4a);
  border-color: rgba(187, 152, 93, 0.55);
  box-shadow: 0 6px 20px rgba(187, 152, 93, 0.14);
  transform: translateY(-1px);
}

.nav-lang-btn:active {
  transform: translateY(0);
}

.nav-lang-btn__icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.nav-lang-btn:hover .nav-lang-btn__icon {
  opacity: 1;
}

.nav-lang-btn__label {
  white-space: nowrap;
  line-height: 1;
}

.home-glass--compact .home-glass__title {
  margin-top: 0;
}

.home-glass--compact {
  padding-top: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 640px) {
  :root { --header-h: 80px; }
  .logo-img-full {
    height: 32px;
    max-width: 150px;
  }

  #langToggle {
    min-height: 32px;
    padding: 0.28rem 0.62rem;
    font-size: 0.65rem;
  }

  #langToggle .nav-lang-btn__icon {
    width: 12px;
    height: 12px;
  }

  .hero-stat-strip { grid-template-columns: 1fr; }
  .hero-stat-strip .metric-card { padding: 1.25rem; }
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner .btn-lg { width: 100%; }
  .footer-pro .footer-grid { grid-template-columns: 1fr; }
  .footer-pro .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
