/*
Theme Name: Irmawa Psychologist
Theme URI: https://irmawapuspita.com
Author: Irmawa Puspita Anggraini
Description: Website portfolio untuk Psikolog - Irmawa Puspita Anggraini, S.Psi., M.PSDM., Psikolog. CH., CHt.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: irmawa-psychologist
*/

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

:root {
  --sage:      #A8BDA8;
  --sage-deep: #7a9e7a;
  --beige:     #EFE6DB;
  --bg:        #FAF8F5;
  --accent:    #AFC4D5;
  --dark:      #363636;
  --text:      #4A4A4A;
  --muted:     #909090;
  --white:     #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.7;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 64px;
  background: rgba(250,248,245,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(168,189,168,0.18);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 600;
  color: var(--dark); letter-spacing: 0.01em;
}
.nav-logo em { font-style: italic; color: var(--sage-deep); }

nav ul { display: flex; gap: 34px; list-style: none; }

nav a {
  text-decoration: none; color: var(--muted);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  transition: color .2s;
}
nav a:hover { color: var(--dark); }

.nav-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: var(--white) !important;
  padding: 9px 22px; border-radius: 100px;
  font-size: 12px !important; letter-spacing: 0.05em !important;
  transition: background .2s, transform .15s; text-decoration: none;
}
.nav-wa:hover { background: var(--sage-deep) !important; transform: translateY(-1px); }
.nav-wa-dot { width: 7px; height: 7px; border-radius: 50%; background: #25D366; flex-shrink: 0; }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 55% 45%;
  padding-top: 72px;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(168,189,168,0.5);
  color: var(--sage-deep); font-size: 11px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 6px 15px; border-radius: 100px;
  margin-bottom: 30px; width: fit-content;
}
.hero-badge::before {
  content: ''; width: 5px; height: 5px;
  background: var(--sage-deep); border-radius: 50%;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(13px, 1.4vw, 16px); font-weight: 400;
  letter-spacing: 0.06em; color: var(--muted);
  margin-bottom: 12px; text-transform: uppercase;
}

.hero-hook {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5.2vw, 70px);
  font-weight: 300; line-height: 1.08;
  color: var(--dark); margin-bottom: 28px;
}
.hero-hook em { font-style: italic; color: var(--sage-deep); }
.hero-hook strong { font-weight: 600; }

.hero-sub {
  font-size: 15px; color: var(--muted);
  max-width: 440px; line-height: 1.85; margin-bottom: 48px;
  border-right: 2px solid var(--sage-deep);
  animation: blink .7s step-end infinite;
  min-height: 4em;
}

@keyframes blink {
  50% { border-color: transparent; }
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  padding: 15px 34px; border-radius: 100px;
  text-decoration: none; font-size: 14px; font-weight: 500;
  width: fit-content; transition: transform .2s, background .2s;
  margin-bottom: 56px;
}
.hero-cta:hover { background: #1da851; transform: translateY(-2px); }

.wa-icon { width: 18px; height: 18px; flex-shrink: 0; }
.wa-icon-sm { width: 16px; height: 16px; }

.hero-stats {
  display: flex; gap: 44px;
  padding-top: 40px;
  border-top: 1px solid rgba(168,189,168,0.25);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 600; color: var(--dark); line-height: 1;
}
.stat-label {
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px;
}

/* HERO RIGHT */
.hero-right {
  background: var(--beige); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-right::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(168,189,168,0.18);
}

.hero-photo { position: relative; z-index: 1; width: 360px; padding-top: 80px; }

.hero-photo-box {
  width: 100%; height: 480px;
  background: linear-gradient(160deg, #c8d8c8 0%, #a8bda8 55%, #8fa88f 100%);
  border-radius: 220px 220px 0 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-photo-box img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-photo-box span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-style: italic; color: rgba(255,255,255,0.55); text-align: center;
}

.hero-floating {
  position: absolute; bottom: 44px; right: -10px;
  background: var(--white); border-radius: 14px;
  padding: 14px 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.09);
  z-index: 2; min-width: 190px;
}
.hero-floating-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #25D366; display: inline-block; margin-bottom: 6px;
}
.hero-floating-title { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.hero-floating-sub { font-size: 11px; color: var(--muted); }

/* SECTION BASE */
section { padding: 96px 64px; }

.s-label {
  display: inline-block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 14px;
}
.s-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.8vw, 50px); font-weight: 300;
  color: var(--dark); line-height: 1.15; margin-bottom: 18px;
}
.s-title em { font-style: italic; color: var(--sage-deep); }
.s-desc { font-size: 15px; color: var(--muted); max-width: 500px; line-height: 1.85; }

