/* ============================================================
   YOUR STUDIO — AI Influencer Studio
   Luxury fashion-tech: warm ivory, charcoal, muted bronze.
   Serif display (Cormorant Garamond) + sans body (Inter).
   Mirrors the Next.js version's globals.css.
   ============================================================ */
:root {
  --ivory: #faf6ef;
  --ivory-2: #f3ecdf;
  --charcoal: #1c1a17;
  --charcoal-2: #2a2723;
  --bronze: #a07d4f;
  --bronze-dark: #85653d;
  --muted: #6f675c;
  --line: #e3d9c8;
  --white: #fffdf9;
  --error: #9c2b2b;
  --success: #2e6b34;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--charcoal); color: var(--ivory); padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--alt { background: var(--ivory-2); }
.section--dark { background: var(--charcoal); color: var(--ivory); }

.eyebrow {
  letter-spacing: 0.28em; text-transform: uppercase; font-size: 0.72rem;
  color: var(--bronze); font-weight: 600; margin-bottom: 1rem;
}
.eyebrow--center { text-align: center; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
.section h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.heading--center { text-align: center; }
.lede { color: var(--muted); max-width: 620px; font-size: 1.05rem; }
.lede--center { margin: 0 auto; text-align: center; }
.section--dark .lede { color: #cfc6b4; }
.entry-content p { color: var(--muted); margin-bottom: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.9rem 2rem; border-radius: 999px;
  font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; font-weight: 600; transition: all 0.25s ease;
  border: 1px solid var(--charcoal); cursor: pointer; background: transparent;
  font-family: var(--sans); color: var(--charcoal);
}
.btn--dark { background: var(--charcoal); color: var(--ivory); }
.btn--dark:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); }
.btn--ghost { background: transparent; color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.btn--light:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .header { top: 32px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; }
.logo { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.14em; text-decoration: none; font-weight: 600; }
.logo span { color: var(--bronze); }
.nav { display: flex; gap: 2.2rem; list-style: none; }
.nav a { text-decoration: none; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.nav a:hover { color: var(--bronze-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--charcoal); }

/* ---------- Hero ---------- */
.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem); text-align: center; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); max-width: 900px; margin: 0 auto 1.4rem; }
.hero h1 em { color: var(--bronze); font-style: italic; }
.hero > .container > p:not(.eyebrow):not(.hero__note) { color: var(--muted); max-width: 640px; margin: 0 auto 2.4rem; font-size: 1.12rem; }
.hero .eyebrow { max-width: 640px; margin-inline: auto; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__img { margin-top: clamp(2.5rem, 6vw, 4.5rem); border-radius: 6px; overflow: hidden; }
.hero__img img { width: 100%; height: clamp(280px, 55vw, 560px); object-fit: cover; }
.hero > .container > p.hero__note { font-size: 0.8rem; margin: 0.8rem auto 0; letter-spacing: 0.05em; }

/* ---------- Portfolio ---------- */
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 2.2rem 0 2.6rem; }
.filter-btn {
  padding: 0.55rem 1.3rem; border-radius: 999px; border: 1px solid var(--charcoal);
  background: transparent; font-family: var(--sans); font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: all 0.2s; color: var(--charcoal);
}
.filter-btn:hover, .filter-btn[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card.is-hidden { display: none; }
.card img { width: 100%; height: 320px; object-fit: cover; }
.card__body { padding: 1.3rem 1.4rem 1.5rem; }
.card__tag {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bronze-dark); border: 1px solid var(--bronze); border-radius: 999px; padding: 0.2rem 0.7rem; margin-bottom: 0.7rem;
}
.card h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.concept-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.9rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; margin-top: 2.6rem; }
.service { border-top: 2px solid var(--bronze); padding-top: 1.4rem; }
.service h3 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.service p { color: #cfc6b4; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem; max-width: 1020px; margin: 2.6rem auto 0; }
.ba__title { font-size: 1.35rem; text-align: center; margin-bottom: 0.9rem; }
.ba__frame { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--charcoal-2); }
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__overlay { position: absolute; inset: 0; z-index: 2; }
.ba__label {
  position: absolute; top: 1rem; z-index: 3; background: rgba(28,26,23,0.78); color: var(--ivory);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 999px;
}
.ba__label--before { left: 1rem; } .ba__label--after { right: 1rem; }
.ba__range { width: 100%; margin-top: 1.2rem; accent-color: var(--bronze); }
.ba__caption { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 1.6rem; }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 2.6rem; }
.pkg { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 2rem 1.7rem; }
.pkg h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.pkg__desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.8rem; }
.pkg ul { list-style: none; }
.pkg li { position: relative; padding: 0.5rem 0 0.5rem 1.3rem; font-size: 0.95rem; border-top: 1px solid var(--line); }
.pkg li::before { content: "—"; position: absolute; left: 0; color: var(--bronze); }
.packages__note { text-align: center; color: var(--muted); max-width: 640px; margin: 1.9rem auto 0; }
.packages__cta { text-align: center; margin-top: 1.4rem; }

