:root{
  --p1:#FFCC33;
  --p2:#C97C00;
  --a:#B7791F;

  --bg:#ffffff;
  --bg2:#FFFBF2;
  --text:#0F172A;
  --muted:#475569;
  --border:#E2E8F0;

  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --radius: 18px;
  --max: 1080px;
  --gold-10: rgba(255, 204, 51, .10);
  --gold-14: rgba(255, 204, 51, .14);
  --gold-18: rgba(255, 204, 51, .18);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; color:var(--text); background:var(--bg); }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }
.container{ max-width:var(--max); margin:0 auto; padding:0 20px; }

.header{
  position:sticky; top:0; z-index:20;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header__inner{ display:flex; align-items:center; justify-content:space-between; height:68px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand__logo{ width:34px; height:34px; }
.brand__name{ font-weight:800; letter-spacing:.2px; }

.nav{ display:flex; align-items:center; gap:16px; }
.nav a{ color:var(--muted); font-weight:600; }
.nav a:hover{ color:var(--p1); text-decoration:none; }
.nav a:focus-visible{
  color: var(--p1);
  outline: 2px solid var(--p1);
  outline-offset: 3px;
  border-radius: 10px;
  padding: 6px 10px;
  text-decoration: none;
}
.nav a.is-active{
  color: var(--p1);
  font-weight: 800;
  border-bottom: 1px solid var(--p1);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  color:white; font-weight:800;
  border:1px solid transparent;
  box-shadow: var(--shadow);
}
.btn:hover{ filter: brightness(1.05); text-decoration:none; }
.btn--ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow:none;
}
.btn--sm{ padding:10px 14px; box-shadow:none; }

.chip{
  border:1px solid var(--border);
  background: white;
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
}
.chip:hover{ border-color: var(--p1); }

.section{ padding:56px 0; }
.section--alt{ background: var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.hero{ padding:72px 0 52px; }
.hero__grid{ display:grid; grid-template-columns: 1.2fr .8fr; gap:28px; align-items:start; }
@media (max-width: 920px){ .hero__grid{ grid-template-columns:1fr; } }
.hero__collab{
  display:flex;
  margin-top:24px;
}
.hero__collab .hero__card{
  flex:1;
}

.eyebrow{ color: var(--p2); font-weight:900; letter-spacing:.8px; text-transform:uppercase; font-size:12px; }
h1{ font-size:44px; line-height:1.05; margin:10px 0 14px; }
@media (max-width: 520px){ h1{ font-size:34px; } }
h2{ font-size:28px; margin:0 0 14px; }
h3{ font-size:18px; margin:0 0 8px; }

.lead{ color:var(--muted); font-size:18px; line-height:1.6; margin:0 0 18px; }
.muted{ color:var(--muted); line-height:1.6; }
.small{ font-size:14px; }
.small p{ margin:6px 0; }

.hero__cta{ display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 18px; }
.badges{ display:flex; gap:10px; flex-wrap:wrap; }
.badge{
  font-weight:700;
  font-size:12px;
  padding:8px 10px;
  border:1px solid rgba(183, 121, 31, .35);
  border-radius:999px;
  background:white;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.badge:hover,
.badge:focus-visible{
  background: linear-gradient(135deg, var(--p1), var(--p2));
  color:#fff;
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(2, 6, 23, .18);
}

.card{
  background:white;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
@media (max-width: 920px){ .grid3{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }

#services .grid3 > .card{
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(183, 121, 31, .35);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}
#services .grid3 > .card:hover{
  background: linear-gradient(135deg, var(--p1), var(--p2));
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, .22);
}
#services .grid3 > .card:hover h3{ color:#fff; }
#services .grid3 > .card:hover p{ color: rgba(255,255,255,.90); }
#services .grid3 > .card:hover .muted{ color: rgba(255,255,255,.85); }
#services .grid3 > .card:focus-within{
  outline: 2px solid var(--a);
  outline-offset: 4px;
}

.checklist{ margin:12px 0 0; padding:0 0 0 18px; }
.checklist li{ margin:10px 0; }
.checklist li::marker{ color: var(--p1); }

.timeline{ display:grid; gap:14px; margin-top:18px; }
.timeline__item{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:14px;
  padding:14px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background:white;
}
@media (max-width: 520px){ .timeline__item{ grid-template-columns:1fr; } }
.timeline__meta{ font-weight:900; color: var(--p2); }

.note{
  margin-top:16px;
  padding:12px 14px;
  border-left: 4px solid var(--a);
  background: rgba(255, 204, 51, .12);
  border-radius: 12px;
}

.tags{ display:flex; gap:10px; flex-wrap:wrap; }
.tag{
  border:1px solid rgba(183, 121, 31, .35);
  background:white;
  padding:8px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
}
.tag:hover{
  background: var(--gold-10);
  border-color: var(--a);
}

#stack .tag{
  background:#fff;
  color: var(--text);
  border:1px solid rgba(183, 121, 31, .35);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
}
#stack .tag:hover,
#stack .tag:focus-visible{
  background: linear-gradient(135deg, var(--p1), var(--p2));
  color:#fff;
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(2, 6, 23, .18);
}
.stack-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:24px;
}
@media (max-width: 920px){
  .stack-grid{ grid-template-columns:1fr; }
}
.stack-block h3{ margin-bottom:12px; }
.stack-block .tags{ margin-top:8px; }

