/* =========================================================
   Inner pages — shared layout for multi-page site
   ========================================================= */

.page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 90% 20%, rgb(255 106 0 / 0.08), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero .container {
  max-width: var(--max);
}
.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a {
  color: var(--muted);
  font-weight: 500;
}
.page-hero .breadcrumb a:hover { color: var(--orange); }
.page-hero .breadcrumb span { color: var(--faint); }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--ink);
}
.page-hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.page-hero .lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 24px;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-section {
  padding: 64px 0;
}
.page-section.soft { background: var(--soft); }
.page-section.dark {
  background: var(--navy);
  color: rgb(255 255 255 / 0.7);
}
.page-section.dark h2,
.page-section.dark h3 { color: #fff; }

.page-grid-2 {
  display: grid;
  gap: 24px;
}
@media (min-width: 800px) {
  .page-grid-2 { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.page-grid-3 {
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) {
  .page-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .page-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgb(15 23 42 / 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.content-card:hover {
  border-color: #ffd4b0;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.content-card .card-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--orange-50);
  color: var(--orange);
  margin-bottom: 16px;
}
.content-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.content-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.content-card ul {
  margin-bottom: 16px;
}
.content-card li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--body);
  margin-bottom: 8px;
  font-weight: 500;
}
.content-card li svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.split-page {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .split-page {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .split-page.reverse .copy { order: 2; }
}
.split-page .copy h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
}
.split-page .copy p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.split-page .visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 11;
  background: var(--soft);
}

/* Contact form */
.contact-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
  }
}
.contact-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}
.contact-info > p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.65;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-list a:hover {
  border-color: #ffd4b0;
  box-shadow: var(--shadow);
}
.contact-list a svg {
  color: var(--orange);
  flex-shrink: 0;
}
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.contact-form-card .field { margin-bottom: 14px; }
.contact-form-card label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form-card input,
.contact-form-card select {
  height: 48px;
}
.contact-form-card textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgb(255 106 0 / 0.14);
}

/* Auth pages */
.auth-page {
  min-height: calc(100vh - var(--nav));
  display: grid;
  place-items: center;
  padding: 48px 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgb(255 106 0 / 0.08), transparent 50%),
    var(--soft);
}
.auth-card {
  width: min(100% - 32px, 420px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-lg);
}
.auth-card h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}
.auth-card .sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.auth-card .field { margin-bottom: 14px; }
.auth-card label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.auth-card input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
}
.auth-card input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgb(255 106 0 / 0.14);
}
.auth-card .btn-block { margin-top: 8px; }
.auth-switch {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.auth-switch a {
  color: var(--orange);
  font-weight: 600;
}

/* Legal */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}
.legal-content p,
.legal-content li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-content ul {
  padding-left: 1.2em;
  list-style: disc;
  margin-bottom: 16px;
}

/* Nav active state */
.nav-links a.is-active {
  color: var(--orange);
  font-weight: 600;
  background: var(--orange-50);
}

/* Page bottom CTA reuse */
.page-cta {
  background: linear-gradient(135deg, #0b1220 0%, #151d2e 50%, #0b1220 100%);
  padding: 56px 0;
  text-align: center;
  color: #fff;
}
.page-cta h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-cta p {
  color: rgb(255 255 255 / 0.6);
  margin-bottom: 22px;
}
.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.detail-list {
  display: grid;
  gap: 12px;
}
.detail-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.detail-list .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--orange-50);
  color: var(--orange);
}
.detail-list h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.detail-list p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.pricing-page .prices {
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 559px) {
  .page-hero { padding: 32px 0 28px; }
  .page-section { padding: 48px 0; }
  .auth-card { padding: 24px 20px; }
}
