/* ============================================
   ADDC — Adinda Dirgantari Dental Care
   Design tokens (v2 — bold/modern motion)
   ============================================ */

:root {
  --porcelain: #FBF7F2;
  --ink: #1F2E2B;
  --terracotta: #C97B5E;
  --terracotta-dark: #B3654A;
  --sage: #7A9B8E;
  --sand: #E8DDD0;
  --sand-light: #F2EAE0;
  --sand-soft: #F0E3D4;
  --white: #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-xxl: 8rem;

  --radius: 18px;
  --radius-lg: 24px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 6vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

img { max-width: 100%; display: block; }

/* ============================================
   Word-by-word headline reveal
   ============================================ */

.word-reveal { display: block; }
.word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  will-change: transform, opacity;
  animation: wordIn 0.5s cubic-bezier(.2,.8,.2,1) forwards;
  margin-right: 0.26em;
}
@keyframes wordIn { to { opacity: 1; transform: translate3d(0, 0, 0); } }

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.7s ease forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Scroll-triggered reveal — class added by IntersectionObserver in script.js */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > * {
  transition-delay: calc(var(--stagger-i, 0) * 0.08s);
}

/* ============================================
   Floating background blobs
   ============================================ */

.blob-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  background: var(--sand);
  opacity: 0.55;
  animation: floatBlob 9s ease-in-out infinite;
}

.blob.b2 { background: var(--sand-soft); animation-delay: 2.2s; }
.blob.b3 { background: var(--sand-light); animation-delay: 4s; }

@keyframes floatBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-18px, 22px) scale(1.05); }
}

@media (max-width: 700px) {
  .blob { opacity: 0.35; animation: none; }
}

/* ============================================
   Header / Nav
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 0;
}
.brand span { color: var(--terracotta); }

.brand-logo {
  height: auto;
  width: auto;
  max-height: 26px;
  max-width: 165px;
  display: block;
  vertical-align: middle;
}

@media (max-width: 420px) {
  .brand-logo { max-height: 22px; max-width: 130px; }
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a.active { color: var(--terracotta-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 760px) {
  .nav-row { flex-wrap: wrap; padding: 0.7rem 0; min-height: 48px; }
  .nav-row > nav { display: contents; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--porcelain);
    flex-direction: column;
    padding: var(--space-sm) 1.25rem var(--space-md);
    border-bottom: 1px solid var(--sand);
    display: none;
    gap: var(--space-sm);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease, background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 18px -6px rgba(201, 123, 94, 0.55);
}
.btn-primary:hover, .btn-primary:active {
  background: var(--terracotta-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 24px -8px rgba(201, 123, 94, 0.65);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover, .btn-outline:active {
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
  transform: translateY(-2px) scale(1.03);
  background: var(--white);
}

@media (max-width: 600px) {
  .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-lg);
  overflow: hidden;
}

@media (max-width: 700px) {
  .hero { padding: var(--space-lg) 0 var(--space-md); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

.hero-copy h1 { margin-top: var(--space-sm); }

.hero-sub {
  margin-top: var(--space-md);
  font-size: 1.05rem;
  color: #44524E;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1s;
}

.hero-actions {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1.25s;
}

.hero-photo {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--sand);
  transform: rotate(2deg);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 24px 48px -20px rgba(31,46,43,0.3);
}

.hero-photo:hover, .hero-photo:active { transform: rotate(0deg) scale(1.015); }

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-photo:hover img, .hero-photo:active img { transform: scale(1.06); }

.hero-photo-tag {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  background: var(--terracotta);
  color: var(--white);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  animation: pulseTag 2.6s ease-in-out infinite;
}

@keyframes pulseTag { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

@media (max-width: 700px) {
  .hero-photo { transform: none; max-width: 320px; margin: 0 auto; }
  .hero-photo:hover, .hero-photo:active { transform: scale(1.01); }
  .hero-photo-tag { animation: none; }
}

.hero-photo-static {
  transform: none;
}

.hero-photo-static:hover, .hero-photo-static:active {
  transform: scale(1.015);
}

/* ============================================
   Smile-arc signature element
   ============================================ */

.smile-divider {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: var(--space-lg) 0;
}

.smile-divider svg {
  width: 120px;
  height: 40px;
  cursor: pointer;
}

