/* Petal Page — soft ivory & petal rose, with a dark gold showcase */
:root {
  color-scheme: light;
  --ivory: #FBF7F3;
  --paper: #FFFFFF;
  --blush: #F6E6EB;
  --ink: #23191E;
  --ink-2: #4A3C42;
  --muted: #7C6C72;
  --line: #EDE2DB;
  --petal: #B8476C;
  --petal-2: #D27394;
  --petal-grad: linear-gradient(135deg, #E7A3B8 0%, #C9587F 55%, #A93D62 100%);
  --gold: #C99A45;
  --gold-grad: linear-gradient(135deg, #8C5E1E 0%, #C99A45 30%, #F3DA97 50%, #C99A45 70%, #8C5E1E 100%);
  --night: #0F0C0A;
  --night-2: #1A1612;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 22px;
  --shadow: 0 20px 50px rgba(74, 40, 54, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--petal); }
.mark { width: 30px; height: 30px; flex: 0 0 auto; }
.mark.sm { width: 16px; height: 16px; }
.mark.lg { width: 56px; height: 56px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(251, 247, 243, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(237, 226, 219, .7); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.brand i { font-weight: 400; color: var(--petal); }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; }
.links a { text-decoration: none; color: var(--ink-2); }
.links a:hover { color: var(--petal); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 99px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(35, 25, 30, .22); }
.btn.primary:hover { background: #3A2A31; }
.btn.ghost { border-color: #D9C8CF; color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn.gold { background: var(--gold-grad); color: #1A1208; box-shadow: 0 10px 26px rgba(169, 119, 42, .35); }
.btn.small { padding: 9px 16px; font-size: 14px; background: var(--petal-grad); color: #fff; margin-left: 0; }
.nav .links + .btn.small { margin-left: 8px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--petal); margin: 0 0 14px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; max-width: 1200px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 48px) 40px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.lead { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--ink-2); margin: 22px 0 30px; max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8476C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

.hero-visual { position: relative; height: clamp(440px, 46vw, 600px); }
.hero-visual .glow { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(231, 163, 184, .55), rgba(201, 154, 69, .18) 50%, transparent 70%); filter: blur(10px); }
.phone { margin: 0; background: #0b0908; border-radius: 38px; padding: 9px; box-shadow: 0 30px 60px rgba(35, 20, 28, .28), inset 0 0 0 1.5px #3a3029; position: relative; aspect-ratio: 390 / 664; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }
.phone::before { content: ''; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 30%; height: 18px; background: #0b0908; border-radius: 0 0 12px 12px; z-index: 1; opacity: .0; }
.hero-visual .phone { position: absolute; width: clamp(180px, 19vw, 250px); }
.p-center { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.p-left { left: 2%; top: 16%; transform: rotate(-8deg); z-index: 2; opacity: .96; }
.p-right { right: 2%; top: 16%; transform: rotate(8deg); z-index: 2; opacity: .96; }

/* problem strip */
.strip { max-width: 1100px; margin: 10px auto 0; padding: 0 clamp(16px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.strip-item { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.strip-item .q { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--muted); }
.strip-item .a { font-weight: 600; color: var(--ink); }

/* sections */
.section { max-width: 1160px; margin: 0 auto; padding: clamp(70px, 10vw, 120px) clamp(16px, 4vw, 48px) 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.head .sub { color: var(--muted); margin: 16px auto 0; max-width: 560px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.features article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.features article:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #EBD3DC; }
.features .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--blush); color: var(--petal); display: grid; place-items: center; margin-bottom: 16px; }
.features .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-size: 19px; margin-bottom: 8px; }
.features p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* showcase (dark) */
.showcase { margin-top: clamp(70px, 10vw, 120px); background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(201, 154, 69, .18), transparent 70%), var(--night); color: #F4ECDD; padding: clamp(70px, 9vw, 110px) 0; overflow: hidden; }
.head.light h2 { color: #F4ECDD; }
.head.light h2 em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head.light .eyebrow { color: var(--gold); }
.head.light .sub { color: #A3967F; }
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px clamp(16px, 4vw, 48px) 26px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery .phone { flex: 0 0 clamp(200px, 22vw, 250px); scroll-snap-align: center; box-shadow: 0 24px 50px rgba(0, 0, 0, .6), inset 0 0 0 1.5px #4a3d2c; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; font-size: 13px; color: #A3967F; }
.gallery { padding-bottom: 50px; }
.cases { max-width: 1060px; margin: 30px auto 0; padding: 0 clamp(16px, 4vw, 48px); display: grid; gap: 14px; }
.case { display: flex; gap: 18px; align-items: center; background: linear-gradient(180deg, #1E1A14, #16130F); border: 1px solid rgba(214, 178, 110, .22); border-radius: var(--r); padding: 18px 20px; }
.case img { width: 70px; height: 70px; border-radius: 50%; box-shadow: 0 0 24px rgba(217, 180, 106, .3); flex: 0 0 70px; }
.case h3 { font-size: 20px; color: #EBD3A0; }
.case .type { font-size: 13px; color: #A3967F; margin: 2px 0 6px; }
.case p { margin: 0; color: #D8CCB8; font-size: 14.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags span { font-size: 11.5px; padding: 3px 10px; border-radius: 99px; border: 1px solid rgba(214, 178, 110, .35); color: #EBD3A0; }
.demo-card { max-width: 1060px; margin: 16px auto 0; padding: 26px clamp(20px, 3vw, 34px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: var(--r); background: linear-gradient(135deg, rgba(201, 154, 69, .16), rgba(201, 154, 69, .04)); border: 1px solid rgba(214, 178, 110, .4); width: calc(100% - 2 * clamp(16px, 4vw, 48px)); }
.demo-card h3 { font-size: 24px; color: #F4ECDD; }
.demo-card h3 em { color: var(--gold); }
.demo-card p { margin: 6px 0 0; color: #C9BCA6; font-size: 15px; max-width: 560px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.steps li span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--petal-grad); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 18px; margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 60px rgba(35, 25, 30, .28); transform: translateY(-8px); }
.plan .badge { position: absolute; top: -13px; left: 26px; background: var(--petal-grad); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 99px; }
.plan h3 { font-size: 24px; }
.plan .tl { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.plan.featured .tl { color: #CDBFC5; }
.plan .price { font-family: var(--serif); font-size: 46px; font-weight: 600; line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.plan .price small { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); }
.plan.featured .price small { color: #CDBFC5; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 14.5px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ''; flex: 0 0 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8476C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan.featured li::before { background-color: rgba(231, 163, 184, .2); }
.plan .btn { width: 100%; }
.plan.featured .btn { background: var(--petal-grad); color: #fff; box-shadow: none; }
.plan:not(.featured) .btn { background: transparent; color: var(--ink); border-color: #D9C8CF; box-shadow: none; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-shot { height: 260px; overflow: hidden; display: flex; justify-content: center; padding-top: 26px; background: radial-gradient(circle at 50% 100%, rgba(231, 163, 184, .45), transparent 70%), var(--blush); }
.service:nth-child(1) .svc-shot, .service:nth-child(3) .svc-shot { background: radial-gradient(circle at 50% 100%, rgba(201, 154, 69, .35), transparent 70%), var(--night); }
.svc-shot .phone { width: 190px; height: max-content; flex: 0 0 auto; border-radius: 30px; padding: 7px; }
.svc-shot .phone img { border-radius: 24px; }
.svc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-no { font-family: var(--serif); font-style: italic; color: var(--petal); font-size: 15px; }
.svc-body h3 { font-size: 23px; margin: 4px 0 8px; }
.svc-body p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; flex: 1; }
.svc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc-price { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(184, 71, 108, .35); text-underline-offset: 4px; }
.svc-price:hover { color: var(--petal); }
.btn.dark { background: var(--ink); color: #fff; padding: 11px 18px; font-size: 14px; }
.btn.petal { background: var(--petal-grad); color: #fff; padding: 11px 18px; font-size: 14px; }
#ciri .strip { margin: 0 auto 18px; padding: 0; max-width: none; }

/* portfolio sub-sections */
.sc-title { max-width: 1060px; margin: 70px auto 22px; padding: 0 clamp(16px, 4vw, 48px); font-size: clamp(22px, 2.6vw, 28px); color: #F4ECDD; display: flex; align-items: center; gap: 14px; scroll-margin-top: 90px; }
.sc-title:first-of-type { margin-top: 10px; }
.sc-title span { font-size: 14px; font-style: italic; font-weight: 400; color: var(--gold); border: 1px solid rgba(214, 178, 110, .4); border-radius: 99px; padding: 3px 10px; }
.sc-sub { max-width: 1060px; margin: -10px auto 22px; padding: 0 clamp(16px, 4vw, 48px); color: #A3967F; }
.web-case + .web-case { margin-top: 18px; }
.cases .web-case { width: 100%; margin: 6px 0 0; }
.cases .web-case + .web-case { margin-top: 18px; }
.case-logo { width: 54px; height: 54px; border-radius: 50%; margin-bottom: 10px; box-shadow: 0 0 20px rgba(217, 180, 106, .3); }
.web-case:nth-child(even) .web-shots { order: 2; }
.web-case { max-width: 1060px; margin: 0 auto; width: calc(100% - 2 * clamp(16px, 4vw, 48px)); display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; background: linear-gradient(180deg, #1E1A14, #16130F); border: 1px solid rgba(214, 178, 110, .22); border-radius: 26px; padding: 28px; }
.web-shots { display: flex; gap: 12px; justify-content: center; }
.web-shots .phone { flex: 1 1 0; min-width: 0; max-width: 190px; border-radius: 26px; padding: 6px; box-shadow: 0 20px 40px rgba(0, 0, 0, .55), inset 0 0 0 1.5px #4a3d2c; }
.web-shots .phone img { border-radius: 21px; }
.web-shots .phone:nth-child(2) { transform: translateY(-14px); }
.web-body h3 { font-size: 28px; color: #EBD3A0; }
.web-body .type { font-size: 13px; color: #A3967F; margin: 4px 0 10px; }
.web-body p { color: #D8CCB8; margin: 0; font-size: 15px; }
.web-body .btn { margin-top: 20px; }
.cards { max-width: 1060px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kad { text-decoration: none; color: #F4ECDD; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
.kad .phone { width: 100%; max-width: 230px; margin-bottom: 14px; box-shadow: 0 24px 50px rgba(0, 0, 0, .6), inset 0 0 0 1.5px #4a3d2c; transition: transform .2s; }
.kad:hover .phone { transform: translateY(-6px); }
.kad h4 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 600; color: #EBD3A0; }
.kad span { font-size: 13.5px; color: #A3967F; }
.kad em { font-style: normal; font-size: 13px; color: var(--gold); margin-top: 4px; font-weight: 600; }
.showcase .demo-card { margin-top: 26px; }

/* other prices */
.other-prices { max-width: 760px; margin: 26px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.web-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.ghost-light:hover { border-color: rgba(255, 255, 255, .7); }
.addons { max-width: 1060px; margin: 34px auto 0; padding: 26px clamp(20px, 3vw, 32px); border-radius: 26px; background: var(--paper); border: 1px solid var(--line); }
.addons h3 { font-size: 22px; }
.addons > p { color: var(--muted); font-size: 14.5px; margin: 4px 0 18px; }
.addon-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.addon b { display: block; font-size: 15px; font-weight: 600; }
.addon span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.addon em { font-style: normal; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--petal); white-space: nowrap; }
@media (max-width: 720px) { .addon-list { grid-template-columns: 1fr; } }
.other-prices.single { grid-template-columns: 1fr; max-width: 380px; }
.op { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.op span { color: var(--ink-2); font-size: 14.5px; }
.op b { font-family: var(--serif); font-size: 20px; color: var(--petal); white-space: nowrap; }
.op:hover { border-color: #EBD3DC; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--petal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* final cta */
.final { text-align: center; max-width: 1100px; margin: clamp(70px, 10vw, 120px) auto 0; padding: clamp(50px, 7vw, 80px) 24px; border-radius: 34px; background: radial-gradient(circle at 50% 0%, rgba(231, 163, 184, .45), transparent 60%), var(--blush); width: calc(100% - 2 * clamp(16px, 4vw, 48px)); }
.final h2 { font-size: clamp(32px, 4.6vw, 52px); margin: 16px 0 10px; }
.final .mark.lg { margin: 0 auto; display: block; }
.final p { color: var(--ink-2); margin: 0 0 26px; }

.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1160px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 110px; color: var(--muted); font-size: 13.5px; }
.foot p { margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37, 211, 102, .4); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ================= bloom: falling flowers ================= */
.bloom-canvas { position: fixed; inset: 0; z-index: 25; pointer-events: none; transition: opacity .5s; }
.bloom-canvas.off { opacity: 0; }
.bloom-toggle { position: fixed; left: 18px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #EBD3DC; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 20px rgba(74, 40, 54, .15); cursor: pointer; display: grid; place-items: center; transition: transform .2s, opacity .2s; }
.bloom-toggle img { width: 24px; height: 24px; animation: spin 9s linear infinite; }
.bloom-toggle.off { opacity: .55; }
.bloom-toggle.off img { animation: none; filter: grayscale(1); }
@media (max-width: 560px) { .bloom-toggle { width: 38px; height: 38px; left: 12px; } .bloom-toggle img { width: 20px; height: 20px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= 3D coverflow ================= */
.gallery.coverflow { display: block; overflow: visible; padding: 6px 0 0; outline: none; }
.cf-stage { position: relative; height: calc(clamp(210px, 22vw, 260px) * 1.703 + 20px); perspective: 1300px; transform-style: preserve-3d; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.cf-stage.dragging { cursor: grabbing; }
.cf-stage .phone { position: absolute; left: 50%; top: 0; width: clamp(210px, 22vw, 260px); transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .4s; will-change: transform; -webkit-user-drag: none; }
.cf-stage .phone img { pointer-events: none; }
.cf-stage.dragging .phone { transition: none; }
.cf-stage .phone figcaption { opacity: 0; transition: opacity .3s; bottom: -34px; font-size: 14px; color: #EBD3A0; }
.cf-stage .phone.is-active figcaption { opacity: 1; }
.cf-stage .phone.is-active { box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 0 1.5px rgba(214, 178, 110, .6), 0 0 60px rgba(201, 154, 69, .25); }
.cf-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 54px; }
.cf-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(214, 178, 110, .45); background: transparent; color: #EBD3A0; font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s; }
.cf-btn:hover { background: rgba(214, 178, 110, .12); }
.cf-dots { display: flex; gap: 7px; }
.cf-dots button { width: 7px; height: 7px; padding: 0; border-radius: 99px; border: 0; background: rgba(214, 178, 110, .35); cursor: pointer; transition: width .3s, background .3s; }
.cf-dots button.on { width: 22px; background: var(--gold); }

/* ================= scrapbook touches ================= */
.showcase { background:
  radial-gradient(ellipse 70% 40% at 50% 0%, rgba(201, 154, 69, .18), transparent 70%),
  radial-gradient(rgba(214, 178, 110, .16) 1.2px, transparent 1.4px) 0 0 / 28px 28px,
  var(--night); }
.case, .web-case, .showcase .demo-card { position: relative; }
.case::before, .web-case::before { content: ''; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: repeating-linear-gradient(45deg, rgba(231, 163, 184, .75) 0 8px, rgba(246, 230, 235, .75) 8px 16px); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); border-radius: 2px; opacity: .9; }
.web-case:nth-child(even)::before { left: 30%; transform: translateX(-50%) rotate(4deg); background: repeating-linear-gradient(45deg, rgba(243, 218, 151, .8) 0 8px, rgba(255, 244, 222, .8) 8px 16px); }
.kad .phone { transform: rotate(var(--tilt, 0deg)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.kad:nth-child(1) .phone { --tilt: -4deg; }
.kad:nth-child(2) .phone { --tilt: 2deg; }
.kad:nth-child(3) .phone { --tilt: 5deg; }
.kad:hover .phone { transform: rotate(0deg) translateY(-8px) scale(1.02); }
.kad .phone::after { content: ''; position: absolute; top: -10px; left: 50%; width: 70px; height: 20px; transform: translateX(-50%) rotate(-4deg); background: repeating-linear-gradient(45deg, rgba(243, 218, 151, .78) 0 7px, rgba(255, 244, 222, .78) 7px 14px); box-shadow: 0 2px 5px rgba(0, 0, 0, .3); z-index: 2; }
.drop.reveal { opacity: 0; transform: translateY(-46px) rotate(-5deg); transition: opacity .5s ease var(--d, 0ms), transform .8s cubic-bezier(.25, 1.4, .45, 1) var(--d, 0ms); }
.drop.reveal.in { opacity: 1; transform: none; }

/* steps: dotted thread between steps */
@media (min-width: 981px) {
  .steps li:not(:last-child)::after { content: ''; position: absolute; top: 46px; right: -17px; width: 18px; border-top: 2px dotted #E7A3B8; }
}
.steps li span { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.steps li:hover span { transform: rotate(-12deg) scale(1.12); }
.features .ic { transition: transform .3s; }
.features article:hover .ic { transform: rotate(-8deg) scale(1.08); }
@media (prefers-reduced-motion: reduce) { .drop.reveal { opacity: 1; transform: none; } .kad .phone { transform: none; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 980px) {
  .services { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .web-case { grid-template-columns: 1fr; }
  .web-case:nth-child(even) .web-shots { order: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.featured { transform: none; }
}
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; row-gap: 8px; }
  .links { order: 3; width: 100%; margin: 0; gap: 20px; font-size: 14px; overflow-x: auto; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links a { white-space: nowrap; padding: 2px 0; }
  .nav .links + .btn.small { margin-left: auto; }
  .hero .eyebrow .mark { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 36px; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .checks { justify-content: center; }
  .hero-visual { height: 420px; margin-top: 10px; }
  .hero-visual .phone { width: 190px; }
  .p-left { left: calc(50% - 215px); }
  .p-right { right: calc(50% - 215px); }
  .strip { grid-template-columns: 1fr; }
  .demo-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .kad h4 { font-size: 16px; }
  .kad span { display: none; }
  .kad .phone { border-radius: 22px; padding: 5px; }
  .kad .phone img { border-radius: 18px; }
  .other-prices { grid-template-columns: 1fr; }
  .web-case { padding: 18px; }
  .web-shots .phone { border-radius: 18px; padding: 4px; }
  .web-shots .phone img { border-radius: 15px; }
  .features, .steps { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .hero-visual .phone { width: 160px; border-radius: 30px; padding: 7px; }
  .hero-visual .phone img { border-radius: 24px; }
  .p-left { left: calc(50% - 175px); top: 18%; }
  .p-right { right: calc(50% - 175px); top: 18%; }
  .cta-row .btn { flex: 1 1 100%; }
  .case { flex-direction: column; align-items: flex-start; }
  .gallery .phone { flex-basis: 210px; }
}

/* ---------- Multi-page: nav, home teaser, Our work, demos ---------- */
.links a[aria-current="page"] { color: var(--petal); font-weight: 600; }
.head h1 { font-size: clamp(36px, 5vw, 58px); }
.head.light h1 { color: #F4ECDD; }
.head.light h1 em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center-link { text-align: center; margin: 26px 0 0; }
.center-link a { color: var(--petal); font-weight: 600; text-decoration: none; }
.center-link a:hover { text-decoration: underline; }
.btn.ghost-light { background: transparent; color: #F4ECDD; border-color: rgba(244, 236, 221, .35); }
.btn.gold.small, .proj .btn { padding: 10px 18px; font-size: 14px; }

.client-logos { max-width: 1060px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.client { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 10px 16px; border-radius: 20px; background: linear-gradient(180deg, #1E1A14, #16130F); border: 1px solid rgba(214, 178, 110, .2); text-decoration: none; color: #EBD3A0; transition: transform .2s, border-color .2s; }
.client:hover { transform: translateY(-3px); border-color: rgba(214, 178, 110, .5); }
.client img, .mono { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 18px rgba(217, 180, 106, .25); }
.mono { display: grid; place-items: center; font-family: var(--serif); font-size: 20px; color: #3a2a2e; background: linear-gradient(135deg, #F6E6EB, #EBD3A0); }
.client b { font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1.2; }
.client small { font-size: 12px; color: #A3967F; }
.teaser-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; padding: 0 16px; }

.showcase.work { margin-top: 0; padding-top: clamp(50px, 7vw, 80px); }
.filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; max-width: 1060px; margin: -14px auto 34px; padding: 0 16px; }
.filters button { font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 99px; cursor: pointer; background: transparent; color: #D8CCB8; border: 1px solid rgba(214, 178, 110, .3); }
.filters button small { color: #A3967F; margin-left: 4px; }
.filters button[aria-selected="true"] { background: var(--gold-grad); color: #1A1612; border-color: transparent; font-weight: 600; }
.filters button[aria-selected="true"] small { color: #1A1612; }
.projects { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.proj { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #1E1A14, #16130F); border: 1px solid rgba(214, 178, 110, .22); }
.proj[hidden] { display: none; }
.proj-shots { display: flex; gap: 10px; justify-content: center; padding: 26px 18px 0; height: 270px; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(201, 154, 69, .16), transparent 70%); }
.proj-shots .phone { flex: 0 1 140px; min-width: 0; border-radius: 22px; padding: 5px; align-self: flex-start; box-shadow: 0 18px 36px rgba(0, 0, 0, .5), inset 0 0 0 1.5px #4a3d2c; }
.proj-shots .phone img { border-radius: 18px; }
.proj-shots .phone:nth-child(2) { margin-top: -10px; }
.proj-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.proj-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.proj-logo { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 18px rgba(217, 180, 106, .25); }
.proj h3 { font-size: 22px; color: #EBD3A0; }
.proj .type { font-size: 13px; color: #A3967F; margin-top: 2px; }
.proj p { color: #D8CCB8; font-size: 14.5px; margin: 0; }
.proj .web-btns { margin-top: auto; padding-top: 16px; }
.proj .tags { margin-bottom: 2px; }

.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.demo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.demo:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(35, 25, 30, .12); }
.demo .phone { width: 150px; margin: 24px auto 0; height: 200px; aspect-ratio: auto; overflow: hidden; border-radius: 24px 24px 0 0; padding: 6px 6px 0; }
.demo .phone img { border-radius: 19px 19px 0 0; }
.demo > div { padding: 20px 22px 22px; border-top: 1px solid var(--line); background: var(--paper); flex: 1; display: flex; flex-direction: column; }
.demo-kind { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--petal); }
.demo h3 { font-size: 22px; margin: 4px 0 6px; }
.demo p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.demo b { margin-top: auto; color: var(--petal); font-size: 14.5px; }

.demos:has(> .demo:only-child) { grid-template-columns: minmax(0, 460px); justify-content: center; }
.showcase .home-demo { margin-top: 34px; }
.home-demo .phone { flex: 0 0 96px; width: 96px; border-radius: 18px; padding: 4px; box-shadow: 0 16px 30px rgba(0, 0, 0, .5), inset 0 0 0 1.5px #4a3d2c; }
.home-demo .phone img { border-radius: 14px; }
.home-demo > div { flex: 1; }
.home-demo .demo-kind { color: var(--gold); }
.proj.wide { grid-column: 1 / -1; }
.proj-combo { display: flex; align-items: stretch; justify-content: center; gap: 10px; padding-top: 18px; background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(201, 154, 69, .16), transparent 70%); }
.combo-group { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.combo-group .proj-shots { background: none; padding-top: 12px; width: 100%; }
.combo-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(214, 178, 110, .4); border-radius: 99px; padding: 3px 12px; }
.combo-plus { align-self: center; font-family: var(--serif); font-size: 34px; color: var(--gold); padding: 0 4px; }
.combo-badge { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #1A1612; background: var(--gold-grad); border-radius: 99px; padding: 3px 10px; margin-bottom: 6px; }
.proj.wide .proj-body p { max-width: 820px; }
@media (max-width: 700px) {
  .proj-combo { flex-direction: column; gap: 4px; }
  .combo-plus { padding: 0; font-size: 28px; line-height: 1; }
}
@media (max-width: 900px) {
  .projects { grid-template-columns: 1fr; }
  .demos { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .proj-shots { height: 220px; gap: 8px; padding: 22px 12px 0; }
  .proj-body { padding: 18px 18px 20px; }
  .client-logos { grid-template-columns: repeat(2, 1fr); }
}
