:root {
  --bg-white: #FAFAF8;
  --bg-light: #F2F1EE;
  --bg-dark: #0A0A0A;
  --text-primary: #0A0A0A;
  --text-secondary: #6B6B6B;
  --text-muted: #9A9A9A;
  --text-on-dark: #FAFAF8;
  --border: #E5E5E5;
  --border-hover: #0A0A0A;
  --accent: #C4512A;
  --font-display: 'Libre Caslon Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

.w { width: min(1140px, calc(100% - 2rem)); margin: 0 auto; }
.hidden-field { display: none; }

/* Reveal animations (hero — on load) */
.reveal {
  opacity: 0;
  animation: rise .7s cubic-bezier(.22,1,.36,1) forwards;
}
.delay-1 { animation-delay: .05s; }
.delay-2 { animation-delay: .14s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .36s; }
.delay-5 { animation-delay: .48s; }

/* Scroll fade-up (via IntersectionObserver) */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.ni {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text-primary);
  letter-spacing: .02em;
}
.nlinks {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: .9rem;
  font-weight: 500;
}
.nlinks > a:not(.ncta) {
  color: var(--text-secondary);
  transition: color .2s;
}
.nlinks > a:not(.ncta):hover { color: var(--text-primary); }
.ncta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1.2rem;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: 0;
  transition: background .3s;
}
.ncta:hover { background: var(--accent); }

.hamb {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: 0;
}
.hamb span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.hamb span:nth-child(1) { top: 15px; }
.hamb span:nth-child(2) { top: 21px; }
.hamb span:nth-child(3) { top: 27px; }
.hamb.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamb.open span:nth-child(2) { opacity: 0; }
.hamb.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mm {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  z-index: 95;
  padding: 1.5rem 1rem 2rem;
  background: rgba(250, 250, 248, 0.97);
  backdrop-filter: blur(20px);
}
.mm.open { display: flex; flex-direction: column; gap: .75rem; }
.mm a {
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color .2s;
}
.mm a:hover { border-color: var(--text-primary); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .9rem 2rem;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.btn-primary {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.btn-primary:hover { background: var(--accent); }
.btn-light {
  background: var(--text-on-dark);
  color: var(--bg-dark);
}
.btn-light:hover { background: var(--bg-light); color: var(--text-primary); }

/* ── SECTION COMMONS ── */
.sec { padding: 6rem 0; }
.sec-head {
  max-width: 600px;
  margin-bottom: 3rem;
}
.section-label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  color: var(--text-primary);
}

/* ── HERO ── */
.hero {
  padding: 10rem 0 6rem;
  background: var(--bg-white);
}
.hero-eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: var(--text-primary);
  max-width: 14ch;
  margin-bottom: 1.25rem;
}
.hsub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 48ch;
  margin-bottom: 2rem;
}
.hero-actions { margin-bottom: 1.25rem; }
.hero-anchor {
  font-size: .9rem;
  color: var(--text-secondary);
}
.hero-anchor strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
}

