/* =========================================================
   studio.css — the WEB side theme ("the studio")
   Warm-editorial palette (Option A). Loads AFTER base.css.
   Sets the theme variables + the studio-only components.
========================================================= */


:root {
    --canvas: #F7F3EC;      /* warm cream */
    --surface: #FFFFFF;
    --ink: #1C1A17;
    --muted: #5b554c;
    --muted2: #9a917f;
    --line: #e4ddcd;
    --line-strong: #cdc3ad;
    --accent: #E2552B;      /* studio's warm accent — cousin of the brand orange */
    --teal: #14564B;        /* deep authority green */
    --nav-bg: rgba(247, 243, 236, 0.9);
    --footer-bg: #0f4238;        /* darker teal — separates the footer from the teal CTA band */
    --white: #ffffff;
    --frame-bg: #2b2722;
    --work-bg: #ece1cd;
    --tag-bg: #efe3d6;
    --tag-ink: #8a4a2c;
    --card1-bg: #f4d9cc;
    --card1-ink: #9a3412;
    --card1-sub: #8a5040;
    --card2-bg: #cfe6dd;
    --card2-ink: #0f4a3f;
    --card2-sub: #3f6b60;
    --card3-bg: #efe0be;
    --card3-ink: #7a5310;
    --card3-sub: #6e5a33;
    --whatsapp: #25D366;
    --telegram: #24A1DE;
    --signal: #3A76F0;
    --success: #15803d;
    --error: #b91c1c;
    --hiw-num-ink: #fdf8f0;   /* number-badge text on teal */
    --hiw-body: #3a4744;      /* How-I-Work body text */
}

.serif { font-family: 'Fraunces', serif; }
section { padding: 0 32px; }
.above-fold { min-height: calc(100vh - 56px); display: flex; flex-direction: column; justify-content: center; }

/* ---------- Hero ---------- */
.eyebrow { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 28px; padding-bottom: 30px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.02; margin: 8px 0 14px; font-weight: 500; }
.hero p { font-size: 16px; line-height: 1.6; color: var(--ink); margin-bottom: 18px; max-width: 34ch; }
.trust { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 20px; flex-wrap: wrap; }
.trust .cred { color: var(--accent); font-weight: 600; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.cta-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cta-note { font-size: 12px; color: var(--muted2); letter-spacing: 0.3px; }

/* ---------- Hero welcome-video / portrait ---------- */
.hero-media { position: relative; max-width: 470px; width: 100%; margin: 0 auto; }
.videocard { position: relative; z-index: 1; background: var(--surface); border: 0.5px solid var(--line); border-radius: var(--radius-lg); padding: 10px; }
.videocard .frame { position: relative; background: var(--frame-bg); border-radius: 12px; aspect-ratio: 16/9; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.videocard .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.videocard .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.videocard .play { position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 27px; border: none; cursor: pointer; transition: transform 0.25s cubic-bezier(.2,.7,.2,1); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.videocard .play::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(226,85,43,0.55); opacity: 0; }
.videocard:hover .play { transform: scale(1.1); }
/* Top-right so it never sits over the native fullscreen button (bottom-right);
   pointer-events:none keeps it from intercepting control clicks. JS hides it on play. */
.videocard .cc { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 11px; color: var(--white); background: rgba(0,0,0,0.55); padding: 3px 9px; border-radius: 5px; pointer-events: none; }
.videocard .cta-overlay { position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 8px 24px rgba(0,0,0,0.45); }
.full-video-link { text-align: center; margin-top: 14px; }
.full-video-link a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; transition: opacity 0.2s ease; }
.full-video-link a:hover { text-decoration: underline; opacity: 0.85; }

.trust-strip { display: flex; justify-content: center; align-items: center; gap: 28px; padding: 14px 20px; margin: 32px auto 0; background: rgba(255,255,255,0.7); border: 0.5px solid var(--line); border-radius: var(--radius-lg); flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--teal); }

