/* ===================================
   JUNGLE CLEAN - PRICING PAGE STYLES
   Page-specific only. Globals in common.css
   =================================== */

.page-header {
  background: var(--gradient-soft);
  padding: 8rem 0 var(--spacing-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-toffee);
  margin-bottom: var(--spacing-sm);
}
.page-header p {
  font-size: 1.3rem;
  color: var(--color-toffee);
}

.decorative-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sparkle,
.bubble {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: sparkle 3s ease-in-out infinite;
}

.sparkle-1 {
  top: 20%;
  left: 15%;
}
.sparkle-2 {
  bottom: 30%;
  right: 20%;
  animation-delay: 1.5s;
}
.bubble-1 {
  top: 45%;
  left: 15%;
  animation-delay: 3s;
}

/* Calendar button */
.calendar-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
  position: relative;
  z-index: 10;
  overflow: visible !important;
}

.calendar-button-wrapper button,
.calendar-button-wrapper .google-calendar-button {
  font-family: var(--font-heading);
  font-size: 1.2rem !important;
  padding: 1rem 2.5rem !important;
  border-radius: 999px !important;
  background: var(--gradient-green) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-md) !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.calendar-button-wrapper button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg) !important;
}

/* Google Calendar Modal Fixes */
body > div[role="dialog"],
body > div[class*="calendar"],
body > .goog-modalpopup-bg,
body > .goog-modalpopup {
  z-index: 999999 !important;
  position: fixed !important;
}

@media (max-width: 768px) {
  body > div[class*="calendar"] > div:first-child,
  body > .goog-modalpopup-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
  }
  body > div[role="dialog"],
  body > div[class*="calendar"] iframe,
  body > .goog-modalpopup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 95vw !important;
    max-width: 95vw !important;
    height: 90vh !important;
    max-height: 90vh !important;
    margin: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-radius: 12px !important;
  }
}

/* Booking Section */
.booking-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-cream);
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--color-toffee);
}

.booking-description {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-toffee);
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing Section */
.pricing-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  background: var(--gradient-soft);
  border: 3px solid var(--color-sage);
  transform: scale(1.05);
}
.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--color-sun);
  color: var(--color-black);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

.card-header {
  text-align: center;
  margin-bottom: var(--spacing-md);
}
.plan-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-sm);
}
.card-header h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-toffee);
  margin-bottom: var(--spacing-xs);
}
.plan-subtitle {
  font-size: 0.95rem;
  color: var(--color-toffee);
}

.card-price {
  text-align: center;
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-top: 2px solid rgba(147, 102, 57, 0.15);
  border-bottom: 2px solid rgba(147, 102, 57, 0.15);
}

.currency {
  font-size: 1.5rem;
  vertical-align: top;
  font-weight: bold;
  color: var(--color-sage);
}
.amount {
  font-size: 3.5rem;
  font-weight: bold;
  font-family: var(--font-heading);
  color: var(--color-sage);
}
.period {
  font-size: 1rem;
  color: var(--color-toffee);
}

.features-list {
  list-style: none;
  margin-bottom: var(--spacing-md);
}
.features-list li {
  padding: var(--spacing-xs) 0;
  font-size: 0.95rem;
}
.pricing-card .btn {
  width: 100%;
  text-align: center;
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-cream);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 1.2rem;
  color: var(--color-toffee);
  margin-bottom: var(--spacing-sm);
}
.faq-item p {
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-xl) 0;
  background: var(--gradient-yellow);
}
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-toffee);
}
.cta-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
}

/* ===================================
   DETAILED SERVICE PRICING SECTION
   =================================== */
.detailed-pricing-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-cream);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-toffee);
  margin-top: -1.5rem;
  margin-bottom: var(--spacing-lg);
}

.service-pricing-grid {
  display: none;
}

.spc-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.spc-bottom-row {
  display: flex;
  justify-content: center;
}
.spc-carpet-card {
  width: 100%;
  max-width: 600px;
}

