/* ==========================================================================
   Faylens — Industrial Cleaning · Core Stylesheet
   ========================================================================== */

:root {
  --charcoal: #1A242B;
  --charcoal-2: #233039;
  --steel: #5A6E7A;
  --steel-light: #8294A0;
  --orange: #F2641A;
  --orange-dark: #D4530F;
  --bg: #F4F6F7;
  --bg-alt: #ECEFF1;
  --white: #FFFFFF;
  --off-white: #F7F9FA;
  --text: #2B363D;
  --text-muted: #5A6B74;
  --border: #DCE2E5;

  --font-head: 'Oswald', Arial, Helvetica, sans-serif;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 10px 30px rgba(26, 36, 43, 0.10);
  --shadow-sm: 0 4px 14px rgba(26, 36, 43, 0.08);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
  text-transform: none;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff;
  padding: 10px 16px; z-index: 1000; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: all .18s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn-dark { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn-dark:hover { background: #0F1619; color: #fff; }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--charcoal); color: #cfd8dc; font-size: 0.85rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px; }
.top-bar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.top-bar-contact a { color: #e4e9eb; }
.top-bar-contact a:hover { color: var(--orange); }
.top-bar-meta { color: #9fb0b8; }

/* ---------- Header / Nav ---------- */
.site-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 500; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 20px; }
.brand-logo { height: 46px; width: auto; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--charcoal); border-radius: 2px; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > ul { display: flex; gap: 26px; align-items: center; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  color: var(--charcoal); font-weight: 600; font-size: 0.95rem; padding: 10px 2px; display: inline-block;
  border-bottom: 2px solid transparent;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > a.active { color: var(--orange-dark); border-bottom-color: var(--orange); }

.has-dropdown .dropdown {
  display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 260px;
  box-shadow: var(--shadow); border-radius: var(--radius-sm); padding: 8px; border-top: 3px solid var(--orange);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 6px; color: var(--text); font-size: 0.92rem; font-weight: 500; }
.dropdown li a:hover { background: var(--bg); color: var(--orange-dark); }

.nav-cta { white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; background-size: cover; background-position: center;
  background-color: var(--charcoal);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,28,33,0.92) 0%, rgba(20,28,33,0.78) 45%, rgba(20,28,33,0.45) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 92px 24px; max-width: var(--container); margin: 0 auto; }
.hero-inner.narrow { max-width: 760px; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 700;
  color: var(--orange); margin-bottom: 14px; display: inline-block;
}
.hero h1 { color: #fff; max-width: 820px; }
.hero p.lead { font-size: 1.15rem; max-width: 640px; color: #e4e9eb; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 2rem; color: #fff; }
.hero-stats div span { color: #b9c5cb; font-size: 0.88rem; }
.hero.small .hero-inner { padding: 56px 24px; }
.breadcrumb { font-size: 0.85rem; color: #cfd8dc; margin-bottom: 14px; }
.breadcrumb a { color: #cfd8dc; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.section-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; font-weight: 700;
  color: var(--orange-dark); display: inline-block; margin-bottom: 10px;
}
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--charcoal); color: #cfd8dc; }
.bg-dark h2, .bg-dark h3 { color: #fff; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-badge { margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-link { font-weight: 700; font-size: 0.88rem; display: inline-block; margin-top: 12px; }

.icon-badge {
  width: 54px; height: 54px; border-radius: 12px; background: rgba(242,100,26,0.12);
  color: var(--orange-dark); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; font-family: var(--font-head);
}

.service-card-img { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16/10; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card { padding: 0; overflow: hidden; }
.service-card .service-card-body { padding: 24px 24px 26px; }

/* ---------- Split / Feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.check-list li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.check-list li::before {
  content: "\2713"; flex: 0 0 24px; height: 24px; width: 24px; background: var(--orange);
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; margin-top: 2px;
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 10px; }
.step .step-number {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: rgba(26,36,43,0.12);
  line-height: 1; margin-bottom: 10px;
}

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--charcoal); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--orange); }
.stats-grid span { color: #b9c5cb; font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.testimonial .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial .by { font-weight: 700; color: var(--charcoal); margin-top: 14px; }
.testimonial .by span { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.85rem; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(100deg, var(--orange) 0%, var(--orange-dark) 100%); color: #fff; padding: 52px 0; }
.cta-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; margin-bottom: 6px; }
.cta-strip p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip .btn-primary { background: #fff; color: var(--orange-dark); border-color: #fff; }
.cta-strip .btn-primary:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

/* ---------- Footer ---------- */
.site-footer { background: #121B20; color: #b9c5cb; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: #9fb0b8; font-size: 0.92rem; }
.footer-legal-name { font-size: 0.82rem; color: #7c8b93; }
.footer-col h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #b9c5cb; font-size: 0.92rem; }
.footer-col a:hover { color: var(--orange); }
.footer-contact li { color: #b9c5cb; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 10px; padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: #7c8b93; }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal-links a { font-size: 0.82rem; color: #9fb0b8; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
input, select, textarea {
  font-family: var(--font-body); font-size: 0.96rem; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); }
.alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 500; }
.alert-success { background: #E6F4EA; color: #1E6B3A; border: 1px solid #BFE3CC; }
.alert-error { background: #FBEAE5; color: #A3341C; border: 1px solid #F2C6B8; }

/* ---------- Contact info cards ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- FAQ accordion ---------- */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.accordion-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--charcoal); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after { content: "+"; font-size: 1.4rem; color: var(--orange); flex-shrink: 0; }
.accordion-item[open] summary::after { content: "\2212"; }
.accordion-item .accordion-body { padding: 0 22px 20px; color: var(--text-muted); }

/* ---------- Badges / tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag { background: var(--bg-alt); color: var(--charcoal); padding: 7px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; }

/* ---------- Industries list ---------- */
.industry-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.industry-card .icon-badge { flex-shrink: 0; }

/* ---------- Legal / policy pages ---------- */
.policy-content h2 { margin-top: 2em; }
.policy-content h3 { margin-top: 1.4em; }
.policy-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.policy-content ul li { margin-bottom: 0.4em; }
.policy-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.policy-content table th, .policy-content table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; font-size: 0.92rem; }
.policy-content table th { background: var(--bg-alt); }
.policy-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2em; }
.policy-content { max-width: 860px; margin: 0 auto; }
.policy-toc { background: var(--bg-alt); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 2.5em; max-width: 860px; margin-left: auto; margin-right: auto; }
.policy-toc h2 { font-size: 1.1rem; margin-bottom: 12px; }
.policy-toc ol { padding-left: 20px; }
.policy-toc li { margin-bottom: 6px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 24px; }
.error-page .code { font-family: var(--font-head); font-size: 7rem; color: var(--orange); line-height: 1; font-weight: 700; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .top-bar-inner { justify-content: center; text-align: center; }
  .top-bar-meta { display: none; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 10px 24px 24px; box-shadow: var(--shadow); display: none; gap: 10px;
  }
  .primary-nav.open { display: flex; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li > a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .has-dropdown .dropdown { display: none; position: static; box-shadow: none; border-top: none; padding-left: 14px; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-cta { margin-top: 14px; width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-inner { padding: 56px 20px; }
  section { padding: 56px 0; }
}