.contact{ display:grid; grid-template-columns: 1fr .6fr; gap:18px; }
@media (max-width: 920px){ .contact{ grid-template-columns:1fr; } }
.contact__line{ margin:10px 0; }

/* Responsive tweaks */
@media (max-width: 920px){
  .section{ padding:44px 0; }
  .hero{ padding:56px 0 40px; }
  h1{ font-size:36px; }
  .grid3{ gap:12px; }
  .timeline__item{ grid-template-columns: 140px 1fr; }
  .stack-grid{ gap:20px; }
}

@media (max-width: 520px){
  .container{ padding:0 16px; }
  .header__inner{ height:60px; }
  .brand__name{ display:none; }
  .nav{ gap:10px; }
  .nav a{ display:none; }
  .nav a[data-i18n="nav_contact"]{ display:inline-flex; }
  .nav a[data-i18n="nav_contact"]{
    padding:8px 12px;
    border:1px solid var(--border);
    border-radius:999px;
    font-weight:800;
  }
  .hero__cta{ width:100%; }
  .hero__cta .btn{ width:100%; }
  h1{ font-size:32px; line-height:1.1; }
  .lead{ font-size:16px; }
  .grid3{ grid-template-columns:1fr; }
  .timeline__item{ grid-template-columns:1fr; }
  .timeline__meta{ margin-bottom:6px; }
  .tags{ gap:8px; }
  .tag{ font-size:12px; padding:7px 9px; }
  .stack-grid{ gap:16px; }
  .modal__panel{ margin:16px; max-height: calc(100vh - 32px); overflow:auto; }
  .cookie__inner{ flex-direction:column; gap:14px; }
  .cookie__actions{ width:100%; }
  .cookie__actions .btn{ width:100%; }
  .cookie__actions .btn + .btn{ margin-top:8px; }
}

.footer{
  border-top:1px solid var(--border);
  padding:22px 0;
  background:white;
}
.footer__inner{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.footer__links{ display:flex; gap:12px; align-items:center; }
.linklike{
  background:none; border:none; padding:0; margin:0;
  color: var(--muted); cursor:pointer; font-weight:700;
}
.linklike:hover{ color: var(--text); text-decoration:underline; }

.cookie{
  position:fixed; left:0; right:0; bottom:0;
  padding:14px; z-index:50;
}
.cookie__inner{
  max-width: var(--max);
  margin: 0 auto;
  background:white;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:14px;
}
.cookie__actions{ display:flex; gap:10px; }
@media (max-width: 720px){ .cookie__inner{ flex-direction:column; align-items:stretch; } .cookie__actions{ justify-content:flex-end; } }

.modal{ position:fixed; inset:0; z-index:60; display:none; }
.modal.is-open{ display:block; }
.modal__backdrop{ position:absolute; inset:0; background: rgba(2,6,23,.55); }
.modal__panel{
  position:relative;
  max-width: 820px;
  margin: 60px auto;
  background:white;
  border-radius: var(--radius);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  padding:16px;
}
@media (max-width: 900px){ .modal__panel{ margin: 18px; } }
.modal__head{ display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid var(--border); padding-bottom:10px; }
.modal__body{ padding-top:12px; color: var(--muted); line-height:1.65; }
