@import url('variables.css');

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-main);
  font-family: var(--font-heading);
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 82px;
  border-top: 3px solid var(--color-accent);
  border-bottom: 1px solid var(--border-color);
  background: rgba(var(--bg-page-rgb), 0.92);
  backdrop-filter: blur(18px);
  transition: var(--transition-fast);
}

.site-header.scrolled {
  height: 72px;
  box-shadow: 0 12px 35px rgba(43, 43, 43, 0.08);
}

.nav-container,
.nav-wrap {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-logo img {
  width: auto;
  height: 58px;
  transition: var(--transition-fast);
}

.site-header.scrolled .brand-logo img {
  height: 50px;
}

.desktop-nav,
.nav-menu,
.nav-actions,
.language-switch {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 28px;
}

.nav-menu {
  gap: 24px;
}

.nav-link {
  padding: 8px 0;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.nav-actions {
  gap: 12px;
}

.language-switch {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  background: #fff;
}

.language-button,
.language-switch button {
  min-width: 40px;
  padding: 6px 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.language-button.active,
.language-switch button.active {
  background: var(--color-accent);
  color: #fff;
}

.mobile-toggle,
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-around;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: #fff;
}

.mobile-toggle span,
.menu-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--text-main);
  transition: var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1),
.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2),
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3),
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 900;
  display: flex;
  width: min(360px, 88vw);
  padding: 110px 28px 32px;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  border-left: 1px solid var(--border-color);
  background: rgba(var(--bg-page-rgb), 0.98);
  box-shadow: -20px 0 50px rgba(43, 43, 43, 0.12);
  transition: transform 0.3s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

main {
  margin-top: 82px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  place-items: center;
  overflow: hidden;
  padding: 110px 0 90px;
  text-align: center;
}

.hero::before,
.hero::after {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 100, 25, 0.16), transparent 68%);
  content: '';
}

.hero::before {
  top: -220px;
  right: -140px;
}

.hero::after {
  bottom: -250px;
  left: -150px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-logo {
  width: 210px;
  margin: 0 auto 28px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--text-muted);
  font-size: 1.18rem;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn,
.button {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 750;
  transition: var(--transition-fast);
}

.btn:hover,
.button:hover {
  transform: translateY(-2px);
}

.btn-primary,
.button {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 25px var(--color-accent-glow);
}

.btn-primary:hover,
.button:hover {
  background: var(--color-badminton-hover);
}

.button-small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9rem;
}

.narrow {
  max-width: 800px;
}

.btn-outline {
  border-color: var(--border-color);
  background: #fff;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: #f7f4ef;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.section-heading p,
.lead,
.card p,
.detail-copy p {
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.split h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.split p + p {
  margin-top: 16px;
}

.visual-panel {
  position: relative;
  min-height: 390px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(242, 100, 25, 0.92), rgba(231, 111, 81, 0.75)),
    #f26419;
  box-shadow: 0 30px 70px rgba(242, 100, 25, 0.22);
}

.visual-panel::before {
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 24px;
  content: '';
}

.visual-panel-content {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 55px;
  align-content: center;
  color: #fff;
}

.visual-panel-content strong {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
}

.visual-panel-content span {
  margin-top: 16px;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-4,
.grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.feature-card,
.panel {
  height: 100%;
  padding: 30px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--glass-shadow);
}

.card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 16px;
  background: rgba(242, 100, 25, 0.11);
  font-size: 1.5rem;
}

.card h3,
.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.card-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--color-accent);
  font-weight: 750;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--color-accent);
  content: '•';
  font-weight: 900;
}

.page-hero {
  padding: 110px 0 70px;
  background: #f7f4ef;
  text-align: center;
}

.page-hero h1 {
  max-width: 800px;
  margin: 0 auto 18px;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.page-hero p {
  max-width: 740px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.detail-layout,
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}

.detail-copy h2,
.detail-panel h2,
.detail-main h2,
.detail-card h3 {
  margin-bottom: 18px;
  font-size: 2rem;
}

.detail-copy + .detail-copy {
  margin-top: 40px;
}

.detail-panel,
.detail-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #f7f4ef;
}

.detail-card dl {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.detail-card dl div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.detail-card dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-card dt {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-card dd {
  margin-top: 3px;
  font-weight: 750;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--color-accent);
  content: '✓';
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
}

.contact-card span,
.contact-card strong {
  display: block;
}

.contact-card span {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-card strong {
  color: var(--color-accent);
  overflow-wrap: anywhere;
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact-card a {
  color: var(--color-accent);
  font-weight: 750;
}

.cta {
  padding: 75px 0;
  background: #222;
  color: #fff;
  text-align: center;
}

.cta h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta p {
  margin-bottom: 28px;
  color: #c8c8c8;
}

.cta-section {
  padding: 36px 0 80px;
}

.cta-card {
  display: flex;
  padding: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: var(--radius-lg);
  background: #222;
  color: #fff;
}

.cta-card h2 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.site-footer {
  padding: 60px 0 26px;
  background: #111;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-grid strong {
  margin-bottom: 8px;
  color: #fff;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  color: #aaa;
}

.footer-grid .brand {
  color: #fff;
}

.footer-logo {
  width: 150px;
  margin-bottom: 16px;
}

.footer-tagline,
.footer-links a,
.footer-contact {
  color: #aaa;
}

.footer-heading {
  margin-bottom: 18px;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888;
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-active {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle,
  .menu-toggle {
    display: flex;
  }

  .grid-4,
  .grid-four {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .detail-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 330px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 650px;
    padding: 80px 0 65px;
  }

  .hero-logo {
    width: 170px;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 65px 0;
  }

  .grid-4,
  .grid-four,
  .grid-3,
  .grid-2,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .cta-card {
    padding: 34px 26px;
    align-items: flex-start;
    flex-direction: column;
  }

  .visual-panel-content {
    padding: 42px;
  }
}