.smile-divider svg path {
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.smile-divider svg:hover path,
.smile-divider svg:active path {
  stroke: var(--terracotta-dark);
  stroke-width: 7;
}

.smile-underline {
  position: relative;
  display: inline-block;
}

.smile-underline::after {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -0.32em;
  height: 0.38em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30'%3E%3Cpath d='M5 8 Q100 32 195 8' stroke='%23C97B5E' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* ============================================
   Sections / cards
   ============================================ */

.section {
  position: relative;
  padding: var(--space-xl) 0;
}

@media (max-width: 700px) {
  .section { padding: var(--space-lg) 0; }
}

.section-head { max-width: 620px; margin-bottom: var(--space-lg); }
.section-head h2 { margin-top: var(--space-xs); }

.card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease;
}

.card h3 { margin-bottom: 0.6rem; }
.card p { color: #4B5955; font-size: 0.96rem; }

.hub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.hub-card:hover, .hub-card:active {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -16px rgba(31, 46, 43, 0.28);
}

.hub-card .eyebrow { margin-bottom: 0.4rem; }

.hub-card-link {
  font-weight: 600;
  color: var(--terracotta-dark);
  font-size: 0.92rem;
  margin-top: var(--space-sm);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonial-card {
  background: var(--sand-light);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-3px); }

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-meta { font-size: 0.82rem; color: var(--sage); }

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: var(--space-sm);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--terracotta);
}

/* ============================================
   Pricing table
   ============================================ */

.price-table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand);
}

.price-table th {
  text-align: left;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sage);
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--sand);
}

.price-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--sand-light);
  font-size: 0.95rem;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr { transition: background 0.2s ease; }
.price-table tr:hover { background: var(--sand-light); }

.price-table td.price {
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-display);
}

@media (max-width: 600px) {
  .price-table td, .price-table th { padding: 0.85rem 0.9rem; font-size: 0.88rem; }
}

.price-group-label {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  margin: var(--space-lg) 0 var(--space-sm);
}
.price-group-label:first-of-type { margin-top: 0; }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--ink);
  color: var(--porcelain);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

.footer-brand {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.footer-brand-logo {
  height: auto;
  width: auto;
  max-height: 28px;
  max-width: 180px;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-grid p, .footer-grid a { color: #C9D3CF; font-size: 0.92rem; }
.footer-grid a { transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--terracotta); }

.footer-grid h4 {
  color: var(--porcelain);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-bottom {
  border-top: 1px solid #34423F;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  font-size: 0.8rem;
  color: #8FA09B;
  text-align: center;
}

.footer-credit {
  margin-top: 0.4rem;
  font-size: 0.74rem;
  color: #5F6F6B;
}

.footer-credit a {
  color: #5F6F6B;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: var(--terracotta);
}

/* ============================================
   Floating WhatsApp CTA
   ============================================ */

.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px -8px rgba(201, 123, 94, 0.6);
  animation: pulseTag 3s ease-in-out infinite;
  transition: transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover, .wa-float:active { transform: translateY(-2px) scale(1.04); }
.wa-float svg { width: 19px; height: 19px; flex-shrink: 0; }

@media (max-width: 500px) {
  .wa-float span.wa-label { display: none; }
  .wa-float { padding: 0.8rem; bottom: 1rem; right: 1rem; animation: none; }
}

/* ============================================
   Page hero (subpages)
   ============================================ */

.page-hero {
  position: relative;
  padding: var(--space-lg) 0 var(--space-md);
  overflow: hidden;
}

.page-hero .eyebrow { margin-bottom: var(--space-xs); }

.page-hero p.lead {
  position: relative;
  z-index: 1;
  margin-top: var(--space-sm);
  font-size: 1.02rem;
  color: #44524E;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.9s;
}

/* ============================================
   Promo gallery
   ============================================ */

.promo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 700px) {
  .promo-grid { grid-template-columns: 1fr; }
}

.promo-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -16px rgba(31,46,43,0.25); }

.promo-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--sand);
  cursor: pointer;
  transition: transform 0.4s ease;
}
.promo-card:hover img { transform: scale(1.04); }

.promo-card-body { padding: var(--space-sm) var(--space-md) var(--space-md); }
.promo-card-body .eyebrow { margin-bottom: 0.3rem; }

