/* ==========================================================================
   MAHEERAH BEAUTY CENTER — Main Stylesheet
   ========================================================================== */

/* ============ TOKENS ============ */
:root {
  --wine-900: #4C1522;
  --wine-800: #5C1F2E;
  --wine-700: #7A2C3F;
  --wine-600: #9A3E52;
  --blush-100: #F7E3E6;
  --blush-50: #FBEEF0;
  --ivory: #FCF8F4;
  --ivory-deep: #F5EEE6;
  --gold-500: #C6A15B;
  --gold-300: #DFC48C;
  --gold-100: #F1E6CD;
  --ink-900: #2A181D;
  --ink-700: #4A343A;
  --ink-500: #7A6469;
  --line: #E7D8CE;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 50px -25px rgba(76,21,34,0.35);
  --shadow-tight: 0 8px 24px -12px rgba(76,21,34,0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--ivory);
  color: var(--ink-900);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  color: var(--wine-900);
  line-height: 1.15;
  font-weight: 500;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine-700);
  font-weight: 700;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold-500);
  display: inline-block;
}

.section { padding: 110px 0; }
.section-tight { padding: 80px 0; }
.section-title {
  font-size: clamp(32px, 4vw, 46px);
  max-width: 640px;
  margin-bottom: 20px;
}
.section-lead {
  max-width: 640px;
  color: var(--ink-700);
  font-size: 17px;
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-title,
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--wine-800);
  color: var(--ivory);
  box-shadow: var(--shadow-tight);
}
.btn-primary:hover {
  background: var(--wine-900);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(76,21,34,0.5);
}
.btn-secondary {
  background: transparent;
  color: var(--wine-900);
  border: 1.5px solid var(--wine-800);
}
.btn-secondary:hover {
  background: var(--wine-900);
  color: var(--ivory);
}
.btn-gold {
  background: var(--gold-500);
  color: var(--wine-900);
}
.btn-gold:hover {
  background: var(--gold-300);
  transform: translateY(-2px);
}

/* ============ NAV ============ */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252,248,244,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  display: block;
  width: auto;
  height: 65px;
  object-fit: contain;
}
@media (max-width: 640px) {
  .logo img { height: 34px; }
}
nav.nav-links {
  display: flex;
  gap: 38px;
}
nav.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  position: relative;
  padding-bottom: 4px;
}
nav.nav-links a:hover { color: var(--wine-800); }

/* ============ HERO ============ */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--blush-50) 0%, var(--ivory) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.hero-tagline {
  font-size: clamp(38px, 4.6vw, 58px);
  margin-bottom: 24px;
}
.hero-tagline em {
  font-style: italic;
  color: var(--wine-700);
}
.hero-copy {
  color: var(--ink-700);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  color: var(--wine-900);
  font-weight: 600;
}
.hero-stat .label {
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 600;
  margin-top: 2px;
}

.hero-visual { position: relative; }
.hero-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 560px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.hero-badge {
  position: absolute;
  left: -30px;
  bottom: 40px;
  background: var(--ivory);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
  border: 1px solid var(--line);
}
.hero-badge .badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--wine-800);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-badge .badge-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wine-900);
}
.hero-badge .badge-sub {
  font-size: 12px;
  color: var(--ink-500);
}
.hero-chip {
  position: absolute;
  top: 28px;
  right: -18px;
  background: var(--gold-500);
  color: var(--wine-900);
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow-tight);
  text-align: center;
  line-height: 1.3;
}

/* ============ MARQUEE STRIP ============ */
.strip {
  background: var(--wine-900);
  color: var(--blush-100);
  padding: 18px 0;
}
.strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.strip span { color: var(--gold-300); margin-right: 8px; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: flex-start;
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 460px;
  box-shadow: var(--shadow-soft);
}
.about-text p {
  color: var(--ink-700);
  margin-bottom: 20px;
  font-size: 16px;
}
.about-text p:first-of-type {
  font-size: 19px;
  color: var(--ink-900);
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1.5;
}

/* Profile info card */
.info-card {
  margin-top: 40px;
  background: var(--blush-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.info-card h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine-700);
  margin-bottom: 22px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}
.info-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
}
.info-row dt {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  font-weight: 700;
  margin-bottom: 4px;
}
.info-row dd {
  font-size: 14.5px;
  color: var(--ink-900);
  font-weight: 600;
}

/* ============ VISION / MISSION ============ */
.vm-section {
  background: var(--wine-900);
  color: var(--blush-100);
  position: relative;
}
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.vm-section .eyebrow { color: var(--gold-300); }
.vm-section .eyebrow::before { background: var(--gold-300); }
.vision-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 30px);
  color: #fff;
  line-height: 1.5;
  border-left: 3px solid var(--gold-500);
  padding-left: 28px;
}
.mission-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mission-item {
  display: flex;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(247,227,230,0.15);
}
.mission-item:last-child { border-bottom: none; }
.mission-num {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--gold-300);
  flex-shrink: 0;
  width: 30px;
}
.mission-item p {
  font-size: 15px;
  color: var(--blush-100);
  opacity: 0.92;
}

