/* =========================================================
   Vyra Studio — landing page for web-development services.
   Deliberately its own design system, separate from
   css/style.css (the photography portfolio).
   ========================================================= */

:root{
  --bg:        #0a0a12;
  --bg-raised: #12121e;
  --bg-card:   #15152488;
  --line:      #262638;
  --fg:        #f5f5fa;
  --fg-dim:    #9d9dbb;
  --fg-faint:  #5c5c78;
  --accent:    #7c5cff;
  --accent-2:  #22d3ee;
  --radius:    14px;
  --pad: clamp(24px, 6vw, 64px);
  --ease: cubic-bezier(.2,.8,.2,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
body.is-ready{ opacity: 1; }
h1, h2, h3{ font-family: 'Sora', 'Inter', sans-serif; margin: 0; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
p{ margin: 0; }

.wrap{ max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow{ max-width: 720px; }

/* ---------- Nav ---------- */
.nav{
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,18,.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand{ display: flex; align-items: center; gap: 10px; font-weight: 700; font-family: 'Sora', sans-serif; font-size: 1.05rem; flex-shrink: 0; }
.brand-mark{
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 800; color: #0a0a12;
}
.nav-links{ display: flex; gap: 32px; }
.nav-links a{ font-size: .92rem; color: var(--fg-dim); transition: color .2s; }
.nav-links a:hover{ color: var(--fg); }
.nav-right{ display: flex; align-items: center; gap: 18px; }
.lang-switch{ display: flex; gap: 2px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.lang-btn{
  background: none; border: none; color: var(--fg-faint); font-size: .78rem; font-weight: 600;
  padding: 5px 10px; border-radius: 6px; cursor: pointer; font-family: inherit;
}
.lang-btn.is-active{ background: var(--accent); color: #fff; }
.nav-toggle{ display: none; background: none; border: none; color: var(--fg); padding: 6px; }

.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), opacity .2s;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: linear-gradient(135deg, var(--accent), #a78bfa); color: #fff; }
.btn-ghost{ border-color: var(--line); color: var(--fg); }
.nav-cta{ padding: 10px 18px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero{
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: 90px var(--pad) 100px;
}
.eyebrow, .section-eyebrow{
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 18px;
}
.hero h1{
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero-sub{ color: var(--fg-dim); font-size: 1.08rem; max-width: 46ch; margin-bottom: 30px; }
.hero-ctas{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.trust-row{ display: flex; gap: 22px; flex-wrap: wrap; font-size: .82rem; color: var(--fg-faint); }
.trust-row span::before{ content: '✓ '; color: var(--accent-2); }

.hero-visual{ position: relative; }
.mock-browser{
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(124,92,255,.25);
}
.mock-bar{ display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-bar span{ width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-url{ margin-left: 12px; background: var(--bg); border-radius: 6px; padding: 4px 12px; font-size: .72rem; color: var(--fg-faint); }
.mock-screen{ padding: 22px; }
.mock-nav{ display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.mock-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mock-line{ height: 6px; border-radius: 3px; background: var(--line); }
.mock-hero{ height: 140px; border-radius: 10px; background: linear-gradient(135deg, rgba(124,92,255,.5), rgba(34,211,238,.35)); margin-bottom: 14px; }
.mock-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-card{ height: 70px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); }
.floating-badge{
  position: absolute; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 14px; font-size: .78rem; display: flex; align-items: center; gap: 6px;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); animation: float 5s ease-in-out infinite;
}
.badge-1{ top: -18px; right: 20px; animation-delay: 0s; }
.badge-2{ bottom: 30px; left: -24px; animation-delay: 1.2s; }
@keyframes float{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.section{ padding: 90px var(--pad); }
.section-alt{ background: var(--bg-raised); }
.section h2{ font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; max-width: 20ch; }
.section-lede{ color: var(--fg-dim); max-width: 56ch; margin-bottom: 40px; font-size: 1.02rem; }
.section > .wrap > h2:last-of-type{ margin-bottom: 48px; }

/* ---------- Feature grid ---------- */
.feature-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature-card{ background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s var(--ease); }
.feature-card:hover{ border-color: var(--accent); transform: translateY(-4px); }
.feature-icon{ font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h3{ font-size: 1.08rem; margin-bottom: 10px; }
.feature-card p{ color: var(--fg-dim); font-size: .92rem; }

/* ---------- Style preview cards ---------- */
.style-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.style-card{ background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .25s var(--ease); }
.style-card:hover{ transform: translateY(-4px); }
.style-preview{ border-radius: 10px; overflow: hidden; padding: 14px; margin-bottom: 18px; }
.sp-nav{
  display: flex; align-items: center; gap: 6px; margin-bottom: 12px;
  font-size: .78rem; font-weight: 700; font-family: 'Sora', sans-serif;
  color: #fff; opacity: .95;
}
.sp-hero{
  height: 84px; border-radius: 8px; margin-bottom: 10px;
  display: flex; align-items: center; padding: 0 16px;
}
.sp-hero-text{ font-family: 'Sora', sans-serif; font-weight: 700; font-size: .92rem; line-height: 1.25; max-width: 80%; }
.sp-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-box{ height: 40px; border-radius: 6px; }
.style-card h3{ font-size: 1.05rem; margin-bottom: 8px; }
.style-card p{ color: var(--fg-dim); font-size: .88rem; }

/* Café / restaurant preview */
.style-cafe .style-preview{ background: #241712; }
.style-cafe .sp-box{ background: #3a2a1e; }
.style-cafe .sp-hero{ background: linear-gradient(135deg,#c98a4b,#7a4a24); }
.style-cafe .sp-hero-text{ color: #2a1810; }
.sp-menu{ display: flex; flex-direction: column; gap: 8px; }
.sp-menu-row{ height: 12px; border-radius: 4px; background: #3a2a1e; }
.sp-menu-row:nth-child(2){ width: 80%; }
.sp-menu-row:nth-child(3){ width: 60%; }

/* ---------- Café expanded preview: illustrated hero, gallery, footer ---------- */
.cafe-hero{
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: 20px; min-height: 380px; padding: 44px 40px;
  background: radial-gradient(ellipse at 25% 25%, rgba(201,138,75,.3), transparent 65%);
}
.cafe-hero-bg{ position: relative; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.cafe-cup{ position: relative; width: 180px; height: 170px; }
.cup-body{
  position: absolute; bottom: 0; left: 20px; width: 140px; height: 105px;
  background: linear-gradient(180deg,#fdf8f0,#e8dfd3);
  border-radius: 6px 6px 55px 55px; box-shadow: 0 22px 44px rgba(0,0,0,.35);
}
.cup-liquid{ position: absolute; top: 0; left: 8px; right: 8px; height: 26px; background: #3d2513; border-radius: 50%; overflow: hidden; }
.cup-foam{ position: absolute; inset: 3px; background: radial-gradient(circle at 45% 35%, #f0e4d0, #c9a876 75%); border-radius: 50%; }
.cup-handle{
  position: absolute; right: -14px; bottom: 26px; width: 46px; height: 50px;
  border: 11px solid #e8dfd3; border-left-color: transparent; border-radius: 50%; transform: rotate(-15deg);
}
.steam{
  position: absolute; top: -36px; width: 5px; height: 36px; border-radius: 3px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.55));
  animation: steam-rise 3.2s ease-in-out infinite;
}
.steam.s1{ left: 48px; animation-delay: 0s; }
.steam.s2{ left: 75px; animation-delay: 1s; }
.steam.s3{ left: 100px; animation-delay: 2s; }
@keyframes steam-rise{
  0%{ opacity: 0; transform: translateY(12px) scaleY(.8); }
  50%{ opacity: .65; }
  100%{ opacity: 0; transform: translateY(-22px) scaleY(1.25); }
}
.cafe-hero-content{ position: relative; z-index: 1; }
.cafe-badge{
  display: inline-flex; align-items: center; gap: 6px; background: rgba(201,138,75,.16);
  border: 1px solid rgba(201,138,75,.45); padding: 6px 14px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; margin-bottom: 16px;
}
.cafe-badge svg{ width: 13px; height: 13px; }
.cafe-hero-btns{ display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.xp-hero-btn.ghost{ background: transparent; border: 1.5px solid #c98a4b; color: #f2e6d8; }

.ig-tag{ font-size: .76rem; font-weight: 400; opacity: .65; display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; }
.ig-tag svg{ width: 13px; height: 13px; }
.ig-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ig-tile{ aspect-ratio: 1; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; }
.ig-tile svg{ width: 32px; height: 32px; opacity: .9; }
.ig-tile.t1{ background: linear-gradient(135deg,#c98a4b,#7a4a24); }
.ig-tile.t2{ background: linear-gradient(135deg,#e8c9a0,#c98a4b); }
.ig-tile.t3{ background: linear-gradient(135deg,#8b5a2b,#4a2c17); }
.ig-tile.t4{ background: linear-gradient(135deg,#6b8e5a,#3d5c34); }
.ig-tile.t5{ background: linear-gradient(135deg,#4a2c17,#241710); }
.ig-tile.t6{ background: linear-gradient(135deg,#d4a574,#a97442); }

.xp-footer-full{ padding: 36px 40px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-info-row{ display: flex; gap: 26px; flex-wrap: wrap; margin-top: 14px; font-size: .85rem; opacity: .7; }
.footer-info-item{ display: flex; align-items: center; gap: 8px; }
.footer-info-item svg{ width: 16px; height: 16px; flex-shrink: 0; }

@media (max-width: 700px){
  .cafe-hero{ grid-template-columns: 1fr; }
  .cafe-hero-bg{ order: -1; min-height: 160px; }
}

/* ---------- Shared: badge + illustration panel + generic gallery
   (reused across service / corp / portfolio previews too) ---------- */
.preview-badge{
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; margin-bottom: 16px; border: 1px solid; background: rgba(255,255,255,.05);
}
.preview-badge svg{ width: 13px; height: 13px; }
.illustrated-hero{
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: 20px; min-height: 360px; padding: 44px 40px;
}
.illustration-panel{
  display: flex; align-items: center; justify-content: center; min-height: 200px;
}
.illustration-panel svg{ width: 130px; height: 130px; opacity: .9; }
.illustration-panel.ring{
  width: 220px; height: 220px; border-radius: 50%; margin: 0 auto;
  border: 1.5px dashed rgba(255,255,255,.18);
}
@media (max-width: 700px){
  .illustrated-hero{ grid-template-columns: 1fr; }
  .illustration-panel{ order: -1; min-height: 140px; }
  .illustration-panel svg{ width: 90px; height: 90px; }
}

/* Portfolio (reuses the dark palette — this very site) */
.style-portfolio .style-preview{ background: #0d0d16; }
.style-portfolio .sp-box{ background: #23233a; }
.style-portfolio .sp-hero{ background: linear-gradient(135deg,#2a2a45,#1a1a2c); }
.style-portfolio .sp-hero-text{ color: #f5f5fa; }

/* Local service / craftsman preview */
.style-service .style-preview{ background: #0e1f1c; }
.style-service .sp-hero{ background: linear-gradient(135deg,#2e6f5e,#1a3f34); }
.style-service .sp-hero-text{ color: #eafff6; }
.sp-cta{ height: 26px; width: 55%; border-radius: 999px; background: var(--accent-2); margin: 10px 0; }
.sp-badges{ display: flex; gap: 8px; }
.sp-badges span{ width: 22px; height: 22px; border-radius: 50%; background: #1a3f34; border: 1px solid #2e6f5e; }

/* Company / B2B preview */
.style-corp .style-preview{ background: #0e1a2e; }
.style-corp .sp-box{ background: #16283f; }
.style-corp .sp-hero{ background: linear-gradient(135deg,#1c3a5e,#2a5580); }
.style-corp .sp-hero-text{ color: #eaf2ff; }
.sp-stats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-stat{ height: 44px; border-radius: 6px; background: #16283f; }

/* ---------- Process ---------- */
.process-row{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.process-num{ font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--accent); margin-bottom: 12px; }
.process-step h3{ font-size: 1.02rem; margin-bottom: 8px; }
.process-step p{ color: var(--fg-dim); font-size: .88rem; }

/* ---------- Pricing ---------- */
.price-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card{ position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; }
.price-card.is-featured{ border-color: var(--accent); background: linear-gradient(180deg, rgba(124,92,255,.08), transparent); }
.price-badge{ position: absolute; top: -12px; left: 26px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price-card h3{ font-size: 1.1rem; margin-bottom: 14px; }
.price-tag{ font-size: 1rem; color: var(--fg-dim); margin-bottom: 6px; }
.price-tag b{ font-family: 'Sora', sans-serif; font-size: 1.9rem; color: var(--fg); }
.price-tag-custom{ font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--fg); }
.price-card > p{ color: var(--fg-dim); font-size: .88rem; margin-bottom: 20px; }
.price-card ul{ display: flex; flex-direction: column; gap: 10px; }
.price-card li{ font-size: .88rem; color: var(--fg-dim); padding-left: 20px; position: relative; }
.price-card li::before{ content: '✓'; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }

/* ---------- Contact: simple mailto card ---------- */
.contact-card{
  display: flex; align-items: center; gap: 18px; margin-top: 20px; padding: 24px 28px;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s var(--ease);
}
.contact-card:hover{ border-color: var(--accent); transform: translateY(-3px); }
.contact-card-icon{ font-size: 1.8rem; flex-shrink: 0; }
.contact-card-text{ display: flex; flex-direction: column; gap: 4px; flex: 1; }
.contact-card-label{ font-size: .82rem; color: var(--fg-dim); }
.contact-card-email{ font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem; }
.contact-card-arrow{ font-size: 1.3rem; color: var(--accent-2); transition: transform .2s var(--ease); }
.contact-card:hover .contact-card-arrow{ transform: translateX(6px); }

/* ---------- Contact form ---------- */
#contact form{ display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }
.field label{ display: block; font-size: .82rem; color: var(--fg-dim); margin-bottom: 8px; }
.field input, .field textarea{
  width: 100%; background: var(--bg-raised); border: 1px solid var(--line); color: var(--fg);
  padding: 12px 14px; border-radius: 10px; font-size: .95rem; font-family: inherit;
}
.field textarea{ min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus{ outline: none; border-color: var(--accent); }
#contact .btn{ align-self: flex-start; }
.form-success{
  display: none; margin-top: 20px; padding: 16px 18px; border-radius: 10px;
  border: 1px solid var(--accent-2); background: rgba(34,211,238,.08); font-size: .92rem;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.form-success.is-error{ border-color: #ff6b6b; background: rgba(255,107,107,.08); }
.form-success.is-shown{ display: block; }
.form-success.is-in{ opacity: 1; transform: translateY(0); }

/* ---------- Footer ---------- */
.web-footer{ border-top: 1px solid var(--line); padding: 28px var(--pad); color: var(--fg-faint); font-size: .82rem; }
.footer-row{ display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-links{ display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a{ color: var(--fg-faint); transition: color .2s; }
.footer-links a:hover{ color: var(--fg); }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; padding-top: 60px; }
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .style-grid{ grid-template-columns: 1fr; }
  .process-row{ grid-template-columns: repeat(2, 1fr); }
  .price-grid{ grid-template-columns: 1fr; }
  .nav-links{ display: none; }
}
@media (max-width: 560px){
  .feature-grid{ grid-template-columns: 1fr; }
  .process-row{ grid-template-columns: 1fr; }
  .nav-right .lang-switch{ display: flex; }
  .nav-cta{ display: none; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Style cards as clickable buttons ---------- */
.style-card{ display: block; width: 100%; text-align: left; font-family: inherit; cursor: pointer; }
.style-cta{
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: .82rem; font-weight: 600; color: var(--accent-2);
  transition: gap .2s var(--ease);
}
.style-card:hover .style-cta{ gap: 10px; }

/* ---------- Preview modal ---------- */
.preview-modal{
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.preview-modal.is-open{ opacity: 1; visibility: visible; }
.preview-backdrop{ position: absolute; inset: 0; background: rgba(5,5,10,.82); backdrop-filter: blur(6px); }
.preview-frame{
  position: relative; width: min(1100px, 100%); max-height: 92vh;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  transform: scale(.92) translateY(20px); transition: transform .35s var(--ease);
  box-shadow: 0 60px 120px -20px rgba(0,0,0,.6);
}
.preview-modal.is-open .preview-frame{ transform: scale(1) translateY(0); }
.preview-frame-bar{ display: flex; align-items: center; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.preview-frame-bar span{ width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.preview-frame-url{ margin-left: 12px; background: var(--bg); border-radius: 6px; padding: 5px 14px; font-size: .78rem; color: var(--fg-faint); }
.preview-close{ margin-left: auto; background: var(--bg); border: 1px solid var(--line); color: var(--fg); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: .9rem; }
.preview-frame-body{ overflow-y: auto; padding: 0; }

/* ---------- Expanded preview: working nav + logo + real content ---------- */
.xp-nav{
  position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between; padding: 20px 40px;
}
.xp-logo-real{ display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; font-family: 'Sora', sans-serif; }
.xp-logo-real svg{ width: 24px; height: 24px; flex-shrink: 0; }
.xp-nav-links{ display: flex; gap: 6px; }
.xp-nav-links a{
  font-size: .85rem; opacity: .68; cursor: pointer; transition: opacity .2s, background .2s;
  text-decoration: none; color: inherit; padding: 7px 14px; border-radius: 999px; font-weight: 600;
}
.xp-nav-links a:hover{ opacity: .95; }
.xp-nav-links a.is-active{ opacity: 1; }

.xp-hero{ padding: 56px 40px 60px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.xp-hero-title{ font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1.2; max-width: 480px; }
.xp-hero-title.small{ font-family: 'Inter', sans-serif; font-weight: 400; font-size: .95rem; opacity: .75; max-width: 380px; }
.xp-hero-btn{
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 11px 24px; border-radius: 999px;
  font-size: .85rem; font-weight: 700; font-family: 'Inter', sans-serif;
}
.xp-hero-btn svg{ width: 15px; height: 15px; flex-shrink: 0; }
.xp-hero-photo{
  position: relative; min-height: 320px; width: 100%; display: flex; align-items: flex-end;
  padding: 40px !important; background-size: cover; background-position: center; border-radius: 0;
}
.xp-hero-photo::before{ content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,18,.05), rgba(10,10,18,.9)); }
.xp-hero-photo > *{ position: relative; z-index: 1; }

.xp-section{ padding: 46px 40px; border-top: 1px solid rgba(255,255,255,.06); }
.xp-section-title{ font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 26px; }
.xp-grid{ display: grid; gap: 18px; }
.xp-grid-3{ grid-template-columns: repeat(3, 1fr); }
.xp-grid-2{ grid-template-columns: repeat(2, 1fr); }
.xp-card{ border-radius: 10px; padding: 22px; }
.xp-card p{ font-size: .88rem; opacity: .75; line-height: 1.5; }
.xp-card h4{ font-family: 'Sora', sans-serif; font-size: 1rem; margin-bottom: 8px; }
.xp-icon-badge{ width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.xp-icon-badge svg{ width: 24px; height: 24px; }
.xp-body-copy{ font-size: .92rem; line-height: 1.65; opacity: .8; max-width: 60ch; }
.xp-gallery{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.xp-gallery img{ width: 100%; height: 220px; object-fit: cover; border-radius: 10px; display: block; }
.xp-illustration{ width: 100%; max-width: 220px; height: auto; opacity: .9; }
.xp-footer{ padding: 32px 40px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.06); font-size: .82rem; opacity: .65; }

.menu-category{ font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.02rem; margin: 26px 0 8px; }
.menu-category:first-child{ margin-top: 0; }
.menu-item{ display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .92rem; }
.menu-item .price{ font-weight: 700; }
.service-item{ display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.service-item .icon{ font-size: 1.3rem; flex-shrink: 0; }
.service-item h4{ font-size: .95rem; margin-bottom: 4px; font-weight: 700; }
.service-item p{ font-size: .85rem; opacity: .7; }
.quote-card{ border-radius: 10px; padding: 20px; }
.quote-card .stars{ color: #ffcf5c; font-size: .85rem; margin-bottom: 10px; }
.quote-card p{ font-size: .9rem; opacity: .85; line-height: 1.5; margin-bottom: 10px; }
.quote-card .who{ font-size: .8rem; opacity: .6; font-weight: 600; }
.stat-big{ text-align: center; padding: 26px; border-radius: 10px; }
.stat-num{ font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.9rem; margin-bottom: 8px; }
.stat-label{ font-size: .8rem; opacity: .65; }

/* Café theme (warm) */
.xp-cafe{ background: #1a120c; color: #f2e6d8; }
.xp-cafe .xp-hero-btn{ background: #c98a4b; color: #1a120c; }
.xp-cafe .xp-nav-links a.is-active{ background: rgba(201,138,75,.25); }
.xp-cafe .xp-card{ background: #241710; }
.xp-cafe .xp-icon-badge{ background: rgba(201,138,75,.2); color: #dba364; }
.xp-cafe .menu-item .price{ color: #dba364; }

/* Portfolio theme (dark, real photos) */
.xp-portfolio{ background: #0a0a12; color: #f5f5fa; }
.xp-portfolio .xp-hero-btn{ background: var(--accent); color: #fff; }
.xp-portfolio .xp-hero-btn.ghost{ background: transparent; border: 1.5px solid var(--accent); color: #f5f5fa; }
.xp-portfolio .xp-nav-links a.is-active{ background: rgba(124,92,255,.25); }
.xp-portfolio .xp-card, .xp-portfolio .quote-card{ background: #15152a; }
.xp-portfolio .xp-icon-badge{ background: rgba(124,92,255,.2); color: #a78bfa; }
.xp-portfolio .preview-badge{ background: rgba(124,92,255,.14); border-color: rgba(124,92,255,.45); color: #f5f5fa; }
.xp-portfolio .illustration-panel{ color: #a78bfa; }
.xp-portfolio .stat-big{ background: #15152a; }
.xp-portfolio .stat-num{ color: #a78bfa; }

/* Local service theme (trust / green-teal) */
.xp-service{ background: #0c1a16; color: #eafff6; }
.xp-service .xp-hero-btn{ background: var(--accent-2); color: #0c1a16; }
.xp-service .xp-hero-btn.ghost{ background: transparent; border: 1.5px solid var(--accent-2); color: #eafff6; }
.xp-service .xp-nav-links a.is-active{ background: rgba(34,211,238,.2); }
.xp-service .xp-card, .xp-service .quote-card{ background: #12261f; }
.xp-service .xp-icon-badge{ background: rgba(34,211,238,.18); color: #4fd8c4; }
.xp-service .preview-badge{ background: rgba(34,211,238,.12); border-color: rgba(34,211,238,.4); color: #eafff6; }
.xp-service .illustration-panel{ color: #4fd8c4; }
.xp-service .ig-tile{ background: #12261f; border: 1px solid rgba(255,255,255,.06); }
.xp-service .ig-tile svg{ color: #4fd8c4; }

/* Company / B2B theme (structured blue) */
.xp-corp{ background: #0a1220; color: #eaf2ff; }
.xp-corp .xp-hero-btn{ background: #3a6ea5; color: #fff; }
.xp-corp .xp-hero-btn.ghost{ background: transparent; border: 1.5px solid #3a6ea5; color: #eaf2ff; }
.xp-corp .xp-nav-links a.is-active{ background: rgba(58,110,165,.3); }
.xp-corp .xp-card, .xp-corp .stat-big, .xp-corp .quote-card{ background: #101f36; }
.xp-corp .xp-icon-badge{ background: rgba(58,110,165,.22); color: #7cb3e8; }
.xp-corp .stat-num{ color: #7fb3e8; }
.xp-corp .preview-badge{ background: rgba(58,110,165,.16); border-color: rgba(58,110,165,.5); color: #eaf2ff; }
.xp-corp .illustration-panel{ color: #7fb3e8; }

@media (max-width: 700px){
  .xp-nav, .xp-hero, .xp-section, .xp-footer{ padding-left: 22px; padding-right: 22px; }
  .xp-grid-3{ grid-template-columns: 1fr; }
  .xp-gallery{ grid-template-columns: repeat(2, 1fr); }
  .xp-nav-links{ gap: 2px; }
  .xp-nav-links a{ font-size: .72rem; padding: 6px 9px; }
}


/* ---------- Hero mesh-gradient background (ambient motion) ---------- */
.hero-outer{ position: relative; overflow: hidden; isolation: isolate; }
.mesh-blob{
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1;
  animation: drift 22s ease-in-out infinite;
}
.mesh-1{ width: 420px; height: 420px; background: var(--accent); top: -120px; left: -80px; animation-delay: 0s; }
.mesh-2{ width: 380px; height: 380px; background: var(--accent-2); bottom: -140px; right: 10%; animation-delay: -7s; }
.mesh-3{ width: 300px; height: 300px; background: #ff5da2; top: 30%; right: -100px; opacity: .3; animation-delay: -14s; }
@keyframes drift{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  33%{ transform: translate(40px, -30px) scale(1.1); }
  66%{ transform: translate(-30px, 20px) scale(.95); }
}

/* ---------- 3D tilt on cards (JS sets --rx/--ry per mousemove) ---------- */
.tilt{
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .15s ease-out;
}
.tilt:hover{ transition: transform .05s linear; }

.scroll-progress{
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 100; transition: width .1s linear;
}
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in{ opacity: 1; transform: translateY(0); }
.reveal-scale{ opacity: 0; transform: scale(.92); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-scale.is-in{ opacity: 1; transform: scale(1); }

