/* ══════════════════════════════════
   port4you — style.css
   ══════════════════════════════════ */

:root {
  --paper: #FDF8EE;
  --desk: #E9E3D8;
  --line-blue: rgba(176, 208, 230, 0.38);
  --line-red: rgba(210, 120, 120, 0.32);
  --ink: #2C2C3A;
  --ink-light: #55556A;
  --ink-faded: #9494A8;
  --pencil: #7A7A8C;
  --pen-blue: #2B5C9E;
  --pen-red: #C0392B;
  --pen-green: #1E7A4A;
  --hi-yellow: rgba(255, 235, 59, 0.38);
  --hi-pink: rgba(255, 120, 150, 0.22);
  --hi-green: rgba(76, 175, 80, 0.22);
  --tape-y: rgba(255, 238, 140, 0.72);
  --tape-p: rgba(255, 185, 200, 0.6);
  --tape-b: rgba(175, 215, 235, 0.6);
  --tape-g: rgba(180, 225, 185, 0.55);
  --postit-y: #FFF9B1;
  --postit-p: #FFCCE5;
  --postit-b: #D4EDFF;
  --postit-g: #D5F5D5;
  --postit-o: #FFE4C4;
  --shadow-sm: 1px 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-md: 2px 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 4px 6px 20px rgba(0, 0, 0, 0.14);
  --line-h: 36px;
  --margin-left: 80px;
  --pad: 112px;
  --hole: 18px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Patrick Hand', cursive;
  font-size: 17px;
  color: var(--ink);
  overflow-x: hidden;
  background: var(--desk);
  min-height: 100vh;
}


/* ═══ NOTEBOOK ═══ */

.notebook {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  background: var(--paper);
  box-shadow: -5px 0 28px rgba(0,0,0,0.08), 5px 0 28px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
  background-image: repeating-linear-gradient(transparent, transparent calc(var(--line-h) - 1px), var(--line-blue) calc(var(--line-h) - 1px), var(--line-blue) var(--line-h));
  background-position: 0 18px;
}

.notebook::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--margin-left);
  width: 1.5px;
  height: 100%;
  background: var(--line-red);
  z-index: 2;
  pointer-events: none;
}

.notebook::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}


/* ═══ HOLES ═══ */

.holes-strip { position: absolute; top: 0; left: 0; width: var(--margin-left); height: 100%; z-index: 3; pointer-events: none; overflow: hidden; }
.hole { position: absolute; left: 30px; width: var(--hole); height: var(--hole); border-radius: 50%; background: var(--desk); box-shadow: inset 1px 1px 4px rgba(0,0,0,0.12), inset -0.5px -0.5px 1px rgba(255,255,255,0.4); }


/* ═══ NAV TABS ═══ */

