/* ===========================
   PUTERI SMILE DENTAL CLINIC
   Emerald & White Theme
   =========================== */

:root {
  --emerald: #1B6B5A;
  --emerald-dark: #124A3E;
  --emerald-light: #2A8C76;
  --gold: #C4943A;
  --gold-light: #DDB96A;
  --cream: #FAF9F7;
  --cream-2: #F2EDE7;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-muted: #5A6672;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
  --max-width: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }
.divider { width: 60px; height: 1px; background: var(--emerald); margin: 1.5rem auto; }
.divider--left { margin-left: 0; }

/* ===========================
   NAV
   =========================== */
.nav {
  position: sticky; top: 0; z-index: 1000;
  padding: 1.5rem 0;
  background: var(--emerald-dark);
  transition: all 0.4s;
}
.nav.scrolled {
  padding: 1rem 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.3);
}
.nav__inner {
  width: 90%; max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-heading); font-size: 1.25rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
}
.nav__logo span { color: rgba(255,255,255,0.7); }


.nav__links { display: flex; gap: 2.5rem; list-style: none; }
.nav__links a {
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); transition: color 0.3s;
}
.nav__links a:hover { color: var(--white); }


.nav__cta {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.6); color: var(--white);
  transition: all 0.3s;
}
.nav__cta:hover { background: var(--white); color: var(--emerald); border-color: var(--white); }


.nav__hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 4px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: all 0.3s; }

@media (min-width: 1025px) { .nav__hamburger { display: none !important; } }

.nav__mobile {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--emerald-dark); z-index: 1001;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem; opacity: 0;
}
.nav__mobile.open { display: flex; animation: fadeInMenu 0.35s ease forwards; }
@keyframes fadeInMenu { from { opacity: 0; } to { opacity: 1; } }
.nav__mobile-logo {
  position: absolute; top: 1.6rem; left: 5%;
  font-family: var(--font-heading); font-size: 1.25rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.9);
}
.nav__mobile a { font-family: var(--font-heading); font-size: 2rem; color: rgba(255,255,255,0.85); transition: color 0.3s; }
.nav__mobile a:hover { color: var(--gold-light); }
.nav__mobile-cta {
  margin-top: 1rem; padding: 0.9rem 2.5rem !important;
  background: var(--gold) !important; color: var(--white) !important;
  font-family: var(--font-body) !important; font-size: 0.8rem !important;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.nav__mobile-close {
  position: absolute; top: 1.5rem; right: 5%;
  font-size: 1.4rem; color: rgba(255,255,255,0.9); cursor: pointer; padding: 4px;
}

/* ===========================
   HERO — Split Layout
   =========================== */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 85vh; overflow: hidden;
  background: var(--emerald-dark);
}
.hero__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 5% 4rem 10%;
}
.hero__eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero__eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: rgba(255,255,255,0.35); }
.hero__heading {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.08; color: var(--white); margin-bottom: 2rem;
}
.hero__heading em { font-style: italic; color: var(--gold-light); }
.hero__text { font-size: 1rem; color: rgba(255,255,255,0.65); max-width: 420px; margin-bottom: 3rem; line-height: 1.8; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-block; padding: 1rem 2.5rem;
  background: var(--emerald-light); color: var(--white);
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--emerald); transform: translateY(-1px); }

.btn-outline {
  display: inline-block; padding: 1rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.4); color: var(--white);
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.hero__stats {
  display: flex; gap: 3rem; margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero__stat-num { font-family: var(--font-heading); font-size: 2.5rem; color: var(--white); line-height: 1; }
.hero__stat-label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 0.4rem; }

.hero__image { position: relative; overflow: hidden; height: 85vh; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }

/* ===========================
   INTRO STRIP
   =========================== */
.intro-strip {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 2rem 0;
}
.intro-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; text-align: left;
}
.intro-strip__item { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 180px; }
.intro-strip__icon { font-size: 1.1rem; color: var(--emerald); flex-shrink: 0; }
.intro-strip__text { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.intro-strip__text strong { display: block; color: var(--ink); font-size: 0.85rem; }

/* ===========================
   SHARED
   =========================== */
.section-label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--emerald); margin-bottom: 1rem; }
.section-heading { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--ink); margin-bottom: 1rem; }
.section-text { font-size: 1rem; color: var(--ink-muted); max-width: 560px; line-height: 1.8; }

/* ===========================
   SERVICES
   =========================== */
.services { padding: 8rem 0; background: var(--cream); }
.services__header { margin-bottom: 5rem; }
.services__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: rgba(0,0,0,0.07); border: 1px solid rgba(0,0,0,0.07);
}
.service-card { background: var(--white); padding: 3rem 2.5rem; transition: background 0.3s; }
.service-card:hover { background: var(--cream); }
.service-card__icon { font-size: 1.4rem; margin-bottom: 1.5rem; color: var(--emerald); }
.service-card__title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--ink); margin-bottom: 1rem; }
.service-card__text { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.8; }
.service-card__tag {
  display: inline-block; margin-top: 1.5rem;
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--emerald); border-bottom: 1px solid var(--emerald); padding-bottom: 2px;
}