/* ============ SERVICES ============ */
.service-category { margin-bottom: 64px; }
.service-category:last-child { margin-bottom: 0; }
.cat-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--wine-900);
}
.cat-letter {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  color: var(--gold-500);
  font-weight: 600;
}
.cat-name {
  font-size: 22px;
  color: var(--wine-900);
}
.treatment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}
.treatment-row {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.treatment-row .t-num {
  font-family: 'Fraunces', serif;
  color: var(--gold-500);
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
  padding-top: 2px;
}
.treatment-row .t-name {
  font-weight: 700;
  color: var(--wine-900);
  font-size: 15.5px;
  margin-bottom: 4px;
}
.treatment-row .t-desc {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.55;
}
.special-care-card {
  background: var(--blush-50);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--line);
}
.special-care-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.special-care-card li {
  font-size: 14.5px;
  color: var(--ink-700);
  padding-left: 22px;
  position: relative;
  font-weight: 600;
}
.special-care-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-500);
}

/* ============ WHY CHOOSE (KEUNGGULAN) ============ */
.why-section { background: var(--ivory-deep); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--ivory);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-tight);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--line);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blush-100);
  color: var(--wine-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.why-card h4 {
  font-size: 17px;
  color: var(--wine-900);
  margin-bottom: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}
.why-card p {
  font-size: 14.5px;
  color: var(--ink-500);
}

/* ============ LOCATIONS ============ */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.loc-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivory);
  box-shadow: var(--shadow-tight);
  border: 1px solid var(--line);
}
.loc-photo { height: 230px; }
.loc-body { padding: 32px; }
.loc-tag {
  display: inline-block;
  background: var(--gold-100);
  color: var(--wine-800);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.loc-body h3 { font-size: 22px; margin-bottom: 16px; }
.loc-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--ink-700);
}
.loc-detail .loc-label {
  font-weight: 800;
  color: var(--wine-800);
  min-width: 96px;
  flex-shrink: 0;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 1px;
}
.loc-card .btn { margin-top: 16px; width: 100%; }
.loc-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ DIGITAL PRESENCE ============ */
.digital-section {
  background: var(--wine-900);
  color: var(--blush-100);
}
.digital-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.digital-section .eyebrow { color: var(--gold-300); }
.digital-section .eyebrow::before { background: var(--gold-300); }
.digital-section .section-title { color: #fff; }
.digital-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 32px 0;
}
.dstat {
  background: rgba(247,227,230,0.06);
  border: 1px solid rgba(247,227,230,0.18);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.dstat .num {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  color: var(--gold-300);
}
.dstat .label {
  font-size: 13px;
  color: var(--blush-100);
  opacity: 0.85;
  margin-top: 4px;
}
.digital-list {
  font-size: 14.5px;
  color: var(--blush-100);
  opacity: 0.9;
  margin-top: 10px;
  line-height: 1.9;
}
.digital-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}

/* ============ TARGET MARKET ============ */
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.market-col h4 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine-700);
  font-weight: 800;
  margin-bottom: 22px;
  font-family: 'Manrope', sans-serif;
}
.market-col li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-700);
}
.market-col li:last-child { border-bottom: none; }
.market-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ============ CTA / CONTACT ============ */
.cta-section {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.cta-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(76,21,34,0.94) 30%, rgba(76,21,34,0.55) 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
  padding: 90px 70px;
  color: #fff;
  max-width: 620px;
}
.cta-content .eyebrow { color: var(--gold-300); }
.cta-content .eyebrow::before { background: var(--gold-300); }
.cta-content h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 20px; }
.cta-content p { color: var(--blush-100); opacity: 0.9; margin-bottom: 36px; font-size: 16px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.cta-contacts {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 28px;
}
.cta-contacts .c-label {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 700;
  margin-bottom: 4px;
}
.cta-contacts .c-value {
  font-size: 15px;
  font-weight: 700;
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink-900);
  color: var(--blush-100);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(247,227,230,0.15);
}

/* Footer logo — image dengan background handling */
.footer-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  /* Atur blending supaya background putih logo menyatu dg footer gelap */
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

.footer-tagline {
  font-size: 14px;
  color: var(--blush-100);
  opacity: 0.7;
  max-width: 280px;
  margin-bottom: 22px;
}
.social-row { display: flex; gap: 12px; }
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(247,227,230,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.footer-col h5 {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 20px;
  font-weight: 800;
}
.footer-col li {
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.82;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  font-size: 13px;
  opacity: 0.6;
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(0,0,0,0.25);
  z-index: 99999;
  transition: all 0.3s ease;
}

/* Pulse ring — fix: gunakan transform-origin: center */
.wa-float::before,
.wa-float::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2.5px solid #25D366;
  transform-origin: center center;
  animation: wa-pulse 2s ease-out infinite;
  pointer-events: none;
}

.wa-float::after {
  animation-delay: 1s;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.wa-float:hover {
  transform: scale(1.1);
  background: #20b957;
}

.wa-float svg {
  position: relative;
  z-index: 2;
  display: block;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .vm-grid,
  .digital-grid,
  .loc-grid,
  .market-grid,
  .why-grid,
  .treatment-list,
  .footer-grid,
  .info-table,
  .special-care-card ul,
  .digital-stats {
    grid-template-columns: 1fr;
  }
  .container { padding: 0 24px; }
  .nav-inner { padding: 18px 24px; }
  nav.nav-links { display: none; }
  .cta-section { margin: 0 24px; }
  .cta-content { padding: 60px 34px; }
}
