/* ============================================================
   PAGE.CSS — Styles for sub-pages (contact, packages, etc.)
   Loads in addition to /assets/style.css (homepage shared)
   ============================================================ */

.page-body { background: var(--bg-light); }

/* ============================================================
   PAGE HERO (compact, used on all sub-pages)
   ============================================================ */

.page-hero {
  position: relative;
  padding: 160px 64px 100px;
  background: var(--bg-dark);
  color: var(--text-inv);
  overflow: hidden;
  isolation: isolate;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(204,0,0,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(204,0,0,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #1a0606 50%, #0a0a0a 100%);
  z-index: -2;
}

.page-hero-grain {
  position: absolute; inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  z-index: -1;
  mix-blend-mode: overlay;
}

.page-hero-content {
  max-width: 1100px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.page-hero-title {
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-weight: 400;
  margin: 32px 0;
}

.page-hero-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-inv-dim);
  max-width: 640px;
  line-height: 1.7;
}

.page-hero-accent {
  position: absolute;
  bottom: -30px; right: -100px;
  width: 500px; height: 6px;
  background: var(--red);
  transform: rotate(-3deg);
  z-index: 0;
}

@media (max-width: 760px) {
  .page-hero { padding: 120px 24px 60px; }
}

/* ============================================================
   SECTION HEAD (centered, used in add-ons + FAQ etc.)
   ============================================================ */

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

.section-sub {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.6;
}

/* ============================================================
   ============================================================
   CONTACT PAGE
   ============================================================
   ============================================================ */

.contact-page {
  padding: 100px 64px;
  background: var(--bg-light);
}

.contact-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 980px) {
  .contact-page { padding: 64px 24px; }
  .contact-page-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* Contact info (left side) */
.contact-info {
  position: sticky;
  top: 100px;
}
@media (max-width: 980px) {
  .contact-info { position: static; }
}

.ci-eyebrow {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 14px;
}

.ci-title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 36px;
}

.ci-block { margin-bottom: 22px; }
.ci-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  margin-bottom: 4px;
}
.ci-value, .ci-value-static {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 600;
}
.ci-value:hover { color: var(--red); }

.ci-divider {
  height: 1px;
  background: var(--line-light);
  margin: 32px 0;
}

/* Contact form (right side) */
.contact-form-wrap {
  background: #fff;
  padding: 40px 36px;
  border-top: 4px solid var(--red);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.06);
}

.cf-title {
  font-family: var(--display);
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
  color: var(--text);
}

.cf-desc {
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 28px;
}

.cf-row { margin-bottom: 18px; }
.cf-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .cf-row-2col { grid-template-columns: 1fr; gap: 18px; }
}

.cf-field { display: flex; flex-direction: column; }

.cf-field label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  margin-bottom: 8px;
}

.cf-field .req { color: var(--red); }

.cf-field input,
.cf-field textarea,
.cf-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  background: #fafafa;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.cf-field input:focus,
.cf-field textarea:focus,
.cf-field select:focus {
  border-color: var(--red);
  background: #fff;
}

.cf-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.cf-submit {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 18px 32px;
  background: var(--red);
  color: var(--text-inv);
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin-top: 12px;
  transition: all 0.2s;
}
.cf-submit:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(204,0,0,0.5);
}

.cf-fineprint {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 16px;
  letter-spacing: 0.05em;
}

/* Form messages */
.cf-error {
  background: #fde3e3;
  color: #cc0000;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 13px;
  border-left: 3px solid var(--red);
  line-height: 1.6;
}

.cf-success {
  background: #fff;
  border-top: 4px solid var(--red);
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.06);
}
.cf-success-eyebrow {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 14px;
}
.cf-success-title {
  font-family: var(--display);
  font-size: 44px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
}
.cf-success-msg {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cf-success-meta {
  font-size: 13px;
  color: var(--text-mute);
}
.cf-success-meta a { color: var(--red); font-weight: 700; }

/* ============================================================
   ============================================================
   PACKAGES PAGE
   ============================================================
   ============================================================ */

.pkg-section {
  padding: 64px 64px 100px;
  background: var(--bg-light);
}

@media (max-width: 760px) {
  .pkg-section { padding: 40px 20px 64px; }
}

/* Tabs */
.pkg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pkg-tab {
  background: transparent;
  border: none;
  padding: 18px 26px;
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 32px);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--text-mute);
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  font-weight: 400;
  line-height: 1;
}

.pkg-tab:hover { color: var(--text); }

.pkg-tab.active {
  color: var(--text);
}

.pkg-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 3px;
  background: var(--red);
}

@media (max-width: 600px) {
  .pkg-tab { padding: 14px 16px; }
}

/* Panel + grid */
.pkg-panel { max-width: 1200px; margin: 0 auto; }
.pkg-panel.active { display: block; }
.pkg-panel[hidden] { display: none; }

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 980px) {
  .pkg-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; margin: 0 auto; }
}

/* Package card */
.pkg-card {
  background: #fff;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-top: 3px solid var(--line-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,0.12);
}

