/* ============================================================
   Augventa — Global Stylesheet
   "Augmenting Possibilities"
   Edit the variables below to re-brand the whole site.
   ============================================================ */

:root {
  /* Warm neutral ink, to sit under the orange rather than fight it */
  --ink:        #1c1917;
  --ink-soft:   #3b322c;
  --body:       #6b6259;
  --line:       #ece6e0;
  --bg:         #ffffff;
  --bg-alt:     #faf7f4;

  /* --- Brand orange ---
     Two orange tokens on purpose:
     --brand        is dark enough to pass WCAG AA as text on white (5.2:1)
     --brand-bright is the vivid logo orange — graphics and fills only,
                    never small text, because it only hits ~3:1 on white. */
  --brand:        #c2410c;
  --brand-dark:   #9a3412;
  --brand-bright: #f59320;
  --brand-glow:   #fbb03b;
  --brand-soft:   #fff2e6;

  /* Secondary: the golden end of the logo gradient, used to tell the
     non-tech track apart from the tech track without leaving the family. */
  --accent:        #b45309;
  --accent-bright: #d97706;
  --accent-soft:   #fef4e4;

  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 18px 45px -20px rgba(70, 40, 15, .26);
  --shadow-sm:  0 6px 20px -10px rgba(70, 40, 15, .24);
  --wrap:       1140px;
  --font:       'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.2rem; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.section-head { max-width: 660px; margin: 0 auto 3rem; text-align: center; }
.section-head p { margin-top: .9rem; font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: .35rem .8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; color: var(--ink);
}
.logo-mark { width: 40px; height: auto; flex-shrink: 0; }
.logo span { color: var(--brand); }

/* Tagline lockup under the wordmark (footer) */
.logo-tag {
  display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-glow); font-weight: 600; margin-top: -.5rem; margin-bottom: 1rem;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--brand); transition: width .22s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; border-radius: 2px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--brand-soft), transparent 70%),
    radial-gradient(700px 380px at 5% 110%, var(--accent-soft), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero p.lead { font-size: 1.1rem; margin: 1.2rem 0 2rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2.6rem; }
.hero-trust div strong { display: block; font-size: 1.6rem; color: var(--ink); line-height: 1.2; }
.hero-trust div span { font-size: .85rem; }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 1.6rem; box-shadow: var(--shadow);
}
.hero-card h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--body); font-weight: 700; }
.bar-row { display: flex; align-items: center; gap: .9rem; margin-top: 1.1rem; }
.bar-row .label { width: 96px; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.bar { flex: 1; height: 9px; border-radius: 100px; background: var(--bg-alt); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--brand), var(--brand-glow)); }
.bar-row .val { width: 46px; text-align: right; font-size: .85rem; font-weight: 700; color: var(--ink); }
.hero-card-foot {
  margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; font-size: .85rem;
}
.hero-card-foot b { color: var(--brand); }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card p { margin-top: .6rem; font-size: .96rem; }
.icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.35rem; margin-bottom: 1.1rem;
  background: var(--brand-soft); color: var(--brand);
}
.icon.alt { background: var(--accent-soft); color: var(--accent); }

/* Pillar cards (tech / non-tech) */
.pillar { display: flex; flex-direction: column; padding: 2.4rem; }
.pillar .tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .3rem .7rem; border-radius: 100px; margin-bottom: 1rem;
}
.pillar.tech .tag { background: var(--brand-soft); color: var(--brand); }
.pillar.nontech .tag { background: var(--accent-soft); color: var(--accent); }
.pillar ul { margin: 1.4rem 0 1.8rem; display: grid; gap: .65rem; }
.pillar ul li { position: relative; padding-left: 1.7rem; font-size: .96rem; }
.pillar ul li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: .65rem; font-weight: 700; color: #fff; margin-top: .38rem;
}
.pillar.tech ul li::before { background: var(--brand); }
.pillar.nontech ul li::before { background: var(--accent); }
.pillar .btn { margin-top: auto; align-self: flex-start; }

