/* ============================================
   ROBERT KALLI — Massage Subdomain Styles
   massage.robertkalli.com
   Requires: robertkalli.com/assets/css/global.css
   ============================================ */

/* ── THEME OVERRIDE: Cream/Light ── */

:root {
  --m-cream:        #FAF7F2;
  --m-cream-mid:    #F0EAE0;
  --m-cream-dark:   #E2D9CC;
  --m-ink:          #1A1612;
  --m-ink-mid:      #3D3530;
  --m-ink-soft:     #6B5F54;
  --m-ink-muted:    #9A8E84;
  --m-green:        #4A9E7A;
  --m-green-dim:    #2E6B52;
  --m-green-light:  #EBF5F0;
  --m-gold:         #C9A96E;
  --m-border:       #DDD5C8;
}

body {
  background-color: var(--m-cream);
  color: var(--m-ink);
  font-family: var(--font-sans);
  font-weight: 300;
}

::selection {
  background: var(--m-green);
  color: #fff;
}

::-webkit-scrollbar-track { background: var(--m-cream); }
::-webkit-scrollbar-thumb { background: var(--m-cream-dark); }

/* ── NAV ── */

.m-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid transparent;
  transition: border-color 300ms ease;
}

.m-nav.scrolled {
  border-bottom-color: var(--m-border);
}

.m-nav-logo {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--m-ink);
  text-decoration: none;
}

.m-nav-logo span {
  color: var(--m-green);
}

.m-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.m-nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-ink-soft);
  text-decoration: none;
  transition: color 180ms ease;
}

.m-nav-links a:hover { color: var(--m-green); }

.m-nav-cta {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--m-green);
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
  transition: background 180ms ease !important;
}

.m-nav-cta:hover { background: var(--m-green-dim) !important; color: #fff !important; }

/* ── HERO ── */

.m-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 5rem;
}

.m-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 6rem;
  position: relative;
  z-index: 1;
}

.m-hero-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--m-green);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.m-hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--m-green);
}

.m-hero-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--m-ink);
  margin-bottom: 1.5rem;
}

.m-hero-headline em {
  font-style: italic;
  color: var(--m-green-dim);
}

.m-hero-sub {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--m-ink-soft);
  max-width: 360px;
  margin-bottom: 2.5rem;
}

.m-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 200ms ease;
}

.m-btn--primary {
  background: var(--m-ink);
  color: var(--m-cream);
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
}

.m-btn--primary:hover {
  background: var(--m-green-dim);
}

.m-btn--ghost {
  color: var(--m-ink-soft);
  border-bottom: 0.5px solid var(--m-border);
  padding-bottom: 0.15rem;
}

.m-btn--ghost:hover {
  color: var(--m-green);
  border-color: var(--m-green);
}

.m-hero-image {
  position: relative;
  overflow: hidden;
}

.m-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── SECTION BASE ── */

.m-section {
  padding: 7rem 6rem;
}

.m-section--alt {
  background: var(--m-cream-mid);
}

.m-section--dark {
  background: var(--m-ink);
  color: var(--m-cream);
}

.m-container {
  max-width: 1060px;
  margin: 0 auto;
}

.m-section-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--m-green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.m-section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--m-green);
}

.m-section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--m-ink);
  margin-bottom: 1.5rem;
}

.m-section--dark .m-section-title { color: var(--m-cream); }

/* ── ABOUT ── */

.m-about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: center;
}

.m-about-image {
  position: relative;
}

.m-about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
}

.m-about-image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 60%;
  height: 60%;
  border: 0.5px solid var(--m-green);
  border-radius: 2px;
  z-index: -1;
  opacity: 0.4;
}

.m-about-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--m-ink-soft);
  margin-bottom: 1.25rem;
}

.m-about-text p:first-of-type {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--m-ink-mid);
  line-height: 1.6;
}

.m-about-socials {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
}

