/* ============================================================
   HITESH FLOORTECH LLP — SHARED STYLES
   Premium industrial editorial design system
============================================================ */

:root {
  --green:        #1F8B4C;
  --green-deep:   #156635;
  --green-soft:   #2BA85F;
  --navy:         #2C3A8E;
  --navy-deep:    #1B2466;
  --teal:         #3FBFB5;

  --ink:          #0A0C10;
  --graphite:     #0E1116;
  --steel:        #1A2129;
  --slab:         #5C6166;
  --cement:       #C9CCC8;
  --concrete:     #F4F4F2;
  --paper:        #FAFAF8;
  --white:        #FFFFFF;

  --line:         rgba(255,255,255,0.10);
  --line-strong:  rgba(255,255,255,0.22);
  --line-dark:    rgba(10,12,16,0.10);
  --line-dark-strong: rgba(10,12,16,0.22);

  --display: 'Manrope', system-ui, -apple-system, sans-serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Light page variant */
body.light {
  background: var(--paper);
  color: var(--ink);
}
body.light h1, body.light h2, body.light h3, body.light h4 { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--white);
  text-wrap: balance;
}
.display-1 { font-size: clamp(56px, 9vw, 144px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.92; }
.display-2 { font-size: clamp(40px, 5.5vw, 84px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.0; }
.display-3 { font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.display-4 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.mono.dark { color: rgba(10,12,16,0.5); }
.mono.green { color: var(--green-soft); }

.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .container { padding: 0 24px; } }

/* Section number device */
.sec-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.sec-meta .num {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--green-soft);
}
.sec-meta .line {
  height: 1px; flex: 1;
  background: linear-gradient(90deg, var(--line-strong), transparent);
  max-width: 80px;
}
.sec-meta .label {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.light .sec-meta .label,
body.light .sec-meta .label { color: rgba(10,12,16,0.5); }
.light .sec-meta .line,
body.light .sec-meta .line { background: linear-gradient(90deg, var(--line-dark-strong), transparent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-family: var(--body);
  font-weight: 600; font-size: 14.5px;
  letter-spacing: 0.01em;
  border-radius: 4px;
  transition: transform .25s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
}
.btn .arr { transition: transform .25s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(10,12,16,0.18); }
.btn-ghost-dark:hover { border-color: var(--ink); background: rgba(10,12,16,0.04); }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 14px 0;
  background: rgba(10,12,16,0.7);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), padding .25s var(--ease);
}
.nav.scrolled { background: rgba(10,12,16,0.92); padding: 10px 0; }
.nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand {
  display: inline-flex; align-items: center;
  height: 64px;
  padding: 8px 18px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.brand img { height: 100%; width: auto; display: block; }
.nav.scrolled .brand { height: 56px; padding: 6px 16px; }
.footer-brand .brand { height: 88px; padding: 10px 20px; box-shadow: none; margin-bottom: 24px; }

.nav-links {
  display: flex; gap: 30px;
}
.nav-links a {
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color .15s var(--ease);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--green-soft);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  display: none;
}
@media (min-width: 1100px) { .nav-phone { display: inline; } }
@media (max-width: 980px) { .nav-links { display: none; } }

/* ============================================================
   PAGE HERO (for inner pages)
============================================================ */
.page-hero {
  position: relative;
  padding: 220px 0 120px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(31,139,76,0.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(63,191,181,0.06), transparent 60%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 80%, transparent 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumbs {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}
.breadcrumbs a { color: rgba(255,255,255,0.7); transition: color .15s var(--ease); }
.breadcrumbs a:hover { color: var(--green-soft); }
.breadcrumbs .sep { color: rgba(255,255,255,0.3); }
.breadcrumbs .current { color: var(--green-soft); }

.page-hero-eyebrow {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px;
}
.page-hero-eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--green-soft);
}
.page-hero h1 {
  font-size: clamp(44px, 6.5vw, 96px);
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.page-hero .lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(255,255,255,0.72);
  max-width: 720px;
  line-height: 1.55;
  text-wrap: pretty;
}
.page-hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 40px;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; } }

.footer-brand p {
  color: rgba(255,255,255,0.55);
  max-width: 360px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.footer-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 360px;
}
.footer-stats .cell {
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.footer-stats .v {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  color: var(--white); letter-spacing: -0.01em;
}
.footer-stats .v .u { font-size: 0.65em; color: var(--green-soft); }
.footer-stats .l {
  font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-top: 4px;
}

.footer-col h5 {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px;
}
.footer-col li { padding: 6px 0; }
.footer-col a { color: rgba(255,255,255,0.6); transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--green-soft); }
.footer-col .addr {
  color: rgba(255,255,255,0.55); line-height: 1.6; font-size: 13.5px;
  margin-bottom: 16px;
}
.footer-col .addr strong { color: rgba(255,255,255,0.85); font-weight: 600; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--green-soft); }
.footer-bottom .links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ============================================================
   COMMON SECTION CTA
============================================================ */
.section-cta {
  padding: 140px 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 70% 50%, rgba(31,139,76,0.08), transparent 60%);
  pointer-events: none;
}
.section-cta .container { position: relative; z-index: 2; }
.section-cta h2 { color: var(--white); margin-bottom: 24px; max-width: 900px; }
.section-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 17px; line-height: 1.6;
  max-width: 700px;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SHARED COMPONENT: PHOTO PLATE WITH REGISTRATION MARKS
============================================================ */
.photo-plate {
  position: relative;
  background: var(--white);
  padding: 14px;
  border: 1px solid var(--line-strong);
}
.photo-plate img { width: 100%; height: auto; display: block; }
.plate-corners > .corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--green-soft);
}
.plate-corners > .corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.plate-corners > .corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.plate-corners > .corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.plate-corners > .corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ============================================================
   GENERIC INNER PAGE CONTENT
============================================================ */
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }
.section-light {
  background: var(--paper);
  color: var(--ink);
}
.section-light h2, .section-light h3, .section-light h4 { color: var(--ink); }
.section-graphite {
  background: var(--graphite);
  color: rgba(255,255,255,0.85);
}

.prose {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 760px;
}
.section-light .prose { color: rgba(10,12,16,0.78); }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--white); font-weight: 600; }
.section-light .prose strong { color: var(--ink); }