/* Process steps */
.step { position: relative; padding-top: .5rem; }
.step .num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { font-size: .94rem; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats div strong { display: block; font-size: 2.2rem; color: var(--brand); }
.stats div span { font-size: .9rem; }

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; }
.quote p { font-style: italic; color: var(--ink-soft); }
.quote .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.3rem; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent-bright)); font-size: .9rem;
}
.who b { display: block; color: var(--ink); font-size: .95rem; }
.who small { font-size: .82rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #4a2408 55%, var(--brand-dark) 100%);
  color: #fff; border-radius: 24px; padding: 3.4rem; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 55ch; margin: 1rem auto 2rem; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(800px 380px at 80% -20%, var(--brand-soft), transparent 70%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-head p { max-width: 62ch; margin: 1rem auto 0; font-size: 1.05rem; }
.crumb { font-size: .85rem; color: var(--body); margin-bottom: .8rem; }
.crumb a:hover { color: var(--brand); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: center; }
.split + .split { margin-top: 4.5rem; }
.split.reverse .split-media { order: -1; }
.split ul { margin-top: 1.4rem; display: grid; gap: .6rem; }
.split ul li { padding-left: 1.6rem; position: relative; font-size: .96rem; }
.split ul li::before { content: '→'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.split-media {
  border-radius: 20px; padding: 2.2rem; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.chip-cloud { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  font-size: .82rem; font-weight: 600; padding: .45rem .9rem; border-radius: 100px;
  background: var(--bg-alt); color: var(--ink-soft); border: 1px solid var(--line);
}
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Pricing */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.popular { border-color: var(--brand); box-shadow: var(--shadow); }
.badge-pop {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .28rem .8rem; border-radius: 100px;
}
.price { font-size: 2.3rem; font-weight: 800; color: var(--ink); margin: .6rem 0 .2rem; }
.price small { font-size: .9rem; font-weight: 500; color: var(--body); }
.price-card ul { margin: 1.4rem 0 1.8rem; display: grid; gap: .6rem; font-size: .94rem; }
.price-card ul li::before { content: '✓ '; color: var(--brand); font-weight: 700; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0; font-size: 1.03rem; font-weight: 600; color: var(--ink);
  position: relative; font-family: var(--font);
}
.faq-q::after {
  content: '+'; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform .2s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding-bottom: 1.25rem; font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .err { color: var(--accent); font-size: .82rem; margin-top: .3rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--accent); }
.field.invalid .err { display: block; }
.form-note { font-size: .84rem; margin-top: .9rem; }
.form-ok {
  display: none; background: var(--brand-soft); border: 1px solid #f8d3ae; color: var(--brand-dark);
  padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: .95rem; margin-bottom: 1.2rem;
}
.form-ok.show { display: block; }
.form-ok.error { background: #fdecec; border-color: #f2c4c4; color: #9b1c1c; }

.info-list { display: grid; gap: 1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.info-item .icon { width: 40px; height: 40px; font-size: 1.1rem; margin: 0; flex-shrink: 0; border-radius: 11px; }
.info-item b { color: var(--ink); font-size: .95rem; display: block; }
.info-item a:hover { color: var(--brand); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 3.8rem 0 0; margin-top: 0; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer .logo { color: #fff; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer a { font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer ul { display: grid; gap: .55rem; }
.footer p { font-size: .92rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; font-size: .82rem; font-weight: 700; transition: background .2s;
}
.socials a:hover { background: var(--brand); }
.footer-bottom {
  margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .88rem;
}

/* ---------- Service cards with their own CTA ---------- */
.svc-card { display: flex; flex-direction: column; }
.svc-card .svc-foot { margin-top: auto; padding-top: 1.5rem; }

.btn-svc {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1.15rem; border-radius: 100px;
  font-size: .88rem; font-weight: 600; font-family: var(--font);
  color: var(--brand); background: transparent;
  border: 1px solid var(--line); cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-svc::after { content: '→'; transition: transform .18s ease; }
.btn-svc:hover {
  background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px);
}
.btn-svc:hover::after { transform: translateX(3px); }
.btn-svc:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Enquiry modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(28, 25, 23, .62); backdrop-filter: blur(3px);
  animation: fadeIn .18s ease;
}
.modal-box {
  position: relative; z-index: 1;
  width: min(100% - 2rem, 540px);
  margin: 6vh auto; max-height: 88vh; overflow-y: auto;
  background: var(--bg); border-radius: 20px; padding: 2.1rem;
  box-shadow: 0 30px 70px -25px rgba(28, 25, 23, .5);
  animation: popIn .22s cubic-bezier(.2, .8, .3, 1);
}
.modal-close {
  position: absolute; top: .9rem; right: 1rem;
  width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--bg-alt); color: var(--ink);
  font-size: 1.35rem; line-height: 1; cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.modal-close:hover { background: var(--brand); color: #fff; }
.modal-box h2 { font-size: 1.45rem; }
.modal-box .form-note { margin-top: 1rem; }
.modal-box .form-note a { color: var(--brand); font-weight: 600; }
.modal-box .form-note a:hover { text-decoration: underline; }
body.modal-open { overflow: hidden; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popIn  { from { opacity: 0; transform: translateY(14px) scale(.98) } to { opacity: 1; transform: none } }

@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal-box { animation: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .burger { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta .btn { display: none; }
}

@media (max-width: 620px) {
  .section { padding: 3.8rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2.4rem 1.5rem; }
  .card, .pillar { padding: 1.6rem; }
  .hero-trust { gap: 1.4rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