/* ---------- Free Sample ---------- */
.sample-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; max-width: 920px; margin: 2.8rem auto 0; }
.sample-step__num { font-family: var(--serif); font-size: 2.2rem; color: var(--bronze); line-height: 1; }
.sample-step h3 { font-size: 1.35rem; margin: 0.7rem 0 0.4rem; }
.sample-step p { color: #cfc6b4; font-size: 0.94rem; }
.sample__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.6rem; }
.btn--outline-light { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn--outline-light:hover { background: var(--ivory); color: var(--charcoal); }
.sample__note { text-align: center; color: #cfc6b4; font-size: 0.85rem; letter-spacing: 0.05em; margin-top: 1.3rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 2.4rem auto 0; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 0.9rem; }
.faq__item summary { cursor: pointer; font-family: var(--serif); font-size: 1.3rem; padding: 1.05rem 1.4rem; }
.faq__item p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: 0.96rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; margin-top: 2.6rem; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1.8rem 1.5rem; }
.step__num { font-family: var(--serif); font-size: 2.4rem; color: var(--bronze); line-height: 1; }
.step h3 { font-size: 1.35rem; margin: 0.8rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about img { border-radius: 6px; width: 100%; height: 480px; object-fit: cover; }
.about h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.about p { color: var(--muted); margin-bottom: 1rem; }
.about .btn { margin-top: 0.6rem; }

/* ---------- Form ---------- */
.form-wrap { max-width: 760px; margin: 2.4rem auto 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.6rem, 4vw, 2.8rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: 0.8rem 0.9rem;
  border: 1px solid var(--line); border-radius: 4px; background: var(--ivory); color: var(--charcoal); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-status { padding: 1rem 1.2rem; border-radius: 4px; margin-bottom: 1.3rem; font-size: 0.95rem; }
.form-status[hidden] { display: none; }
.form-status--error { background: #f7e6e6; color: var(--error); border: 1px solid var(--error); }
.form-status--success { background: #e6f2e7; color: var(--success); border: 1px solid var(--success); }
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 1rem; }
.form .btn { margin-top: 1.5rem; width: 100%; }
.form .btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Footer / WhatsApp ---------- */
.footer { background: var(--charcoal); color: var(--ivory); padding: 3.5rem 0 2rem; }
.footer__grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.footer__brand { font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0.14em; }
.footer__brand span { color: var(--bronze); }
.footer__desc { color: #cfc6b4; max-width: 340px; margin-top: 0.6rem; }
.footer__heading { letter-spacing: 0.2em; font-size: 0.75rem; text-transform: uppercase; margin-bottom: 0.8rem; }
.footer__location { color: #cfc6b4; margin-top: 0.4rem; }
.footer__menu { list-style: none; }
.footer__menu li { margin-bottom: 0.3rem; }
.footer a { color: #cfc6b4; text-decoration: none; } .footer a:hover { color: var(--ivory); }
.footer__small { border-top: 1px solid #3a362f; padding-top: 1.4rem; color: #9a917f; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
.whatsapp-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60; width: 56px; height: 56px;
  border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  font-size: 1.5rem; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .packages, .sample-steps { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; } .about img { height: 340px; }
}
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
@media (max-width: 640px) {
  .grid, .services, .steps, .form-grid, .packages, .sample-steps { grid-template-columns: 1fr; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 0.6rem 4%;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0; display: block; }
  .nav-toggle { display: block; }
  .header__inner { position: relative; }
  .card img { height: 260px; }
}
