/* ==========================================================================
   NETCAFE Tech — netcafetech.com
   Design tokens carried over from the previous site, tightened.
   ========================================================================== */

:root {
  /* Surfaces — dark navy family */
  --bg:          #21232E;
  --bg-alt:      #1D1F27;
  --surface:     #272936;
  --surface-2:   #2E3040;
  --line:        #383B4D;

  /* Text */
  --ink:         #F4F3EE;
  --muted:       #9BB1C5;
  --muted-dim:   #8093A6;   /* 4.94:1 on --bg — passes AA for small text */

  /* Two greens only: brand (the logo) and action (anything clickable) */
  --brand:       #7CCC21;
  --action:      #1ECC64;
  --action-dark: #15803D;

  --radius:      4px;
  --radius-lg:   10px;

  --wrap:        1180px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);

  --step-1:  0.8125rem;
  --step0:   1rem;
  --step1:   1.125rem;
  --step2:   clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem);
  --step3:   clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --step4:   clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font: 400 var(--step0)/1.7 "Open Sans", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--action); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: Poppins, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--step4); font-weight: 800; }
h2 { font-size: var(--step3); font-weight: 800; }
h3 { font-size: var(--step2); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: var(--step1); font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--action); color: #06210F; padding: .8rem 1.2rem;
  font-family: Poppins, sans-serif; font-weight: 600;
}
.skip:focus { left: .5rem; top: .5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: Poppins, sans-serif; font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .85rem 1.5rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--solid  { background: var(--action); color: #06210F; }
.btn--solid:hover { background: #2ADB74; }
.btn--ghost  { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--action); color: var(--action); }
.btn--sm { padding: .6rem 1.05rem; font-size: .8rem; }

/* ---------------------------------------------------- signal arc motif -- */
/* Lifted from the wifi arcs in the logo — used as an eyebrow before section
   headings so the mark's language repeats through the page. */
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: Poppins, sans-serif; font-size: var(--step-1); font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--brand); margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: var(--brand);
  -webkit-mask: url("../img/arc.svg") no-repeat center / contain;
  mask: url("../img/arc.svg") no-repeat center / contain;
}

/* -------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(29,31,39,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 74px;
}
.brand { flex: none; }
.brand img { height: 34px; width: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .55rem .8rem; border-radius: var(--radius);
  font-family: Poppins, sans-serif; font-size: .95rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--surface); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: .3rem;
  background: var(--brand); border-radius: 2px;
}

/* dropdown */
.has-sub { position: relative; }
.has-sub > button {
  display: flex; align-items: center; gap: .35rem;
  background: none; border: 0; cursor: pointer;
  padding: .55rem .8rem; border-radius: var(--radius);
  font-family: Poppins, sans-serif; font-size: .95rem; font-weight: 500;
  color: var(--muted);
}
.has-sub > button:hover { color: var(--ink); background: var(--surface); }
.has-sub > button svg { transition: transform .2s var(--ease); }
.has-sub[data-open="true"] > button svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + .55rem); left: 0;
  min-width: 260px; padding: .5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0,0,0,.45);
  display: none; flex-direction: column; gap: .1rem;
}
.has-sub[data-open="true"] .sub { display: flex; }
.sub a { padding: .6rem .8rem; font-weight: 400; color: var(--muted); }
.sub a:hover { background: var(--surface-2); color: var(--ink); }
.sub a[aria-current="page"]::after { display: none; }

.nav-cta { margin-left: .6rem; }

.burger {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 44px; height: 44px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}