.m-about-socials a {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--m-ink-muted);
  text-decoration: none;
  transition: color 180ms ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.m-about-socials a:hover { color: var(--m-green); }

/* ── SERVICES ── */

.m-services-intro {
  max-width: 400px;
  margin-bottom: 4rem;
}

.m-services-intro p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--m-ink-soft);
}

.m-services-list {
  display: flex;
  flex-direction: column;
  border-top: 0.5px solid var(--m-border);
}

.m-service {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 0.5px solid var(--m-border);
  cursor: pointer;
}

.m-service-body {
  max-width: 100%;
}

.m-service-number {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--m-ink-muted);
  font-family: var(--font-sans);
}

.m-service-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--m-ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.m-service-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--m-green);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.m-service-text {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--m-ink-soft);
}

.m-service-meta {
  display: flex;
  flex-direction: row;
  gap: 80%;
  padding-top: 0.25rem;
  white-space: nowrap;
}

.m-service-duration {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-items: flex-end;
  color: var(--m-ink-muted);
}

/* ── FREEBIE ── */

.m-freebie {
  background: var(--m-ink);
  padding: 6rem;
}

.m-freebie-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.m-freebie-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--m-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.m-freebie-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--m-gold);
}

.m-freebie-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  line-height: 1.15;
  color: var(--m-cream);
  margin-bottom: 1rem;
}

.m-freebie-sub {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--m-ink-muted);
  margin-bottom: 2rem;
}

.m-freebie-features {
  list-style: none;
  padding-left: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.m-freebie-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--m-cream);
  opacity: 0.8;
  line-height: 1.5;
}

.m-freebie-features li::before {
  content: '→';
  color: var(--m-gold);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.m-freebie-form {
  max-width: 90%;
  display: flex;
  align-items: left;
  flex-direction: column;
  gap: 0.75rem;
}

.m-freebie-form input {
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--m-cream);
  outline: none;
  transition: border-color 180ms ease;
  width: 100%;
}

.m-freebie-form input::placeholder { color: rgba(255,255,255,0.3); }
.m-freebie-form input:focus { border-color: rgba(201,169,110,0.5); }

.m-freebie-form button {
  background: var(--m-gold);
  color: var(--m-ink);
  border: none;
  border-radius: 2px;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease;
  width: 100%;
}

.m-freebie-form button:hover { background: #b8944f; }

.m-freebie-form-note {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  letter-spacing: 0.04em;
}

.m-freebie-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-freebie-mockup {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #2E2720 0%, #1C1814 100%);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem;
  border: 0.5px solid rgba(201,169,110,0.2);
  position: relative;
  overflow: hidden;
}

.m-freebie-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--m-gold), transparent);
  opacity: 0.4;
}

.m-freebie-mockup-tag {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--m-gold);
  opacity: 0.7;
}

.m-freebie-mockup-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--m-cream);
  text-align: center;
  line-height: 1.4;
}

.m-freebie-mockup-sub {
  font-size: 0.72rem;
  color: rgba(232,224,212,0.4);
  text-align: center;
  line-height: 1.5;
}

/* ── BOOKING ── */

.m-booking {
  padding: 7rem 6rem;
  background: var(--m-cream);
}

.m-booking-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.m-booking-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.m-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.m-contact-item-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m-ink-muted);
}

.m-contact-item-value {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--m-ink);
  text-decoration: none;
  transition: color 180ms ease;
}

.m-contact-item-value:hover { color: var(--m-green); }

.m-booking-cta {
  padding-top: 2rem;
  border-top: 0.5px solid var(--m-border);
}

.m-booking-cta p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--m-ink-soft);
  margin-bottom: 1.5rem;
}

.m-btn--booking {
  background: var(--m-green);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: background 180ms ease;
}

.m-btn--booking:hover { background: var(--m-green-dim); }

/* ── FOOTER ── */

.m-footer {
  background: var(--m-ink);
  padding: 4rem 6rem 2.5rem;
}

