/* ============================================
   GreenCore Property Group — Pricing Page
   ============================================ */

/* --- Navbar links extension --- */
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--fg);
  background: rgba(196, 168, 130, 0.1);
}

.nav-logo {
  text-decoration: none;
  color: inherit;
}

/* --- Pricing Hero --- */
.pricing-hero {
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(74, 140, 92, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 30% 30% at 20% 70%, rgba(196, 168, 130, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.pricing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  margin-top: 16px;
}

.pricing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 36px;
}

.pricing-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}

.pricing-phone svg { opacity: 0.7; }

.phone-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.phone-num:hover { opacity: 0.8; }

/* --- Packages CTA --- */
.pricing-packages-cta {
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.pricing-packages-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(196, 168, 130, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-packages-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.pricing-packages-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.pricing-packages-cta-inner p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
}

/* --- Required asterisk --- */
.req { color: var(--accent); }

/* --- Pricing Packages --- */
.pricing-packages {
  padding: 0 24px 100px;
}

.pricing-packages-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.pck-card {
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.pck-card.pck-featured {
  background: var(--bg-card-alt);
  border-color: rgba(196, 168, 130, 0.45);
}

.pck-tag {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
}

.pck-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.pck-header p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.pck-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pck-from {
  font-size: 14px;
  color: var(--fg-muted);
}

.pck-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pck-period {
  font-size: 16px;
  color: var(--fg-muted);
}

.pck-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pck-features li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.pck-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* --- Contact Section --- */
.pricing-contact {
  padding: 80px 24px 100px;
  background: var(--bg-card);
  border-top: var(--border);
  border-bottom: var(--border);
}

.pricing-contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-heading {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  margin-top: 12px;
}

.contact-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}

.contact-phone-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-phone-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.contact-phone {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.contact-phone:hover { opacity: 0.75; }

/* --- Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg);
  width: 100%;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23a89f8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(168, 159, 138, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  align-self: flex-start;
}

.btn-submit:hover:not(:disabled) {
  background: var(--accent-dim);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-submit .btn-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spinner {
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(74, 140, 92, 0.1);
  border: 1px solid rgba(74, 140, 92, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: #6db87a;
  font-weight: 500;
}

.form-success svg { flex-shrink: 0; }

.form-error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 100, 100, 0.08);
  border: 1px solid rgba(255, 100, 100, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: #ff9999;
  font-weight: 500;
}

.form-error svg { flex-shrink: 0; flex-basis: 18px; }

.form-error a {
  color: inherit;
  font-weight: 600;
}

/* --- Services page: value prop block --- */
.pm-value-prop {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 28px;
  background: rgba(109, 184, 122, 0.07);
  border: 1px solid rgba(109, 184, 122, 0.2);
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .pck-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 600px) {
  .pricing-hero { padding-top: 100px; padding-bottom: 60px; }
  .pricing-phone { flex-direction: column; gap: 6px; align-items: flex-start; }
  .contact-phone { font-size: 24px; }
  .pck-amount { font-size: 40px; }
  .btn-submit { width: 100%; justify-content: center; }
}