/* Starhaven Family Child Care: shared styles (one site for desktop and phone) */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
a { color: #17594A; }
a:hover { color: #0F3F34; }
a:focus-visible, button:focus-visible { outline: 3px solid #1F2D3D; outline-offset: 3px; }

.btn { text-decoration: none; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.card { transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); }

/* ------------------------------------------------------------------
   PHOTO FRAMING (Meet Shughla page)
   Change these three numbers to zoom and move her photo:
   --zoom : 1 = fits the frame, 1.3 = zoomed in 30%, up to about 3
   --x    : 0% = show the left side, 50% = centered, 100% = right side
   --y    : 0% = show the top, 50% = middle, 100% = bottom
   ------------------------------------------------------------------ */
.portrait {
  --zoom: 1.25;
  --x: 51%;
  --y: 23%;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px 28px 28px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 16px 40px rgba(31, 45, 61, 0.18);
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--x) var(--y);
  transform: scale(var(--zoom));
  transform-origin: var(--x) var(--y);
}

/* Header */
.site-header { position: relative; padding: 20px 32px; font-family: 'Figtree', system-ui, sans-serif; }
.header-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: #1F2D3D; min-height: 48px; }
.brand-name { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 500; font-size: 17px; }
.nav a { text-decoration: none; color: #1F2D3D; }
.nav a:hover { color: #17594A; text-decoration: underline; }
.nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; }
.nav a.nav-cta { background: #17594A; color: #FFFFFF; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.nav a.nav-cta:hover { color: #FFFFFF; text-decoration: none; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #1F2D3D; background: transparent; align-items: center; justify-content: center; cursor: pointer; padding: 0; }

/* Phones */
@media (max-width: 700px) {
  .site-header { padding: 14px 20px; }
  .header-inner { flex-wrap: nowrap; }
  .brand-name { font-size: 18px; line-height: 1.1; }
  .brand svg { width: 34px; height: 34px; }
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; top: 72px; left: 12px; right: 12px; z-index: 10; background: #FFFFFF; border-radius: 24px; padding: 12px; box-shadow: 0 12px 32px rgba(31, 45, 61, 0.18); flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 16px; font-weight: 600; }
  .nav a[aria-current="page"] { background: #FBE3A1; text-decoration: none; }
  .nav a.nav-cta { justify-content: center; padding: 0 16px; border-radius: 999px; }

  .page > section, .page > footer { padding-left: 20px !important; padding-right: 20px !important; }
  .page > section { padding-top: 64px !important; padding-bottom: 64px !important; }
  .page > section:first-of-type { padding-top: 28px !important; }
  body { font-size: 17px; }
  h1 { font-size: 42px !important; }
  h2 { font-size: 32px !important; }
  article { padding: 28px !important; border-radius: 24px !important; }
  .hero-cta { flex-direction: column; align-items: stretch !important; align-self: stretch; width: 100%; }
  .hero-cta a { display: flex !important; align-items: center; justify-content: center; min-height: 56px; padding-top: 0 !important; padding-bottom: 0 !important; }
  .contact-actions { align-items: stretch !important; }
  .contact-actions a { display: flex !important; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 12px 20px !important; font-size: 17px !important; word-break: break-word; }
}