.m-footer-inner {
  max-width: 1060px;
  margin: 0 auto;
}

/* Newsletter block */
.m-footer-newsletter {
  max-width: 520px;
  margin-bottom: 3rem;
}

.m-footer-nl-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--m-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.m-footer-nl-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--m-gold);
}

.m-footer-nl-sub {
  font-size: 0.85rem;
  color: rgba(232,224,212,0.45);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.m-footer-nl-inputs {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.m-footer-nl-form input[type="text"],
.m-footer-nl-form input[type="email"] {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--m-cream);
  outline: none;
  transition: border-color 180ms ease;
  width: 100%;
}

.m-footer-nl-form input::placeholder { color: rgba(255,255,255,0.25); }
.m-footer-nl-form input:focus { border-color: rgba(201,169,110,0.4); }

/* Optin checkbox */
.m-footer-nl-optin {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

.m-footer-nl-optin input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.m-footer-nl-checkbox {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-top: 2px;
  transition: background 180ms ease, border-color 180ms ease;
  position: relative;
}

.m-footer-nl-optin input[type="checkbox"]:checked ~ .m-footer-nl-checkbox {
  background: var(--m-gold);
  border-color: var(--m-gold);
}

.m-footer-nl-optin input[type="checkbox"]:checked ~ .m-footer-nl-checkbox::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: 1.5px solid var(--m-ink);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.m-footer-nl-optin-text {
  font-size: 0.72rem;
  color: rgba(232,224,212,0.35);
  line-height: 1.5;
}

.m-footer-nl-optin-text a {
  color: rgba(232,224,212,0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 180ms ease;
}

.m-footer-nl-optin-text a:hover { color: var(--m-gold); }

.m-footer-nl-form button {
  background: transparent;
  border: 0.5px solid rgba(201,169,110,0.4);
  border-radius: 2px;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-gold);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.m-footer-nl-form button:hover {
  background: rgba(201,169,110,0.1);
  border-color: var(--m-gold);
}

.m-footer-nl-note {
  margin-top: 0.6rem;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.04em;
}

/* Divider */
.m-footer-divider {
  width: 100%;
  height: 0.5px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}

/* Bottom bar */
.m-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-footer-logo {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--m-cream);
  opacity: 0.35;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.m-footer-logo:hover { opacity: 0.7; }

.m-footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.m-footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(232,224,212,0.25);
  text-decoration: none;
  transition: color 180ms ease;
}

.m-footer-links a:hover { color: rgba(232,224,212,0.7); }

/* ── SCROLL ANIMATION ── */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE ── */

@media (max-width: 900px) {
  .m-hero { grid-template-columns: 1fr; min-height: auto; }
  .m-hero-content { padding: 8rem 2rem 3rem; }
  .m-hero-image { height: 55vw; }

  .m-section { padding: 4rem 2rem; }
  .m-about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .m-about-image img { aspect-ratio: 4/3; }

  .m-freebie { padding: 4rem 2rem; }
  .m-freebie-inner { grid-template-columns: 1fr; gap: 3rem; }
  .m-freebie-visual { display: none; }

  .m-booking { padding: 4rem 2rem; }
  .m-booking-inner { grid-template-columns: 1fr; gap: 3rem; }

  .m-footer { padding: 3rem 1.5rem 2rem; }
  .m-footer-nl-inputs { grid-template-columns: 1fr; }
  .m-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .m-footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .m-nav { padding: 1.25rem 1.5rem; }
  .m-nav-links { gap: 1.2rem; }
}

@media (max-width: 650px) {
  .m-nav {
    padding: 1rem 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  .m-nav-logo { 
    display: flex;
    order: 1;
    font-size: 1.1rem;
  }

  .m-nav-cta {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 0.45rem 0.9rem;
    order: 2;
  }

  .m-nav-links {
    gap: 0.8rem;
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .m-nav-links a {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }
}