/* ---------- Services (colored cards) ---------- */
.svc-section { padding-bottom: 30px; }
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card { border-radius: var(--radius-lg); padding: 24px; }
.svc-card i { font-size: 26px; }
.svc-card h3 { font-size: 17px; font-weight: 600; margin: 12px 0 4px; }
.svc-card .d { font-size: 13.5px; }
.svc-card.c1 { background: var(--card1-bg); }
.svc-card.c1 i, .svc-card.c1 h3 { color: var(--card1-ink); }
.svc-card.c1 .d { color: var(--card1-sub); }
.svc-card.c2 { background: var(--card2-bg); }
.svc-card.c2 i, .svc-card.c2 h3 { color: var(--card2-ink); }
.svc-card.c2 .d { color: var(--card2-sub); }
.svc-card.c3 { background: var(--card3-bg); }
.svc-card.c3 i, .svc-card.c3 h3 { color: var(--card3-ink); }
.svc-card.c3 .d { color: var(--card3-sub); }
.svc-card.c4 { background: var(--card1-bg); }
.svc-card.c4 i, .svc-card.c4 h3 { color: var(--card1-ink); }
.svc-card.c4 .d { color: var(--card1-sub); }

/* ---------- Section heading ---------- */
.sec-head { display: flex; justify-content: center; align-items: baseline; margin-bottom: 28px; }
.sec-head .t { font-size: 26px; font-weight: 500; }

/* ---------- Statement band (full-bleed contrast) ---------- */
.statement { background: var(--teal); padding: 56px 32px; text-align: center; margin: 0; }
.statement .line { font-family: 'Fraunces', serif; font-size: clamp(22px, 3vw, 30px); line-height: 1.3; color: var(--white); max-width: 46ch; margin: 0 auto; }

/* ---------- Selected work ---------- */
.work-section { background: var(--work-bg); padding-top: 64px; padding-bottom: 64px; }