/* ── CREDIBILITY BAR ── */
.credibility {
  background: var(--bg-light);
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cred-item {
  text-align: center;
  padding: .5rem;
}
.cred-item strong {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .2rem;
}
.cred-item span {
  font-size: .82rem;
  color: var(--text-secondary);
}

/* ── SERVICES ── */
.services { background: var(--bg-white); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--bg-light);
  padding: 2.5rem;
  transition: transform .3s, border-color .3s, background .3s;
  border: 1px solid transparent;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-white);
  z-index: 1;
}
.service-tag {
  display: block;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.service-card > p {
  font-size: .95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.service-pills span {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: .25rem .65rem;
}
.service-card-cta {
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card-cta h3 {
  color: var(--text-on-dark);
  margin-bottom: .5rem;
}
.service-card-cta > p {
  color: rgba(250, 250, 248, .55);
  margin-bottom: 1.5rem;
}
.service-card-cta:hover {
  transform: none;
  border-color: transparent;
  background: var(--bg-dark);
}
.service-card-cta .btn-light {
  align-self: flex-start;
}

/* ── PRICE SECTION ── */
.price-section {
  background: var(--bg-dark);
  padding: 7rem 0;
  text-align: center;
}
.price-inner {
  max-width: 600px;
  margin: 0 auto;
}
.price-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-on-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.price-highlight { color: var(--accent); }
.price-inner > p {
  color: rgba(250, 250, 248, .6);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.price-note {
  margin-top: 1rem !important;
  font-size: .82rem !important;
  color: rgba(250, 250, 248, .35) !important;
  margin-bottom: 0 !important;
}

/* ── STEPS ── */
.steps { background: var(--bg-white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.step-card {
  background: var(--bg-white);
  padding: 2.5rem;
}
.step-num {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: .5rem;
}
.step-card p {
  font-size: .95rem;
  color: var(--text-secondary);
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--bg-light);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.testimonials .section-label { margin-bottom: .5rem; }
.testimonials-placeholder {
  font-size: .9rem;
  color: var(--text-muted);
}

/* ── CONTACT ── */
.contact { background: var(--bg-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}
.contact-methods { display: grid; gap: 1rem; }
.contact-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--border);
  transition: border-color .2s;
}
.contact-card:hover { border-color: var(--text-primary); }
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border: 1px solid var(--border);
}
.contact-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: var(--text-primary);
}
.contact-card strong {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .15rem;
}
.contact-card p {
  color: var(--text-secondary);
  font-size: .85rem;
  word-break: break-word;
}

/* ── FORM ── */
.fm {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 2rem;
}
.form-head { margin-bottom: 1.5rem; }
.form-head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: .35rem;
}
.form-head p { color: var(--text-secondary); font-size: .9rem; }
.fi { margin-bottom: 1rem; }
.fi label {
  display: block;
  margin-bottom: .4rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.fi input,
.fi select,
.fi textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--bg-white);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: border-color .2s;
}
.fi input:focus,
.fi select:focus,
.fi textarea:focus { border-color: var(--text-primary); }
.fi textarea { resize: vertical; min-height: 120px; }
.fi select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.7rem;
}
.btnf { width: 100%; margin-top: .5rem; }

/* ── STICKY WA (mobile) ── */
.wa-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 1rem 2rem;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  transition: background .3s;
}
.wa-sticky svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  flex-shrink: 0;
}
.wa-sticky:hover { background: var(--accent); }

/* ── FOOTER ── */
.foot {
  background: var(--bg-dark);
  color: rgba(250, 250, 248, .6);
  padding: 3.5rem 0 1.5rem;
}
.fgrid {
  display: grid;
  grid-template-columns: 1.5fr .8fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.flogo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-on-dark);
  margin-bottom: .4rem;
}
.fdesc {
  font-size: .82rem;
  color: rgba(250, 250, 248, .4);
}
.ftit {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, .3);
  margin-bottom: .75rem;
}
.foot a {
  display: block;
  padding: .25rem 0;
  font-size: .88rem;
  color: rgba(250, 250, 248, .6);
  transition: color .2s;
}
.foot a:hover { color: var(--text-on-dark); }
.foot-contact {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.foot-contact svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}
.fbot {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 250, 248, .08);
}
.fbot p {
  font-size: .8rem;
  color: rgba(250, 250, 248, .28);
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nlinks { display: none; }
  .hamb { display: block; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 72px; }
  .w { width: min(100% - 1.2rem, 1140px); }
  .ni { width: min(100% - 1.2rem, 1140px); min-height: 64px; }
  .mm { inset: 64px 0 0; }
  .hero { padding: 7rem 0 4rem; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .sec { padding: 4rem 0; }
  .service-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .wa-sticky { display: flex; }
  body { padding-bottom: 58px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; animation: none; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .contact-card { transition: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
