/* 智诚财税 — 本地样式表 */

/* Local webfonts (subset, offline) */
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/NotoSansSC-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif SC";
  src: url("../fonts/NotoSerifSC-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #0B1F3A;
  --navy-900: #0F2A4A;
  --navy-800: #153A66;
  --blue-700: #1E4B8F;
  --blue-600: #2A6BC4;
  --blue-500: #3D7FD4;
  --blue-100: #D6E6F8;
  --blue-50: #E8F1FB;
  --green-700: #008A64;
  --green-600: #00A67E;
  --green-500: #12B886;
  --green-100: #C6F0E2;
  --green-50: #E6F7F1;
  --gold-500: #D4A853;
  --gold-50: #FBF4E4;
  --ink: #1A2332;
  --ink-60: #4A5568;
  --ink-40: #718096;
  --line: #E2E8F0;
  --bg: #F6F8FB;
  --bg-card: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 42, 74, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 42, 74, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 42, 74, 0.12);
  --container: 1120px;
  --header-h: 72px;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia,
    "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy-950);
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand span small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-40);
  letter-spacing: 0.08em;
}

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

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-60);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav .btn {
  display: none;
}

.nav a:hover,
.nav a.is-active {
  color: var(--blue-700);
  background: var(--blue-50);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 75, 143, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(30, 75, 143, 0.32);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 166, 126, 0.28);
}

.btn-accent:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-700);
  border: 1.5px solid var(--blue-100);
}

.btn-ghost:hover {
  border-color: var(--blue-600);
  background: var(--blue-50);
}

.btn-light {
  background: #fff;
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(0, 166, 126, 0.08), transparent),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(30, 75, 143, 0.08), transparent),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern-grid.svg");
  background-size: 40px 40px;
  opacity: 0.7;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px rgba(0, 166, 126, 0.18);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue-700), var(--green-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--ink-60);
  max-width: 34em;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 440px;
}

.stat {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1.2;
}

.stat span {
  font-size: 0.8125rem;
  color: var(--ink-40);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: #fff;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green-600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.125rem);
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--ink-60);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}

.service-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--ink-60);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.service-card ul {
  display: grid;
  gap: 8px;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--ink-60);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 3px rgba(0, 166, 126, 0.15);
}

/* Advantages */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.advantage-card {
  background: linear-gradient(180deg, #fff, #F9FBFE);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
}

.advantage-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.advantage-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-950);
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--ink-60);
}

/* Process */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.process-steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}

.step:nth-child(2) .step-num {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
}
.step:nth-child(3) .step-num {
  background: linear-gradient(135deg, #B8892E, var(--gold-500));
}
.step:nth-child(4) .step-num {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy-950);
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-60);
}

.process-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* Pricing */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 auto 36px;
}

.billing-toggle button {
  border: none;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink-60);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.billing-toggle button.is-active {
  background: #fff;
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}

.pricing-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.price-card.is-featured {
  border: 2px solid var(--blue-700);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.price-card.is-featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-700), var(--green-600));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 6px;
}

.price-card .desc {
  font-size: 0.875rem;
  color: var(--ink-40);
  margin-bottom: 20px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price .currency {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-700);
}

.price .amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price .unit {
  font-size: 0.875rem;
  color: var(--ink-40);
}

.price-note {
  font-size: 0.8125rem;
  color: var(--ink-40);
  margin-bottom: 24px;
}

.price-features {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.price-features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.925rem;
  color: var(--ink-60);
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5' stroke='%2300A67E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.price-card .btn {
  width: 100%;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.125rem);
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about-content > p {
  color: var(--ink-60);
  margin-bottom: 24px;
}

.about-points {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.about-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: var(--ink-60);
  font-size: 0.95rem;
}

.about-points li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5' stroke='%2300A67E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-card .stars {
  color: var(--gold-500);
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.quote-card p {
  color: var(--ink-60);
  font-size: 0.95rem;
  flex: 1;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  font-size: 0.95rem;
}

.quote-card:nth-child(2) .avatar {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
}
.quote-card:nth-child(3) .avatar {
  background: linear-gradient(135deg, #B8892E, var(--gold-500));
}

.quote-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy-950);
}

.quote-meta span {
  font-size: 0.8125rem;
  color: var(--ink-40);
}

/* CTA */
.cta {
  position: relative;
  padding: 72px 0;
  color: #fff;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta p {
  opacity: 0.88;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-info {
  background: linear-gradient(160deg, var(--navy-950), var(--blue-700));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info > p {
  opacity: 0.85;
  margin-bottom: 28px;
}

.info-list {
  display: grid;
  gap: 18px;
}

.info-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.info-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.info-item span {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.5;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-950);
}

.form-field label span {
  color: #E53E3E;
  margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 107, 196, 0.12);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--ink-40);
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.925rem;
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy-950);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--blue-700);
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-body {
  padding: 0 22px 18px;
  color: var(--ink-60);
  font-size: 0.95rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 50% 80% at 90% 30%, rgba(0, 166, 126, 0.1), transparent),
    linear-gradient(180deg, #fff, var(--bg));
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--ink-60);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-40);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--blue-700);
}

/* Service detail blocks */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

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

.detail-block:nth-child(even) .detail-copy {
  order: 2;
}

.detail-block h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 12px;
}

.detail-block p {
  color: var(--ink-60);
  margin-bottom: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.8125rem;
  font-weight: 600;
}

.tag.green {
  background: var(--green-50);
  color: var(--green-700);
}

.tag.gold {
  background: var(--gold-50);
  color: #9A7420;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand .brand span small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.75;
  max-width: 28em;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col li {
  display: block;
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 10px;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  opacity: 0.55;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Mobile nav drawer */
@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }

  .nav .btn {
    display: inline-flex;
    margin-top: 8px;
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .process-layout,
  .about-layout,
  .contact-layout,
  .detail-block {
    grid-template-columns: 1fr;
  }

  .detail-block:nth-child(even) .detail-copy {
    order: 0;
  }

  .services-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .advantage-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.is-featured {
    transform: none;
  }

  .price-card.is-featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .section {
    padding: 64px 0;
  }

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

  .hero-stats,
  .services-grid,
  .pricing-grid,
  .testimonials-grid,
  .advantage-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .brand span {
    font-size: 1rem;
  }

  .contact-form,
  .contact-info {
    padding: 28px 22px;
  }
}

/* Print */
@media print {
  .site-header,
  .cta,
  .menu-toggle {
    display: none !important;
  }
  body {
    background: #fff;
  }
}
