/* Site styles — architectural flow minimalism */

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-drawer,
  .nav-overlay,
  .burger-line,
  .card-media,
  .card-product,
  .split-visual img {
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  color: #1a1a1a;
  background: #f7f8fa;
}

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

a {
  color: #1a1a1a;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #1a1a1a;
}

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

.container {
  width: min(92%, 72rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 250, 0.92);
  border-bottom: 1px solid #e0e0e6;
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(96%, 80rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: nowrap;
}

.header-name {
  margin: 0;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
  flex: 1;
  min-width: 0;
}

.nav-main a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #1a1a1a;
  position: relative;
  padding: 0.15rem 0;
  white-space: nowrap;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #d1ff00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-main a:hover::after,
.nav-main a:focus-visible::after {
  transform: scaleX(1);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid #1a1a1a;
  background: #f7f8fa;
  cursor: pointer;
  flex-shrink: 0;
  order: 999;
}

.burger-line {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: #1a1a1a;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(0.45rem) rotate(45deg);
}

.burger[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-0.45rem) rotate(-45deg);
}

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

  .burger {
    display: flex;
  }
}

/* Drawer — outside header */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(20rem, 88vw);
  height: 100vh;
  height: 100dvh;
  background: #f7f8fa;
  border-left: 1px solid #e0e0e6;
  box-shadow: -0.5rem 0 2rem rgba(26, 26, 26, 0.08);
  padding: 5rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

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

.nav-drawer:not(.is-open) {
  pointer-events: none;
}

.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-drawer-inner a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: #1a1a1a;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e0e0e6;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(26, 26, 26, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-alt {
  background: #e0e0e6;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 42rem;
  margin: 0 0 2rem;
  color: #333;
}

