/* =========================================================
   AZ CODE HOST — Production stylesheet
   No framework. No external font. No third-party dependency.
   ========================================================= */

:root{
  --ink:#0b1220;
  --ink-2:#111b2c;
  --surface:#141f31;
  --surface-2:#172438;
  --line:#27364d;
  --line-soft:rgba(255,255,255,.08);
  --text:#f2f5f9;
  --muted:#a9b4c5;
  --muted-2:#77859a;
  --accent:#5f82ff;
  --accent-soft:#91a8ff;
  --green:#25c66a;
  --green-dark:#15964c;
  --white:#ffffff;
  --radius-sm:12px;
  --radius:18px;
  --radius-lg:26px;
  --shadow:0 24px 70px rgba(0,0,0,.24);
  --shell:1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  color:var(--text);
  background:var(--ink);
  font-family:Tahoma,"Segoe UI",Arial,sans-serif;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 14% 12%,rgba(95,130,255,.10),transparent 32%),
    linear-gradient(180deg,#0b1220 0%,#0d1625 100%);
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.20;
  background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:100% 32px;
  mask-image:linear-gradient(to bottom,black,transparent 82%);
}

a{color:inherit}
button,input,textarea,select{font:inherit}
button{color:inherit}
img{max-width:100%;height:auto}
::selection{background:#5f82ff;color:#fff}

.shell{
  width:min(var(--shell),calc(100% - 40px));
  margin-inline:auto;
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link{
  position:fixed;
  top:10px;
  right:10px;
  z-index:100;
  padding:10px 14px;
  border-radius:10px;
  background:#fff;
  color:#111;
  transform:translateY(-160%);
  transition:transform .2s ease;
}
.skip-link:focus{transform:none}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(11,18,32,.90);
  border-bottom:1px solid transparent;
  backdrop-filter:blur(14px);
}
.site-header.is-scrolled{border-bottom-color:var(--line-soft)}

.header-inner{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width:max-content;
}
.brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid #708df7;
  border-radius:13px;
  background:#5476ef;
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
}
.brand-copy{
  display:grid;
  line-height:1.15;
  direction:ltr;
  text-align:left;
}
.brand-copy strong{font-size:14px;letter-spacing:.01em}
.brand-copy small{margin-top:5px;color:var(--muted-2);font-size:10px;letter-spacing:.04em}

.site-nav{
  display:flex;
  align-items:center;
  gap:25px;
}
.site-nav a{
  position:relative;
  color:#c8d0dc;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}
.site-nav a::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-8px;
  width:0;
  height:2px;
  border-radius:999px;
  background:var(--accent);
  transition:width .2s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible{color:#fff}
.site-nav a:hover::after,
.site-nav a:focus-visible::after{width:100%}

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:12px;
  background:transparent;
  cursor:pointer;
}
.nav-toggle>span:not(.sr-only){
  display:block;
  width:19px;
  height:2px;
  margin:4px auto;
  border-radius:999px;
  background:#fff;
}

/* Hero */
.hero{
  padding:92px 0 86px;
}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:70px;
  align-items:center;
}
.hero-copy{max-width:720px}
.availability{
  width:max-content;
  display:flex;
  align-items:center;
  gap:9px;
  padding:7px 11px;
  margin-bottom:21px;
  border:1px solid rgba(37,198,106,.22);
  border-radius:999px;
  background:rgba(37,198,106,.055);
  color:#c9f4da;
  font-size:11px;
  font-weight:700;
}
.availability-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 4px rgba(37,198,106,.08);
}

.kicker{
  margin:0 0 12px;
  color:var(--accent-soft);
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}

.hero h1{
  margin:0;
  color:#fff;
  font-family:Tahoma,"Segoe UI",Arial,sans-serif;
  font-size:clamp(44px,6vw,72px);
  font-weight:700;
  line-height:1.25;
  letter-spacing:0;
  overflow:visible;
  -webkit-text-fill-color:#fff;
}
.hero-lead{
  max-width:680px;
  margin:18px 0 0;
  color:#c2cad7;
  font-size:clamp(16px,1.55vw,19px);
  line-height:1.95;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px;
}

