/* CNC Laser Cutting UAE design system
   Charcoal steel, steel grey text, safety orange for CTAs only, off-white page. */
:root {
  --charcoal: #171B1F;
  --steel: #22282E;
  --steel-2: #2C343B;
  --grey: #5A6570;
  --line: #E2DFD8;
  --orange: #F26B1D;
  --orange-dark: #D35710;
  --whatsapp: #1A9E50;
  --bg: #F7F6F3;
  --card: #FFFFFF;
  --ink: #171B1F;
  --radius: 6px;
  --max: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .2px; }
h1, h2 { text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; color: var(--orange); font-size: .95rem; margin-bottom: .4em; display: block; }
.muted { color: var(--grey); }

/* Header */
.site-header { background: var(--charcoal); color: #fff; position: sticky; top: 0; z-index: 40; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .5px; }
.brand b { color: var(--orange); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button { color: #D5DAE0; text-decoration: none; font-size: .95rem; padding: 8px 10px; background: none; border: 0; font-family: var(--body); cursor: pointer; }
.nav > a:hover, .nav .dd > button:hover { color: #fff; }
.dd { position: relative; }
.dd-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--steel); min-width: 230px; padding: 8px; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: block; color: #E7EAEE; text-decoration: none; padding: 9px 12px; border-radius: 4px; font-size: .95rem; }
.dd-menu a:hover { background: var(--steel-2); }
.header-cta { display: flex; gap: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid #3A434C; color: #fff; border-radius: var(--radius); padding: 8px 12px; font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { filter: brightness(.94); }
.btn-line { border-color: #4A545E; color: #fff; background: transparent; }
.btn-line:hover { border-color: #fff; }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .92rem; }

/* Hero */
.hero { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(700px 360px at 88% 18%, rgba(242,107,29,.22), transparent 60%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero .lead { font-size: 1.15rem; color: #C9D0D7; max-width: 600px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { border: 1px solid #3A434C; color: #D5DAE0; border-radius: 999px; padding: 6px 12px; font-size: .9rem; }
.hero-card { background: var(--steel); border: 1px solid #343D45; border-radius: 10px; padding: 26px; }
.hero-card h2 { font-size: 1.9rem; }
.hero-card ol { margin: 0 0 18px; padding-left: 20px; color: #C9D0D7; }
.hero-card li { margin-bottom: 6px; }
.page-hero { background: var(--charcoal); color: #fff; padding: 48px 0 52px; position: relative; }
.page-hero .lead { color: #C9D0D7; font-size: 1.12rem; max-width: 760px; }
.crumbs { font-size: .88rem; color: #9AA4AE; margin-bottom: 14px; }
.crumbs a { color: #C9D0D7; }
.crumbs span { margin: 0 6px; }

/* Sections */
.section { padding: 72px 0; }
.section-tight { padding: 52px 0; }
.section-white { background: var(--card); }
.section-dark { background: var(--steel); color: #fff; }
.section-dark .muted, .section-dark p { color: #C9D0D7; }
.intro { max-width: 760px; }

/* Cards and grids */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--grey); margin-bottom: 14px; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--orange); align-self: flex-start; }
.card-link { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; border-top: 4px solid var(--charcoal); }
.card-link:hover { border-top-color: var(--orange); transform: translateY(-2px); }
.icon { width: 42px; height: 42px; border-radius: 6px; background: var(--charcoal); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }

.strip { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.strip li { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 10px 16px; font-weight: 600; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--head); font-weight: 700; font-size: 2.2rem; color: var(--orange); display: block; line-height: 1; margin-bottom: 10px; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--grey); margin: 0; }

/* Prose */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.aside { position: sticky; top: 90px; background: var(--charcoal); color: #fff; border-radius: 10px; padding: 24px; }
.aside h2 { font-size: 1.7rem; }
.aside p { color: #C9D0D7; font-size: .97rem; }
.aside .btn { width: 100%; margin-bottom: 10px; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.6rem; color: var(--orange); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 20px 18px; color: var(--grey); }
.faq .answer p:last-child { margin: 0; }

/* CTA band + form */
.cta-band { background: var(--charcoal); color: #fff; }
.cta-band .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; padding-top: 64px; padding-bottom: 64px; align-items: start; }
.cta-band p { color: #C9D0D7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.quote-form { background: var(--card); color: var(--ink); border-radius: 10px; padding: 26px; display: grid; gap: 14px; }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.quote-form label span.opt { font-weight: 400; color: var(--grey); }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; font-size: 1rem; padding: 12px 13px; border: 1px solid #CFCBC2; border-radius: 5px; width: 100%; background: #FCFBF9; color: var(--ink); }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 3px solid rgba(242,107,29,.35); border-color: var(--orange); }
.quote-form textarea { min-height: 110px; resize: vertical; }
.quote-form .note { font-size: .85rem; color: var(--grey); margin: 0; }
.form-status { font-weight: 600; margin: 0; }
.form-status.ok { color: #157A3D; }
.form-status.err { color: #B3261E; }
.form-fallback { background: var(--card); color: var(--ink); border-radius: 10px; padding: 26px; }
.form-fallback .btn { width: 100%; margin-bottom: 10px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: #101316; color: #A7B0B9; padding: 56px 0 110px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 1.2rem; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #D5DAE0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid #23292F; margin-top: 36px; padding-top: 18px; font-size: .85rem; }

/* Sticky mobile bar */
.sticky-bar { display: none; }

@media (max-width: 980px) {
  .hero .container, .cta-band .container, .two-col { grid-template-columns: 1fr; }
  .aside { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--charcoal); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-top: 1px solid #2A3138; }
  .nav.open { display: flex; }
  .dd-menu { display: block; position: static; box-shadow: none; background: transparent; padding: 0 0 0 10px; }
  .header-cta { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand { font-size: 1.08rem; white-space: nowrap; gap: 8px; }
  .brand svg { width: 24px; height: 24px; }
  .section { padding: 52px 0; }
  .hero .container { padding-top: 34px; padding-bottom: 40px; gap: 26px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .grid-3, .grid-2, .steps, .quote-form .row, .site-footer .cols { grid-template-columns: 1fr; }
  .sticky-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -4px 18px rgba(0,0,0,.25); }
  .sticky-bar a { text-align: center; padding: 14px 6px; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
  .sticky-bar .s-call { background: var(--charcoal); }
  .sticky-bar .s-wa { background: var(--whatsapp); }
  .sticky-bar .s-quote { background: var(--orange); }
}