.service-pricing-card {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.spc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 2px solid var(--color-cream);
}

.spc-icon {
  font-size: 2.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.spc-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-toffee);
  margin: 0 0 2px;
}
.spc-header p {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

.spc-table-wrapper {
  padding: 16px 22px 22px;
  overflow-x: auto;
}

.spc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.spc-table thead tr {
  background: transparent;
}
.spc-table th {
  padding: 8px 10px;
  text-align: center;
  font-weight: 700;
  color: var(--color-toffee);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.spc-table th:first-child {
  text-align: left;
}
.spc-table tbody tr {
  border-bottom: 1px solid rgba(147, 102, 57, 0.1);
  transition: background 0.2s ease;
}
.spc-table tbody tr:last-child {
  border-bottom: none;
}
.spc-table tbody tr:hover {
  background: rgba(250, 243, 231, 0.8);
}
.spc-table td {
  padding: 16px 14px;
  color: var(--color-black);
  font-size: 1rem;
}
.spc-table td:first-child {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-toffee);
}

.price-cell {
  text-align: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-sage);
  letter-spacing: -0.01em;
}
.highlight-price {
  color: var(--color-toffee);
  font-size: 1.6rem;
}

.col-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.col-badge-green {
  background: rgba(96, 165, 97, 0.12);
  color: var(--color-sage);
}
.col-badge-sun {
  background: rgba(233, 196, 106, 0.2);
  color: #9a7a20;
}

.spc-carpet-pricing {
  padding: 16px 22px 22px;
}

.carpet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.carpet-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--color-black);
}

.carpet-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--color-sage);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.carpet-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-sage);
  min-width: 60px;
  text-align: right;
}
.carpet-price-accent {
  color: var(--color-toffee);
}

.carpet-divider {
  height: 1px;
  background: rgba(147, 102, 57, 0.12);
}