/* --------------------------------------------------------------- hero -- */
.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(900px 380px at 78% -12%, rgba(124,204,33,.13), transparent 65%),
    radial-gradient(700px 320px at 12% 8%, rgba(30,204,100,.07), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.hero__inner { max-width: 760px; }
.hero h1 .accent { color: var(--brand); }
.hero p.lede { font-size: var(--step1); color: var(--muted); max-width: 62ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.crumb {
  font-size: var(--step-1); color: var(--muted-dim); margin-bottom: 1rem;
  font-family: Poppins, sans-serif; letter-spacing: .04em;
}
.crumb a { color: var(--muted-dim); }
.crumb a:hover { color: var(--action); }

/* ------------------------------------------------------------ sections -- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: 2.75rem; }
.section__head p { color: var(--muted); margin-bottom: 0; }

/* ---------------------------------------------------------------- grid -- */
.grid { display: grid; gap: 1.15rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ---------------------------------------------------------------- card -- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card h3 { margin-bottom: .5rem; }
.card p  { font-size: .95rem; margin-bottom: 0; }
.card__link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem;
  font-family: Poppins, sans-serif; font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em; color: var(--action);
}
a.card { display: block; text-decoration: none; }
a.card:hover { border-color: var(--action); transform: translateY(-3px); text-decoration: none; }
a.card:hover .card__link { text-decoration: underline; }

.card__media {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 1.1rem;
  background: var(--surface-2); aspect-ratio: 3 / 2;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }

/* status pill — walk-in vs made to order. Real information, not decoration. */
.pill {
  display: inline-block; font-family: Poppins, sans-serif;
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  padding: .3rem .6rem; border-radius: 100px; margin-bottom: .9rem;
  border: 1px solid var(--line); color: var(--muted-dim);
}
.pill--now   { color: var(--action); border-color: rgba(30,204,100,.4); background: rgba(30,204,100,.08); }
.pill--order { color: var(--brand);  border-color: rgba(124,204,33,.4); background: rgba(124,204,33,.08); }
.pill--soon  { color: var(--muted-dim); }

/* --------------------------------------------------------- counter row -- */
/* The shop counter, as a component: what it is, what it costs, how long. */
.counter { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.counter__row {
  display: grid; grid-template-columns: 1fr auto; gap: .4rem 1.5rem;
  align-items: start; padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.counter__row:last-child { border-bottom: 0; }
.counter__row h4 { margin: 0 0 .3rem; color: var(--ink); }
.counter__row p { font-size: .93rem; margin: 0; max-width: 62ch; }
.counter__meta {
  grid-column: 2; grid-row: 1 / span 2; text-align: right;
  font-family: Poppins, sans-serif; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted-dim);
  white-space: nowrap;
}

/* ---------------------------------------------------------- venture row -- */
.venture { display: flex; gap: 1rem; align-items: flex-start; }
.venture__dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--action); margin-top: .55rem;
}
.venture__dot--wip { background: var(--muted-dim); }

/* ---------------------------------------------------------------- band -- */
.band {
  background: linear-gradient(135deg, rgba(124,204,33,.1), rgba(30,204,100,.06));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center; justify-content: space-between;
}
.band h2 { margin-bottom: .35rem; }
.band p { margin-bottom: 0; max-width: 52ch; }
.band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* -------------------------------------------------------------- footer -- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: clamp(3rem,6vw,4.5rem); }
.site-footer h4 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink); margin-bottom: 1.1rem;
}
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--muted); font-size: .93rem; }
.site-footer a:hover { color: var(--action); }
.site-footer p { font-size: .93rem; }
.footer-logo { height: 30px; width: auto; margin-bottom: 1.1rem; }
.hours { font-size: .93rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.hours dt { color: var(--muted-dim); }
.hours dd { margin: 0; color: var(--ink); white-space: nowrap; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; color: var(--muted);
}
.socials a:hover { border-color: var(--action); color: var(--action); }
.legal {
  margin-top: 3rem; border-top: 1px solid var(--line); padding: 1.5rem 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: var(--muted-dim);
}

/* ------------------------------------------------------- whatsapp float -- */
.wa {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #06210F;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  transition: transform .2s var(--ease);
}
.wa:hover { transform: scale(1.07); }

/* --------------------------------------------------------------- forms -- */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-family: Poppins, sans-serif; font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: .45rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  font: 400 1rem/1.5 "Open Sans", sans-serif;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--action); outline: none; }
.form-note { font-size: .85rem; color: var(--muted-dim); }

/* -------------------------------------------------------------- mobile -- */
@media (max-width: 940px) {
  .burger { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.75rem; max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .has-sub > button { width: 100%; padding: .85rem .4rem; font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--brand); }
  .has-sub > button { justify-content: space-between; }
  .sub {
    position: static; display: none; box-shadow: none; background: transparent;
    border: 0; border-left: 2px solid var(--line); border-radius: 0;
    margin: 0 0 .5rem .4rem; padding: 0 0 0 .9rem; min-width: 0;
  }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .counter__row { grid-template-columns: 1fr; }
  .counter__meta { grid-column: 1; grid-row: auto; text-align: left; }
  .band { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .btn:hover, a.card:hover, .wa:hover { transform: none; }
}
