:root{
  --bg: 220 20% 4%;
  --bg-alt: 220 20% 7%;
  --fg: 210 40% 98%;
  --muted: 215 20% 62%;
  --primary: 174 72% 56%;
  --primary-fg: 220 20% 4%;
  --accent: 270 60% 62%;
  --border: 220 20% 16%;
  --card: 220 20% 8%;
  --radius: 0.9rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  background:hsl(var(--bg));
  color:hsl(var(--fg));
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
ul{list-style:none}

.skip-link{
  position:absolute;left:-999px;top:0;background:hsl(var(--primary));color:hsl(var(--primary-fg));
  padding:.6rem 1rem;z-index:200;border-radius:0 0 .5rem 0;
}
.skip-link:focus{left:0}

.wrap{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.wrap-narrow{max-width:760px}
.center{text-align:center}

.text-gradient{
  background:linear-gradient(135deg,hsl(174 72% 56%),hsl(200 80% 55%));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.eyebrow{
  color:hsl(var(--primary));font-weight:600;font-size:.85rem;letter-spacing:.06em;
  text-transform:uppercase;margin-bottom:.6rem;
}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  border-radius:.7rem;font-weight:600;transition:transform .2s ease, box-shadow .2s ease;
  cursor:pointer;border:1px solid transparent;
}
.btn-primary{background:hsl(var(--primary));color:hsl(var(--primary-fg));box-shadow:0 4px 24px -4px hsl(var(--primary) / .5);}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 32px -4px hsl(var(--primary) / .6);}
.btn-ghost{background:transparent;color:hsl(var(--fg));border-color:hsl(var(--border));}
.btn-ghost:hover{border-color:hsl(var(--primary));color:hsl(var(--primary));}
.btn-lg{padding:.95rem 1.9rem;font-size:1.02rem}
.btn-sm{padding:.55rem 1.1rem;font-size:.9rem}

/* Header */
.site-header{
  position:sticky;top:0;z-index:100;background:hsl(var(--bg) / .8);backdrop-filter:blur(10px);
  border-bottom:1px solid hsl(var(--border));
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:4.3rem;gap:1rem}
.logo{font-weight:800;font-size:1.25rem;letter-spacing:-.01em}
.logo span{color:hsl(var(--primary))}
.site-nav{display:flex;gap:1.1rem;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.site-nav a{color:hsl(var(--muted));font-weight:500;font-size:.88rem;transition:color .2s;white-space:nowrap}
.site-nav a:hover{color:hsl(var(--fg))}
.nav-cta{margin-left:1rem;white-space:nowrap}
.menu-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;padding:.4rem;cursor:pointer}
.menu-toggle span{width:22px;height:2px;background:hsl(var(--fg))}
.mobile-nav{display:none;flex-direction:column;border-top:1px solid hsl(var(--border));padding:.5rem 1.5rem 1rem}
.mobile-nav a{padding:.7rem 0;color:hsl(var(--muted));font-weight:500}
.mobile-nav.open{display:flex}

@media (max-width:1000px){
  .site-nav,.nav-cta{display:none}
  .menu-toggle{display:flex}
}

/* Hero */
.hero{
  padding:5.5rem 0 4rem;
  background:radial-gradient(ellipse 80% 50% at 50% -20%, hsla(174,72%,56%,.15), transparent);
}
.hero-inner{text-align:center;max-width:820px}
.hero h1{font-size:clamp(2.1rem,5vw,3.4rem);font-weight:800;line-height:1.15;letter-spacing:-.01em;margin:0 auto 1.3rem}
.hero-lead{color:hsl(var(--muted));font-size:1.15rem;max-width:640px;margin:0 auto 2rem}
.hero-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:3rem}
.stat-row{display:flex;justify-content:center;gap:2.5rem;flex-wrap:wrap;padding-top:2rem;border-top:1px solid hsl(var(--border))}
.stat-row li{display:flex;flex-direction:column;align-items:center;gap:.2rem}
.stat-row strong{font-size:1.9rem;font-weight:800;color:hsl(var(--primary))}
.stat-row span{color:hsl(var(--muted));font-size:.85rem}

/* Sections */
.section{padding:5rem 0}
.section-alt{background:hsl(var(--bg-alt))}
.section h2{font-size:clamp(1.7rem,3.5vw,2.4rem);font-weight:800;margin-bottom:.7rem;letter-spacing:-.01em}
.section-lead{color:hsl(var(--muted));font-size:1.05rem;max-width:640px;margin-bottom:2.5rem}