.pkg-card.featured {
  background: var(--text);
  color: var(--text-inv);
  border-top-color: var(--red);
  transform: translateY(-8px);
}
.pkg-card.featured:hover {
  transform: translateY(-12px);
}

.pkg-badge {
  position: absolute;
  top: -1px; right: 28px;
  background: var(--red);
  color: var(--text-inv);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 6px 12px;
}

.pkg-tier {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 12px;
}

.pkg-card.featured .pkg-tier { color: var(--red-bright); }

.pkg-name {
  font-family: var(--display);
  font-size: 36px;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-weight: 400;
  margin-bottom: 14px;
}

.pkg-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 24px;
  flex-shrink: 0;
}

.pkg-card.featured .pkg-tagline { color: var(--text-inv-dim); }

.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.pkg-price-num {
  font-family: var(--display);
  font-size: 48px;
  line-height: 1;
  color: var(--red);
  font-weight: 400;
}
.pkg-card.featured .pkg-price-num { color: var(--red-bright); }
.pkg-price-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
}
.pkg-card.featured .pkg-price-tag { color: var(--text-inv-dim); }

.pkg-price-note {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 24px;
}
.pkg-card.featured .pkg-price-note { color: var(--text-inv-dim); }

.pkg-divider {
  height: 1px;
  background: var(--line-light);
  margin-bottom: 24px;
}
.pkg-card.featured .pkg-divider { background: rgba(255,255,255,0.1); }

.pkg-includes-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  margin-bottom: 14px;
}
.pkg-card.featured .pkg-includes-label { color: var(--text-inv-dim); }

.pkg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex: 1;
}
.pkg-features li {
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--text-light);
}
.pkg-card.featured .pkg-features li { color: var(--text-inv-dim); }

.pkg-features li.yes::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 13px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

.pkg-features li.no {
  color: var(--text-mute);
  opacity: 0.5;
  text-decoration: line-through;
}
.pkg-card.featured .pkg-features li.no { color: rgba(255,255,255,0.3); }

.pkg-features li.no::before {
  content: '×';
  position: absolute;
  left: 4px;
  top: 6px;
  font-size: 18px;
  color: var(--text-mute);
}

.pkg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 14px 22px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  text-align: center;
  transition: all 0.2s;
  margin-top: auto;
}
.pkg-cta:hover {
  background: var(--red);
  color: var(--text-inv);
  border-color: var(--red);
}

.pkg-cta.solid {
  background: var(--red);
  color: var(--text-inv);
  border-color: var(--red);
}
.pkg-cta.solid:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
}

.pkg-card.featured .pkg-cta {
  color: var(--text-inv);
  border-color: var(--text-inv);
}
.pkg-card.featured .pkg-cta:hover,
.pkg-card.featured .pkg-cta.solid {
  background: var(--red);
  color: var(--text-inv);
  border-color: var(--red);
}

/* ============================================================
   ADD-ONS
   ============================================================ */

.addons-section {
  background: var(--bg-cream);
  padding: 100px 64px;
}

@media (max-width: 760px) {
  .addons-section { padding: 64px 24px; }
}

.addons-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 980px) { .addons-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .addons-grid { grid-template-columns: 1fr; gap: 10px; } }

.addon-card {
  background: var(--bg-light);
  padding: 24px 20px;
  border-top: 2px solid var(--red);
  transition: transform 0.2s ease;
}
.addon-card:hover { transform: translateY(-3px); }

.addon-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.addon-name {
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
  line-height: 1;
}

.addon-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 14px;
}

.addon-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.1em;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-section {
  background: var(--bg-light);
  padding: 100px 64px;
}

@media (max-width: 760px) {
  .faq-section { padding: 64px 24px; }
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  padding: 0;
  border-left: 3px solid var(--line-light);
  transition: border-color 0.2s;
}
.faq-item[open] {
  border-left-color: var(--red);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  padding-right: 60px;
  outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover { color: var(--red); }

.faq-item p {
  padding: 0 28px 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

/* ============================================================
   CUSTOM QUOTE CTA
   ============================================================ */

.custom-quote-section {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-inv);
  padding: 100px 64px;
  overflow: hidden;
  isolation: isolate;
}

.cq-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(204,0,0,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(204,0,0,0.1) 0%, transparent 60%),
    var(--bg-dark);
  z-index: -1;
}

.cq-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 980px) {
  .custom-quote-section { padding: 64px 24px; }
  .cq-inner { grid-template-columns: 1fr; gap: 32px; }
}

.cq-title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-weight: 400;
  color: var(--text-inv);
  margin: 18px 0 18px;
}

.cq-body {
  font-size: 15px;
  color: var(--text-inv-dim);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 540px;
}

.cq-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cq-features li {
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-inv);
  font-weight: 600;
}
.cq-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

.cq-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cq-cta .btn-primary,
.cq-cta .btn-secondary {
  justify-content: center;
}

.cq-cta .btn-secondary {
  background: transparent;
  color: var(--text-inv);
  border: 1px solid rgba(255,255,255,0.3);
}
