/* Notisce Digital — static site */
:root {
  --bg: #f4f3f0;
  --card: #fafaf7;
  --fg: #111214;
  --graphite: #2a2d31;
  --muted: #66707a;
  --sand: #a79c8e;
  --sand-soft: rgba(167, 156, 142, 0.15);
  --border: #e3dfd8;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(17,18,20,0.04), 0 20px 60px -20px rgba(17,18,20,0.10);
  --shadow-lg: 0 30px 70px -25px rgba(17,18,20,0.18);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
*, *::before, *::after { border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}

.container { max-width: 1200px; margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--sand);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sand); }
.muted { color: var(--muted); }
.italic { font-style: italic; color: var(--sand); }

/* Focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute; left: -9999px; top: 1rem;
  background: var(--fg); color: #fff; padding: .5rem 1rem; border-radius: 6px;
}
.skip-link:focus { left: 1rem; z-index: 100; }

/* ============ Header ============ */
.header {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(244, 243, 240, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(227, 223, 216, 0.8);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
@media (min-width: 768px) { .nav { height: 112px; } }

.logo { display: inline-flex; align-items: center; }
.logo img { width: auto; }
.logo .mark { height: 48px; }
.logo .full { height: 72px; display: none; }
@media (min-width: 768px) {
  .logo .mark { display: none; }
  .logo .full { display: block; }
}

.nav-links { display: none; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 14px; color: var(--muted);
  transition: color .3s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--sand);
}

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.65rem; border-radius: 999px;
  font-size: 14px; letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer; background: none; color: inherit;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--fg); color: #fafaf7; }
.btn-primary:hover { background: var(--graphite); }
.btn-ghost { border-color: rgba(17,18,20,0.18); }
.btn-ghost:hover { background: var(--fg); color: #fafaf7; }
.btn-sand { background: var(--sand); color: var(--fg); }
.btn-sand:hover { background: #fafaf7; color: var(--fg); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.menu-btn {
  display: inline-flex; padding: .5rem; background: none; border: 0; cursor: pointer; color: var(--fg);
}
@media (min-width: 768px) { .menu-btn { display: none; } }
.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; padding: .65rem 1.25rem; } }

.mobile-menu { display: none; border-top: 1px solid var(--border); background: rgba(244,243,240,.96); backdrop-filter: blur(14px); }
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; max-width: 1200px; margin-inline: auto; }
.mobile-menu a { font-size: 16px; color: var(--fg); }
.mobile-menu .btn { justify-content: center; margin-top: .5rem; }

/* ============ Hero ============ */
main { padding-top: 64px; }
@media (min-width: 768px) { main { padding-top: 112px; } }

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(167,156,142,.22), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(95,109,122,.12), transparent 60%);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  to { transform: translate3d(-2%, 1%, 0) scale(1.05); }
}
.hero-inner { position: relative; padding-block: clamp(3rem, 10vw, 8rem); max-width: 880px; }
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  line-height: 1.02;
  margin-top: 1.5rem;
}
.hero p.lead {
  margin-top: 2rem; max-width: 38rem; font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--muted);
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero .stats {
  margin-top: 4rem; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 36rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat-v { font-family: "Montserrat", sans-serif; font-weight: 300; font-size: clamp(1.5rem, 3vw, 2rem); }
.stat-l { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-top: .35rem; }

/* ============ Section heading ============ */
.heading { max-width: 38rem; }
.heading.center { margin-inline: auto; text-align: center; }
.heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-top: 1rem;
}
.heading p { color: var(--muted); margin-top: 1rem; }

/* ============ Cards / grid ============ */
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 3.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.icon-circle {
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--bg); display: inline-flex; align-items: center; justify-content: center;
  color: var(--sand); margin-bottom: 1.5rem;
  transition: transform .4s var(--ease);
}
.card:hover .icon-circle { transform: rotate(-6deg) scale(1.05); }
.card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.card .more { margin-top: 1.5rem; font-size: 14px; display: inline-flex; align-items: center; gap: .35rem; }
.card .more .arrow { transition: transform .3s var(--ease); }
.card:hover .more .arrow { transform: translateX(3px); }

/* ============ Results dark band ============ */
.dark-band { background: var(--fg); color: #fafaf7; }
.dark-band .container { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-block: clamp(3rem, 6vw, 5rem); text-align: center; }
@media (min-width: 768px) { .dark-band .container { grid-template-columns: repeat(3, 1fr); text-align: left; } }
.dark-band .v { font-family: "Montserrat", sans-serif; font-weight: 300; font-size: clamp(2.5rem, 5vw, 3.75rem); color: var(--sand); }
.dark-band .l { margin-top: .75rem; font-size: 13px; text-transform: uppercase; letter-spacing: .2em; color: rgba(250,250,247,.7); }

/* ============ Pricing ============ */
.tag-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 11px; text-transform: uppercase; letter-spacing: .25em;
  background: var(--sand-soft); color: var(--sand);
  padding: .55rem 1rem; border-radius: 999px;
}
.tag-pill .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--sand);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

