/* ==========================================================================
   Active Hungarian Studio — landing page
   Faithful implementation of the approved Claude Design handoff.

   Design tokens
   -------------
   accent            #55624A   accent-hover      #49563E
   page background   #F7F2EA   base text         #2A2622
   headline          #241F1A   lede text         #4B443C
   muted / brand     #5C5449   button text       #FBF7EF
   Fonts: 'Work Sans' (UI/body), 'Source Serif 4' (headline)
   Mobile breakpoint: < 640px  (desktop styles apply from 640px up)
   ========================================================================== */

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

::selection { background: #DCE0D0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* --------------------------------------------------------------------------
   Page shell + background decoration
   -------------------------------------------------------------------------- */
.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #F7F2EA;
  color: #2A2622;
  font-family: 'Work Sans', sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.decoration {
  position: absolute;
  top: -12%;
  right: -10%;
  width: 56vw;
  height: 56vw;
  max-width: 760px;
  max-height: 760px;
  min-width: 380px;
  min-height: 380px;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: #55624A;
  opacity: 0.07;
  filter: blur(2px);
  pointer-events: none;
}

.top-rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #E4D8C2, transparent);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 20px 0;         /* mobile */
  display: flex;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5C5449;
}

.brand-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #55624A;
}

.brand-accent { color: #55624A; }

/* --------------------------------------------------------------------------
   Main content
   -------------------------------------------------------------------------- */
.main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 22px;           /* mobile */
}

.content {
  max-width: 620px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid #E1D3B8;
  border-radius: 999px;
  background: #F1E9D8;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55624A;
  flex-shrink: 0;
}

.pill-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #5C5449;
}

.headline {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  color: #241F1A;
  text-wrap: balance;
}

.headline-rule {
  width: 52px;
  height: 2px;
  background: #55624A;
  opacity: 0.55;
  border-radius: 2px;
}

.lede {
  margin: 0;
  max-width: 480px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: #4B443C;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Actions / CTA hierarchy
   -------------------------------------------------------------------------- */
.actions {
  display: flex;
  flex-direction: column;       /* mobile */
  align-items: center;
  gap: 20px;                     /* mobile */
  width: 100%;                   /* mobile */
  margin-top: 8px;
}

.primary-actions {
  display: flex;
  flex-direction: column;       /* mobile */
  gap: 14px;
  width: 100%;                   /* mobile */
}

/* Shared button base */
.btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 34px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  white-space: nowrap;
}

/* Primary CTA — Book a lesson */
.btn-primary {
  background: #55624A;
  color: #FBF7EF;
  border: 1px solid #55624A;
  box-shadow: 0 1px 2px rgba(42, 38, 34, 0.06), 0 6px 16px rgba(74, 84, 60, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary:hover {
  background: #49563E;
  border-color: #49563E;
  box-shadow: 0 2px 4px rgba(42, 38, 34, 0.08), 0 10px 22px rgba(74, 84, 60, 0.18);
  transform: translateY(-1px);
}
.btn-primary:focus-visible {
  outline: 2px solid #55624A;
  outline-offset: 3px;
}

/* Secondary CTA — Send me an email */
.btn-secondary {
  background: transparent;
  color: #2A2622;
  border: 1.5px solid #C9BC9E;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-secondary:hover {
  background: #EFE7D5;
  border-color: #B9A97F;
}
.btn-secondary:focus-visible {
  outline: 2px solid #55624A;
  outline-offset: 3px;
}

/* Compact secondary contact links — WhatsApp / Revolut (icon + label) */
.contact-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  border-left: none;            /* mobile: no divider */
  padding-left: 0;              /* mobile */
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;               /* mobile: larger tap target, no horizontal shift */
  color: #5C5449;
  font-family: 'Work Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.icon-btn:hover {
  color: #55624A;
}
.icon-btn:focus-visible {
  outline: 2px solid #55624A;
  outline-offset: 3px;
  border-radius: 4px;
}

.contact-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #D8CCAE;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 20px 26px;      /* mobile */
  display: flex;
  justify-content: center;
  border-top: 1px solid #E9E0CC;
}

.copyright {
  font-size: 13px;
  color: #5C5449;
}

/* --------------------------------------------------------------------------
   Desktop ( >= 640px )
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .site-header { padding: 36px 40px 0; }

  .main { padding: 40px 40px; }

  .actions {
    flex-direction: row;
    gap: 28px;
    width: auto;
  }

  .primary-actions {
    flex-direction: row;
    width: auto;
  }

  .contact-icons {
    border-left: 1px solid #E4D8C2;
    padding-left: 28px;
  }

  .icon-btn { padding: 0; }     /* desktop: match design exactly (no divider growth) */

  .site-footer { padding: 28px 24px 32px; }
}