.grid{display:grid;gap:1.3rem}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:980px){.grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.grid-4,.grid-3{grid-template-columns:1fr}}

.card{
  background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);
  padding:1.6rem;transition:border-color .2s, transform .2s;
}
.card:hover{border-color:hsl(var(--primary) / .5);transform:translateY(-3px)}
.card h3{font-size:1.1rem;font-weight:700;margin-bottom:.5rem}
.card p{color:hsl(var(--muted));font-size:.95rem}

.cred-row{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:2.5rem}
.cred-badge{
  font-size:.8rem;font-weight:600;color:hsl(var(--primary));border:1px solid hsl(var(--primary) / .35);
  border-radius:2rem;padding:.45rem 1rem;background:hsl(var(--primary) / .08);
}
.tech-row{display:flex;gap:.6rem 1rem;flex-wrap:wrap;margin-top:1.5rem;color:hsl(var(--muted));font-size:.85rem}
.tech-row span{display:inline-flex;align-items:center;gap:.5rem;border:1px solid hsl(var(--border));border-radius:.5rem;padding:.3rem .7rem}
.tech-row img{width:20px;height:20px;object-fit:contain;flex-shrink:0}

/* Portfolio */
.portfolio-card{
  display:block;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);
  overflow:hidden;transition:transform .2s, border-color .2s;
}
.portfolio-card:hover{transform:translateY(-3px);border-color:hsl(var(--primary) / .5)}
.thumb{aspect-ratio:4/3;overflow:hidden;background:hsl(var(--bg-alt))}
.thumb img{width:100%;height:100%;object-fit:cover}
.portfolio-body{padding:1.1rem 1.3rem}
.portfolio-body h3{font-size:1rem;font-weight:700;margin-bottom:.3rem}
.portfolio-body p{color:hsl(var(--muted));font-size:.88rem}

.img-credit{font-size:.75rem;color:hsl(var(--muted));margin:.5rem 0 1.5rem;text-align:right}
.img-credit a{color:hsl(var(--muted));text-decoration:underline}
.img-credit a:hover{color:hsl(var(--fg))}

/* Service pages */
.breadcrumb{color:hsl(var(--muted));font-size:.85rem;margin-bottom:1.2rem}
.breadcrumb a{color:hsl(var(--muted))}
.breadcrumb a:hover{color:hsl(var(--primary))}
.included-list{list-style:none;display:flex;flex-direction:column;gap:.7rem}
.included-list li{
  padding-left:1.6rem;position:relative;color:hsl(var(--fg));font-size:.98rem;
}
.included-list li::before{
  content:"✓";position:absolute;left:0;color:hsl(var(--primary));font-weight:700;
}
.service-card-link{display:block;color:inherit}
.service-card-link .card{height:100%}
.service-card-link:hover .card{border-color:hsl(var(--primary) / .5);transform:translateY(-3px)}

/* FAQ */
.faq-list{display:flex;flex-direction:column;gap:.8rem}
.faq-item{
  background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:.8rem;padding:1.1rem 1.3rem;
}
.faq-item summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq-item summary::after{content:"+";color:hsl(var(--primary));font-size:1.3rem;font-weight:400;margin-left:1rem}
.faq-item[open] summary::after{content:"–"}
.faq-item p{color:hsl(var(--muted));margin-top:.8rem;font-size:.95rem}

/* Contact */
.cta-section{padding:6rem 0}
.cta-section h2{font-size:clamp(1.9rem,4vw,2.8rem)}
.cta-section .btn{margin-top:.5rem}
.contact-note{color:hsl(var(--muted));margin-top:1rem;font-size:.95rem}

/* Footer */
.site-footer{border-top:1px solid hsl(var(--border));padding-top:3.5rem;background:hsl(var(--bg-alt))}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;padding-bottom:2.5rem}
.footer-grid p{color:hsl(var(--muted));font-size:.9rem;margin-top:.6rem}
.footer-grid h4{font-size:.9rem;text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--muted));margin-bottom:.9rem}
.footer-grid > div{display:flex;flex-direction:column;gap:.6rem}
.footer-grid a{color:hsl(var(--muted));font-size:.92rem}
.footer-grid a:hover{color:hsl(var(--fg))}
@media (max-width:700px){.footer-grid{grid-template-columns:1fr;gap:1.8rem}}
.footer-bottom{border-top:1px solid hsl(var(--border));padding:1.3rem 1.5rem;text-align:center}
.footer-bottom p{color:hsl(var(--muted));font-size:.85rem}