.carpet-note {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(233, 196, 106, 0.12);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--color-toffee);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .page-header {
    padding: var(--spacing-lg) 0;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .page-header p {
    font-size: 1.1rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  .pricing-card {
    padding: var(--spacing-md);
  }
  .pricing-card.featured {
    transform: none;
    border-width: 2px;
  }
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  .card-header h3 {
    font-size: 1.6rem;
  }
  .plan-icon {
    font-size: 3rem;
  }
  .amount {
    font-size: 2.8rem;
  }
  .currency {
    font-size: 1.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .booking-description {
    font-size: 1rem;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-item h3 {
    font-size: 1.1rem;
  }
  .cta-content h2 {
    font-size: 2rem;
  }
  .cta-content p {
    font-size: 1rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
    margin-top: -1rem;
  }
  .spc-top-grid {
    grid-template-columns: 1fr;
  }
  .spc-carpet-card {
    max-width: 100%;
  }
  .spc-header {
    padding: 14px 16px 12px;
    gap: 10px;
  }
  .spc-icon {
    font-size: 2rem;
  }
  .spc-header h3 {
    font-size: 1.2rem;
  }
  .spc-header p {
    font-size: 0.8rem;
  }
  .spc-table-wrapper {
    padding: 12px 14px 16px;
  }
  .spc-table {
    font-size: 0.85rem;
  }
  .spc-table th {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
  .spc-table td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }
  .price-cell {
    font-size: 1.2rem;
  }
  .highlight-price {
    font-size: 1.3rem;
  }
  .col-badge {
    padding: 3px 8px;
    font-size: 0.7rem;
  }
  .spc-carpet-pricing {
    padding: 12px 16px 16px;
  }
  .carpet-row-label {
    font-size: 0.9rem;
    gap: 8px;
  }
  .carpet-price {
    font-size: 1.2rem;
    min-width: 50px;
  }
  .carpet-note {
    font-size: 0.78rem;
  }
  .calendar-button-wrapper button,
  .calendar-button-wrapper .google-calendar-button {
    font-size: 1rem !important;
    padding: 0.8rem 2rem !important;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.6rem;
  }
  .pricing-card {
    padding: var(--spacing-sm);
  }
  .amount {
    font-size: 2.2rem;
  }
  .card-header h3 {
    font-size: 1.3rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .spc-table td {
    padding: 10px 6px;
    font-size: 0.82rem;
  }
  .price-cell {
    font-size: 1rem;
  }
  .highlight-price {
    font-size: 1.1rem;
  }
  .carpet-price {
    font-size: 1rem;
  }
  .cta-content h2 {
    font-size: 1.6rem;
  }
}
/* ===================================
   CALENDLY BOOKING SECTION
   =================================== */
.calendly-booking-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
  position: relative;
  z-index: 1;
}
.calendly-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: var(--spacing-md);
  border: 1px solid rgba(147, 102, 57, 0.1);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  min-height: 700px;
}
@media (max-width: 768px) {
  .calendly-booking-section {
    padding: var(--spacing-lg) 0;
  }
  .calendly-wrapper {
    border-radius: var(--radius-md);
    min-height: 700px;
  }
}

/* ===================================
   PRICING FORM SECTION (Enhanced)
   =================================== */
.pricing-form-section {
  padding: 6rem 0;
  background: var(--color-white);
  position: relative;
}

.pricing-form-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  background: #fff;
  padding: 3.5rem;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(147, 102, 57, 0.1);
  border: 1px solid rgba(147, 102, 57, 0.05);
  position: relative;
  z-index: 5;
}

.pricing-form-left {
  padding-right: 2rem;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--color-toffee);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.form-subtitle {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 2.5rem;
}

.pricing-type-toggle {
  display: flex;
  gap: 15px;
  margin-bottom: 2.5rem;
  background: var(--color-cream);
  padding: 8px;
  border-radius: 50px;
  max-width: fit-content;
}

.type-btn {
  padding: 12px 30px;
  border: none;
  background: transparent;
  color: var(--color-toffee);
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1rem;
}

.type-btn.active {
  background: var(--color-sage);
  color: white;
  box-shadow: 0 4px 15px rgba(96, 165, 97, 0.3);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--color-toffee);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--color-cream);
  border-radius: 12px;
  font-size: 1.1rem;
  background: var(--color-cream);
  color: var(--color-black);
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23936639' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-sage);
  background: white;
  box-shadow: 0 0 0 4px rgba(96, 165, 97, 0.1);
}

.contact-info-small {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--gradient-soft);
  border-radius: 15px;
  border-left: 4px solid var(--color-sage);
}

.contact-info-small h4 {
  font-size: 1.2rem;
  color: var(--color-toffee);
  margin-bottom: 8px;
}

.contact-info-small p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

/* Summary Card (Wow Factor) */
.pricing-summary-card {
  background: var(--color-cream);
  padding: 3rem;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.pricing-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--gradient-green);
}

.pricing-summary-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-toffee);
  margin-bottom: 2rem;
  text-align: center;
}

.price-display {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.price-label {
  display: block;
  font-size: 1rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.price-value {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-sage);
  font-family: var(--font-heading);
  line-height: 1;
}

.summary-details {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(147, 102, 57, 0.2);
}

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

.detail-label {
  color: #777;
  font-weight: 600;
}

.detail-value {
  font-weight: 800;
  color: var(--color-toffee);
}

#book-now-btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.2rem;
  border-radius: 12px;
  background: var(--gradient-green);
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(96, 165, 97, 0.3);
}

#book-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(96, 165, 97, 0.4);
}

.pricing-footer-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #999;
  text-align: center;
  font-style: italic;
  line-height: 1.4;
}

@media (max-width: 992px) {
  .pricing-form-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .pricing-form-left {
    padding-right: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .form-title {
    font-size: 2rem;
  }
  .price-value {
    font-size: 3rem;
  }
  .pricing-summary-card {
    padding: 1.5rem;
  }
}
