/* ============================================================
   安馨寶貝 · ANXIN CARE — Global Stylesheet
   Brand: Deep Forest Green · Warm Ivory · Champagne Gold
   Fonts: Noto Serif TC (display) · Noto Sans TC (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;400;500&family=Noto+Sans+TC:wght@300;400;500&display=swap');

:root {
  --ivory:    #F8F4EE;
  --linen:    #EDE6DA;
  --linen-mid:#C8BCA8;
  --blush:    #F5EDE2;
  --sage:     #3D5248;
  --forest:   #2A3930;
  --ink:      #1C2420;
  --gold:     #C4A96A;
  --gold-lt:  #E8D9B8;
  --mist:     #8A9490;

  --serif: 'Noto Serif TC', Georgia, serif;
  --sans:  'Noto Sans TC', sans-serif;

  --radius: 4px;
  --transition: 0.22s ease;

  --section-pad: 72px 40px;
  --section-pad-sm: 48px 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 10px; font-weight: 300;
  letter-spacing: 0.22em; color: var(--gold);
  margin-bottom: 12px; display: block;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.25; }
h1 { font-size: clamp(28px, 5vw, 42px); }
h2 { font-size: clamp(22px, 4vw, 32px); }
h3 { font-size: clamp(16px, 2.5vw, 22px); }
p  { font-weight: 300; line-height: 2; }

/* ── NAV ── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: var(--ivory);
  border-bottom: 0.5px solid var(--linen);
  position: sticky; top: 0; z-index: 100;
}
.nav-logo-name {
  font-family: var(--serif); font-size: 28px; font-weight: 700;
  color: var(--ink); letter-spacing: 0.1em; line-height: 1;
}
.nav-logo-sub {
  font-size: 11px; font-weight: 300; color: var(--sage);
  letter-spacing: 0.16em; margin-top: 4px;
}
.nav-links {
  display: flex; gap: 28px; list-style: none;
}
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--forest); transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--ivory); background: var(--forest);
  border: 0.5px solid var(--forest);
  padding: 9px 18px; border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav-cta:hover { background: var(--sage); }

/* hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--forest); border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: var(--ivory); border-bottom: 0.5px solid var(--linen);
  padding: 0 20px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 14px; font-weight: 400; letter-spacing: 0.06em;
  color: var(--forest); padding: 14px 0;
  border-bottom: 0.5px solid var(--linen);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu .nav-cta-mobile {
  font-size: 13px; font-weight: 500; color: var(--gold);
  margin-top: 4px; padding: 14px 0;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 48px 40px 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px; padding-bottom: 32px;
  border-bottom: 0.5px solid #2E3A34;
}
.footer-brand-name {
  font-family: var(--serif); font-size: 20px; font-weight: 300;
  color: #E8E0D4; letter-spacing: 0.12em; margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 10px; color: #4A5E54; letter-spacing: 0.16em; margin-bottom: 14px;
}
.footer-tagline { font-size: 12px; font-weight: 300; color: #4A5E54; line-height: 2; }
.footer-col-title {
  font-size: 9px; font-weight: 400; letter-spacing: 0.2em;
  color: #4A5E54; margin-bottom: 14px; text-transform: uppercase;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px; font-weight: 300; color: #6A7A72;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; flex-wrap: wrap; gap: 8px;
}
.footer-copy, .footer-reg { font-size: 11px; color: #2E3A34; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--forest);
  font-size: 12px; font-weight: 400; letter-spacing: 0.14em;
  padding: 13px 28px; border: none; border-radius: var(--radius);
  cursor: pointer; font-family: var(--sans);
  transition: opacity var(--transition);
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost {
  display: inline-block;
  background: transparent; color: var(--forest);
  font-size: 12px; font-weight: 400; letter-spacing: 0.12em;
  padding: 13px 28px;
  border: 0.5px solid var(--forest); border-radius: var(--radius);
  cursor: pointer; font-family: var(--sans);
  transition: background var(--transition), color var(--transition);
}
.btn-ghost:hover { background: var(--forest); color: var(--ivory); }
.btn-ghost-light {
  display: inline-block;
  background: transparent; color: #A8B5AE;
  font-size: 12px; font-weight: 300; letter-spacing: 0.12em;
  padding: 13px 28px;
  border: 0.5px solid rgba(196,169,106,0.35); border-radius: var(--radius);
  cursor: pointer; font-family: var(--sans);
  transition: border-color var(--transition), color var(--transition);
}
.btn-ghost-light:hover { color: var(--gold-lt); border-color: var(--gold); }

/* ── FORM ── */
.form-panel { background: var(--forest); border-radius: var(--radius); padding: 32px; }
.form-label-sm {
  font-size: 9px; letter-spacing: 0.2em; color: #4A5E54; margin-bottom: 16px;
  text-transform: uppercase; display: block;
}
.form-row { margin-bottom: 14px; }
.form-row-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.form-lbl {
  font-size: 11px; font-weight: 300; letter-spacing: 0.12em;
  color: #7A9086; display: block; margin-bottom: 5px;
}
.form-fld {
  width: 100%;
  background: rgba(248,244,238,0.06);
  border: 0.5px solid rgba(196,169,106,0.25);
  border-radius: var(--radius);
  padding: 10px 14px; font-size: 13px; color: #E8E0D4;
  font-family: var(--sans);
  transition: border-color var(--transition);
}
.form-fld:focus { outline: none; border-color: rgba(196,169,106,0.6); }
.form-fld::placeholder { color: #4A5E54; }
.form-textarea {
  width: 100%; resize: none; height: 90px;
  background: rgba(248,244,238,0.06);
  border: 0.5px solid rgba(196,169,106,0.25);
  border-radius: var(--radius);
  padding: 10px 14px; font-size: 13px; color: #E8E0D4;
  font-family: var(--sans);
}
.form-textarea::placeholder { color: #4A5E54; }
.form-submit {
  width: 100%; background: var(--gold); color: var(--forest);
  border: none; padding: 13px; font-size: 12px; font-weight: 400;
  letter-spacing: 0.14em; border-radius: var(--radius);
  cursor: pointer; font-family: var(--sans); margin-top: 4px;
  transition: opacity var(--transition);
}
.form-submit:hover { opacity: 0.88; }
.form-note {
  font-size: 11px; color: #4A5E54; text-align: center; margin-top: 10px; line-height: 1.7;
}

/* ── PROOF STRIP ── */
.proof-strip {
  background: var(--linen); border-bottom: 0.5px solid #DDD4C4;
  display: flex;
}
.proof-item {
  flex: 1; padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
  border-right: 0.5px solid #DDD4C4;
}
.proof-item:last-child { border-right: none; }
.proof-icon { font-size: 17px; color: var(--gold); flex-shrink: 0; }
.proof-strong { font-size: 12px; font-weight: 500; color: var(--forest); display: block; margin-bottom: 2px; }
.proof-span   { font-size: 11px; color: var(--mist); }

/* ── PRESS STRIP ── */
.press-strip {
  display: flex; align-items: center; gap: 36px; padding: 32px 40px;
  background: var(--linen);
  border-top: 0.5px solid #DDD4C4; border-bottom: 0.5px solid #DDD4C4;
}
.press-label-txt { font-size: 9px; font-weight: 300; letter-spacing: 0.2em; color: var(--mist); white-space: nowrap; }
.press-divider   { width: 1px; height: 22px; background: var(--linen-mid); }
.press-logos     { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.press-logo-item { font-family: var(--serif); font-size: 14px; font-weight: 300; color: #8A7C6A; letter-spacing: 0.06em; }

/* ── TESTIMONIAL CARDS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.testi-card {
  background: rgba(248,244,238,0.06);
  border: 0.5px solid rgba(196,169,106,0.2);
  border-radius: var(--radius); padding: 24px;
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 12px; color: var(--gold); font-size: 13px; }
.testi-quote { font-family: var(--serif); font-size: 13px; font-weight: 300; color: #D4C9B8; line-height: 2; }
.testi-attr  { padding-top: 14px; margin-top: 14px; border-top: 0.5px solid rgba(196,169,106,0.15); }
.testi-name  { font-size: 12px; font-weight: 500; color: #A8B5AE; margin-bottom: 2px; }
.testi-meta  { font-size: 11px; font-weight: 300; color: #5A7468; }

/* ── PROCESS STEPS ── */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 40px; }
.process-step  { padding: 0 20px; position: relative; }
.process-step:not(:last-child)::after {
  content:''; position: absolute; top: 18px; right: 0;
  width: 1px; height: 36px; background: var(--linen);
}
.process-num   { font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--gold); margin-bottom: 12px; line-height: 1; }
.process-title { font-size: 13px; font-weight: 500; color: var(--forest); margin-bottom: 6px; }
.process-desc  { font-size: 12px; font-weight: 300; color: var(--mist); line-height: 1.9; }

/* ── SECTION UTILITIES ── */
.section       { padding: var(--section-pad); }
.section-alt   { padding: var(--section-pad); background: var(--blush); }
.section-dark  { padding: var(--section-pad); background: var(--forest); }
.section-linen { padding: var(--section-pad); background: var(--linen); }
.section-sub   { font-size: 13px; font-weight: 300; color: var(--mist); line-height: 2; max-width: 520px; margin-bottom: 36px; }
.section-sub-light { color: #8A9E96; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col-center { align-items: center; }

/* ── HERO SVG IMAGES ── */
.hero-img-wrap { position: relative; overflow: hidden; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(16px); }
  to   { opacity:1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.2s ease both; }
.fade-up-4 { animation: fadeUp 0.6s 0.3s ease both; }

/* ============================================================
   RESPONSIVE — Mobile First Breakpoints
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 48px 24px; }

  /* NAV */
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }

  /* LAYOUTS */
  .two-col            { grid-template-columns: 1fr; gap: 32px; }
  .two-col-reverse    { direction: ltr; }
  .testi-grid         { grid-template-columns: 1fr; }
  .process-steps      { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-step::after { display: none !important; }
  .proof-strip        { flex-wrap: wrap; }
  .proof-item         { flex: 1 1 45%; border-right: none; border-bottom: 0.5px solid #DDD4C4; }
  .press-strip        { flex-wrap: wrap; gap: 16px; padding: 24px 20px; }
  .footer-grid        { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom      { flex-direction: column; align-items: flex-start; }
  .form-row-pair      { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --section-pad: 36px 16px; }
  .nav { padding: 14px 16px; }
  .nav-logo-name { font-size: 22px; }
  .process-steps { grid-template-columns: 1fr; }
  .proof-item    { flex: 1 1 100%; }
  footer { padding: 36px 16px 20px; }
}
</style>