/* TENTANG */
#tentang {
  background: var(--beige);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.about-img-wrap { position: relative; }

.about-img-box {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(145deg, #c5d5c5, #a8bda8);
  border-radius: 200px 200px 20px 20px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-img-box img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-img-box span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-style: italic; color: rgba(255,255,255,0.5);
}

.about-badge {
  position: absolute; bottom: -20px; left: 30px;
  background: var(--white); border-radius: 14px;
  padding: 16px 22px; box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.about-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 600; color: var(--dark); line-height: 1;
}
.about-badge-label {
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.07em; margin-top: 3px;
}

.about-content { padding-top: 10px; }

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-style: italic; font-weight: 300;
  color: var(--dark); line-height: 1.45;
  border-left: 3px solid var(--sage); padding-left: 24px;
  margin-bottom: 28px;
}

.about-body {
  font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 16px;
}

.about-creds { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }

.cred {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.65);
  border-radius: 10px; border: 1px solid rgba(168,189,168,0.2);
}
.cred-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage-deep); flex-shrink: 0; margin-top: 7px;
}
.cred-text { font-size: 13px; color: var(--text); }
.cred-text strong { font-weight: 600; color: var(--dark); }

/* LAYANAN */
#layanan { background: var(--bg); }

.layanan-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 56px;
}

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

.svc-card {
  background: var(--white); border-radius: 18px; padding: 36px 30px;
  border: 1px solid rgba(168,189,168,0.12);
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden; cursor: default;
}
.svc-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 20px 56px rgba(0,0,0,0.06); }

.svc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 300;
  color: rgba(168,189,168,0.4); line-height: 1; margin-bottom: 18px;
}
.svc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; font-weight: 600;
  color: var(--dark); margin-bottom: 12px; line-height: 1.25;
}
.svc-desc { font-size: 13px; color: var(--muted); line-height: 1.85; }

/* FOKUS */
#fokus { background: var(--dark); }

.fokus-head { text-align: center; margin-bottom: 64px; }
.fokus-head .s-label { color: var(--sage); }
.fokus-head .s-title { color: var(--white); }
.fokus-head .s-desc { color: rgba(255,255,255,0.45); margin: 0 auto; }

.fokus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.fokus-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 28px 24px;
  transition: background .2s, border-color .2s; cursor: default;
}
.fokus-card:hover {
  background: rgba(168,189,168,0.1);
  border-color: rgba(168,189,168,0.25);
}

.fokus-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-weight: 400;
  color: var(--sage); letter-spacing: 0.1em; margin-bottom: 14px;
}
.fokus-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600;
  color: var(--white); margin-bottom: 10px; line-height: 1.2;
}
.fokus-desc { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.85; }

/* FAQ */
#faq { background: var(--beige); }

.faq-head { margin-bottom: 48px; }

.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(168,189,168,0.15);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.04); }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; gap: 16px;
  background: none; border: none; cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600; color: var(--dark);
  text-align: left; line-height: 1.3;
}

.faq-icon {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px; font-weight: 300; color: var(--sage-deep);
  flex-shrink: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(168,189,168,0.3);
  transition: transform .3s, background .2s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--sage-deep); color: var(--white);
  border-color: var(--sage-deep);
}

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}
.faq-item.active .faq-a {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-a p {
  font-size: 14px; color: var(--muted); line-height: 1.85;
}

/* CTA STRIP */
.cta-strip {
  background: var(--sage); padding: 60px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}

.cta-strip-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.8vw, 36px);
  font-style: italic; font-weight: 300;
  color: var(--white); max-width: 600px; line-height: 1.35;
}
.cta-strip-text strong { font-weight: 600; font-style: normal; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--dark);
  padding: 14px 30px; border-radius: 100px;
  text-decoration: none; font-size: 13px; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

