/* ============================================================
   S A Touch Solution — Design System v3
   Vibrant · Rounded · Light-surface
   ============================================================ */

:root{
  /* --- Palette --- */
  --bg:#FBFDFA;
  --surface:#FFFFFF;
  --surface2:#F2F8F4;
  --surface2t: rgba(11,20,16,.035);
  --elevated:#EAF7EF;
  --ink:#0E1613;
  --mid: rgba(14,22,19,.64);
  --faint: rgba(14,22,19,.10);
  --hair: rgba(14,22,19,.08);
  --muted:#6E7873;

  --green:#2ECC84;
  --accent:#189A63;
  --green-dk:#0B5C36;
  --mint:#0E7A4C;
  --green-soft: rgba(46,204,132,.13);
  --gline: rgba(14,22,19,.10);
  --gline-2: rgba(14,22,19,.18);
  --glow: rgba(46,204,132,.35);

  /* --- Radius --- */
  --r-card:26px;
  --r-input:12px;
  --r-pill:999px;

  /* --- Spacing scale --- */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:20px;
  --sp-6:24px; --sp-7:28px; --sp-8:32px; --sp-9:36px; --sp-10:40px;
  --section-gap: clamp(90px,14vh,190px);

  /* --- Elevation --- */
  --shadow-subtle: 0px 20px 40px -10px rgba(15,23,20,.14);
  --shadow-medium: 0px 20px 45px -22px rgba(15,23,20,.22);

  /* --- Motion --- */
  --ease: cubic-bezier(0.22,1,0.36,1);
  --dur-fast:.3s; --dur-base:.4s; --dur-slow:.55s; --dur-slower:.6s;

  /* --- Type families --- */
  --font-display:'Playfair Display', serif;
  --font-body:'Instrument Sans', sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  background-image:
    radial-gradient(50% 40% at 15% 0%, rgba(46,204,132,.08), transparent 60%),
    radial-gradient(45% 35% at 100% 10%, rgba(46,204,132,.06), transparent 60%),
    repeating-linear-gradient(0deg, rgba(11,20,16,.02) 0px, rgba(11,20,16,.02) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(11,20,16,.02) 0px, rgba(11,20,16,.02) 1px, transparent 1px, transparent 64px);
  background-attachment:fixed;
  color:var(--ink);
  font-family:var(--font-body);
  line-height:1.7;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

::selection{ background:var(--green-soft); color:var(--green-dk); }

a{ color:var(--green-dk); text-decoration:none; transition:color var(--dur-fast); }
a:hover{ color:var(--green); }

/* --- Focus ring (accessible default) --- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(11,92,54,.14), 0 0 0 1px var(--green);
  border-radius:var(--r-input);
}

/* --- Typography --- */
h1,h2,h3,h4,.font-display{
  font-family:var(--font-display);
  font-weight:500;
  color:var(--ink);
  margin:0;
}
h1,.h1{ font-size:clamp(2.2rem, 2.6vw + 1.2rem, 4.4rem); line-height:1.08; letter-spacing:-0.02em; }
h2,.h2{ font-size:clamp(1.9rem, 2vw + 1rem, 3.2rem); line-height:1.1; letter-spacing:-0.02em; }
h3,.h3{ font-size:clamp(1.7rem, 1.6vw + 1rem, 3.06rem); line-height:1.05; letter-spacing:-0.02em; }
h4,.h4{ font-size:clamp(1.25rem, 1vw + .9rem, 1.7rem); line-height:1.15; }

p, li{ color:var(--mid); font-family:var(--font-body); font-size:1rem; line-height:1.7; }
.eyebrow{
  font-family:var(--font-body);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:var(--mint);
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 0 4px var(--green-soft); }

.text-grad{
  background:linear-gradient(100deg,var(--green-dk) 0%, var(--green) 55%, var(--accent) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* --- Layout --- */
.wrap{ max-width:1281px; margin:0 auto; padding:0 20px; }
.section{ padding: calc(var(--section-gap)/2) 0; position:relative; }
@media(max-width:768px){ .section{ padding:70px 0; } }

/* --- Buttons (pill) --- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:600; font-size:1rem;
  border-radius:var(--r-pill);
  padding:20px 22px;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.btn-primary{
  background:linear-gradient(155deg, var(--green), var(--green-dk));
  color:#FFFFFF;
  box-shadow:0 14px 30px -10px var(--glow);
}
.btn-primary:hover{
  color:#FFFFFF; transform:scale(1.05);
  box-shadow:0 20px 42px -8px var(--glow);
  opacity:1;
}
.btn-ghost{
  background:var(--surface); color:var(--ink); border-color:var(--gline-2);
}
.btn-ghost:hover{ transform:scale(1.05); border-color:var(--green); background:var(--green-soft); color:var(--green-dk); }
.btn-sm{ padding:14px 20px; font-size:.92rem; }

/* --- Cards --- */
.card{
  background:var(--surface);
  border:1px solid var(--gline);
  border-radius:var(--r-card);
  padding:38px 34px 40px 34px;
  box-shadow:var(--shadow-medium);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.card:hover{ transform:translateY(-4px); border-color:var(--green); box-shadow:var(--shadow-medium), 0 0 0 1px var(--green-soft); }
.card-elevated{ background:linear-gradient(155deg,#FFFFFF,var(--elevated)); }

/* --- Inputs --- */
.field{
  width:100%;
  background:var(--surface);
  border:1px solid var(--gline-2);
  border-radius:var(--r-input);
  padding:14px 16px;
  color:var(--ink);
  font-family:var(--font-body);
  font-size:1rem;
}
.field::placeholder{ color:var(--muted); }

/* --- Chips --- */
.chip{
  display:inline-flex; align-items:center; gap:6px;
  border-radius:var(--r-pill);
  border:1px solid var(--gline);
  background:var(--surface2);
  color:var(--mid);
  padding:8px 16px;
  font-size:.85rem;
}

/* --- Top bar --- */
.topbar{ background:linear-gradient(90deg,#0B5C36,#0E1613); border-bottom:1px solid rgba(255,255,255,.08); font-size:.82rem; }
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; padding:8px 20px; }
.topbar-left{ display:flex; align-items:center; gap:22px; }
.topbar-left a{ color:rgba(255,255,255,.85); display:inline-flex; align-items:center; gap:7px; }
.topbar-left a:hover{ color:#fff; }
.topbar-social{ display:flex; align-items:center; gap:14px; }
.topbar-social a{ color:rgba(255,255,255,.85); font-size:.95rem; }
.topbar-social a:hover{ color:var(--green); }
@media(max-width:720px){ .topbar-left span.tb-hide, .topbar{ display:none; } }

/* --- Nav dropdown --- */
.has-dropdown{ position:relative; }
.has-dropdown > a{ display:inline-flex; align-items:center; gap:5px; }
.dropdown{
  position:absolute; top:calc(100% + 18px); left:50%; transform:translateX(-50%) translateY(6px);
  background:var(--surface); border:1px solid var(--gline); border-radius:var(--r-input);
  min-width:230px; padding:10px; box-shadow:var(--shadow-medium);
  opacity:0; visibility:hidden; transition:opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  z-index:960;
}
@media(min-width:821px){
  .has-dropdown:hover .dropdown{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
}
.dropdown a{ display:block; padding:10px 14px; border-radius:8px; color:var(--mid); font-size:.9rem; font-weight:500; }
.dropdown a:hover{ background:var(--green-soft); color:var(--green-dk); }

/* --- Nav --- */
.site-header{ position:fixed; top:0; left:0; right:0; z-index:950; }
.nav{
  position:relative;
  background:var(--surface);
  border-bottom:1px solid var(--gline);
  box-shadow:var(--shadow-subtle);
  padding:12px 0;
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:inline-flex; align-items:center; gap:0; text-decoration:none; font-family:var(--font-display); font-weight:500; font-size:1.3rem; color:var(--ink); }
.brand em{ font-style:normal; color:var(--green-dk); }
.brand img{ height:56px; width:auto; display:block; }
.nav-links{ display:flex; align-items:center; gap:24px; list-style:none; margin:0; padding:0; }
.nav-links a{ color:var(--mid); text-decoration:none; font-size:.92rem; font-weight:500; white-space:nowrap; transition:color var(--dur-fast); }
.nav-links a:hover, .nav-links a.active{ color:var(--green-dk); }
.nav-toggle{ display:none; background:none; border:1px solid var(--gline-2); color:var(--ink); border-radius:var(--r-pill); width:44px; height:44px; align-items:center; justify-content:center; cursor:pointer; }

@media(max-width:820px){
  .nav-links{
    display:none; flex-direction:column; align-items:stretch; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background:var(--surface); border-bottom:1px solid var(--gline);
    box-shadow:var(--shadow-medium); padding:6px 20px 18px; max-height:calc(100vh - 70px); overflow-y:auto;
  }
  .nav-links.is-open{ display:flex; }
  .nav-links li{ width:100%; }
  .nav-links a{ display:block; padding:13px 2px; border-bottom:1px solid var(--hair); }
  .has-dropdown .dropdown{
    position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none;
    padding:0 0 0 14px; margin-top:-4px; display:none; min-width:0;
  }
  .has-dropdown.is-open .dropdown{ display:block; }
  .has-dropdown .dropdown a{ border-bottom:none; padding:10px 2px; font-size:.88rem; }
  .nav-toggle{ display:inline-flex; }
}
@media(max-width:480px){
  .brand img{ height:40px; }
  .brand{ font-size:1.1rem; }
  .nav-inner .btn-sm{ display:none; }
}

/* --- Hero --- */
.hero{ padding:196px 0 80px; position:relative; overflow:hidden; }
.hero:before{
  content:''; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(60% 55% at 78% 0%, var(--green-soft), transparent 60%);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero-badge{ }
.hero h1{ margin-top:24px; max-width:13ch; }
.hero p.lead{ font-size:1.15rem; color:var(--mid); max-width:46ch; margin-top:16px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:16px; margin-top:32px; }

.hero-trust{ display:flex; align-items:center; gap:14px; margin-top:40px; }
.hero-avatars{ display:flex; flex-shrink:0; }
.hero-avatars span{
  width:38px; height:38px; border-radius:50%; display:inline-block; margin-left:-10px;
  background:linear-gradient(155deg,var(--green),var(--green-dk)); border:2px solid var(--bg);
}
.hero-avatars span:first-child{ margin-left:0; }
.hero-trust-stars{ color:#F5A623; font-size:.8rem; letter-spacing:2px; }
.hero-trust-txt{ font-size:.85rem; color:var(--muted); margin-top:2px; }

/* --- Hero visual (right side) --- */
.hero-visual{ position:relative; }
.hero-browser{
  background:var(--surface); border:1px solid var(--hair); border-radius:var(--r-card);
  box-shadow:var(--shadow-medium); overflow:hidden;
}
.hero-browser-bar{
  display:flex; align-items:center; gap:8px; padding:14px 18px;
  background:var(--surface2); border-bottom:1px solid var(--hair);
}
.hero-browser-bar span{ width:10px; height:10px; border-radius:50%; background:var(--faint); }
.hero-browser-bar span:nth-child(1){ background:#F1595C; }
.hero-browser-bar span:nth-child(2){ background:#F5B942; }
.hero-browser-bar span:nth-child(3){ background:var(--green); }
.hero-browser-url{
  margin-left:12px; flex:1; background:var(--elevated); color:var(--muted); font-size:.72rem;
  padding:6px 12px; border-radius:var(--r-pill); display:flex; align-items:center; gap:6px;
}
.hero-browser-body{ padding:28px 24px 34px; }
.hb-line{ height:12px; border-radius:6px; background:var(--surface2t); margin-bottom:12px; }
.hb-w40{ width:40%; } .hb-w60{ width:60%; } .hb-w70{ width:70%; } .hb-w80{ width:80%; }
.hb-line.hb-accent{ height:20px; background:linear-gradient(90deg,var(--green),var(--green-dk)); margin-bottom:22px; }
.hb-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:22px 0; }
.hb-block{ aspect-ratio:1/.85; border-radius:14px; background:var(--elevated); border:1px solid var(--hair); }
.hb-block:nth-child(2){ background:var(--green-soft); }

.hero-float{
  position:absolute; display:flex; align-items:center; gap:12px;
  background:var(--surface); border:1px solid var(--hair); border-radius:16px;
  padding:12px 16px; box-shadow:var(--shadow-subtle);
  animation: float 4.5s var(--ease) infinite;
}
.hero-float i{
  width:38px; height:38px; flex-shrink:0; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(155deg,var(--green),var(--green-dk)); color:#fff; font-size:1.05rem;
}
.hero-float strong{ display:block; font-size:.86rem; color:var(--ink); }
.hero-float span{ display:block; font-size:.72rem; color:var(--muted); }
.hero-float-1{ top:-6%; right:-8%; animation-delay:.2s; }
.hero-float-2{ bottom:10%; left:-10%; animation-delay:1s; }
.hero-float-3{ bottom:-8%; right:6%; animation-delay:1.8s; }

@keyframes float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }

@media(max-width:900px){
  .hero-grid{ grid-template-columns:1fr; gap:64px; }
  .hero-visual{ max-width:440px; margin:0 auto; }
  .hero-float{ display:none; }
}

/* --- Stat strip --- */
.stat-strip{ border-top:1px solid var(--hair); border-bottom:1px solid var(--hair); background:var(--surface2); }
.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; padding:36px 0; }
@media(max-width:720px){ .stat-grid{ grid-template-columns:repeat(2,1fr); } }
.stat-num{ font-family:var(--font-display); font-size:clamp(2rem,3vw,2.8rem); color:var(--green-dk); }
.stat-lbl{ color:var(--muted); font-size:.85rem; margin-top:4px; }

/* --- Grids --- */
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:center; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; align-items:stretch; }
.grid-3 > a, .grid-4 > a{ display:flex; height:100%; text-decoration:none; }
@media(max-width:900px){ .grid-2{ grid-template-columns:1fr; } .grid-3{ grid-template-columns:1fr 1fr; } .grid-4{ grid-template-columns:1fr 1fr; } }
@media(max-width:520px){ .grid-3, .grid-4{ grid-template-columns:1fr; } }

/* --- Service card --- */
.service-card{ position:relative; display:flex; flex-direction:column; width:100%; }
.service-card p{ flex:1; }
.service-num{ font-family:var(--font-display); color:var(--faint); font-size:1.6rem; position:absolute; top:30px; right:34px; }
.service-icon{
  width:52px; height:52px; border-radius:var(--r-input);
  background:linear-gradient(155deg,var(--green),var(--green-dk)); color:#FFFFFF;
  display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:20px;
  box-shadow:0 8px 20px -8px var(--glow);
}

/* --- Process --- */
.process-item{ display:flex; gap:20px; align-items:flex-start; padding:28px 0; border-bottom:1px solid var(--hair); }
.process-item:last-child{ border-bottom:none; }
.process-icon{
  width:50px; height:50px; border-radius:14px; flex-shrink:0;
  background:var(--green-soft); color:var(--green-dk); font-size:1.25rem;
  display:flex; align-items:center; justify-content:center;
}
.process-num{ font-family:var(--font-display); color:var(--faint); font-size:1.6rem; min-width:38px; }

/* --- Team --- */
.avatar{
  width:64px; height:64px; border-radius:50%; position:relative;
  background:var(--green-soft); color:var(--green-dk);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:1.2rem; margin:0 auto 14px;
}

.team-card{
  background:var(--surface); border:1px solid var(--gline); border-radius:var(--r-card);
  padding:20px 20px 26px; text-align:center; box-shadow:var(--shadow-medium);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.team-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-medium), 0 0 0 1px var(--green-soft); }
.team-photo{
  position:relative; width:100%; aspect-ratio:1/1; border-radius:16px; overflow:hidden;
  background:linear-gradient(155deg,var(--green),var(--green-dk)); margin-bottom:18px;
  display:flex; align-items:center; justify-content:center;
}
.team-photo-icon{ position:absolute; font-size:5.2rem; color:#fff; opacity:.16; }
.team-photo-initials{
  position:relative; z-index:1; width:60px; height:60px; border-radius:50%;
  background:rgba(255,255,255,.18); backdrop-filter:blur(2px);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:1.35rem; color:#fff;
  border:1px solid rgba(255,255,255,.35);
}
.team-card h4{ font-size:1.02rem; }
.team-role{
  display:inline-block; margin-top:8px; padding:5px 14px; border-radius:var(--r-pill);
  background:var(--green-soft); color:var(--green-dk); font-size:.76rem; font-weight:600;
}

/* --- Location chips --- */
.loc-strip{ background:var(--elevated); border-radius:var(--r-card); padding:48px 40px; text-align:center; border:1px solid var(--gline); }
.loc-row{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:16px; }

/* --- Footer --- */
footer{ background:var(--elevated); border-top:1px solid var(--hair); padding:64px 0 32px; }
footer h6{ color:var(--ink); font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
footer a{ color:var(--mid); text-decoration:none; font-size:.92rem; }
footer a:hover{ color:var(--green-dk); }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1fr; gap:32px; }
@media(max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.divider{ height:1px; background:var(--hair); border:0; margin:32px 0; }

/* --- FAB --- */
.fab-stack{ position:fixed; right:20px; bottom:20px; display:flex; flex-direction:column; gap:12px; z-index:200; }
.fab{
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(155deg,var(--green),var(--green-dk)); color:#FFFFFF;
  box-shadow:0 12px 26px -8px rgba(11,32,20,.35);
  transition:transform var(--dur-fast) var(--ease);
}
.fab:hover{ transform:scale(1.08); }

/* --- Page header (inner pages) --- */
.page-header{ padding:176px 0 56px; position:relative; }
.page-header:before{
  content:''; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(55% 60% at 82% 0%, var(--green-soft), transparent 60%);
}
.breadcrumb{ font-size:.85rem; color:var(--muted); margin-bottom:16px; }
.breadcrumb a{ color:var(--green-dk); text-decoration:none; }
.page-header h1{ margin-top:10px; max-width:22ch; }
.page-header p.lead{ margin-top:14px; }
.page-header-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.page-header-grid .showcase{ transform:scale(.82); margin:0; }
@media(max-width:900px){ .page-header-grid{ grid-template-columns:1fr; } .page-header-grid .showcase{ display:none; } }


/* --- Tech / skill chips --- */
.tech-chip{
  display:inline-flex; align-items:center;
  border-radius:var(--r-pill); border:1px solid var(--gline);
  background:var(--surface2); color:var(--mid);
  padding:10px 18px; margin:4px; font-size:.88rem;
}
.skill-row{ margin-bottom:14px; }
.skill-row .label{ display:flex; justify-content:space-between; font-size:.88rem; color:var(--ink); margin-bottom:6px; }
.skill-track{ height:6px; border-radius:var(--r-pill); background:var(--faint); overflow:hidden; }
.skill-fill{ height:100%; background:linear-gradient(90deg,var(--green-dk),var(--green)); border-radius:var(--r-pill); }

/* --- Portfolio tile --- */
.tile{ border-radius:var(--r-card); overflow:hidden; border:1px solid var(--gline); background:var(--surface); box-shadow:var(--shadow-medium); }
.tile-visual{ height:150px; display:flex; align-items:center; justify-content:center; text-align:center; padding:20px; color:#fff; font-family:var(--font-display); font-size:1.05rem; }
.tile-body{ padding:20px 22px 24px; }
.tile-tag{ font-size:.85rem; color:var(--mid); }
.tile-note{ margin-top:8px; font-size:.72rem; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }

/* --- Project row list --- */
.proj-row{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center; padding:16px 0; border-bottom:1px solid var(--hair); }
.proj-row:last-child{ border-bottom:none; }
.proj-row .name{ color:var(--ink); font-weight:600; }

/* --- Contact info row --- */
.info-row{ display:flex; gap:18px; align-items:flex-start; padding:22px; border:1px solid var(--gline); border-radius:var(--r-input); margin-bottom:14px; background:var(--surface); box-shadow:var(--shadow-subtle); transition:border-color var(--dur-fast), transform var(--dur-fast); }
.info-row:hover{ border-color:var(--green); transform:translateX(4px); }
.info-icon{ width:44px; height:44px; border-radius:var(--r-input); background:linear-gradient(155deg,var(--green),var(--green-dk)); color:#FFFFFF; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:1.1rem; box-shadow:0 6px 16px -6px var(--glow); }

/* --- FAQ accordion --- */
.faq-item{ border:1px solid var(--gline); border-radius:var(--r-input); margin-bottom:12px; overflow:hidden; background:var(--surface); }
.faq-q{ width:100%; text-align:left; background:none; border:none; color:var(--ink); font-family:var(--font-body); font-weight:600; padding:18px 22px; display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-size:1rem; }
.faq-a{ padding:0 22px 18px; color:var(--mid); display:none; }
.faq-item.open .faq-a{ display:block; }
.faq-item.open .faq-q i{ transform:rotate(180deg); }
.faq-q i{ transition:transform var(--dur-fast) var(--ease); }

/* --- Legal content --- */
.legal-body h2{ font-size:1.5rem; margin-top:36px; margin-bottom:10px; }
.legal-body p, .legal-body li{ margin-bottom:10px; }
.legal-body ul{ padding-left:20px; }
.legal-body a{ color:var(--green-dk); }
.updated-chip{ margin-bottom:20px; }

/* --- Glow background (fills flat sections) --- */
.glow-bg{ position:relative; overflow:hidden; }
.glow-bg:before{
  content:''; position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(45% 70% at 8% 20%, var(--green-soft), transparent 60%),
    radial-gradient(40% 60% at 95% 85%, var(--green-soft), transparent 60%);
}
.glow-bg > .wrap{ position:relative; z-index:1; }

/* --- Device showcase (laptop + phone mockup) --- */
.showcase{ position:relative; max-width:620px; margin:0 auto 8px; }
.showcase-laptop{
  background:var(--surface); border:1px solid var(--hair); border-radius:var(--r-card) var(--r-card) 8px 8px;
  box-shadow:var(--shadow-medium); overflow:hidden;
}
.showcase-bar{ display:flex; align-items:center; gap:8px; padding:12px 16px; background:var(--surface2); border-bottom:1px solid var(--hair); }
.showcase-bar span{ width:9px; height:9px; border-radius:50%; background:var(--faint); }
.showcase-bar span:nth-child(1){ background:#F1595C; }
.showcase-bar span:nth-child(2){ background:#F5B942; }
.showcase-bar span:nth-child(3){ background:var(--green); }
.showcase-screen{ padding:26px 24px 32px; }
.showcase-stand{ width:140px; height:16px; background:linear-gradient(180deg,#dfe6e2,#c3ccc7); margin:0 auto; border-radius:0 0 10px 10px; box-shadow:0 8px 16px -8px rgba(15,23,20,.25); }
.showcase-phone{
  position:absolute; right:-6%; bottom:-12%; width:118px;
  background:var(--ink); border-radius:20px; padding:7px; box-shadow:var(--shadow-medium);
}
.showcase-phone-screen{ background:var(--surface); border-radius:13px; padding:14px 10px 16px; }
.sc-line{ height:10px; border-radius:5px; background:var(--surface2t); margin-bottom:9px; }
.sc-w40{ width:40%; } .sc-w50{ width:50%; } .sc-w60{ width:60%; } .sc-w70{ width:70%; } .sc-w80{ width:82%; }
.sc-accent{ height:16px; background:linear-gradient(90deg,var(--green),var(--green-dk)); }
.sc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:14px 0; }
.sc-block{ aspect-ratio:1/.9; border-radius:8px; background:var(--elevated); border:1px solid var(--hair); }
.sc-block:nth-child(2){ background:var(--green-soft); }
.sc-dot-row{ display:flex; gap:5px; margin-top:6px; }
.sc-dot-row span{ width:6px; height:6px; border-radius:50%; background:var(--green); opacity:.5; }
.sc-dot-row span:first-child{ opacity:1; }
@media(max-width:560px){ .showcase-phone{ display:none; } }

/* --- Build/skill icon (small centered icon on flat cards) --- */
.build-icon{
  width:40px; height:40px; border-radius:10px; margin:0 auto 12px;
  background:var(--green-soft); color:var(--green-dk); font-size:1.05rem;
  display:flex; align-items:center; justify-content:center;
}

/* --- Testimonial Slider --- */
.tslider{ position:relative; overflow:hidden; }
.tslider-track{ display:flex; transition: transform var(--dur-slow) var(--ease); }
.tslider-slide{ flex:0 0 100%; max-width:100%; padding:0 4px; }
.tslider-slide .card{ height:100%; }
.tslider-dots{ display:flex; justify-content:center; gap:10px; margin-top:24px; }
.tslider-dot{ width:9px; height:9px; border-radius:50%; background:var(--faint); border:none; cursor:pointer; padding:0; transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.tslider-dot.is-active{ background:var(--green); transform:scale(1.25); }
.tslider-arrows{ display:flex; justify-content:center; gap:14px; margin-top:20px; }
.tslider-arrow{ width:40px; height:40px; border-radius:50%; border:1px solid var(--gline); background:var(--surface); color:var(--ink); display:flex; align-items:center; justify-content:center; cursor:pointer; transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.tslider-arrow:hover{ border-color:var(--green); background:var(--green-soft); }
@media (min-width:900px){
  .tslider-track.is-multi .tslider-slide{ flex:0 0 33.3333%; max-width:33.3333%; }
}

.reveal{ animation: rise var(--dur-slower) var(--ease) both; }
@keyframes rise{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:translateY(0);} }

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

/* ============================================================
   Blog
   ============================================================ */
.blog-toolbar{ display:flex; flex-wrap:wrap; gap:10px; margin:0 0 40px; }
.blog-filter{
  border:1px solid var(--gline); background:var(--surface); color:var(--mid);
  font-family:var(--font-body); font-size:.85rem; font-weight:600; padding:9px 18px;
  border-radius:var(--r-pill); cursor:pointer; transition:border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}
.blog-filter:hover{ border-color:var(--green); color:var(--ink); }
.blog-filter.is-active{ background:var(--green-dk); border-color:var(--green-dk); color:#fff; }

.blog-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:28px; }
.blog-card{
  background:var(--surface); border:1px solid var(--gline); border-radius:var(--r-card);
  overflow:hidden; box-shadow:var(--shadow-subtle); display:flex; flex-direction:column;
  text-decoration:none; transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.blog-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-medium); border-color:var(--green); }
.blog-card-thumb{
  height:180px; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:2.1rem; flex-shrink:0;
}
.blog-card-body{ padding:24px 26px 28px; display:flex; flex-direction:column; flex:1; }
.blog-card-body .chip{ align-self:flex-start; margin-bottom:14px; }
.blog-card-body h3{ font-size:1.1rem; line-height:1.4; margin-bottom:10px; color:var(--ink); }
.blog-card-body p{ color:var(--mid); font-size:.92rem; flex:1; margin:0; }
.blog-card-meta{
  display:flex; gap:16px; margin-top:18px; padding-top:16px;
  border-top:1px solid var(--hair); font-size:.76rem; color:var(--muted);
}
.blog-card-meta i{ margin-right:4px; color:var(--mint); }

/* Single post */
.post-hero{
  height:280px; border-radius:var(--r-card); display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:3.4rem; margin-bottom:48px; box-shadow:var(--shadow-medium);
}
@media(max-width:600px){ .post-hero{ height:180px; font-size:2.2rem; } }
.post-meta{ display:flex; flex-wrap:wrap; gap:20px; margin:18px 0 0; font-size:.88rem; color:var(--muted); }
.post-meta i{ margin-right:5px; color:var(--mint); }
.post-body h2{ font-size:1.5rem; margin-top:38px; margin-bottom:12px; }
.post-body h3{ font-size:1.18rem; margin-top:28px; margin-bottom:10px; }
.post-body p{ margin-bottom:16px; }
.post-body ul, .post-body ol{ padding-left:22px; margin-bottom:16px; }
.post-body li{ margin-bottom:8px; }
.post-body a{ color:var(--green-dk); font-weight:600; }
.post-body blockquote{
  border-left:3px solid var(--green); background:var(--surface2); padding:16px 22px;
  border-radius:0 var(--r-input) var(--r-input) 0; margin:24px 0; font-style:italic; color:var(--ink);
}
.post-share{ display:flex; align-items:center; gap:12px; margin:40px 0; padding:20px 0; border-top:1px solid var(--hair); border-bottom:1px solid var(--hair); }
.post-share span{ font-size:.85rem; color:var(--muted); font-weight:600; }
.post-share a{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--gline); display:flex;
  align-items:center; justify-content:center; color:var(--ink); transition:border-color var(--dur-fast), background var(--dur-fast);
}
.post-share a:hover{ border-color:var(--green); background:var(--green-soft); }
.post-author{
  display:flex; gap:16px; align-items:center; background:var(--surface2); border:1px solid var(--gline);
  border-radius:var(--r-input); padding:22px; margin:40px 0;
}
.post-author .avatar{ width:52px; height:52px; flex-shrink:0; margin:0; }
.post-author strong{ display:block; color:var(--ink); font-size:1rem; }
.post-author p{ margin:4px 0 0; font-size:.85rem; color:var(--muted); }