.promo-empty {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  color: var(--sage);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* ============================================
   Promo image lightbox (fullscreen viewer)
   ============================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 24, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.5);
  cursor: zoom-out;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 101;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--porcelain);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover, .lightbox-close:active {
  background: rgba(255,255,255,0.22);
  transform: scale(1.06);
}

@media (max-width: 500px) {
  .lightbox { padding: var(--space-sm); }
  .lightbox-close { width: 40px; height: 40px; font-size: 1.4rem; }
}

/* ============================================
   Map embed
   ============================================ */

.map-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand);
}

.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

.video-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand);
  background: var(--ink);
}

.video-frame video {
  width: 100%;
  max-height: 480px;
  display: block;
}

/* ============================================
   Google review QR card (location page)
   ============================================ */

.review-qr-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

.review-qr-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, border-color 0.2s ease;
}

.review-qr-card-link:hover, .review-qr-card-link:active {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -18px rgba(31, 46, 43, 0.28);
  border-color: var(--terracotta);
}

.review-qr-stars {
  margin-bottom: var(--space-sm);
}

.review-qr-stars svg {
  width: 20px;
  height: 20px;
  color: var(--terracotta);
}

.review-qr-card h3 { margin-bottom: var(--space-sm); }

.review-qr-card p {
  color: #44524E;
  font-size: 0.95rem;
}

.review-qr-code {
  margin-top: var(--space-lg);
  width: 140px;
  height: 140px;
  align-self: center;
  border-radius: 12px;
  border: 1px solid var(--sand);
  padding: var(--space-sm);
  background: var(--white);
  image-rendering: pixelated;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}

.review-qr-card-link:hover .review-qr-code, .review-qr-card-link:active .review-qr-code {
  transform: scale(1.04);
}

.review-qr-cta {
  align-self: center;
  margin-top: var(--space-md);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--terracotta-dark);
  transition: transform 0.25s ease;
}

.review-qr-card-link:hover .review-qr-cta, .review-qr-card-link:active .review-qr-cta {
  transform: translateX(4px);
}

@media (max-width: 860px) {
  .review-qr-card { padding: var(--space-md); }
}

/* ============================================
   Featured creator/UGC review (portrait video)
   ============================================ */

.video-review {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (max-width: 760px) {
  .video-review { grid-template-columns: 1fr; }
}

.video-review-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand);
  background: var(--ink);
  aspect-ratio: 9/16;
  box-shadow: 0 24px 48px -24px rgba(31,46,43,0.3);
}

.video-review-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sand-light);
  color: var(--terracotta-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

.info-row {
  display: flex;
  gap: var(--space-sm);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--sand);
  flex-wrap: wrap;
}

.credentials-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 24px 48px -28px rgba(31,46,43,0.18);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.credentials-card > div:first-of-type {
  flex: 1;
}

@media (max-width: 860px) {
  .credentials-card { padding: var(--space-md); }
}
.info-row:last-child { border-bottom: none; }

.info-label { font-weight: 600; min-width: 100px; font-size: 0.9rem; flex-shrink: 0; }
.info-value { font-size: 0.9rem; color: #44524E; flex: 1; min-width: 0; }

.info-row-stacked {
  flex-direction: column;
  gap: 0.4rem;
}

.info-row-stacked .info-value {
  line-height: 1.6;
}

@media (max-width: 420px) {
  h1 { font-size: 1.9rem; }
  .container { padding: 0 1rem; }
}

/* ============================================
   Contact widget (Instagram / WhatsApp cards)
   ============================================ */

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.contact-grid-solo {
  grid-template-columns: 1fr;
  max-width: 420px;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, border-color 0.2s ease;
  overflow: hidden;
}

.contact-card:hover, .contact-card:active {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -16px rgba(31, 46, 43, 0.25);
}

.contact-card .contact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}

.contact-card:hover .contact-icon, .contact-card:active .contact-icon {
  transform: scale(1.08) rotate(-4deg);
}

