/* services.html styles */

/* Dark theme — near-black background, light text */
body {
  background-color: var(--background-color);
  color: var(--text-color);
}

/* The fixed .main backdrop (white in style.css) must match the dark page */
.main {
  background: var(--background-color);
}

/* Top-left credit text — light on dark */
#page-header .btn-text {
  color: var(--clr-white);
}

.footer-rounded-div .rounded-div-wrap .rounded-div {
  background: var(--background-color);
}

/* Hero */
.services-hero {
  padding: 12vh 0 6vh;
  background: var(--background-color);
}

.services-hero-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.services-label {
  color: var(--text-muted-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
}

.services-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 450;
  color: var(--text-color);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.services-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted-color);
  margin: 0;
  line-height: 1.6;
  max-width: 540px;
}

/* Sections */
.services-section {
  padding: 6vh 0;
  border-bottom: 1px solid var(--border-color-alpha);
}

.services-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  color: var(--text-muted-color);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--text-color);
  margin: 0 0 2rem;
}

/* Included Grid */
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.included-item h4 {
  font-size: 0.95rem;
  font-weight: 450;
  color: var(--text-color);
  margin: 0 0 0.5rem;
}

.included-item p {
  color: var(--text-muted-color);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .included-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  border: 1px solid var(--border-color-alpha);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--clr-white);
}

.pricing-featured {
  border-color: var(--clr-white);
  background: var(--container-bg-alpha);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-white);
  color: var(--clr-dark);
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color-alpha);
}

.pricing-name {
  font-size: 1.125rem;
  font-weight: 450;
  color: var(--text-color);
  margin: 0 0 0.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.pricing-currency {
  font-size: 1rem;
  color: var(--text-muted-color);
}

.pricing-amount {
  font-size: 2rem;
  font-weight: 450;
  color: var(--text-color);
}

.pricing-desc {
  color: var(--text-muted-color);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pricing-features li {
  color: var(--text-muted-color);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color-alpha);
  line-height: 1.5;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "+ ";
  color: var(--text-muted-color);
}

.pricing-footer {
  text-align: center;
}

.pricing-timeline {
  color: var(--text-muted-color);
  font-size: 0.8rem;
  margin: 0 0 1rem;
}

.pricing-btn {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border-color-alpha);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 0.9rem;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pricing-btn:hover {
  background-color: var(--hover-bg-alpha);
  border-color: var(--clr-white);
}

.pricing-featured .pricing-btn {
  background: var(--clr-white);
  color: var(--clr-dark);
  border-color: var(--clr-dark);
}

.pricing-featured .pricing-btn:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* FAQ */
.faq-list {
  max-width: 640px;
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color-alpha);
}

.faq-item:first-child {
  padding-top: 0;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 450;
  color: var(--text-color);
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  color: var(--clr-white);
}

.faq-question:focus-visible {
  outline: 2px solid var(--clr-white);
  outline-offset: 4px;
  border-radius: 2px;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted-color);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  color: var(--text-muted-color);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.faq-answer:not([hidden]) {
  padding-top: 0.75rem;
}

/* Newsletter */
.newsletter {
  border-bottom: none;
  padding: 12vh 0;
}

.newsletter-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
}

.newsletter-copy {
  max-width: 320px;
}

.newsletter-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem); /* 32-44px */
  font-weight: 700;
  color: var(--clr-white);
  margin: 0 0 8px;
}

.newsletter-sub {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted-color);
  margin: 0;
}

.newsletter-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.newsletter-field {
  position: relative;
  display: block;
  width: clamp(200px, 20vw, 250px);
}

.newsletter-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted-color);
  pointer-events: none;
}

.newsletter-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--clr-border-light); /* rgba(255,255,255,0.2) */
  border-radius: 0;
  padding: 8px 4px 8px 26px;
  font-size: 0.9rem;
  color: var(--clr-white);
  transition: border-color var(--animation-fast);
}

.newsletter-input::placeholder {
  color: var(--text-muted-color);
  opacity: 1;
}

.newsletter-input:focus {
  outline: none;
  border-bottom-color: var(--clr-white);
}

.newsletter-btn {
  background: var(--clr-white);
  color: var(--clr-dark);
  border: none;
  border-radius: 11px;
  padding: 12px 24px;
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--animation-fast);
}

.newsletter-btn:hover {
  background: var(--clr-lightgray);
}

.newsletter-btn:focus-visible {
  outline: 2px solid var(--clr-white);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .newsletter-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .newsletter-field {
    width: 100%;
  }

  .newsletter-btn {
    width: 100%;
  }
}