/* Hero — image under text */
.hero {
  position: relative;
  min-height: min(85vh, 40rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(4rem, 12vw, 7rem) 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #e0e0e6;
  background-image: linear-gradient(
      180deg,
      rgba(247, 248, 250, 0.88) 0%,
      rgba(247, 248, 250, 0.55) 45%,
      rgba(247, 248, 250, 0.75) 100%
    ),
    url("../img/freepik_yoga-studios-near-me_2737643875.webp");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(92%, 42rem);
  margin-inline: auto;
  text-align: center;
}

.hero-heading {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: #2a2a2a;
}

/* Buttons */
.btn-outline,
.btn-solid {
  display: inline-block;
  font: inherit;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.75rem 1.35rem;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline {
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  box-shadow: 2px 2px 0 0 #d1ff00;
  text-decoration: none;
}

.btn-outline:hover {
  background: #1a1a1a;
  color: #f7f8fa;
  box-shadow: none;
}

.btn-solid {
  background: #1a1a1a;
  color: #f7f8fa;
  border: 2px solid #1a1a1a;
  box-shadow: inset 0 0 0 1px #d1ff00;
}

.btn-solid:hover {
  box-shadow: inset 0 0 0 2px #d1ff00;
}

.btn-solid:active,
.btn-outline:active {
  box-shadow: none;
}

/* Grids */
.grid-two {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}

@media (max-width: 768px) {
  .grid-two {
    grid-template-columns: 1fr;
  }
}

.grid-three {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid-three {
    grid-template-columns: 1fr;
  }
}

.grid-split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

@media (max-width: 768px) {
  .grid-split {
    grid-template-columns: 1fr;
  }
}

.split-copy p {
  margin: 0 0 1rem;
  max-width: 36rem;
}

.split-visual img {
  width: 100%;
  border-radius: 0;
  box-shadow: 0 0.5rem 2rem rgba(26, 26, 26, 0.08);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.split-visual img:hover {
  filter: contrast(1.06) saturate(1.1);
  transform: translateY(-2px);
}

/* Cards */
.card-media {
  background: #f7f8fa;
  padding: 0;
  box-shadow: 0 0.35rem 1.25rem rgba(26, 26, 26, 0.06);
  transition: box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.card-media:hover {
  box-shadow: 0 0.75rem 2rem rgba(26, 26, 26, 0.1);
  background: #fff;
  transform: translateY(-3px);
}

.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 0.35s ease;
}

.card-media:hover img {
  filter: contrast(1.06) brightness(1.02);
}

.card-media .card-title,
.card-media .card-text {
  padding: 0 1.25rem;
}

.card-media .card-title {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-media .card-text {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: #333;
}

.card-product {
  background: #f7f8fa;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 0.35rem 1.1rem rgba(26, 26, 26, 0.05);
  transition: box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.section-alt .card-product {
  background: #fff;
}

.card-product:hover {
  box-shadow: 0 0.65rem 1.75rem rgba(26, 26, 26, 0.09);
  transform: translateY(-2px);
}

.card-product .card-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-product .card-text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #333;
}

.price {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.network-card {
  max-width: 40rem;
  padding: 1.5rem;
  background: #f7f8fa;
  box-shadow: 0 0.35rem 1.25rem rgba(26, 26, 26, 0.06);
}

.network-card p {
  margin: 0 0 0.75rem;
}

.network-card p:last-child {
  margin-bottom: 0;
}

.text-link {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-color: #d1ff00;
  text-underline-offset: 0.15em;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  max-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #f7f8fa;
  box-shadow: 0 0.35rem 1.25rem rgba(26, 26, 26, 0.06);
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e6;
}

.data-table th {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.host-list {
  margin: 0;
  padding-left: 1.2rem;
  max-width: 40rem;
}

.host-list li {
  margin-bottom: 0.65rem;
}

.host-name {
  font-weight: 600;
}

/* Contact */
.section-contact {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.grid-contact {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

@media (max-width: 768px) {
  .grid-contact {
    grid-template-columns: 1fr;
  }
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-details li {
  margin-bottom: 0.65rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: #e0e0e6;
  box-shadow: 0 0.35rem 1.25rem rgba(26, 26, 26, 0.06);
}

.form-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 2px solid #1a1a1a;
  background: #f7f8fa;
  font: inherit;
  border-radius: 0;
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.form-check input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Footer */
.page-bottom {
  background: #1a1a1a;
  color: #e0e0e6;
  font-size: 0.85rem;
}

.site-footer {
  padding: 2.5rem 0 1rem;
}

.legal-strip {
  padding: 0 0 2.5rem;
  border-top: 1px solid rgba(224, 224, 230, 0.12);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.footer-nav a,
.footer-legal a {
  color: #e0e0e6;
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: #d1ff00;
}

.footer-meta {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.85;
  max-width: 40rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem;
  background: transparent;
  pointer-events: none;
}

.cookie-banner:not([hidden]) {
  pointer-events: auto;
}

.cookie-inner {
  max-width: 36rem;
  margin-inline: auto;
  padding: 1.25rem 1.35rem;
  background: #1a1a1a;
  color: #e0e0e6;
  border: 2px solid #d1ff00;
  box-shadow: 0 -0.25rem 2rem rgba(26, 26, 26, 0.2);
}

.cookie-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cookie-text {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-actions .btn-solid {
  background: #d1ff00;
  color: #1a1a1a;
  border-color: #d1ff00;
  box-shadow: inset 0 0 0 1px #1a1a1a;
}

.cookie-actions .btn-outline {
  border-color: #e0e0e6;
  color: #e0e0e6;
  box-shadow: 2px 2px 0 0 #d1ff00;
}

.cookie-actions .btn-outline:hover {
  background: #e0e0e6;
  color: #1a1a1a;
}

/* Legal pages */
.legal-main {
  padding: clamp(5rem, 12vw, 7rem) 0 4rem;
  min-height: 60vh;
}

.legal-article {
  max-width: 44rem;
  margin-inline: auto;
}

.legal-article h1 {
  margin-top: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-article h2 {
  margin-top: 2rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-article p,
.legal-article li {
  color: #333;
}

.legal-article .date {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 2rem;
}

/* Thank you */
.page-thanks {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.thanks-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(6rem, 15vw, 10rem) 1rem;
}

.thanks-card {
  width: min(100%, 28rem);
  padding: 2.5rem 2rem;
  background: #e0e0e6;
  text-align: center;
  box-shadow: 0 0.75rem 2.5rem rgba(26, 26, 26, 0.1);
  border: 2px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.thanks-card:hover {
  box-shadow: 0 1rem 3rem rgba(26, 26, 26, 0.12);
  border-color: #d1ff00;
}

.thanks-card h1 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.thanks-card p {
  margin: 0 0 1.5rem;
  color: #333;
}

.thanks-card .btn-outline {
  text-decoration: none;
}