.tier { position: relative; }
.tier.popular { background: var(--fg); color: #fafaf7; border-color: var(--fg); }
.tier .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 10px; text-transform: uppercase; letter-spacing: .25em;
  background: var(--sand); color: var(--fg);
  padding: .35rem .85rem; border-radius: 999px;
}
.tier .price-old { font-size: 14px; text-decoration: line-through; opacity: .55; }
.tier .price { font-family: "Montserrat", sans-serif; font-weight: 300; font-size: 2.5rem; }
.tier ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; font-size: 14px; }
.tier ul li { display: flex; gap: .75rem; align-items: flex-start; }
.tier ul li svg { color: var(--sand); flex-shrink: 0; margin-top: 2px; }
.tier .btn { width: 100%; justify-content: center; }

/* ============ CTA / Footer ============ */
.cta-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: clamp(2.5rem, 5vw, 5rem); text-align: center;
  box-shadow: var(--shadow-sm);
}
.cta-card h2 { font-size: clamp(2rem, 4vw, 3.25rem); max-width: 36rem; margin-inline: auto; }
.cta-card p { color: var(--muted); max-width: 32rem; margin: 1.25rem auto 0; }

footer {
  background: #ebe9e4; margin-top: 4rem;
}
footer .container { padding-block: 4rem 2rem; }
.footer-grid {
  display: grid; gap: 3rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.footer-grid .col-nav { display: flex; flex-direction: column; gap: .75rem; }
.footer-grid .col-nav a { font-size: 14px; color: rgba(17,18,20,.8); transition: color .3s; }
.footer-grid .col-nav a:hover { color: var(--fg); }
.footer-grid .col-end { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .footer-grid .col-end { align-items: flex-end; } .footer-grid .col-nav { align-items: center; padding-top: .5rem; } }
.socials { display: flex; gap: 1.25rem; margin-top: .5rem; }
.socials a { color: var(--sand); transition: color .3s, transform .3s; }
.socials a:hover { color: var(--fg); transform: scale(1.1); }
.foot-bar {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(167,156,142,.4);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--muted);
}

/* ============ What we do alternating blocks ============ */
.alt-block {
  display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr;
  padding-block: clamp(3rem, 6vw, 6rem);
}
@media (min-width: 900px) { .alt-block { grid-template-columns: 1fr 1fr; } .alt-block.reverse > div:first-child { order: 2; } }
.alt-block h2 { font-size: clamp(2rem, 4vw, 3rem); }
.alt-block .visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #ebe9e4, #f4f3f0);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Montserrat", sans-serif; font-weight: 300;
  font-size: clamp(5rem, 12vw, 9rem);
  color: rgba(167,156,142,.3);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.alt-block .visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 30% 20%, rgba(167,156,142,.18), transparent 60%);
}
.feature-list { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: .75rem; font-size: 14px; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; }
.feature-list svg { color: var(--sand); flex-shrink: 0; margin-top: 2px; }

/* ============ Contact page ============ */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; } }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row .icon-circle { margin-bottom: 0; width: 40px; height: 40px; background: var(--bg); border: 1px solid var(--border); color: var(--fg); }
.contact-row .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .25em; color: var(--sand); margin-bottom: .35rem; }
.contact-row a:hover { color: var(--sand); }

.whats-card {
  display: flex; gap: 1rem; padding: 1.25rem; border-radius: 16px;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  align-items: flex-start; transition: transform .4s var(--ease), box-shadow .4s;
}
.whats-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.whats-card .icon-circle { background: var(--sand-soft); color: var(--sand); margin: 0; flex-shrink: 0; }

form.contact-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.field label { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); display: block; margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--border);
  padding: .75rem 0; font: inherit; font-size: 14px; color: var(--fg); outline: none;
  transition: border-color .3s; resize: none;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--fg); }
.field .err { color: #c2410c; font-size: 12px; margin-top: .25rem; min-height: 1em; }

.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translate(-50%, 200%);
  background: var(--fg); color: #fafaf7; padding: 1rem 1.5rem;
  border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease); z-index: 100;
}
.toast.show { transform: translate(-50%, 0); }

/* ============ Reveal animations ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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