/* Layout concept: a sunny paper desk. Torn-paper labels and tilted "sticker" phones, the same language Harun uses in his edits. Single light theme by choice. */
:root {
  --sky: #dff0ff;        /* page ground */
  --paper: #fffdf7;      /* cards, labels */
  --ink: #1f2a44;        /* text */
  --ink-soft: #4a5672;   /* secondary text */
  --sun: #ffcf3f;        /* highlight */
  --coral: #ff6b5b;      /* main action */
  --mint: #3cc6a4;       /* success / checks */
  --grape: #7b6cf6;      /* accents, links */
  --line: #c9dcf0;       /* hairlines on sky */
  --f-display: "Fredoka", "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --r: 18px;
  --shadow: 0 2px 0 rgba(31,42,68,.08), 0 12px 28px -12px rgba(31,42,68,.25);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--sky); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--grape); }
:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
section { padding-block: 72px; position: relative; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hand { font-family: var(--f-hand); font-size: 1.6rem; color: var(--grape); line-height: 1; }

/* torn paper label (his caption style) */
.tag {
  display: inline-block; background: var(--paper); color: var(--ink);
  font-family: var(--f-display); font-weight: 500; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px 7px; transform: rotate(-1.5deg);
  clip-path: polygon(0 8%, 6% 0, 14% 6%, 24% 1%, 35% 7%, 47% 0, 58% 6%, 70% 1%, 82% 7%, 92% 0, 100% 6%, 99% 92%, 90% 100%, 79% 94%, 66% 100%, 54% 93%, 41% 100%, 29% 94%, 17% 100%, 7% 93%, 0 100%);
  box-shadow: var(--shadow);
}
.mark { background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); padding: 0 .08em; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--sky) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; }
.logo-dot { width: 34px; height: 34px; border-radius: 11px; background: var(--coral); display: grid; place-items: center; transform: rotate(-8deg); box-shadow: var(--shadow); }
.logo-dot::after { content: ""; border-left: 11px solid var(--paper); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-links a.hide-sm { }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 0; cursor: pointer; padding: 14px 24px; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease; }
.btn-main { background: var(--coral); color: #fff; box-shadow: 0 4px 0 #d94c3e; }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #d94c3e; }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: 0 4px 0 var(--line); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }

/* hero */
.hero { padding-block: 56px 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.trust span::before { content: "✓"; color: var(--mint); margin-right: 6px; font-weight: 900; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* phones */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 460px; }
.phone { width: 200px; aspect-ratio: 9/16; max-width: 100%; border-radius: 26px; background: var(--ink); padding: 7px; box-shadow: var(--shadow); position: relative; flex: none; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; background: #000; }
.phones .phone:nth-child(1) { transform: rotate(-7deg) translateY(20px); z-index: 1; margin-right: -38px; }
.phones .phone:nth-child(2) { transform: rotate(2deg) translateY(-14px); z-index: 3; width: 222px; }
.phones .phone:nth-child(3) { transform: rotate(8deg) translateY(26px); z-index: 2; margin-left: -38px; }
.phones .note { position: absolute; top: -6px; right: 4%; transform: rotate(6deg); z-index: 4; }
@media (max-width: 520px) {
  .phones { min-height: 340px; }
  .phone { width: 128px; } .phones .phone:nth-child(2) { width: 150px; }
  .phones .phone:nth-child(1) { margin-right: -26px; } .phones .phone:nth-child(3) { margin-left: -26px; }
}

/* floating blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; z-index: 0; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.b1 { width: 220px; height: 220px; background: var(--sun); top: -60px; right: 6%; }
.b2 { width: 140px; height: 140px; background: var(--mint); bottom: 10px; left: -40px; animation-delay: -5s; }
.b3 { width: 90px; height: 90px; background: var(--grape); top: 40%; left: 45%; opacity: .25; animation-delay: -9s; }
@keyframes drift { to { transform: translate(18px, -16px) scale(1.06); } }
.hero .wrap, section .wrap { position: relative; z-index: 1; }

/* sections on paper */
.band { background: var(--paper); }
.head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 40em; }

/* before/after */
.ba { display: grid; grid-template-columns: auto auto 1fr; gap: 28px; align-items: center; }
.ba .phone { width: 210px; }
.ba-label { text-align: center; margin-top: 12px; }
.ba-arrow { font-family: var(--f-hand); font-size: 2.2rem; color: var(--coral); }
.ba-list { display: grid; gap: 14px; min-width: 0; }
.ba-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; }
.ba-list ul { margin: 0; padding: 0; display: grid; gap: 14px; }
.chip { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; color: #fff; font-size: .9rem; }
@media (max-width: 860px) { .ba { grid-template-columns: 1fr 1fr; } .ba .phone { width: 100%; } .ba-arrow { display: none; } .ba-list { grid-column: 1 / -1; } }

/* work grid */
.work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work figure { margin: 0; display: grid; gap: 10px; }
.work .phone { width: 100%; }
.work figcaption { font-weight: 700; font-size: .95rem; }
.work figcaption small { display: block; font-weight: 400; color: var(--ink-soft); }
.work figure:nth-child(odd) .phone { transform: rotate(-1.5deg); }
.work figure:nth-child(even) .phone { transform: rotate(1.5deg); }
@media (max-width: 860px) { .work { grid-template-columns: repeat(2, 1fr); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--paper); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); }
.step:nth-child(1)::before { background: var(--sun); }
.step:nth-child(2)::before { background: var(--mint); }
.step:nth-child(3)::before { background: var(--coral); color: #fff; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--paper); border-radius: var(--r); padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; position: relative; border: 2px solid transparent; min-width: 0; }
.plan.pop { border-color: var(--coral); transform: translateY(-8px); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: var(--coral); color: #fff; font-family: var(--f-display); font-weight: 600; font-size: .85rem; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.price { font-family: var(--f-display); font-weight: 600; font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 1rem; color: var(--ink-soft); font-weight: 500; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; flex: 1; }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: var(--mint); font-weight: 900; }
.plan .btn { width: 100%; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } .plan.pop { transform: none; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.promise div { background: var(--sun); border-radius: var(--r); padding: 20px 22px; font-weight: 700; display: flex; gap: 12px; align-items: center; }
.promise div:nth-child(2) { background: color-mix(in srgb, var(--mint) 45%, var(--paper)); }
.promise b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; display: block; }
.small-print { margin-top: 18px; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 700px) { .promise { grid-template-columns: 1fr; } }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { background: var(--paper); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; align-content: start; }
.review:nth-child(1) { transform: rotate(-.8deg); } .review:nth-child(4) { transform: rotate(.8deg); }
.stars { color: #f5a623; letter-spacing: 2px; }
.review q { font-size: 1.05rem; quotes: "“" "”"; }
.who { font-weight: 700; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.polaroid { background: var(--paper); padding: 12px 12px 46px; box-shadow: var(--shadow); transform: rotate(-3deg); position: relative; max-width: 300px; }
.polaroid img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.polaroid .hand { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; }
.about-copy { display: grid; gap: 16px; min-width: 0; max-width: 36em; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; }
.fact { background: var(--paper); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); }
.fact b { font-family: var(--f-display); font-size: 1.5rem; display: block; line-height: 1.1; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .polaroid { margin: 0 auto; } }

/* doors (home) */
.doors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.door { border-radius: 26px; padding: 32px; display: grid; gap: 16px; align-content: start; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s ease; min-width: 0; }
.door:hover { transform: translateY(-4px) rotate(-.5deg); }
.door.d1 { background: var(--sun); }
.door.d2 { background: color-mix(in srgb, var(--grape) 28%, var(--paper)); }
.door .go { font-family: var(--f-display); font-weight: 600; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; min-width: 0; }
.ways { display: grid; gap: 10px; }
.way { background: var(--paper); border-radius: 14px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: var(--shadow); font-weight: 700; }
.way span { color: var(--ink-soft); font-weight: 400; font-size: .9rem; }
.way code { font-family: var(--f-body); font-weight: 700; user-select: all; overflow-wrap: anywhere; }
form { background: var(--paper); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
label { font-weight: 700; font-size: .92rem; display: grid; gap: 6px; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--sky); border: 2px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--grape); outline: none; }
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--ink-soft); }
.form-ok { background: color-mix(in srgb, var(--mint) 30%, var(--paper)); padding: 14px; border-radius: 12px; font-weight: 700; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

footer { padding-block: 36px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* gentle entrance (visible at rest) */
@keyframes pop { from { transform: translateY(10px) scale(.98); } to { transform: none; } }
.hero-copy > * { animation: pop .6s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; } .hero-copy > *:nth-child(3) { animation-delay: .12s; } .hero-copy > *:nth-child(4) { animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* first-frame before/after pairs */
.pairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
.pair { margin: 0; display: grid; gap: 12px; align-content: start; min-width: 0; }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-items: end; }
.pair-imgs > div { position: relative; }
.pair-imgs img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 12px; }
.pair-imgs .land img { object-fit: contain; background: var(--ink); }
.pair-imgs span { position: absolute; top: 6px; left: 6px; font-family: var(--f-display); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: var(--paper); color: var(--ink); }
.pair-imgs > div:last-child span { background: var(--coral); color: #fff; }
.pair figcaption { font-size: .95rem; color: var(--ink-soft); }
.pair figcaption b { display: block; color: var(--ink); }
.pair:nth-child(odd) .pair-imgs { transform: rotate(-1deg); }
.pair:nth-child(even) .pair-imgs { transform: rotate(1deg); }
@media (max-width: 1000px) { .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pairs { grid-template-columns: minmax(0, 1fr); } }