/* ===========================
   ABOUT
   =========================== */
.about { padding: 8rem 0; background: var(--cream-2); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about__image-wrap { position: relative; }
.about__image { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; }
.about__image-frame { position: absolute; inset: -1.5rem -1.5rem 1.5rem 1.5rem; border: 1px solid rgba(27,107,90,0.25); z-index: -1; }
.about__badge {
  position: absolute; bottom: 2rem; right: -2rem;
  background: var(--emerald); color: var(--white); padding: 1.5rem; text-align: center; width: 120px;
}
.about__badge-num { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1; display: block; }
.about__badge-text { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; }

.about__content p { color: var(--ink-muted); line-height: 1.9; margin-bottom: 1.5rem; font-size: 0.97rem; }
.about__content p strong { color: var(--ink); font-weight: 500; }
.about__dr {
  margin-top: 2.5rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 1.5rem;
}
.about__dr-img {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--emerald);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.about__dr-name { font-family: var(--font-heading); font-size: 1.2rem; color: var(--ink); }
.about__dr-title { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald); margin-top: 0.2rem; }

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials { padding: 8rem 0; background: var(--emerald-dark); }
.testimonials__header { text-align: center; margin-bottom: 5rem; }
.testimonials__header .section-label { color: rgba(255,255,255,0.6); }
.testimonials__header .section-heading { color: var(--white); }
.testimonials__header .divider { background: rgba(255,255,255,0.3); margin: 1.5rem auto; }
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card {
  background: rgba(255,255,255,0.06); padding: 2.5rem;
  border-left: 2px solid var(--gold);
}
.testimonial-card__quote { font-family: var(--font-heading); font-size: 3rem; color: var(--gold); line-height: 0.5; margin-bottom: 1.5rem; opacity: 0.6; }
.testimonial-card__stars { color: var(--gold-light); font-size: 0.75rem; margin-bottom: 0.3rem; }
.testimonial-card__text { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.8; font-style: italic; margin-bottom: 2rem; }
.testimonial-card__author { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.testimonials__rating { text-align: center; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); }
.testimonials__rating-num { font-family: var(--font-heading); font-size: 4rem; color: var(--gold-light); line-height: 1; }
.testimonials__rating-label { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 0.5rem; }

/* ===========================
   CONTACT
   =========================== */
.contact { padding: 8rem 0; background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: start; }
.contact__info-item { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; align-items: flex-start; }
.contact__info-icon { font-size: 1.1rem; color: var(--emerald); margin-top: 0.2rem; flex-shrink: 0; }
.contact__info-label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--emerald); margin-bottom: 0.4rem; }
.contact__info-value { font-size: 0.95rem; color: var(--ink); line-height: 1.7; }
.contact__info-value a { color: var(--ink); transition: color 0.3s; }
.contact__info-value a:hover { color: var(--emerald); }
.contact__hours { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.08); }
.contact__hours-row { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-muted); padding: 0.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.contact__hours-row:last-child { border-bottom: none; }
.contact__map { height: 420px; overflow: hidden; border: 1px solid rgba(0,0,0,0.08); }
.contact__map iframe { width: 100%; height: 100%; border: none; filter: saturate(0.5) brightness(1.05); }
.contact__cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.contact .btn-primary { background: var(--emerald); }
.contact .btn-primary:hover { background: var(--emerald-light); }
.contact .btn-outline { border-color: rgba(0,0,0,0.2); color: var(--ink); }
.contact .btn-outline:hover { border-color: var(--emerald); color: var(--emerald); }

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--emerald-dark); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer__brand { font-family: var(--font-heading); font-size: 1.4rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.9); text-transform: uppercase; margin-bottom: 1rem; }
.footer__tagline { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.8; max-width: 280px; }
.footer__heading { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer__links a { font-size: 0.88rem; color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer__links a:hover { color: rgba(255,255,255,0.9); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 1rem; }

/* ===========================
   WHATSAPP
   =========================== */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s; color: white;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__badge { right: 1rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 50vh auto;
    min-height: unset;
  }
  .hero__image { order: -1; height: 50vh; }
  .hero__image img { height: 100%; object-position: center 30%; }
  .hero__content { padding: 3rem 5% 4rem; }
  .hero__stats { gap: 2rem; }
  .hero__stat-num { font-size: 2rem; }
}
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}
@media (max-width: 640px) {
  .hero__heading { font-size: 2.4rem; }
  .services__grid, .testimonials__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-strip__inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}
