/*
Theme Name: 1st Glimpse — Soft & Airy
Theme URI: https://1stglimpse.com
Author: 1st Glimpse Inc.
Author URI: https://1stglimpse.com
Description: A clean, elegant WordPress theme for 1st Glimpse Inc. — Brooklyn's premier 3D/4D/5D HD LIVE ultrasound studio. Soft cream and blush tones with refined serif typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
License URI: #
Text Domain: 1stglimpse
Tags: business, elegant, clean, serif, ultrasound, medical
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --cream:      #faf7f4;
  --blush:      #e8d5d0;
  --rose:       #c4877a;
  --rose-dark:  #a66458;
  --plum:       #7c5c72;
  --plum-dark:  #5e4457;
  --text:       #3a2e2b;
  --muted:      #8a7570;
  --border:     #ede8e4;
  --white:      #ffffff;
  --light:      #faf7f4;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
}

h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(22px, 3vw, 32px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; }

p { line-height: 1.8; }

em { font-style: italic; color: var(--plum); }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  display: block;
  margin-bottom: 16px;
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-pad { padding: 100px 0; }

.text-center { text-align: center; }

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--plum);
  color: var(--white);
  padding: 15px 36px;
}
.btn-primary:hover { background: var(--plum-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--plum);
  padding: 14px 34px;
  border: 1.5px solid var(--plum);
}
.btn-outline:hover { background: var(--plum); color: var(--white); }

.btn-ghost {
  color: var(--plum);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--plum);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.btn-ghost:hover { opacity: 0.65; }

.btn-rose {
  background: var(--rose);
  color: var(--white);
  padding: 15px 36px;
}
.btn-rose:hover { background: var(--rose-dark); color: var(--white); }

/* =========================================================
   DIVIDER STRIP
   ========================================================= */
.divider-strip {
  background: var(--plum);
  color: var(--white);
  text-align: center;
  padding: 18px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 32px;
  transition: box-shadow 0.25s ease;
}
.card:hover { box-shadow: 0 12px 48px rgba(58,46,43,0.07); }

/* =========================================================
   FEATURE LIST
   ========================================================= */
.feature-list { display: flex; flex-direction: column; gap: 13px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}
.feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
  flex-shrink: 0;
}

/* =========================================================
   TRUST NUMBERS
   ========================================================= */
.trust-row {
  display: flex;
  gap: 40px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.trust-item {}
.trust-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--plum);
  display: block;
  line-height: 1;
}
.trust-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  display: block;
}

/* =========================================================
   PRICING CARDS
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px 36px;
  text-align: center;
  background: var(--cream);
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.07); }
.pricing-card.featured { background: var(--plum); border-color: var(--plum); color: var(--white); }

.pricing-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  display: block;
  margin-bottom: 16px;
}
.pricing-card.featured .pricing-label { color: #e8cfc9; }

.pricing-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--text);
}
.pricing-card.featured .pricing-name { color: var(--white); }

.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  color: var(--plum);
  line-height: 1;
  margin: 24px 0 6px;
}
.pricing-card.featured .pricing-price { color: var(--white); }

.pricing-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.pricing-card.featured .pricing-note { color: rgba(255,255,255,0.5); }

.pricing-features {
  text-align: left;
  margin-bottom: 36px;
}
.pricing-features li {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.08); }
.pricing-features li::before { content: '—'; color: var(--rose); flex-shrink: 0; font-size: 12px; margin-top: 1px; }
.pricing-card.featured .pricing-features li::before { color: #e8cfc9; }

.pricing-card .btn-outline {
  display: block;
  text-align: center;
  width: 100%;
}
.pricing-card.featured .btn-outline {
  background: var(--white);
  color: var(--plum);
  border-color: var(--white);
}
.pricing-card.featured .btn-outline:hover { background: var(--blush); }

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, #e8d5d0 0%, #d4bdb5 100%);
  padding: 100px 60px;
  text-align: center;
}
.cta-section h2 { margin-bottom: 20px; }
.cta-section p {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 40px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; align-items: center; }

/* =========================================================
   GALLERY GRID
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 1;
  background: var(--blush);
  border-radius: 2px;
  overflow: hidden;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8d5d0, #d4b8b0);
  display: flex; align-items: center; justify-content: center;
  color: var(--rose-dark); opacity: 0.5;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 14px;
}

/* =========================================================
   FORMS
   ========================================================= */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--plum); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* =========================================================
   PAGE HERO (interior pages)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 100%);
  padding: 80px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =========================================================
   ACCORDION (FAQ)
   ========================================================= */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  gap: 20px;
}
.accordion-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--plum);
  transition: transform 0.2s;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
}
.accordion-body p {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* =========================================================
   RESPONSIVE (base tokens — detail handled in main.css)
   ========================================================= */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .section-pad { padding: 72px 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section-pad { padding: 56px 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-row { gap: 20px; flex-wrap: wrap; }
  .cta-actions { flex-direction: column; align-items: center; }
  .page-hero { padding: 56px 24px; }
  h1 { font-size: clamp(32px, 9vw, 56px); }
  h2 { font-size: clamp(26px, 7vw, 44px); }
  h3 { font-size: clamp(20px, 5vw, 28px); }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 48px 0; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 28px; margin-top: 28px; }
  .btn { padding: 13px 22px; }
  .btn-primary, .btn-rose, .btn-outline { padding: 15px 28px; }
  .gallery-grid { gap: 6px; }
}

@media (max-width: 360px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .btn { font-size: 11px; letter-spacing: 0.1em; }
}