.button{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 18px;
  border:1px solid transparent;
  border-radius:13px;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.button:hover{transform:translateY(-2px)}
.button:focus-visible{outline:3px solid rgba(95,130,255,.28);outline-offset:3px}

.button-whatsapp{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:var(--green-dark);
  border-color:#22b65f;
  box-shadow:0 10px 26px rgba(21,150,76,.16);
}
.button-whatsapp:hover{
  background:#17a553;
  box-shadow:0 14px 34px rgba(21,150,76,.22);
}
.button-whatsapp::after{
  content:"";
  position:absolute;
  top:-120%;
  right:-45%;
  width:32%;
  height:340%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:rotate(18deg);
  animation:whatsappShine 5.2s ease-in-out infinite;
}
.whatsapp-pulse{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#e9fff1;
  box-shadow:0 0 0 0 rgba(233,255,241,.42);
  animation:whatsappPulse 2.2s ease-out infinite;
}
@keyframes whatsappPulse{
  0%{box-shadow:0 0 0 0 rgba(233,255,241,.42)}
  72%{box-shadow:0 0 0 8px rgba(233,255,241,0)}
  100%{box-shadow:0 0 0 0 rgba(233,255,241,0)}
}
@keyframes whatsappShine{
  0%,64%{right:-45%;opacity:0}
  70%{opacity:1}
  86%{right:120%;opacity:.4}
  100%{right:120%;opacity:0}
}

.button-secondary{
  color:#eef2f7;
  background:rgba(255,255,255,.025);
  border-color:var(--line);
}
.button-secondary:hover{background:rgba(255,255,255,.05);border-color:#3b4d68}

.hero-notes{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-top:34px;
  color:var(--muted-2);
  font-size:10px;
  font-weight:700;
  direction:ltr;
}
.hero-notes span+span::before{
  content:"/";
  margin-right:20px;
  color:#4d5c70;
}

/* Hero panel */
.hero-panel{
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:linear-gradient(180deg,rgba(23,36,56,.92),rgba(16,27,44,.92));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel-top{
  height:52px;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}
.panel-status{direction:ltr;color:#7f8da3}

.process-list{
  margin:0;
  padding:8px 20px 14px;
  list-style:none;
}
.process-list li{
  display:grid;
  grid-template-columns:32px 1fr;
  gap:14px;
  padding:18px 0;
}
.process-list li+li{border-top:1px solid var(--line-soft)}
.process-list>li>span{
  color:#7089de;
  font-size:10px;
  font-weight:800;
  direction:ltr;
}
.process-list strong{
  display:block;
  margin-bottom:5px;
  font-size:14px;
}
.process-list p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.8;
}

/* Sections */
.section{padding:92px 0}
.section-muted{
  border-block:1px solid var(--line-soft);
  background:rgba(255,255,255,.018);
}
.split-section{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);
  gap:80px;
}
.section-heading{max-width:620px}
.section-index{
  margin:0 0 11px;
  color:#7f99ef;
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
}
.section-heading h2{
  margin:0;
  color:#f5f7fa;
  font-size:clamp(28px,3.2vw,43px);
  line-height:1.45;
  letter-spacing:-.01em;
}
.section-copy{
  max-width:680px;
  color:#bcc6d4;
  font-size:15px;
}
.section-copy p{margin:0}
.section-copy p+p{margin-top:18px}

.heading-row{
  max-width:none;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:48px;
  margin-bottom:36px;
}
.heading-row>div{max-width:680px}
.heading-row>p{
  max-width:370px;
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.8;
}

/* Services */
.service-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.service-card{
  position:relative;
  min-height:220px;
  padding:27px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#111c2d;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.service-card:hover{
  transform:translateY(-3px);
  border-color:#374c6d;
  background:#132033;
}
.service-number{
  display:block;
  margin-bottom:42px;
  color:#5871c6;
  font-size:10px;
  font-weight:800;
  direction:ltr;
  text-align:right;
}
.service-card h3{
  margin:0 0 8px;
  font-size:17px;
}
.service-card p{
  max-width:520px;
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
}

/* Work */
.work-list{
  border-top:1px solid var(--line);
}
.work-card{
  padding:28px 0 30px;
  border-bottom:1px solid var(--line);
}
.work-card-concept{opacity:.88}
.work-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:19px;
  color:var(--muted-2);
  font-size:10px;
  direction:ltr;
}
.badge{
  padding:5px 9px;
  border:1px solid;
  border-radius:999px;
  font-size:9px;
  font-weight:800;
  direction:rtl;
}
.badge-live{border-color:rgba(37,198,106,.25);color:#91e9b4;background:rgba(37,198,106,.05)}
.badge-module{border-color:rgba(95,130,255,.25);color:#9cafef;background:rgba(95,130,255,.05)}
.badge-concept{border-color:#344258;color:#9aa6b8;background:rgba(255,255,255,.02)}
.work-content{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:60px;
  align-items:end;
}
.work-content h3{
  margin:0 0 9px;
  font-size:23px;
}
.work-content p{
  max-width:680px;
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
}
.work-tags{
  display:flex;
  justify-content:flex-start;
  gap:7px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
  list-style:none;
  direction:ltr;
}
.work-tags li{
  padding:6px 8px;
  border:1px solid var(--line);
  border-radius:8px;
  color:#909cb0;
  font-size:9px;
  font-weight:700;
}

/* CV */
.cv-grid{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);
  gap:80px;
}
.text-button{
  margin-top:24px;
  padding:0;
  border:0;
  border-bottom:1px solid #6179ca;
  background:transparent;
  color:#b7c5f7;
  cursor:pointer;
  font-size:11px;
  font-weight:800;
}
.cv-content{
  display:grid;
  gap:28px;
}
.cv-block{
  padding-bottom:25px;
  border-bottom:1px solid var(--line);
}
.cv-block:last-child{padding-bottom:0;border-bottom:0}
.cv-block h3{
  margin:0 0 13px;
  color:#dfe5ed;
  font-size:13px;
}
.chip-list{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  direction:ltr;
  justify-content:flex-end;
}
.chip-list span{
  padding:7px 9px;
  border:1px solid #2a3a53;
  border-radius:9px;
  background:#101b2c;
  color:#aeb8c7;
  font-size:10px;
  font-weight:700;
}

/* Contact */
.contact-section{padding-bottom:110px}
.contact-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
  padding:38px;
  border:1px solid #344863;
  border-radius:var(--radius-lg);
  background:#111d2f;
}
.contact-box h2{
  margin:0 0 10px;
  font-size:clamp(27px,3.5vw,42px);
}
.contact-box p:not(.section-index){
  max-width:600px;
  margin:0;
  color:var(--muted);
  font-size:13px;
}
.contact-actions{
  display:flex;
  align-items:flex-start;
  flex-direction:column;
  gap:11px;
  min-width:260px;
}
.button-large{width:100%;min-height:52px}
.contact-mail{
  color:#8592a6;
  text-decoration:none;
  font-size:10px;
  direction:ltr;
}
.contact-mail:hover{color:#c7d0dc}

/* Floating WhatsApp */
.floating-whatsapp{
  position:fixed;
  left:20px;
  bottom:20px;
  z-index:45;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:48px;
  padding:0 14px 0 10px;
  border:1px solid #1eaa59;
  border-radius:999px;
  background:#148a47;
  color:#fff;
  text-decoration:none;
  font-size:11px;
  font-weight:800;
  box-shadow:0 16px 38px rgba(0,0,0,.26);
  transition:transform .2s ease,background .2s ease;
}
.floating-whatsapp:hover{transform:translateY(-3px);background:#179950}
.floating-icon{
  width:28px;height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  font-size:11px;
}
.floating-ring{
  position:absolute;
  inset:-4px;
  border:1px solid rgba(37,198,106,.35);
  border-radius:999px;
  animation:floatingRing 2.8s ease-out infinite;
}
@keyframes floatingRing{
  from{transform:scale(.98);opacity:.55}
  to{transform:scale(1.15);opacity:0}
}

/* Footer */
.site-footer{
  border-top:1px solid var(--line-soft);
}
.footer-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#67758a;
  font-size:10px;
}

/* Reveal enhancement. Content remains visible when JS is unavailable. */
.has-js [data-reveal]{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .55s ease,transform .55s ease;
}
.has-js [data-reveal].is-visible{
  opacity:1;
  transform:none;
}

/* Responsive */
@media (max-width:960px){
  .hero-grid{
    grid-template-columns:1fr;
    gap:42px;
  }
  .hero-panel{max-width:720px}
  .split-section,
  .cv-grid{
    grid-template-columns:1fr;
    gap:34px;
  }
  .work-content{grid-template-columns:1fr;gap:22px}
  .heading-row{align-items:flex-start;flex-direction:column;gap:14px}
  .contact-box{align-items:flex-start;flex-direction:column}
  .contact-actions{width:min(100%,360px)}
}

@media (max-width:760px){
  .shell{width:min(var(--shell),calc(100% - 28px))}
  .header-inner{height:70px}

  .nav-toggle{display:block}
  .site-nav{
    position:absolute;
    top:70px;
    right:14px;
    left:14px;
    display:none;
    padding:12px;
    border:1px solid var(--line);
    border-radius:15px;
    background:#0f1929;
    box-shadow:var(--shadow);
  }
  .site-nav.is-open{
    display:grid;
    gap:2px;
  }
  .site-nav a{
    padding:10px 11px;
    border-radius:9px;
  }
  .site-nav a:hover{background:rgba(255,255,255,.04)}
  .site-nav a::after{display:none}

  .hero{padding:64px 0 66px}
  .hero h1{font-size:clamp(39px,12vw,57px);line-height:1.35}
  .hero-lead{font-size:15px}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .button{padding-inline:13px}
  .hero-notes{gap:10px;font-size:9px}
  .hero-notes span+span::before{margin-right:10px}

  .section{padding:70px 0}
  .service-grid{grid-template-columns:1fr}
  .service-card{min-height:190px}
  .service-number{margin-bottom:28px}
  .contact-box{padding:28px}
}

@media (max-width:480px){
  .brand-copy small{display:none}
  .hero h1{font-size:39px}
  .hero-actions{grid-template-columns:1fr}
  .hero-notes{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}
  .hero-notes span+span::before{display:none}
  .process-list{padding-inline:16px}
  .process-list li{grid-template-columns:28px 1fr}
  .contact-box{padding:23px}
  .floating-whatsapp{
    left:12px;
    bottom:12px;
    width:48px;
    padding:0;
    justify-content:center;
  }
  .floating-whatsapp>span:last-child{display:none}
  .footer-inner{align-items:flex-start;flex-direction:column;justify-content:center;padding-block:18px}
}

/* Print / CV */
@media print{
  .site-header,
  .hero-panel,
  .hero-actions,
  .floating-whatsapp,
  .text-button,
  .site-footer{
    display:none!important;
  }
  body{background:#fff;color:#111}
  body::before,body::after{display:none}
  .section,.hero{padding:28px 0}
  .section-muted{background:#fff;border:0}
  .hero h1,.section-heading h2,.work-content h3,.cv-block h3{color:#111}
  .hero-lead,.section-copy,.service-card p,.work-content p,.contact-box p:not(.section-index){color:#444}
  .service-card,.contact-box{background:#fff;border:1px solid #ddd}
  .shell{width:100%}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,
  *::before,
  *::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
}


/* v1.1 additions */
.floating-icon svg{
  width:18px;
  height:18px;
  display:block;
  fill:#fff;
}

.work-list .work-card:nth-child(n+4){
  padding-top:25px;
  padding-bottom:27px;
}

@media (max-width:760px){
  .work-content h3{font-size:20px}
}