/* ---------- Motion: hero entrance + scroll reveal (design-spells) ---------- */
.hero > div { animation: fadeIn 0.7s ease both; }
.hero .hero-media { animation: heroIn 0.8s cubic-bezier(.2,.7,.2,1) 0.12s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(20px); animation: wordIn 0.6s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 .w:nth-of-type(1) { animation-delay: .12s; }
.hero h1 .w:nth-of-type(2) { animation-delay: .19s; }
.hero h1 .w:nth-of-type(3) { animation-delay: .26s; }
.hero h1 .w:nth-of-type(4) { animation-delay: .33s; }
.hero h1 .w:nth-of-type(5) { animation-delay: .40s; }
.hero h1 .w:nth-of-type(6) { animation-delay: .47s; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.magnetic { transition: transform 0.2s cubic-bezier(.2,.7,.2,1); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
    .hero > div, .hero .hero-media { animation: none; }
    .hero h1 .w { opacity: 1; transform: none; animation: none; }
    .magnetic { transition: none; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Tags (shared with portfolio) ---------- */
.tags { display: flex; gap: 8px; margin-bottom: 14px; }
.tag { background: var(--tag-bg); color: var(--tag-ink); font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 20px; }

/* =========================================================
   Inner web pages (about, faq, contact, portfolio)
========================================================= */
.page { padding: 12px 32px 56px; }
.page.narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.page-head { text-align: center; margin-bottom: 18px; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 500; }
.page-head .serif { font-weight: 500; }
.page-head p { font-size: 16px; color: var(--muted); margin-top: 10px; }
.intake { max-width: 620px; margin-left: auto; margin-right: auto; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; column-gap: 36px; row-gap: 8px; align-items: start; }
.about-grid .portrait-frame { grid-column: 1; grid-row: 1; align-self: stretch; position: relative; border-radius: var(--radius-lg); border: 0.5px solid var(--line); overflow: hidden; }
.about-copy { grid-column: 2; grid-row: 1; }
.about-cta { grid-column: 2; grid-row: 2; justify-self: center; margin-top: -18px; }
.about-grid .portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.about-grid p { font-size: 18px; color: var(--ink); margin-bottom: 14px; line-height: 1.7; }
.about-grid p:last-child { margin-bottom: 0; }
.about-grid .lead { font-size: 18px; color: var(--ink); }
.about-grid .lead .name { color: var(--accent); font-weight: 600; }

/* FAQ */
.faq-item { background: var(--surface); border: 1px solid rgba(226,85,43,0.45); border-radius: 12px; padding: 24px 26px; margin-bottom: 16px; }
.faq-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.faq-item p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.faq-cta { text-align: center; margin-top: 36px; font-size: 16px; color: var(--muted); }
.faq-cta a { color: var(--accent); font-weight: 500; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-form { background: var(--surface); border: 0.5px solid var(--line); border-radius: 14px; padding: 26px; }
.contact-form h3 { font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { padding: 12px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--canvas); color: var(--ink); font-family: inherit; font-size: 15px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit { width: 100%; background: var(--accent); color: var(--white); border: none; padding: 13px; border-radius: var(--radius); font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit; transition: transform 0.2s ease; }
.btn-submit:hover { transform: translateY(-2px); }
.form-message { margin-top: 12px; text-align: center; font-weight: 500; font-size: 14px; }
.form-message.success { color: var(--success); }
.form-message.error { color: var(--error); }
.social-cards { display: flex; flex-direction: column; gap: 14px; }
.social-card { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 0.5px solid var(--line); border-radius: 14px; padding: 18px 20px; transition: transform 0.2s ease; }
.social-card:hover { transform: translateY(-3px); }
.social-card .ic { width: 44px; flex-shrink: 0; text-align: center; font-size: 30px; }
.social-card .ic img { width: 40px; height: 40px; object-fit: contain; display: inline-block; }
.social-card.whatsapp .ic { color: var(--whatsapp); }
.social-card.telegram .ic { color: var(--telegram); }
.social-card.signal .ic { color: var(--signal); }
.social-card h4 { font-size: 16px; font-weight: 600; }
.social-card p { font-size: 13px; color: var(--muted); }

/* Portfolio rows */
.project-row { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: 44px; margin-bottom: 72px; }
.project-row .pimg  { grid-column: 1; grid-row: 1; align-self: start; border-radius: var(--radius-lg); overflow: hidden; border: 0.5px solid var(--line); box-shadow: 0 16px 40px rgba(28,26,23,0.10); }
.project-row .pimg img { width: 100%; height: auto; display: block; }
.project-row .pinfo { grid-column: 2; grid-row: 1; align-self: center; }
.project-row .pbtn  { grid-column: 1; grid-row: 2; padding-top: 20px; text-align: center; }
.project-row.reverse .pimg  { grid-column: 2; }
.project-row.reverse .pinfo { grid-column: 1; }
.project-row.reverse .pbtn  { grid-column: 2; }
.project-row .pinfo h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; margin-bottom: 12px; }
.project-row .pinfo p  { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.project-row:last-child { margin-bottom: 0; }
.portfolio-page .project-row .pinfo p { font-size: 16px; line-height: 1.6; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.tcard { background: var(--surface); border: 1px solid rgba(226,85,43,0.45); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.tquote { font-size: clamp(17px, 2vw, 21px); font-style: italic; line-height: 1.6; color: var(--ink); }
.tclient-name { font-weight: 600; font-size: 15px; }
.tclient-role { font-size: 13px; color: var(--muted); margin-top: 3px; }
.tproject { margin-top: auto; }
.tlink { font-size: 15px; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.tlink:hover { opacity: 0.75; }
/* Cross-trust link to construction testimonials — understated, secondary to the portfolio above */
.cross-trust { padding: 8px 22px 12px; }
.cross-trust .wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  text-align: center;
}
.cross-trust p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.cross-trust a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.cross-trust a:hover { text-decoration: underline; }

.tcta { text-align: center; padding: 24px 0 20px; }
.tcta p { font-size: 20px; color: var(--muted); margin-bottom: 20px; }
@media (max-width: 760px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- Footer — teal palette overrides ---------- */
.site-footer { border-top-color: rgba(255,255,255,0.10); }
.site-footer .bn { color: var(--white); }
.site-footer .bd { color: rgba(255,255,255,0.60); }
.site-footer .ch { color: rgba(255,255,255,0.90); font-weight: 600; }
.site-footer .ln { color: rgba(255,255,255,0.75); }
.site-footer .ln:hover { color: var(--white); }
.site-footer .copy { color: rgba(255,255,255,0.40); border-top-color: rgba(255,255,255,0.10); }
.site-footer .cols > div:last-child { text-align: center; }
.site-footer .btn-wa { background: var(--white); color: var(--teal); border-color: var(--white); }
.site-footer .btn-wa:hover { background: rgba(255,255,255,0.90); color: var(--teal); }
.site-footer .ln.active { color: var(--white); font-weight: 600; }

/* ---------- Studio responsive ---------- */
@media (max-width: 760px) {
    section { padding: 0 20px; }
    .page { padding-left: 20px; padding-right: 20px; }
    .above-fold { min-height: 0; display: block; }
    .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 44px; }
    .hero p { max-width: none; }

    .statement { padding: 40px 20px; }
    .svc-cards { grid-template-columns: 1fr; }
    .work-section { padding-top: 40px; }
    .showcase { gap: 44px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-grid .portrait-frame { grid-column: 1; grid-row: auto; aspect-ratio: 1 / 1; align-self: auto; }
    .about-copy, .about-cta { grid-column: 1; grid-row: auto; }
    .about-cta { justify-self: start; margin-top: 12px; }
    .contact-grid { display: flex; flex-direction: column; gap: 16px; }
    .contact-form { order: 2; }
    .social-cards { display: contents; }
    .social-card.whatsapp { order: 1; }
    .social-card.telegram { order: 3; }
    .social-card.signal { order: 4; }
    .project-row, .project-row.reverse { grid-template-columns: 1fr; column-gap: 0; row-gap: 0; margin-bottom: 48px; }
    .project-row .pimg,  .project-row.reverse .pimg  { grid-column: 1; grid-row: 1; }
    .project-row .pinfo, .project-row.reverse .pinfo { grid-column: 1; grid-row: 2; align-self: start; padding-top: 20px; }
    .project-row .pbtn,  .project-row.reverse .pbtn  { grid-column: 1; grid-row: 3; padding-top: 16px; }
}

/* ---------- Services ---------- */
.head { text-align: center; margin-bottom: 8px; }
.head .eyebrow { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.head h1 { font-family: 'Fraunces', serif; font-weight: 900; font-size: 48px; line-height: 1.05; margin: 10px 0 0; color: var(--teal); }
.rule { width: 54px; height: 3px; background: var(--accent); border-radius: 2px; margin: 18px auto 20px; }
.lede { font-size: 19px; color: var(--muted); max-width: 70ch; margin: 0 auto; text-align: center; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
/* A lone trailing card (odd count) centers under the two above instead of hugging the left. */
.grid > .svc:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: calc(50% - 8px); }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; gap: 16px; transition: transform .15s ease, box-shadow .15s ease; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(28,26,23,.09); }
.ico { width: 46px; height: 46px; border-radius: 13px; background: rgba(20,86,75,.09); color: var(--teal); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ico svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; margin: 2px 0 6px; color: var(--ink); }
.svc p { margin: 0 0 8px; font-size: 15px; }
.best { font-size: 13.5px; color: var(--muted); font-style: italic; margin-bottom: 14px; }
/* Wrapping: card copy is 2-4 lines, so balance it — this spreads the text evenly across
   the lines instead of leaving a stubby last line. `pretty` only nudges the final line and
   wasn't strong enough here. Longer prose (.lede, CTA) stays on `pretty`; `balance` would
   fight it past ~6 lines. `display:block` guarantees .best is a block container, since
   `text-wrap` has no effect on inline boxes. */
.svc p, .best { text-wrap: balance; }
.best { display: block; }
.lede, .contact-cta p { text-wrap: pretty; }
.svc h3 { text-wrap: balance; }
.live { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; border: 1px solid rgba(226,85,43,.35); padding: 5px 11px; border-radius: 20px; }
.svc > div { display: flex; flex-direction: column; }
.svc .live { align-self: center; margin-top: auto; transform: translateX(-31px); }
.feat { background: var(--teal); border: none; color: var(--canvas); }
.feat .ico { background: rgba(255,255,255,.14); color: var(--surface); }
.feat h3 { color: var(--surface); font-size: 23px; }
.feat p { color: rgba(255,255,255,.85); font-size: 15.5px; }
.feat .best { color: rgba(255,255,255,.7); }
.feat > div { display: flex; flex-direction: column; width: 100%; }
.feat .live { color: var(--surface); border-color: rgba(255,255,255,.5); margin-top: auto; align-self: center; }
.contact-cta { background: var(--teal); color: var(--canvas); text-align: center; padding: 60px 28px; }
.contact-cta h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 32px; margin: 0 0 10px; color: var(--surface); }
.contact-cta p { color: rgba(255,255,255,.85); margin: 0 auto 22px; max-width: 540px; }

@media(max-width: 720px) { .grid { grid-template-columns: 1fr; } .grid > .svc:last-child:nth-child(odd) { max-width: none; } .head h1 { font-size: 36px; } }

/* ---------- How I Work ---------- */
.hiw { padding: 28px 28px 60px; max-width: 820px; margin: 0 auto; }
.hiw-hero { text-align: center; padding-bottom: 8px; }
.hiw-hero h1 { font-family: 'Fraunces', serif; font-weight: 900; font-size: 48px; line-height: 1.05; margin: 10px 0 0; color: var(--teal); }
.hiw-rule { width: 54px; height: 3px; background: var(--accent); border-radius: 2px; margin: 18px auto 26px; }
.hiw-promise { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 500; line-height: 1.32; max-width: 680px; margin: 0 auto 30px; color: var(--ink); }
.hiw-scope-label { text-align: center; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 0 0 18px; }
.hiw-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 720px; margin: 0 auto; }
.hiw-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 24px; font-size: 16px; font-weight: 600; color: var(--ink); }
.hiw-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.hiw-sec-h { font-family: 'Fraunces', serif; font-weight: 600; font-size: 15px; color: var(--teal); text-transform: uppercase; letter-spacing: .14em; display: flex; align-items: center; gap: 14px; margin: 64px 0 6px; }
.hiw-sec-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hiw-sec-h.hiw-center { justify-content: center; text-align: center; margin-bottom: 20px; }
.hiw-sec-h.hiw-center::after { display: none; }
.hiw-sec-note { font-style: italic; color: var(--muted); font-size: 15px; margin: 0 auto 30px; border: 1px solid var(--teal); border-radius: 12px; padding: 16px 22px; background: var(--surface); text-align: center; max-width: 660px; }
.hiw-lead { font-weight: 600; }

.hiw-steps { position: relative; margin-top: 14px; }
.hiw-steps::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.hiw-step { position: relative; display: flex; gap: 20px; padding: 14px 0; }
.hiw-num { position: relative; z-index: 1; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--hiw-num-ink); font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.hiw-step h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; margin: 6px 0 5px; }
.hiw-step p { margin: 0; font-size: 15.5px; color: var(--hiw-body); }
.hiw-step a { color: var(--accent); font-weight: 600; text-decoration: none; }

.hiw-cost { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; margin-top: 14px; box-shadow: 0 10px 30px rgba(34,48,45,.05); }
.hiw-cost .hiw-lead { font-size: 16.5px; margin: 0 0 22px; display: block; }
.hiw-price { text-align: center; padding: 8px 0 22px; border-bottom: 1px dashed var(--line); margin-bottom: 24px; }
.hiw-price .hiw-big { font-family: 'Fraunces', serif; font-weight: 900; font-size: 44px; color: var(--teal); line-height: 1; }
.hiw-price .hiw-sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.hiw-pay { display: flex; gap: 10px; }
.hiw-pay .hiw-node { flex: 1; text-align: center; position: relative; padding-top: 34px; }
.hiw-pay .hiw-node::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.hiw-pay .hiw-node:first-child::before { left: 50%; }
.hiw-pay .hiw-node:last-child::before { right: 50%; }
.hiw-pay .hiw-dot { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--teal); border: 3px solid var(--surface); z-index: 1; }
.hiw-pay .hiw-amt { font-weight: 600; font-size: 15px; }
.hiw-pay .hiw-when { font-size: 13px; color: var(--muted); }
.hiw-cost-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.hiw-cnote { display: flex; gap: 10px; font-size: 14px; color: var(--hiw-body); }
.hiw-cnote svg { flex: 0 0 auto; width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

.hiw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.hiw-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.hiw-card .hiw-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(20,86,75,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.hiw-card .hiw-ico svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hiw-card h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; margin: 0 0 7px; }
.hiw-card p { margin: 0; font-size: 14.5px; color: var(--hiw-body); }

.hiw-strip { background: rgba(20,86,75,.08); border-radius: 16px; padding: 26px 28px; margin-top: 44px; }
.hiw-strip p { margin: 0 0 10px; font-size: 15.5px; }
.hiw-strip p:last-child { margin: 0; }
.hiw-proof { text-align: center; margin-top: 34px; font-size: 16px; }
.hiw-proof a { color: var(--accent); font-weight: 600; text-decoration: none; }

@media (max-width: 640px) {
    .hiw-hero h1 { font-size: 36px; }
    .hiw-cards, .hiw-cost-notes { grid-template-columns: 1fr; }
}

.form-sec-head { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: var(--teal); margin: 28px 0 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }

/* ---------- Custom ElevenLabs Voice Widget ---------- */
.vw-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

/* Launcher Pill */
.vw-launcher {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--teal, #14564b);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  padding: 5px 16px 5px 5px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(20,86,75,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vw-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,86,75,0.45);
  background: #0f443b;
}

.vw-launcher-icon-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.vw-launcher-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.vw-active-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #ffffff;
  animation: vw-pulse 1.8s infinite;
}

@keyframes vw-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.vw-launcher-text {
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: #ffffff;
}

/* Expanded Panel */
.vw-panel {
  display: flex;
  flex-direction: column;
  width: 360px;
  height: 480px;
  max-height: calc(100vh - 40px);
  background: #fcfbf9;
  border: 1px solid rgba(20,86,75,0.18);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  overflow: hidden;
}

/* Panel Header */
.vw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--teal, #14564b);
  color: #ffffff;
}

.vw-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vw-header-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vw-header-avatar img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.vw-header-title h2 {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
}

.vw-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vw-icon-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.vw-icon-btn:hover {
  background: rgba(255,255,255,0.25);
}

.vw-btn-end {
  background: #ef4444;
  color: #ffffff;
}

.vw-btn-end:hover {
  background: #dc2626;
  transform: scale(1.05);
}

/* Status Bar */
.vw-status-bar {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  background: rgba(20,86,75,0.06);
  color: var(--teal, #14564b);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.2s ease, color 0.2s ease;
}

.vw-status-bar.vw-listening {
  background: rgba(34,197,94,0.12);
  color: #15803d;
}

.vw-status-bar.vw-speaking {
  background: rgba(226,85,43,0.12);
  color: #c2410c;
}

.vw-status-bar.vw-muted {
  background: rgba(239,68,68,0.12);
  color: #b91c1c;
}

/* Messages Body */
.vw-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fcfbf9;
}

.vw-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.vw-msg-user {
  align-self: flex-end;
}

.vw-msg-user .vw-bubble {
  background: var(--teal, #14564b);
  color: #ffffff;
  border-radius: 14px 14px 2px 14px;
}

.vw-msg-maya {
  align-self: flex-start;
}

.vw-msg-maya .vw-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px 14px 14px 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.vw-msg-fallback {
  align-self: center;
  max-width: 95%;
}

.vw-msg-fallback .vw-bubble {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #ffedd5;
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
}

.vw-msg-fallback a {
  color: var(--accent, #e2552b);
  font-weight: 600;
  text-decoration: underline;
}

.vw-bubble {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

/* Footer Form */
.vw-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.vw-mic-toggle {
  background: transparent;
  color: var(--teal, #14564b);
  flex-shrink: 0;
}

.vw-mic-toggle:hover {
  background: rgba(20,86,75,0.08);
}

.vw-input {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 14px;
  outline: none;
  background: #fcfbf9;
  color: #1e293b;
  transition: border-color 0.15s ease;
}

.vw-input:focus {
  border-color: var(--teal, #14564b);
}

.vw-btn-send {
  background: var(--accent, #e2552b);
  color: #ffffff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.vw-btn-send:hover {
  background: #c2410c;
}

/* Mobile Responsive Bottom Sheet */
@media (max-width: 768px) {
  .vw-container {
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0;
  }
  
  .vw-launcher {
    position: fixed;
    bottom: 16px;
    right: 16px;
  }

  .vw-panel {
    width: 100%;
    height: 75vh;
    max-height: 80vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.25);
  }
}