.nav-tabs { position: fixed; right: calc(50% - 578px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 200; }
.nav-tab { writing-mode: vertical-rl; text-orientation: mixed; font-family: 'Caveat', cursive; font-weight: 600; font-size: 0.95rem; padding: 16px 9px; border-radius: 0 8px 8px 0; text-decoration: none; color: var(--ink); transition: all 0.3s; box-shadow: 2px 1px 6px rgba(0,0,0,0.1); }
.nav-tab:hover { padding-right: 16px; box-shadow: 3px 2px 10px rgba(0,0,0,0.15); }
.nav-tab:nth-child(1) { background: var(--postit-y); }
.nav-tab:nth-child(2) { background: var(--postit-p); }
.nav-tab:nth-child(3) { background: var(--postit-b); }
.nav-tab:nth-child(4) { background: var(--postit-g); }
.nav-tab:nth-child(5) { background: var(--postit-o); }


/* ═══ TAPE ═══ */

.tape { position: absolute; height: 26px; border-radius: 1px; z-index: 10; pointer-events: none; }
.tape-y { background: var(--tape-y); }
.tape-p { background: var(--tape-p); }
.tape-b { background: var(--tape-b); }
.tape-g { background: var(--tape-g); }


/* ═══ PEN NUMBER ═══ */

.pen-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--pen-blue); font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.6rem; color: var(--pen-blue); flex-shrink: 0; margin-bottom: 16px; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); background: rgba(255,255,255,0.5); }
.postit:hover .pen-num { transform: scale(1.15) rotate(-8deg); background: var(--pen-blue); color: #fff; }


/* ═══ SHARED ═══ */

.page { padding: 64px var(--pad) 72px; position: relative; z-index: 1; }
.sec-title { font-family: 'Caveat', cursive; font-weight: 700; font-size: 2.65rem; color: var(--pen-blue); line-height: 1.15; margin-bottom: 6px; }
.sec-sub { font-family: 'Indie Flower', cursive; font-size: 1.15rem; color: var(--ink-faded); margin-bottom: 40px; display: block; }
.divider { border: none; border-top: 2px dashed rgba(0,0,0,0.07); margin: 0 var(--pad); }
.page-num { font-family: 'IBM Plex Mono', monospace; font-size: 0.6rem; color: var(--ink-faded); letter-spacing: 1px; position: absolute; bottom: 22px; right: var(--pad); z-index: 2; }


/* ═══ BUTTONS ═══ */

.btn { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.35rem; padding: 14px 34px; border-radius: 8px; cursor: pointer; transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: none; }
.btn-primary { background: var(--pen-red); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-lg); }
.btn-outline { background: #fff; color: var(--ink); border: 2px dashed var(--ink-faded); }
.btn-outline:hover { border-color: var(--pen-blue); color: var(--pen-blue); transform: translateY(-3px); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: var(--shadow-md); }
.btn-whatsapp:hover { background: #1EBE57; transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-lg); }


/* ═══ ANIMATIONS ═══ */

.a-up, .a-left, .a-right, .a-scale, .a-fade { opacity: 0; transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.a-up { transform: translateY(40px); }
.a-left { transform: translateX(-50px); }
.a-right { transform: translateX(50px); }
.a-scale { transform: scale(0.9); }
.a-up.vis, .a-left.vis, .a-right.vis, .a-scale.vis, .a-fade.vis { opacity: 1; transform: translate(0) scale(1); }


/* ═══ COVER ═══ */

.cover { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px var(--pad); position: relative; z-index: 1; text-align: center; }

.cover-logo { font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(5.5rem, 13vw, 9.5rem); line-height: 0.85; color: var(--pen-blue); position: relative; z-index: 5; opacity: 0; animation: coverReveal 1s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; }
@keyframes coverReveal { from { opacity: 0; transform: scale(0.85) rotate(-3deg); } to { opacity: 1; transform: scale(1) rotate(0deg); } }

.cover-logo .four { color: var(--pen-red); display: inline-block; position: relative; }
.cover-logo .four::before { content: ''; position: absolute; inset: -6px -12px; border: 2.5px solid var(--pen-red); border-radius: 50%; opacity: 0; transform: rotate(8deg); animation: circleIn 0.6s ease 0.9s forwards; }
@keyframes circleIn { to { opacity: 0.3; } }

.cover-tagline { font-family: 'Indie Flower', cursive; font-size: clamp(1.2rem, 2.8vw, 1.7rem); color: var(--ink-light); margin-top: 14px; z-index: 5; position: relative; opacity: 0; animation: fadeSlide 0.7s ease 0.5s forwards; }
.cover-tagline .hi { background: var(--hi-yellow); padding: 2px 6px; border-radius: 2px; }

.cover-desc { font-size: 1.28rem; color: var(--ink-light); max-width: 500px; line-height: 1.85; margin-top: 28px; z-index: 5; position: relative; opacity: 0; animation: fadeSlide 0.7s ease 0.7s forwards; }

.cover-cta { margin-top: 36px; z-index: 5; position: relative; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; opacity: 0; animation: fadeSlide 0.7s ease 0.9s forwards; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.cover-deco { position: absolute; z-index: 4; pointer-events: none; }

.round-badge { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-family: 'Caveat', cursive; font-weight: 700; font-size: 0.85rem; line-height: 1.15; box-shadow: var(--shadow-md); opacity: 0; animation: badgePop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.cover-deco:nth-child(4) .round-badge { animation-delay: 1.1s; }
.cover-deco:nth-child(5) .round-badge { animation-delay: 1.3s; }
@keyframes badgePop { from { opacity: 0; transform: var(--rot) scale(0); } to { opacity: 1; transform: var(--rot) scale(1); } }

.coffee-ring { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(ellipse, transparent 38%, rgba(139,90,43,0.04) 40%, rgba(139,90,43,0.08) 48%, transparent 50%, transparent 66%, rgba(139,90,43,0.03) 68%, rgba(139,90,43,0.06) 76%, transparent 78%); pointer-events: none; opacity: 0; animation: fadeIn 1s ease 1.5s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

.scroll-hint { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 5; opacity: 0; animation: fadeSlide 0.7s ease 1.2s forwards; }
.scroll-hint span { font-family: 'Caveat', cursive; font-size: 1.15rem; color: var(--pencil); display: block; }
.scroll-hint .arr { font-size: 1.5rem; animation: bob 2s ease-in-out infinite; display: block; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.cover .tape { opacity: 0; animation: tapeSlide 0.5s ease forwards; }
.cover .tape:nth-child(1) { animation-delay: 1.4s; transform-origin: left; }
.cover .tape:nth-child(2) { animation-delay: 1.6s; transform-origin: right; }
.cover .tape:nth-child(3) { animation-delay: 1.8s; transform-origin: left; }
@keyframes tapeSlide { from { opacity: 0; transform: rotate(var(--r, 0deg)) scaleX(0); } to { opacity: 1; transform: rotate(var(--r, 0deg)) scaleX(1); } }


/* ═══ ABOUT ═══ */

.about-content { margin-top: 8px; max-width: 680px; }
.about-content p { font-size: 1.28rem; line-height: 2.1; margin-bottom: 14px; }

.hi-y { background: var(--hi-yellow); padding: 1px 5px; border-radius: 2px; }
.hi-p { background: var(--hi-pink); padding: 1px 5px; border-radius: 2px; }
.hi-g { background: var(--hi-green); padding: 1px 5px; border-radius: 2px; }

.manifesto { margin-top: 36px; padding: 28px 32px; background: rgba(255,255,255,0.5); border-left: 3px solid var(--pen-red); border-radius: 0 12px 12px 0; }
.manifesto-title { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.5rem; color: var(--pen-red); margin-bottom: 14px; }
.manifesto-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.manifesto-list li { font-family: 'Indie Flower', cursive; font-size: 1.15rem; color: var(--ink-light); padding-left: 24px; position: relative; line-height: 1.6; opacity: 0; transform: translateX(-20px); transition: all 0.5s cubic-bezier(0.16,1,0.3,1); }
.manifesto-list li::before { content: '—'; position: absolute; left: 0; color: var(--pen-red); font-weight: 700; }
.manifesto.vis li { opacity: 1; transform: translateX(0); }
.manifesto.vis li:nth-child(1) { transition-delay: 0.1s; }
.manifesto.vis li:nth-child(2) { transition-delay: 0.25s; }
.manifesto.vis li:nth-child(3) { transition-delay: 0.4s; }
.manifesto.vis li:nth-child(4) { transition-delay: 0.55s; }

.signature { font-family: 'Reenie Beanie', cursive; font-size: 2.8rem; color: var(--pen-blue); margin-top: 28px; display: inline-block; transform: rotate(-3deg); opacity: 0; transition: opacity 0.8s ease 0.7s; }
.signature.vis { opacity: 0.7; }


/* ═══ SERVICES ═══ */

.postits-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.postit { padding: 32px 26px; position: relative; box-shadow: var(--shadow-md); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s; border-radius: 2px; min-height: 240px; display: flex; flex-direction: column; }
.postit:hover { z-index: 10; box-shadow: var(--shadow-lg); }
.postit::after { content: ''; position: absolute; bottom: 0; right: 0; width: 26px; height: 26px; background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.05) 50%); pointer-events: none; }
.postit:nth-child(1) { background: var(--postit-y); transform: rotate(-1.8deg); }
.postit:nth-child(2) { background: var(--postit-p); transform: rotate(1.2deg); }
.postit:nth-child(3) { background: var(--postit-g); transform: rotate(-0.8deg); }
.postit:nth-child(1):hover, .postit:nth-child(2):hover, .postit:nth-child(3):hover,
.postit-anim.vis:nth-child(1):hover, .postit-anim.vis:nth-child(2):hover, .postit-anim.vis:nth-child(3):hover { transform: rotate(0deg) translateY(-8px) scale(1.02); }
.postit h3 { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.75rem; margin-bottom: 10px; }
.postit p { font-size: 1.12rem; line-height: 1.75; color: var(--ink-light); flex: 1; }
.postit .includes { font-family: 'Indie Flower', cursive; font-size: 0.95rem; color: var(--ink-faded); margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed rgba(0,0,0,0.08); line-height: 1.6; }

.postit-anim { opacity: 0; transform: translateY(-30px) rotate(0deg); transition: all 0.6s cubic-bezier(0.34,1.56,0.64,1); }
.postit-anim.vis:nth-child(1) { opacity: 1; transform: translateY(0) rotate(-1.8deg); transition-delay: 0s; }
.postit-anim.vis:nth-child(2) { opacity: 1; transform: translateY(0) rotate(1.2deg); transition-delay: 0.12s; }
.postit-anim.vis:nth-child(3) { opacity: 1; transform: translateY(0) rotate(-0.8deg); transition-delay: 0.24s; }


/* ═══ PORTFOLIO ═══ */

.photos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; margin-top: 8px; }
.photo-card { position: relative; transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.photo-card:nth-child(1) { transform: rotate(-1.2deg); }
.photo-card:nth-child(2) { transform: rotate(1.5deg); margin-top: 28px; }
.photo-card:nth-child(3) { transform: rotate(0.8deg); }
.photo-card:nth-child(4) { transform: rotate(-1.8deg); margin-top: 28px; }
.photo-card:hover { transform: rotate(0deg) scale(1.02) !important; z-index: 10; }

.photo-frame { background: #fff; padding: 12px; box-shadow: var(--shadow-md); }
.photo-screen { width: 100%; height: 240px; position: relative; overflow: hidden; }

.photo-card:nth-child(1) .photo-screen { background: linear-gradient(150deg, #2B2B3D, #1B1B2B); background-image: radial-gradient(ellipse at 30% 40%, rgba(232,80,58,0.18) 0%, transparent 60%); }
.photo-card:nth-child(2) .photo-screen { background: linear-gradient(150deg, #F8F0E2, #F0E4D0); background-image: radial-gradient(ellipse at 60% 30%, rgba(212,147,13,0.18) 0%, transparent 60%); }
.photo-card:nth-child(3) .photo-screen { background: linear-gradient(150deg, #E6EAFF, #DAE0FF); background-image: radial-gradient(ellipse at 40% 60%, rgba(124,92,252,0.14) 0%, transparent 60%); }
.photo-card:nth-child(4) .photo-screen { background: linear-gradient(150deg, #182430, #101C28); background-image: radial-gradient(ellipse at 70% 30%, rgba(45,155,110,0.22) 0%, transparent 60%); }

.mock-ui { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 55%; display: flex; flex-direction: column; gap: 5px; opacity: 0.25; }
.m-bar { height: 5px; border-radius: 3px; }
.m-60 { width: 60%; } .m-85 { width: 85%; } .m-45 { width: 45%; }
.photo-card:nth-child(1) .m-bar, .photo-card:nth-child(4) .m-bar { background: rgba(255,255,255,0.15); }
.photo-card:nth-child(2) .m-bar, .photo-card:nth-child(3) .m-bar { background: rgba(0,0,0,0.07); }
.m-block { width: 100%; height: 46px; border-radius: 4px; margin: 3px 0; }
.photo-card:nth-child(1) .m-block { background: rgba(232,80,58,0.12); }
.photo-card:nth-child(2) .m-block { background: rgba(212,147,13,0.1); }
.photo-card:nth-child(3) .m-block { background: rgba(124,92,252,0.1); }
.photo-card:nth-child(4) .m-block { background: rgba(45,155,110,0.12); }

.browser-dots { position: absolute; top: 8px; left: 10px; display: flex; gap: 4px; z-index: 2; }
.browser-dots span { width: 6px; height: 6px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #FF5F56; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #27C93F; }
.photo-card:nth-child(1) .browser-dots span, .photo-card:nth-child(4) .browser-dots span { opacity: 0.3; }
.photo-card:nth-child(2) .browser-dots span, .photo-card:nth-child(3) .browser-dots span { opacity: 0.45; }

.photo-info { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.photo-info h4 { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.6rem; }
.photo-info .tag { font-family: 'IBM Plex Mono', monospace; font-size: 0.62rem; color: var(--ink-faded); text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 12px; background: rgba(0,0,0,0.04); border-radius: 50px; }
.photo-desc { font-family: 'Indie Flower', cursive; font-size: 1.05rem; color: var(--ink-light); margin-top: 4px; }

.photo-anim-l { opacity: 0; transform: translateX(-40px) rotate(-3deg); transition: all 0.7s cubic-bezier(0.16,1,0.3,1); }
.photo-anim-r { opacity: 0; transform: translateX(40px) rotate(3deg); transition: all 0.7s cubic-bezier(0.16,1,0.3,1); }
.photo-anim-l.vis { opacity: 1; transform: translateX(0) rotate(-1.2deg); }
.photo-anim-r.vis { opacity: 1; transform: translateX(0) rotate(1.5deg); }
.photo-anim-l.vis:nth-child(3) { transform: translateX(0) rotate(0.8deg); }
.photo-anim-r.vis:nth-child(4) { transform: translateX(0) rotate(-1.8deg); }

.portfolio-cta { margin-top: 48px; background: #fff; border: 2px dashed var(--ink-faded); border-radius: 16px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.portfolio-cta::before { content: ''; position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--postit-y); opacity: 0.35; pointer-events: none; }
.portfolio-cta-text h3 { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.9rem; color: var(--pen-blue); margin-bottom: 4px; }
.portfolio-cta-text p { font-family: 'Indie Flower', cursive; font-size: 1.1rem; color: var(--ink-faded); }


/* ═══ PROCESS ═══ */

.process-list { display: flex; flex-direction: column; margin-top: 8px; border-left: 2.5px solid var(--line-blue); margin-left: 18px; padding-left: 32px; }
.step-item { padding: 18px 0; position: relative; transition: transform 0.2s; }
.step-item:hover { transform: translateX(6px); }
.step-item::before { content: ''; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2.5px solid var(--pen-blue); position: absolute; left: -40px; top: 24px; transition: all 0.3s; }
.step-item:hover::before { background: var(--pen-blue); transform: scale(1.3); }
.step-head { display: flex; align-items: baseline; gap: 14px; }
.step-num { font-family: 'Caveat', cursive; font-weight: 700; font-size: 2.1rem; color: var(--pen-red); line-height: 1; }
.step-item h3 { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.7rem; }
.step-item p { font-size: 1.18rem; color: var(--ink-light); line-height: 1.8; margin-top: 4px; padding-left: 48px; }

.step-anim { opacity: 0; transform: translateX(-30px); transition: all 0.6s cubic-bezier(0.16,1,0.3,1); }
.step-anim.vis { opacity: 1; transform: translateX(0); }


/* ═══ STATS ═══ */

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.stat-box { text-align: center; padding: 24px 8px; border-right: 1.5px dashed rgba(0,0,0,0.06); }
.stat-box:last-child { border-right: none; }
.stat-num { font-family: 'Reenie Beanie', cursive; font-size: 4rem; line-height: 1; color: var(--pen-red); }
.stat-box:nth-child(2) .stat-num { color: var(--pen-blue); }
.stat-box:nth-child(3) .stat-num { color: var(--pen-green); }
.stat-box:nth-child(4) .stat-num { color: #8B6914; }
.stat-lbl { font-family: 'Indie Flower', cursive; font-size: 1.05rem; color: var(--ink-faded); margin-top: 4px; }

.stat-anim { opacity: 0; transform: scale(0.7); transition: all 0.5s cubic-bezier(0.34,1.56,0.64,1); }
.stat-anim.vis { opacity: 1; transform: scale(1); }


/* ═══ TESTIMONIALS ═══ */

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.testi-card { padding: 28px 22px; border-radius: 2px; position: relative; box-shadow: var(--shadow-md); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s; display: flex; flex-direction: column; }
.testi-card::after { content: ''; position: absolute; bottom: 0; right: 0; width: 20px; height: 20px; background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.04) 50%); }
.testi-card:nth-child(1) { background: var(--postit-y); transform: rotate(-1deg); border-left: 4px solid #D4B623; }
.testi-card:nth-child(2) { background: var(--postit-b); transform: rotate(0.8deg); border-left: 4px solid #5BA3D9; }
.testi-card:nth-child(3) { background: var(--postit-o); transform: rotate(-0.5deg); border-left: 4px solid #D4943D; }
.testi-card:hover { transform: rotate(0deg) translateY(-6px) scale(1.02) !important; box-shadow: var(--shadow-lg); z-index: 10; }
.testi-card .stars { font-family: 'Caveat', cursive; font-size: 1.1rem; color: var(--pen-red); letter-spacing: 1px; margin-bottom: 12px; }
.testi-card blockquote { font-size: 1.15rem; line-height: 1.78; flex: 1; margin-bottom: 22px; }
.testi-who { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.22rem; }
.testi-role { font-family: 'IBM Plex Mono', monospace; font-size: 0.62rem; color: var(--ink-faded); text-transform: uppercase; letter-spacing: 1px; }

.testi-anim { opacity: 0; transform: translateY(-25px); transition: all 0.6s cubic-bezier(0.34,1.56,0.64,1); }
.testi-anim.vis:nth-child(1) { opacity: 1; transform: translateY(0) rotate(-1deg); transition-delay: 0s; }
.testi-anim.vis:nth-child(2) { opacity: 1; transform: translateY(0) rotate(0.8deg); transition-delay: 0.12s; }
.testi-anim.vis:nth-child(3) { opacity: 1; transform: translateY(0) rotate(-0.5deg); transition-delay: 0.24s; }


/* ═══ CONTACT FORM ═══ */

.contact-section { padding: 72px var(--pad) 80px; position: relative; z-index: 1; }
.form-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 8px; }
.form-left h3 { font-family: 'Caveat', cursive; font-weight: 700; font-size: 2.2rem; color: var(--pen-blue); margin-bottom: 12px; }
.form-left p { font-size: 1.2rem; line-height: 1.85; color: var(--ink-light); margin-bottom: 24px; }
.form-right { background: #fff; border-radius: 16px; padding: 32px 28px; box-shadow: var(--shadow-md); position: relative; }
.form-right::after { content: ''; position: absolute; bottom: 0; right: 0; width: 28px; height: 28px; background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.04) 50%); border-radius: 0 0 16px 0; }
.form-group { margin-bottom: 18px; }
.form-group label { font-family: 'Caveat', cursive; font-weight: 600; font-size: 1.2rem; color: var(--ink); display: block; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 2px solid rgba(176,208,230,0.5); border-radius: 10px; background: var(--paper); font-family: 'Patrick Hand', cursive; font-size: 1.1rem; color: var(--ink); outline: none; transition: border-color 0.3s, box-shadow 0.3s; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--pen-blue); box-shadow: 0 0 0 3px rgba(43,92,158,0.08); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-faded); }
.form-group textarea { min-height: 100px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239494A8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-submit { width: 100%; font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.4rem; padding: 14px; background: var(--pen-red); color: #fff; border: none; border-radius: 10px; cursor: pointer; transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1); box-shadow: var(--shadow-md); margin-top: 4px; }
.form-submit:hover:not(:disabled) { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-lg); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-feedback { border-radius: 8px; font-family: 'Indie Flower', cursive; font-size: 1.05rem; margin-bottom: 12px; padding: 0; max-height: 0; overflow: hidden; transition: padding 0.3s, max-height 0.3s; }
.form-feedback:not(:empty) { padding: 12px 16px; max-height: 80px; }
.form-success { background: var(--postit-g); color: var(--pen-green); }
.form-error { background: #FFE5E5; color: var(--pen-red); }

.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-row a { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px dashed var(--ink-faded); display: flex; align-items: center; justify-content: center; font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; font-weight: 600; color: var(--ink-light); text-decoration: none; transition: all 0.3s; }
.social-row a:hover { border-style: solid; border-color: var(--pen-red); color: var(--pen-red); transform: scale(1.1) rotate(-5deg); }


/* ═══ PORTFOLIO EMPTY STATE ═══ */

.portfolio-empty { position: relative; background: var(--postit-b); border-radius: 2px; padding: 52px 40px; text-align: center; box-shadow: var(--shadow-md); margin-top: 8px; display: flex; flex-direction: column; align-items: center; gap: 16px; transform: rotate(-0.4deg); }
.portfolio-empty-title { font-family: 'Caveat', cursive; font-weight: 700; font-size: 2rem; color: var(--pen-blue); }
.portfolio-empty-desc { font-family: 'Indie Flower', cursive; font-size: 1.15rem; color: var(--ink-light); max-width: 520px; line-height: 1.75; }


/* ═══ TESTIMONIALS EMPTY STATE ═══ */

.testi-empty { background: var(--postit-y); border-radius: 2px; padding: 48px 36px; text-align: center; box-shadow: var(--shadow-md); display: flex; flex-direction: column; align-items: center; gap: 18px; transform: rotate(-0.5deg); margin-top: 8px; }
.testi-empty-icon { font-family: 'Reenie Beanie', cursive; font-size: 3.5rem; color: var(--pen-red); line-height: 1; }
.testi-empty-text { font-family: 'Indie Flower', cursive; font-size: 1.15rem; color: var(--ink-light); max-width: 540px; line-height: 1.75; }


/* ═══ FOOTER ═══ */

.notebook-footer { text-align: center; padding: 28px var(--pad); border-top: 2px dashed rgba(0,0,0,0.06); margin: 0 var(--pad); position: relative; z-index: 1; }
.notebook-footer span { font-family: 'Indie Flower', cursive; font-size: 1rem; color: var(--ink-faded); }
.footer-link { color: var(--pen-blue); text-decoration: none; border-bottom: 1px dashed var(--pen-blue); transition: color 0.2s, border-color 0.2s; }
.footer-link:hover { color: var(--pen-red); border-color: var(--pen-red); }


/* ═══ RESPONSIVE ═══ */

@media (max-width: 1200px) {
  .nav-tabs { display: none; }
}

@media (max-width: 768px) {
  :root { --pad: 22px; --margin-left: 0px; --hole: 0px; }
  body { background: var(--paper); }
  .notebook { box-shadow: none; background-image: repeating-linear-gradient(transparent, transparent calc(var(--line-h) - 1px), rgba(176,208,230,0.22) calc(var(--line-h) - 1px), rgba(176,208,230,0.22) var(--line-h)); }
  .notebook::before { display: none; }
  .holes-strip { display: none; }
  .mobile-nav { display: flex !important; }
  .page, .contact-section { padding: 48px var(--pad) 56px; }
  .sec-title { font-size: 2rem; }
  .sec-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .divider { margin: 0 var(--pad); }
  .page-num { right: var(--pad); }
  .cover { padding: 80px var(--pad) 72px; min-height: 100svh; }
  .cover-logo { font-size: 4.5rem; }
  .cover-desc { font-size: 1.1rem; }
  .cover-cta { flex-direction: column; align-items: center; }
  .cover-cta .btn { width: 100%; max-width: 290px; justify-content: center; }
  .cover-deco, .coffee-ring, .cover .tape { display: none; }
  .about-content p { font-size: 1.1rem; line-height: 1.95; }
  .manifesto { padding: 22px 20px; }
  .manifesto-list li { font-size: 1.05rem; }
  .postits-row { grid-template-columns: 1fr; gap: 16px; }
  .postit { min-height: auto; padding: 26px 22px; }
  .postit:nth-child(1) { transform: rotate(-0.6deg); }
  .postit:nth-child(2) { transform: rotate(0.5deg); }
  .postit:nth-child(3) { transform: rotate(-0.3deg); }
  .photos-grid { grid-template-columns: 1fr; gap: 28px; }
  .photo-card:nth-child(2), .photo-card:nth-child(4) { margin-top: 0 !important; }
  .photo-screen { height: 190px; }
  .portfolio-cta { flex-direction: column; text-align: center; padding: 28px 24px; }
  .process-list { margin-left: 8px; padding-left: 24px; }
  .step-item p { padding-left: 0; }
  .step-item::before { left: -30px; width: 10px; height: 10px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-num { font-size: 2.8rem; }
  .testi-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-wrapper { grid-template-columns: 1fr; gap: 28px; }
  .form-left h3 { font-size: 1.8rem; }
  .contact-section .tape { display: none; }
  .notebook-footer { padding: 24px var(--pad) 80px; margin: 0 var(--pad); }
}

@media (max-width: 400px) {
  :root { --pad: 16px; }
  .cover-logo { font-size: 3.6rem; }
  .sec-title { font-size: 1.75rem; }
}


/* ═══ MOBILE NAV ═══ */

.mobile-nav { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 500; background: rgba(253,248,238,0.92); backdrop-filter: blur(12px); border-top: 1.5px solid rgba(0,0,0,0.06); padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); justify-content: space-around; align-items: center; box-shadow: 0 -2px 16px rgba(0,0,0,0.06); }
.mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--ink-faded); font-family: 'Caveat', cursive; font-size: 0.82rem; font-weight: 600; padding: 6px 10px; border-radius: 10px; transition: all 0.2s; }
.mobile-nav a.active { color: var(--pen-red); background: rgba(192,57,43,0.06); }
