/* ===== Avrio Construction — Swiss/minimalist, industrial charcoal + safety orange ===== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --ink: #14171C;
  --ink-2: #1E232B;
  --slate: #1E293B;
  --muted: #5B6573;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --orange: #F97316;
  --orange-600: #EA580C;
  --orange-soft: #FFF1E7;
  --steel: #2563EB;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20,23,28,.06), 0 1px 3px rgba(20,23,28,.08);
  --shadow-md: 0 10px 30px rgba(20,23,28,.10);
  --max: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, 'Segoe UI', sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: 'Poppins', system-ui, sans-serif; color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: var(--radius-sm); cursor: pointer;
  border: 2px solid transparent; transition: all .22s var(--ease);
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(249,115,22,.30); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(249,115,22,.38); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ===== Top utility bar ===== */
.topbar { background: var(--ink); color: #C7CDD6; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-item svg { width: 15px; height: 15px; color: var(--orange); }
.topbar .tb-right { display: flex; gap: 14px; align-items: center; }
.topbar .tb-right a { display: inline-flex; }
.topbar .tb-right svg { width: 16px; height: 16px; }

/* ===== Header / nav ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav .logo img { height: 42px; }
.nav-links { display: flex; gap: 30px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--slate); position: relative; padding: 6px 0; transition: color .2s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--orange); transition: width .25s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; color: var(--ink); }

/* ===== Hero ===== */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(249,115,22,.20), transparent 60%),
    linear-gradient(180deg, #14171C 0%, #1A2029 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 96px 0 88px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; color: #fff; letter-spacing: -.5px; }
.hero h1 .accent { color: var(--orange); }
.hero .lede { color: #C7CDD6; font-size: 19px; margin: 22px 0 32px; max-width: 540px; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background: rgba(249,115,22,.12); border:1px solid rgba(249,115,22,.35); color:#FFD9BD; padding:7px 14px; border-radius:999px; font-size:13px; font-weight:600; letter-spacing:.3px; margin-bottom: 24px; }
.hero-badge svg { width:15px; height:15px; color: var(--orange); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .ht { display: flex; align-items: center; gap: 10px; color: #AEB6C2; font-size: 14px; }
.hero-trust .ht svg { width: 20px; height: 20px; color: var(--orange); flex: none; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(160deg, #20262F, #171B22);
  border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 26px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.hero-card .blueprint {
  height: 220px; border-radius: 12px; border: 1px solid rgba(249,115,22,.25);
  background:
    linear-gradient(rgba(249,115,22,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,.10) 1px, transparent 1px),
    linear-gradient(160deg, #11151B, #0C0F14);
  background-size: 26px 26px, 26px 26px, 100% 100%;
  position: relative; overflow: hidden;
}
.hero-card .blueprint svg { position: absolute; inset: 0; margin: auto; width: 70%; height: 70%; color: rgba(255,255,255,.85); }
.hero-card .hc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 22px; }
.hero-card .hc-stats .s { text-align: center; }
.hero-card .hc-stats .num { font-family:'Poppins',sans-serif; font-weight: 800; font-size: 28px; color: #fff; }
.hero-card .hc-stats .lab { font-size: 12px; color: #9aa3b0; text-transform: uppercase; letter-spacing: 1px; }
.hero-card .hc-stats .num .accent { color: var(--orange); }

/* ===== Logos / trust strip ===== */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; flex-wrap: wrap; }
.strip .strip-label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.strip .badges { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.strip .badge { display: inline-flex; align-items: center; gap: 9px; color: var(--slate); font-weight: 600; font-size: 14px; }
.strip .badge svg { width: 20px; height: 20px; color: var(--orange-600); }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative; overflow: hidden;
}
.service-card::before { content:""; position:absolute; top:0; left:0; height:3px; width:0; background: var(--orange); transition: width .3s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-icon { width: 54px; height: 54px; border-radius: 12px; background: var(--orange-soft); display: grid; place-items: center; margin-bottom: 18px; }
.service-icon svg { width: 26px; height: 26px; color: var(--orange-600); }
.service-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service-card .tag { font-size: 12px; font-weight: 600; color: var(--slate); background: var(--bg); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* ===== Why / features ===== */
.why { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-list { display: grid; gap: 26px; margin-top: 8px; }
.feature { display: flex; gap: 16px; }
.feature .fi { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.feature .fi svg { width: 22px; height: 22px; color: var(--orange); }
.feature h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15px; }
.why-aside { background: var(--ink); border-radius: 20px; padding: 40px; color: #fff; position: relative; overflow: hidden; }
.why-aside::after { content:""; position:absolute; right:-40px; bottom:-40px; width:180px; height:180px; border-radius:50%; background: radial-gradient(circle, rgba(249,115,22,.35), transparent 70%); }
.why-aside h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.why-aside p { color: #B6BEC9; font-size: 15px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; position: relative; z-index: 1; }
.stat .num { font-family:'Poppins',sans-serif; font-weight: 800; font-size: 40px; color: var(--orange); line-height: 1; }
.stat .lab { color: #C7CDD6; font-size: 14px; margin-top: 6px; }

/* ===== Process ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num { font-family:'Poppins',sans-serif; font-weight: 800; font-size: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.step:not(:last-child)::after { content:""; position:absolute; top: 22px; left: 56px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.step h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ===== Projects ===== */
.projects { background: var(--surface); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); }
.proj .ph { position: absolute; inset: 0; }
.proj .ph svg { position:absolute; inset:0; margin:auto; width:64px; height:64px; color: rgba(255,255,255,.9); }
.proj .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(0deg, rgba(20,23,28,.88), transparent); color: #fff; transform: translateY(6px); transition: transform .3s var(--ease); }
.proj:hover .meta { transform: translateY(0); }
.proj .meta .cat { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); }
.proj .meta h4 { color: #fff; font-size: 18px; font-weight: 600; margin-top: 2px; }
.proj .meta .loc { color: #C7CDD6; font-size: 13px; }
.p1 .ph { background: linear-gradient(150deg,#334155,#1E293B); }
.p2 .ph { background: linear-gradient(150deg,#7C3A12,#EA580C); }
.p3 .ph { background: linear-gradient(150deg,#283443,#0F172A); }
.p4 .ph { background: linear-gradient(150deg,#3F4A5A,#222A35); }
.p5 .ph { background: linear-gradient(150deg,#9A4915,#C2410C); }
.p6 .ph { background: linear-gradient(150deg,#2B3543,#171E27); }

/* ===== Testimonials ===== */
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tcard .stars { display: flex; gap: 3px; margin-bottom: 14px; }
.tcard .stars svg { width: 18px; height: 18px; color: var(--orange); }
.tcard blockquote { margin: 0; font-size: 15.5px; color: var(--slate); }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tcard .av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family:'Poppins',sans-serif; font-weight: 700; }
.tcard .who .nm { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.tcard .who .rl { color: var(--muted); font-size: 13px; }

/* ===== CTA / Contact ===== */
.contact { background: var(--ink); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { color: #fff; font-size: clamp(28px,4vw,40px); }
.contact .lede { color: #C7CDD6; font-size: 17px; margin: 14px 0 28px; }
.contact-info { display: grid; gap: 18px; margin-top: 24px; }
.ci { display: flex; gap: 14px; align-items: flex-start; }
.ci .cii { width: 44px; height: 44px; border-radius: 10px; background: rgba(249,115,22,.14); display: grid; place-items: center; flex: none; }
.ci .cii svg { width: 20px; height: 20px; color: var(--orange); }
.ci .lab { font-size: 13px; color: #9aa3b0; text-transform: uppercase; letter-spacing: 1px; }
.ci .val { font-weight: 600; color: #fff; }

.form { background: var(--surface); border-radius: 18px; padding: 32px; color: var(--slate); box-shadow: var(--shadow-md); }
.form h3 { font-size: 20px; margin-bottom: 6px; }
.form .sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--slate); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  min-height: 46px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-success { display: none; background: var(--orange-soft); border: 1px solid #FFD3B0; color: #9A3412; padding: 14px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; margin-bottom: 16px; }
.form-success.show { display: block; }

/* ===== Footer ===== */
.footer { background: #0F1216; color: #97A0AD; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 44px; }
.footer .logo img { height: 40px; margin-bottom: 16px; }
.footer p { font-size: 14.5px; max-width: 300px; }
.footer h5 { color: #fff; font-family:'Poppins',sans-serif; font-size: 14px; letter-spacing: .5px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: var(--orange); }
.footer-soc { display: flex; gap: 12px; margin-top: 18px; }
.footer-soc a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .2s, transform .2s; }
.footer-soc a:hover { background: var(--orange); transform: translateY(-2px); }
.footer-soc svg { width: 18px; height: 18px; color: #fff; }
.footer-bot { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .services-grid, .proj-grid, .t-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 6px; box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .nav-cta .btn-text { display: none; }
  .topbar .tb-left .tb-item.hide-sm { display: none; }
  .services-grid, .proj-grid, .t-grid, .steps, .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
