:root {
  --orange: #f15a24;
  --orange-d: #d8481a;
  --tint: #ffe9e0;
  --ink: #1a1a1a;
  --muted: #6e6e68;
  --bg-2: #f4f4f2;
  --dark: #1f1d1b;
  --body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; scroll-padding-top:90px; }
body { font-family:var(--body); background:#fff; color:var(--ink); line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
img { display:block; max-width:100%; }
.ico { width:1.4em; height:1.4em; display:inline-block; vertical-align:middle; flex:none; }
.center { text-align:center; }
.skip-link { position:absolute; left:-999px; }
.skip-link:focus { left:8px; top:8px; background:var(--orange); color:#fff; padding:8px 14px; z-index:999; }
:focus-visible { outline:2px solid var(--orange); outline-offset:3px; }
.js .reveal { opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} .js .reveal{opacity:1!important;transform:none!important} }

.kicker { display:inline-block; background:var(--tint); color:var(--orange); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; padding:.35rem .9rem; border-radius:2rem; margin-bottom:1rem; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:.4rem; padding:.85rem 1.7rem; border-radius:.6rem; font-weight:600; font-size:.9rem; border:1px solid transparent; cursor:pointer; transition:all .25s var(--ease); }
.btn-orange { background:var(--orange); color:#fff; border-color:var(--orange); }
@media (hover: hover) { .btn-orange:hover { background:var(--orange-d); transform:translateY(-2px); } }
.btn-dark { background:var(--dark); color:#fff; border-color:var(--dark); }
@media (hover: hover) { .btn-dark:hover { background:#000; } }

/* Header */
#siteHeader { position:sticky; top:0; z-index:100; background:#fff; border-bottom:1px solid #eee; transition:box-shadow .3s; }
#siteHeader.scrolled { box-shadow:0 6px 20px rgba(0,0,0,.07); }
.head-inner { max-width:1280px; margin:0 auto; padding:1rem 2rem; display:flex; align-items:center; gap:1.5rem; }
.brand { display:inline-flex; align-items:center; gap:.5rem; font-weight:800; font-size:1.3rem; }
.logo-ic { color:var(--orange); font-size:1.4rem; display:inline-flex; }
.logo-ic .ico { width:1.3em; height:1.3em; }
.nav-links { display:flex; gap:1.8rem; margin:0 auto; }
.nav-links a { font-size:.92rem; font-weight:500; }
@media (hover: hover) { .nav-links a:hover { color:var(--orange); } }
.mobile-menu-btn { display:none; background:none; border:none; cursor:pointer; width:40px; height:40px; align-items:center; justify-content:center; }
.burger, .burger::before, .burger::after { content:""; display:block; width:24px; height:2px; background:var(--ink); transition:transform .3s var(--ease), opacity .2s; }
.burger { position:relative; } .burger::before { position:absolute; top:-7px; } .burger::after { position:absolute; top:7px; }
#siteHeader.nav-open .burger { background:transparent; }
#siteHeader.nav-open .burger::before { transform:translateY(7px) rotate(45deg); }
#siteHeader.nav-open .burger::after { transform:translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { max-width:1320px; margin:0 auto; padding:1.5rem 1.5rem 3rem; position:relative; }
.hero-media { border-radius:1.5rem; overflow:hidden; aspect-ratio:16/8; background:#cfcfca; }
.hero-media img { width:100%; height:100%; object-fit:cover; }
.hero-card { background:#fff; border-radius:1.3rem; box-shadow:0 24px 50px rgba(0,0,0,.14); padding:2.2rem; max-width:1000px; margin:-7rem auto 0; position:relative; z-index:2; }
.hero-card .tag { display:inline-block; color:var(--orange); font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin-bottom:1rem; }
.hero-card-row { display:grid; grid-template-columns:1.1fr 1fr; gap:2rem; align-items:center; }
.hero-card-row h1 { font-size:clamp(2rem,4vw,3.2rem); font-weight:800; line-height:1.05; }
.hero-card-side p { color:var(--muted); margin-bottom:1.2rem; font-size:.95rem; }

/* About */
.about { max-width:1280px; margin:0 auto; padding:5rem 2rem; display:grid; grid-template-columns:1fr 1fr 1fr; gap:2rem; align-items:center; }
.about-text h2 { font-size:clamp(1.7rem,3vw,2.4rem); font-weight:800; line-height:1.15; margin-bottom:1rem; }
.about-text p { color:var(--muted); margin-bottom:1.5rem; font-size:.95rem; }
.about-img { border-radius:1.2rem; overflow:hidden; aspect-ratio:3/4; }
.about-img img { width:100%; height:100%; object-fit:cover; }
.accordion { display:flex; flex-direction:column; gap:.8rem; }
.accordion details { border-radius:.9rem; padding:1.1rem 1.3rem; background:var(--bg-2); border:1px solid #eceae6; }
.accordion details[open] { background:var(--orange); color:#fff; border-color:var(--orange); }
.accordion summary { font-weight:700; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.accordion summary::after { content:""; width: 1.2em; height: 1.2em; background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%231a1a1a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="6 9 12 15 18 9"/></svg>'); background-size: contain; background-repeat: no-repeat; }
.accordion details[open] summary::after { background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="18 15 12 9 6 15"/></svg>'); }
.accordion details p { margin-top:.8rem; font-size:.9rem; opacity:.95; }

/* Service */
.service { background:var(--bg-2); padding:5rem 2rem; }
.serv-head { text-align:center; max-width:640px; margin:0 auto 2.5rem; }
.serv-head h2 { font-size:clamp(1.8rem,3.5vw,2.6rem); font-weight:800; }
.serv-body { max-width:1180px; margin:0 auto; display:grid; grid-template-columns:.85fr 1.15fr; gap:1.5rem; }
.serv-tabs { display:flex; flex-direction:column; gap:.7rem; }
.s-tab { text-align:left; padding:1.1rem 1.3rem; border-radius:.8rem; border:1px solid #e6e4e0; background:#fff; font-family:var(--body); font-size:.95rem; font-weight:600; cursor:pointer; transition:all .2s; display:flex; gap:.7rem; align-items:center; }
@media (hover: hover) { .s-tab:hover { border-color:var(--orange); } }
.s-tab.is-active { background:var(--orange); color:#fff; border-color:var(--orange); }
.serv-detail { position:relative; }
.sd-panel { background:#fff; border-radius:1.2rem; padding:1.3rem; display:grid; grid-template-columns:.9fr 1.1fr; gap:1.5rem; align-items:center; }
.sd-panel img { width:100%; height:100%; min-height:260px; object-fit:cover; border-radius:.9rem; }
.sd-panel h3 { font-size:1.4rem; font-weight:800; margin-bottom:.6rem; }
.sd-panel p { color:var(--muted); font-size:.92rem; margin-bottom:1rem; }
.sd-panel ul { display:flex; flex-direction:column; gap:.5rem; margin-bottom:1.2rem; }
.sd-panel li { font-size:.9rem; padding-left:1.5rem; position:relative; }
.sd-panel li::before { content:""; width: 6px; height: 6px; background-color: var(--orange); border-radius: 50%; display: inline-block; position: absolute; left: 0; top: 0.5em; }

/* Stats */
.stats { max-width:1280px; margin:0 auto; padding:4rem 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
.stat { text-align:center; }
.stat strong { font-size:clamp(2rem,4vw,3rem); font-weight:800; color:var(--orange); display:block; }
.stat span { color:var(--muted); font-size:.9rem; }

/* CTA */
.cta { padding:2rem 2rem 5rem; }
.cta-inner { max-width:1280px; margin:0 auto; background:var(--orange); color:#fff; border-radius:1.6rem; padding:4rem 3rem; text-align:center; }
.cta-inner h2 { font-size:clamp(1.8rem,4vw,3rem); font-weight:800; margin-bottom:.8rem; }
.cta-inner p { opacity:.92; margin-bottom:2rem; }
.cta-form { display:flex; gap:.7rem; max-width:460px; margin:0 auto; flex-wrap:wrap; }
.cta-form input { flex:1 1 auto; min-width:0; padding:.9rem 1.2rem; border-radius:.6rem; border:1px solid rgba(255,255,255,.6); background:rgba(255,255,255,.15); color:#fff; font-family:var(--body); }
.cta-form input::placeholder { color:rgba(255,255,255,.8); }
.cta-form input:focus { outline:none; border-color:#fff; }
.form-note { margin-top:1rem; font-weight:600; }

/* Footer */
.site-footer { background:var(--dark); color:rgba(255,255,255,.8); padding:3rem 2rem; }
.foot-inner { max-width:1280px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.foot-inner .brand { color:#fff; }
.foot-inner > div:first-child p { color:#9a958e; font-size:.85rem; margin-top:.4rem; }
.foot-contact { display:flex; flex-direction:column; gap:.3rem; font-weight:600; }
@media (hover: hover) { .foot-contact a:hover { color:var(--orange); } }
.foot-legal { display:flex; gap:1.2rem; align-items:center; font-size:.85rem; color:#9a958e; flex-wrap:wrap; }
@media (hover: hover) { .foot-legal a:hover { color:#fff; } }

@media (max-width:900px){
  .about { grid-template-columns:1fr; padding:3.5rem 2rem; }
  .hero-card-row { grid-template-columns:1fr; gap:1rem; }
  .serv-body { grid-template-columns:1fr; }
  .sd-panel { grid-template-columns:1fr; }
  .sd-panel img { min-height:min(260px,46vw); }
  .stats { grid-template-columns:1fr 1fr; gap:2rem; }
  .service { padding:3.5rem 1.5rem; }
}
@media (max-width:600px){
  .head-inner { gap:1rem; }
  .nav-links { display:none; position:absolute; top:100%; left:0; width:100%; flex-direction:column; gap:0; background:#fff; padding:.5rem 2rem 1rem; margin:0; border-bottom:1px solid #eee; }
  #siteHeader.nav-open .nav-links { display:flex; }
  .nav-links a { padding:.8rem 0; border-bottom:1px solid #f0f0f0; }
  .head-inner > .btn-orange { display:none; }
  .mobile-menu-btn { display:flex; }
  .hero { padding:1rem 1rem 2.5rem; }
  .hero-card { margin-top:-4rem; padding:1.5rem; }
  .about { padding:3rem 1.25rem; }
  .accordion details { padding:.9rem 1.1rem; }
  .service { padding:3rem 1.25rem; }
  .serv-tabs { gap:.5rem; }
  .s-tab { padding:.85rem 1.1rem; font-size:.9rem; gap:.6rem; }
  .sd-panel { padding:1.1rem; gap:1.1rem; }
  .sd-panel img { min-height:min(200px,50vw); }
  .stats { grid-template-columns:1fr 1fr; padding:3rem 1.5rem; gap:1.5rem 1rem; }
  .cta { padding:1.5rem 1.25rem 3.5rem; }
  .cta-inner { padding:2.5rem 1.5rem; }
  .foot-inner { flex-direction:column; align-items:flex-start; }
}
@media (max-width:480px){
  .hero-card { padding:1.25rem; margin-top:-3.2rem; }
  .hero-card-row h1 { font-size:clamp(1.7rem,8vw,2.2rem); }
  .hero-card-side p { font-size:.9rem; }
  .about-text h2 { font-size:clamp(1.5rem,7vw,1.9rem); }
  .serv-head h2 { font-size:clamp(1.5rem,7vw,1.9rem); }
  .s-tab { font-size:.86rem; padding:.8rem 1rem; }
  .sd-panel h3 { font-size:1.2rem; }
  .stats { grid-template-columns: 1fr; }
  .stat strong { font-size:clamp(1.6rem,8vw,2.2rem); }
  .cta-inner h2 { font-size:clamp(1.5rem,7vw,2rem); }
  .cta-form { gap:.6rem; }
  .cta-form .btn { width:100%; }
}


@media (max-width: 480px) {
  .grid, .stats-grid, .serv-grid, .pricing-grid, .test-grid, .project-grid, .why-grid, .seller-grid, .cat-grid {
    grid-template-columns: 1fr !important;
  }

  /* Mobile UI Fixes from Reviewer */
  .hero-media { aspect-ratio: 4/3; }

  .hero-card-side .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
  .about-text .btn { width: 100%; text-align: center; }

  .cta-form { flex-direction: column; align-items: stretch; }
  .cta-form input { min-width: 0; width: 100%; }

  .head-inner { padding: 0.8rem 1.25rem; gap: 0.5rem; }
}


/* Global Mobile Header Nav Fix */
@media (max-width: 768px) {
  .head-inner, .header-inner, .nav-container, header > .container { justify-content: space-between !important; width: 100%; }
  .mobile-menu-btn { display: flex !important; margin-left: auto; }
}

@media (max-width: 480px) { .hero-img, .hero-bg { object-fit: cover !important; min-height: 300px !important; display: block !important; opacity: 1 !important; } }
@media (max-width: 768px) { .hero-img, .hero-bg { object-fit: cover !important; min-height: 300px !important; display: block !important; opacity: 1 !important; } }