:root {
  --bg: #f7f4ef;
  --bg-soft: #efe8de;
  --panel: #ffffff;
  --panel-2: #fcfaf7;
  --text: #1f2933;
  --muted: #5f6b76;
  --line: #e6ddd2;
  --accent: #b30f19;
  --accent-strong: #8f0c14;
  --accent-soft: #fae8e8;
  --max: 1160px;
  --radius: 24px;
  --shadow: 0 18px 40px rgba(36, 29, 24, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(circle at top, #fffdf9 0%, #f7f4ef 42%, #f2ece3 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(247, 244, 239, 0.94);
  border-bottom: 1px solid rgba(130, 110, 90, 0.12);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
  flex: 0 1 auto;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  padding: 6px;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(36, 29, 24, 0.08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-phone {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
  opacity: 0.75;
}
.nav-phone:hover { color: var(--accent); }

@media (max-width: 768px) { .nav-phone { display: flex; font-size: 0.82rem; } }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  transition: 0.2s ease;
  text-align: center;
  box-shadow: 0 10px 24px rgba(180, 35, 35, 0.15);
}

.button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.button-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}

.button-secondary:hover {
  background: #f7f2ec;
  border-color: #d7cabd;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -1.6px;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.95rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

h3 { font-size: 1.1rem; margin-bottom: 8px; }

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-text,
.section-text,
.hero-feature p,
.service-card p,
.service-card li,
.example-content p,
.example-content li,
.pricing-card li,
.pricing-mini p {
  color: var(--muted);
}

.section-head { max-width: 740px; margin-bottom: 28px; }
.section-head-centered { margin-left: auto; margin-right: auto; text-align: center; }

.hero { padding: 48px 0 48px; }

.hero .hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding-top: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
  justify-content: center;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.hero-tags span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-text { font-size: 1.06rem; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; justify-content: center; }

.hero-card,
.service-card,
.about-card,
.contact-card,
.example-card,
.examples-cta-card,
.pricing-card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card { padding: 28px; }

.hero-card-label {
  margin-bottom: 18px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 800;
}

.hero-feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.hero-feature:first-of-type { border-top: none; padding-top: 0; }

.hero-feature-number,
.service-number {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.trust-strip { padding: 0 0 24px; }

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-strip-inner div {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  text-align: center;
}

.trust-strip strong { color: var(--text); }

.services,
.home-examples,
.about,
.contact,
.examples-page {
  padding: 40px 0;
}

.services-grid,
.examples-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-card, .about-card, .contact-card { padding: 30px; }
.service-number { margin-bottom: 18px; }
.service-card.featured { border-color: rgba(180, 35, 35, 0.28); }

.service-card ul,
.example-content ul,
.pricing-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.service-card li + li,
.example-content li + li,
.pricing-card li + li {
  margin-top: 8px;
}

/* Examples */

.example-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.example-link { display: block; }

.example-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
}

.example-media iframe {
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: top left;
  pointer-events: none;
  border: none;
}

.example-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.example-content p { margin-bottom: 0; }
.example-content ul { flex: 1; }
.example-content .button { margin-top: 20px; align-self: flex-start; }

.home-examples-footer {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.examples-cta-card {
  margin-top: 28px;
  padding: 32px 28px;
  text-align: center;
}

.center-actions { justify-content: center; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.about-list-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.check-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.check-row:first-child { border-top: none; padding-top: 0; }

.check-row span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.check-row p { margin: 0; }

.contact { padding: 40px 0 72px; scroll-margin-top: 50px; }
.contact-shell { max-width: 860px; margin: 0 auto; }
.form-card { padding: 34px; }

form { display: grid; gap: 14px; margin-top: 0; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.93rem;
  font-weight: 700;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #ddd2c6;
  background: #fffdfa;
  color: var(--text);
  border-radius: 14px;
  padding: 15px 16px;
  outline: none;
}

select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235f6b76' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(180, 35, 35, 0.55);
  box-shadow: 0 0 0 3px rgba(180, 35, 35, 0.08);
}

textarea { min-height: 150px; resize: vertical; }

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand-name {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 16px;
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--muted);
}

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

.footer-services { color: var(--muted); }

@media (max-width: 760px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-copy { margin-top: 4px; }
}

/* Pricing */

.pricing-page { padding: 28px 0 48px; }

.pricing-sheet {
  max-width: 1020px;
  margin: 0 auto;
  padding: 34px 34px 38px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
  box-shadow: var(--shadow);
}

.pricing-sheet-head { margin-bottom: 26px; }
.pricing-sheet-head h1 { margin-bottom: 10px; }
.pricing-intro { max-width: 540px; margin-bottom: 0; color: var(--muted); }

.pricing-block + .pricing-block {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.pricing-section-title { margin-bottom: 18px; }
.pricing-section-title h2 { margin-bottom: 0; }
.pricing-card { padding: 24px; min-height: 100%; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.pricing-card-focus { border-color: rgba(180, 35, 35, 0.38); }

.price-line {
  margin: 8px 0 14px;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.3px;
  color: var(--text);
}

.price-line span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.pricing-mini p { margin-bottom: 0; }

.pricing-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fffdfa;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.faq-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  max-width: 680px;
}

/* Tablet */
@media (max-width: 980px) {
  .services-grid,
  .examples-grid,
  .about-grid,
  .pricing-grid,
  .trust-strip-inner {
    grid-template-columns: 1fr;
  }

  .section-head { margin-bottom: 24px; }
  .hero { padding-top: 50px; }
}

/* Mobile */
@media (max-width: 760px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .nav { min-height: 74px; padding: 10px 0; gap: 12px; }
  .brand { gap: 10px; }
  .brand-logo { width: 56px; height: 56px; border-radius: 14px; padding: 5px; }
  .brand-name { font-size: 1rem; line-height: 1; }
  .brand-sub { display: none; }
  .nav-links { display: none; }
  .nav-group { gap: 0; flex-shrink: 0; }
  .nav-group .button { min-height: 38px; padding: 0 14px; font-size: 0.84rem; border-radius: 11px; }
  .hero { padding: 34px 0 18px; }
  h1 { font-size: 2rem; line-height: 1.03; letter-spacing: -1.2px; margin-bottom: 14px; }
  h2 { font-size: 1.65rem; }
  .hero-text, .section-text { font-size: 0.98rem; }
  .eyebrow, .section-kicker { font-size: 0.74rem; padding: 7px 11px; margin-bottom: 14px; }
  .hero-actions { flex-direction: column; gap: 10px; margin-top: 20px; }
  .hero-actions .button,
  .center-actions .button,
  .example-content .button,
  form .button,
  .home-examples-footer .button { width: 100%; }
  .hero-card, .service-card, .about-card, .contact-card, .examples-cta-card, .example-content, .pricing-card { padding: 20px; border-radius: 18px; }
  .services, .home-examples, .about, .contact, .examples-page { padding: 34px 0; }
  .contact { padding-bottom: 42px; }
  .form-card { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-feature { grid-template-columns: 38px 1fr; gap: 12px; padding: 14px 0; }
  .hero-feature-number, .service-number { width: 34px; height: 34px; border-radius: 10px; font-size: 0.85rem; }
  input, select, textarea { padding: 14px; border-radius: 12px; }
  .pricing-page { padding: 14px 0 30px; }
  .pricing-sheet { padding: 20px; border-radius: 18px; }
  .pricing-sheet-head { margin-bottom: 20px; }
  .pricing-block + .pricing-block { margin-top: 20px; padding-top: 20px; }
  .pricing-card h3 { font-size: 1.25rem; }
  .price-line { font-size: 2rem; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 20px), var(--max)); }
  .nav { min-height: 68px; }
  .brand-logo { width: 50px; height: 50px; }
  .brand-name { font-size: 0.94rem; }
  .nav-phone { display: none; }
  .nav-group .button { min-height: 36px; padding: 0 12px; font-size: 0.8rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.42rem; }
  .example-media { aspect-ratio: 16 / 11; }
}

/* ── Mobile nav toggle ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ── */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(0,0,0,0.07);
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.28s ease, padding 0.28s ease;
}
.mobile-menu.open {
  max-height: 420px;
  padding: 8px 0 24px;
}

.mobile-nav { display: flex; flex-direction: column; }

.mobile-nav-link {
  padding: 15px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:active { background: var(--accent-soft); color: var(--accent); }

.mobile-cta {
  display: flex;
  margin: 12px 16px 0;
  min-height: 44px;
  font-size: 0.9rem;
  border-radius: 10px;
}

.mobile-phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 16px 0;
  padding: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 10px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-group { display: flex !important; gap: 8px; }
  .nav-group .nav-links { display: none; }
  .nav-toggle { display: flex; }
}