:root {
  --primary: #111318;
  --secondary: #C8A96B;
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --text: #1A1D24;
  --muted: #6F7480;
  --accent-light: #E7DFCF;
  --border: #DED6C4;
  --shadow: 0 12px 40px rgba(17, 19, 24, 0.08);
  --radius: 4px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

h1, h2, h3, .logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.text-center {
  text-align: center;
}

.bg-light {
  background: var(--accent-light);
}

.site-header {
  background: var(--primary);
  border-bottom: 1px solid rgba(200, 169, 107, 0.2);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  color: var(--secondary) !important;
  text-decoration: none;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color .3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--secondary);
}

.hero {
  padding: 100px 0 60px;
  background-color: var(--bg);
}

.tools-hero {
  background: linear-gradient(135deg, var(--primary), #1A1D24);
}

.tools-hero h1,
.tools-hero p {
  color: #fff;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
  margin: 0 0 20px;
}

.hero p { 
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
}

.cta-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  transition: all .3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--secondary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--secondary);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

section { padding: 80px 0; }

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 40px;
  text-align: center;
}

.cards,
.grid-2,
.grid-3 {
  display: grid;
  gap: 30px;
}

.card {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card i {
  color: var(--secondary);
  margin-bottom: 20px;
  display: block;
}

.card h3 {
  margin: 10px 0;
  font-size: 1.4rem;
}

.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px;
  border-top: 2px solid var(--secondary);
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-brand { 
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-title { 
  font-weight: 700; 
  color: #fff; 
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 12px;
}

.site-footer a { 
  color: rgba(255, 255, 255, 0.6); 
  text-decoration: none; 
  transition: color .3s ease;
}

.site-footer a:hover { 
  color: var(--secondary); 
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255, 0.1);
  margin-top: 40px;
  padding-top: 30px;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom p { 
  margin: 0 0 10px; 
  line-height: 1.5;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-hero h1 { color: #fff; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--secondary);
  font-weight: 700;
  font-size: .75rem;
  margin-bottom: 15px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.tool-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.tool-header i {
  color: var(--secondary);
}

.tool-form {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.tool-form label {
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.tool-form input,
.tool-form select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  font: inherit;
  background: #fff;
  width: 100%;
}

.tool-form input:focus,
.tool-form select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(200, 169, 107, 0.2);
}

.tool-result {
  margin-top: 25px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 20px;
  border-left: 4px solid var(--secondary);
}

.price-display,
.time-display {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin: 10px 0;
}

.phase-list {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.phase-list div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phase-list i {
  color: var(--secondary);
}

.split {
  display: grid;
  gap: 60px;
  align-items: center;
}

@media (max-width: 767px) {
  .nav-wrap {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .section-title { text-align: left; }
}