/* ============================================================
   ARCOVA HOME — Shared Design System
   Industrial Premium Minimal
   Poppins (display) + Inter (body)
   Sage green #569b7a | Steel blue #4a84b4
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --c-bg:        #f4f6f9;
  --c-surface:   #ffffff;
  --c-dark:      #1a1e2c;
  --c-dark2:     #22293b;
  --c-fg:        #1a1e2c;
  --c-muted:     #6b7892;
  --c-border:    #e1e7ef;
  --c-green:     #569b7a;
  --c-green-h:   #468a6a;
  --c-green-bg:  #e9f5ef;
  --c-blue:      #4a84b4;
  --c-blue-bg:   #e8f0f8;
  --ff-d:        'Poppins', system-ui, -apple-system, sans-serif;
  --ff-b:        'Inter', system-ui, -apple-system, sans-serif;
  --container:   1280px;
  --nav-h:       72px;
  --py:          clamp(4rem, 8vw, 7rem);
  --r:           8px;
  --ease:        cubic-bezier(0.16,1,0.3,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-b);
  color: var(--c-fg);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- LAYOUT ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
@media (max-width: 768px) { .container { padding: 0 1.25rem; } }

/* ---- TYPOGRAPHY ---- */
.eyebrow {
  font-family: var(--ff-d);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--c-green); flex-shrink: 0; }
.eyebrow.light { color: rgba(255,255,255,0.6); }
.eyebrow.light::before { background: rgba(255,255,255,0.4); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

.section-title {
  font-family: var(--ff-d);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-fg);
  margin-bottom: 0.875rem;
}
.section-title.light { color: #fff; }
.section-title span { color: var(--c-green); }

.section-lead {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--c-muted);
  max-width: 540px;
  line-height: 1.75;
}
.section-lead.light { color: rgba(255,255,255,0.65); }

.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-lead { margin: 0 auto; }
.section-header.centered .eyebrow::before { display: none; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: var(--ff-d);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-primary {
  background: var(--c-green);
  color: #fff;
  border-color: var(--c-green);
}
.btn-primary:hover {
  background: var(--c-green-h);
  border-color: var(--c-green-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86,155,122,0.35);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--c-fg);
  border-color: var(--c-border);
}
.btn-outline-dark:hover {
  background: var(--c-fg);
  color: #fff;
}

/* Inline link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--ff-d);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-green);
  transition: gap 0.2s var(--ease);
}
.link-arrow:hover { gap: 0.6rem; }
.link-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(2px); }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd-1 { transition-delay: 0.08s; }
.rd-2 { transition-delay: 0.16s; }
.rd-3 { transition-delay: 0.24s; }
.rd-4 { transition-delay: 0.32s; }
.rd-5 { transition-delay: 0.40s; }
.rd-6 { transition-delay: 0.48s; }
.rd-7 { transition-delay: 0.56s; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo-name {
  font-family: var(--ff-d);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  transition: color 0.3s;
}
.logo-sub {
  font-family: var(--ff-d);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  transition: color 0.3s;
}
.site-header.scrolled .logo-name { color: var(--c-fg); }
.site-header.scrolled .logo-sub { color: var(--c-muted); }

/* Desktop nav links */
.nav-links { display: flex; gap: 0.125rem; }
.nav-link {
  font-family: var(--ff-d);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 4px;
  color: rgba(255,255,255,0.8);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-link.active { color: #fff; }
.site-header.scrolled .nav-link { color: var(--c-muted); }
.site-header.scrolled .nav-link:hover { color: var(--c-fg); background: var(--c-bg); }
.site-header.scrolled .nav-link.active { color: var(--c-green); }

/* Nav CTA */
.nav-cta { padding: 0.55rem 1.2rem; font-size: 0.82rem; }

/* Hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled .burger span { background: var(--c-fg); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--c-dark);
  z-index: 899;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .nav-link {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 0.75rem 2rem;
}
.mobile-nav .nav-link:hover { color: var(--c-green); background: none; }
.mobile-nav .btn { margin-top: 1rem; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 270px;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: rgba(255,255,255,0.5);
}
.social-btn:hover { background: var(--c-green); color: #fff; }
.social-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.footer-col-title {
  font-family: var(--ff-d);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-link:hover { color: #fff; }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  align-items: flex-start;
}
.footer-contact-item svg {
  width: 15px; height: 15px;
  stroke: var(--c-green);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.28); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   INNER PAGE HERO BANNER
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4rem;
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px,
    transparent 1px, transparent 80px
  ),
  repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px,
    transparent 1px, transparent 80px
  );
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 50%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(86,155,122,0.08) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--ff-d);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.page-hero-breadcrumb a:hover { color: rgba(255,255,255,0.75); }
.page-hero-breadcrumb span { color: var(--c-green); }
.page-hero h1 {
  font-family: var(--ff-d);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.75;
}