/* FOOTER */
footer {
  background: var(--dark); color: rgba(255,255,255,0.4);
  padding: 36px 64px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: var(--white); font-weight: 600;
}
.footer-logo em { font-style: italic; color: var(--sage); }
footer p { font-size: 12px; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }
.reveal:nth-child(6) { transition-delay: .5s; }
.reveal:nth-child(7) { transition-delay: .6s; }
.reveal:nth-child(8) { transition-delay: .7s; }
.hero-left > * { animation: fadeUp .65s ease both; }
.hero-left > *:nth-child(1) { animation-delay: .05s; }
.hero-left > *:nth-child(2) { animation-delay: .15s; }
.hero-left > *:nth-child(3) { animation-delay: .25s; }
.hero-left > *:nth-child(4) { animation-delay: .35s; }
.hero-left > *:nth-child(5) { animation-delay: .45s; }
.hero-left > *:nth-child(6) { animation-delay: .55s; }

/* RESPONSIVE — Tablet */
@media (max-width: 960px) {
  nav { padding: 16px 24px; }
  nav ul { display: none; }
  section { padding: 64px 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 100px 24px 56px; }
  .hero-right { min-height: 380px; }
  .hero-photo { width: 280px; }
  .hero-photo-box { height: 380px; }
  .hero-floating { right: 10px; bottom: 30px; }
  #tentang { grid-template-columns: 1fr; gap: 48px; }
  .about-img-box { max-width: 400px; margin: 0 auto; }
  .about-img-wrap { display: flex; flex-direction: column; align-items: center; }
  .about-badge { left: 50%; transform: translateX(-50%); }
  .layanan-grid { grid-template-columns: repeat(2, 1fr); }
  .fokus-grid { grid-template-columns: repeat(2, 1fr); }
  .layanan-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-strip { flex-direction: column; padding: 48px 24px; text-align: center; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
}

/* RESPONSIVE — Mobile */
@media (max-width: 600px) {
  nav { padding: 14px 16px; }
  .nav-logo { font-size: 15px; }
  .nav-wa { padding: 8px 16px; font-size: 11px !important; }
  .nav-wa-dot { width: 6px; height: 6px; }

  section { padding: 48px 16px; }

  .hero-left { padding: 84px 16px 40px; }
  .hero-badge { font-size: 10px; padding: 5px 12px; margin-bottom: 20px; }
  .hero-name { font-size: 12px; letter-spacing: 0.04em; margin-bottom: 8px; }
  .hero-hook { font-size: 36px; margin-bottom: 20px; }
  .hero-sub { font-size: 14px; margin-bottom: 32px; }
  .hero-cta { padding: 13px 24px; font-size: 13px; margin-bottom: 40px; }
  .hero-right { min-height: 320px; }
  .hero-photo { width: 240px; padding-top: 40px; }
  .hero-photo-box { height: 320px; border-radius: 160px 160px 0 0; }
  .hero-floating { right: 8px; bottom: 20px; padding: 10px 14px; min-width: 160px; }
  .hero-floating-title { font-size: 12px; }
  .hero-floating-sub { font-size: 10px; }

  .hero-stats { gap: 24px; padding-top: 28px; flex-wrap: wrap; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 10px; }

  .s-title { font-size: 28px; }
  .s-desc { font-size: 14px; }

  #tentang { gap: 36px; padding: 48px 16px; }
  .about-img-box { max-width: 300px; }
  .about-quote { font-size: 20px; padding-left: 18px; }
  .about-body { font-size: 13px; }
  .cred { padding: 10px 12px; }
  .cred-text { font-size: 12px; }

  .layanan-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc-card { padding: 28px 22px; }
  .svc-num { font-size: 36px; margin-bottom: 12px; }
  .svc-title { font-size: 18px; }
  .svc-desc { font-size: 12px; }

  .fokus-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fokus-card { padding: 20px 16px; }
  .fokus-title { font-size: 17px; }
  .fokus-desc { font-size: 11px; }

  .faq-q { font-size: 16px; padding: 16px 18px; }
  .faq-a { padding: 0 18px; }
  .faq-item.active .faq-a { padding: 0 18px 16px; }
  .faq-a p { font-size: 13px; }

  .cta-strip { padding: 36px 16px; }
  .cta-strip-text { font-size: 22px; }
  .btn-wa { padding: 12px 24px; font-size: 12px; }

  footer { padding: 28px 16px; }
  .footer-logo { font-size: 14px; }
  footer p { font-size: 11px; }
}