.contact-ig .contact-icon {
  background: linear-gradient(135deg, #F0997B 0%, #D4537E 50%, #7F77DD 100%);
  color: var(--white);
}

.contact-ig:hover, .contact-ig:active { border-color: #D4537E; }

.contact-wa .contact-icon {
  background: var(--sage);
  color: var(--white);
}

.contact-wa:hover, .contact-wa:active { border-color: var(--sage); }

.contact-body { flex: 1; min-width: 0; }
.contact-body .eyebrow { margin-bottom: 0.25rem; }
.contact-body h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.contact-body p { font-size: 0.9rem; color: #4B5955; }

.contact-card .contact-arrow {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 1.1rem;
  color: var(--terracotta);
  font-weight: 600;
  transition: transform 0.25s ease;
}

.contact-card:hover .contact-arrow, .contact-card:active .contact-arrow {
  transform: translateX(4px);
}

@media (max-width: 460px) {
  .contact-card { flex-direction: column; }
  .contact-card .contact-arrow { position: static; margin-top: 0.5rem; align-self: flex-end; }
}

/* ============================================
   Before / After gallery
   ============================================ */

.ba-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.ba-grid .ba-card {
  flex: 1 1 320px;
  max-width: 380px;
}

@media (max-width: 760px) {
  .ba-grid .ba-card { flex: 1 1 100%; max-width: 100%; }
}

.ba-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ba-card:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -16px rgba(31,46,43,0.25); }

.ba-card-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-card-img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--sand);
}

.ba-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.ba-card:hover .ba-card-img img { transform: scale(1.04); }

.ba-card-img-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(31, 46, 43, 0.72);
  color: var(--porcelain);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  pointer-events: none;
}

.ba-card-images > div:first-child .ba-card-img-tag { background: rgba(122, 155, 142, 0.85); }
.ba-card-images > div:last-child .ba-card-img-tag { background: var(--terracotta); }

.ba-card-body { padding: var(--space-sm) var(--space-md) var(--space-md); }
.ba-card-body h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.ba-card-body p { font-size: 0.88rem; color: #5C6A66; }

.ba-empty {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--sand-light);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--sand);
}

.ba-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: 16px;
  background: var(--white);
  color: var(--terracotta-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-empty h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.ba-empty p {
  color: var(--sage);
  font-size: 0.94rem;
  max-width: 420px;
  margin: 0 auto;
}


.services-flat-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.services-flat-grid .service-card {
  flex: 1 1 280px;
  max-width: 320px;
}

@media (max-width: 700px) {
  .services-flat-grid .service-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, border-color 0.2s ease;
}

.service-card:hover, .service-card:active {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -18px rgba(31, 46, 43, 0.25);
  border-color: var(--terracotta);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  background: var(--sand-light);
  color: var(--terracotta-dark);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}

.service-card:hover .service-icon, .service-card:active .service-icon {
  transform: scale(1.08) rotate(-4deg);
}

.service-icon svg { width: 24px; height: 24px; }

.service-card h3 { margin-bottom: 0.6rem; }

.service-summary {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink);
}

.service-description {
  margin-top: var(--space-sm);
  font-size: 0.88rem;
  color: #5C6A66;
  line-height: 1.6;
}

.service-category {
  margin-bottom: var(--space-lg);
}
.service-category:last-of-type { margin-bottom: 0; }

.service-category-head {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--sand);
}

.service-category-head h2 { font-size: 1.4rem; }
.service-category-head p {
  margin-top: 0.3rem;
  color: var(--sage);
  font-size: 0.92rem;
}

/* ============================================
   Smile CTA band (services page closer)
   ============================================ */

.smile-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--ink);
  color: var(--porcelain);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  overflow: hidden;
}

.smile-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60'%3E%3Cpath d='M10 16 Q200 64 390 16' stroke='%23C97B5E' stroke-width='10' fill='none' stroke-linecap='round' opacity='0.18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 140% auto;
  pointer-events: none;
}

.smile-cta h2 { color: var(--porcelain); position: relative; z-index: 1; }

.smile-cta p {
  position: relative;
  z-index: 1;
  color: #C9D3CF;
  max-width: 460px;
  margin: var(--space-sm) auto 0;
  font-size: 0.98rem;
}

.smile-cta .btn-primary { position: relative; z-index: 1; margin-top: var(--space-lg); }



.testimonial-redirect {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
}

.testimonial-redirect-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  border-radius: 18px;
  background: linear-gradient(135deg, #F0997B 0%, #D4537E 50%, #7F77DD 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-redirect h2 { margin-bottom: var(--space-sm); }

.testimonial-redirect p {
  color: #44524E;
  font-size: 0.98rem;
  max-width: 440px;
  margin: 0 auto;
}

.testimonial-redirect-actions {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .testimonial-redirect { padding: var(--space-lg) var(--space-md); }
}
