/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #141418;
  --text:    #F5F2EC;
  --accent:  #B8732A;
  --muted:   rgba(245,242,236,0.45);
  --border:  rgba(245,242,236,0.1);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ===== GRAIN OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* All content above grain */
nav, main, footer, section, header { position: relative; z-index: 1; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { max-width: 65ch; }

a { color: inherit; text-decoration: none; }

strong { font-weight: 600; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ===== NAV ===== */
nav {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  background: rgba(20,20,24,0.85);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a.active { border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--accent);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-filled {
  background: var(--accent);
  color: var(--bg);
}

.btn-filled:hover {
  background: transparent;
  color: var(--text);
}

/* ===== ACCENT LINE ===== */
.accent-line {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.25rem;
}

/* ===== SECTIONS ===== */
section { padding: clamp(2rem, 4vw, 3rem) 0; }

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== HERO ===== */
.hero {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  margin: 1.5rem 0 2.5rem;
  max-width: 55ch;
}

/* ===== PILLARS ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 0.75rem;
}

.pillar-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  transition: background 0.25s;
}

.pillar-card:hover { background: rgba(184,115,42,0.06); }

.pillar-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.pillar-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.pillar-card h3 { color: var(--text); }

.pillar-card p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: none;
}

/* ===== REFERENCE ===== */
.reference-section {
  background: rgba(184,115,42,0.07);
  border-top: 1px solid rgba(184,115,42,0.2);
  border-bottom: 1px solid rgba(184,115,42,0.2);
}

.reference-inner {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.reference-quote {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.3;
  max-width: 70ch;
  color: var(--text);
}

.reference-quote em {
  font-style: normal;
  color: var(--accent);
}

/* ===== CTA SECTION ===== */
.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--muted); margin-inline: auto; margin-bottom: 1.75rem; }

/* ===== OFFERS ===== */
.page-header {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.offer-block {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.offer-block:last-child { border-bottom: none; }

.offer-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 5rem;
  color: rgba(184,115,42,0.15);
  line-height: 1;
  margin-bottom: -1rem;
}

.offer-tag {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.offer-left h2 { margin-bottom: 1.25rem; }

.offer-hook {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.benefits-list li {
  display: flex;
  gap: 1rem;
  font-size: 0.97rem;
  line-height: 1.55;
}

.benefits-list li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}

.benefit-title {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

.benefit-body { color: var(--muted); }

.offer-note {
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  margin-top: 1.5rem;
  font-style: italic;
  max-width: 48ch;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.about-body p {
  color: var(--muted);
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 62ch;
}

.about-body p:first-child { color: var(--text); }

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.5rem;
}

.sidebar-block {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
}

.sidebar-block h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.sidebar-block p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: none;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.contact-intro {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text);
  line-height: 1.5;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-sub {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 46ch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea { min-height: 130px; }

.form-submit { margin-top: 0.5rem; width: 100%; text-align: center; }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-link {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .offer-block { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    z-index: 200;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle { display: flex; }

  .reference-inner { flex-direction: column; gap: 1.5rem; }
}
