/* ============================================================
   SinglePoint Calls — Page-Specific Styles
   ============================================================ */

/* --- Services Page --- */
.service-card {
  display: flex;
  flex-direction: column;
}
.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.package-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.package-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--lime);
}
.package-item h4 {
  font-size: 17px;
  margin-bottom: 6px;
}
.package-item p {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .packages-grid { grid-template-columns: 1fr; }
  .service-card { text-align: center; align-items: center; }
  .service-card .btn { align-self: center; }
}

/* --- Telephone Answering Page --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 40px 32px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card h4 {
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-muted);
}

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

/* --- Missed Calls Cost --- */
.cost-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}
.cost-card {
  text-align: center;
  padding: 48px 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
}
.cost-card .cost-amount {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 12px;
  line-height: 1;
}
.cost-card p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
}

@media (max-width: 768px) {
  .cost-cards { grid-template-columns: 1fr; }
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  gap: 16px;
}
.faq-question:hover { color: var(--navy); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-smooth);
  color: var(--text-muted);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--lime);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.3s;
}
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-answer-inner ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 12px;
}
.faq-answer-inner ul li {
  margin-bottom: 6px;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  margin-bottom: 20px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(6,147,227,0.1);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  min-height: 48px;
  padding: 12px 0;
}
.contact-form .checkbox-group input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  margin: 0;
  cursor: pointer;
}
.contact-form .checkbox-group label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-details-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-detail svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--lime);
  margin-top: 2px;
}
.contact-detail h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.contact-detail p, .contact-detail a {
  font-size: 15px;
  color: var(--text-muted);
}
.contact-detail a:hover { color: var(--navy); }

.contact-map {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
  height: 200px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --- About Page: Our Story --- */
.story-section {
  position: relative;
  overflow: hidden;
}
.story-bg {
  position: absolute;
  right: 0;
  top: -120px;
  bottom: 0;
  width: 45%;
  z-index: 0;
}
.story-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}
.story-section .container {
  position: relative;
  z-index: 1;
}
.story-content {
  max-width: 560px;
}
.story-content h2 {
  margin-bottom: 20px;
}
.story-content p {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .story-section {
    display: flex;
    flex-direction: column;
  }
  .story-bg {
    position: relative;
    width: 100%;
    height: 250px;
    top: auto;
    order: 2;
    margin-top: 32px;
    border-radius: var(--radius);
    overflow: hidden;
  }
  .story-bg img {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .story-section .container {
    order: 1;
  }
  .story-content {
    max-width: 100%;
  }
}

/* --- About Page --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--lime);
}
.timeline-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
}
.timeline-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.timeline-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.team-lead {
  display: flex;
  justify-content: center;
  margin-bottom: var(--gap);
}
.team-lead .team-card {
  max-width: 380px;
  width: 100%;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.team-card {
  text-align: center;
  padding: 40px 24px;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto 16px;
}
.team-avatar--img {
  background: none;
}
.team-avatar--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto 16px;
}
.team-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.team-card .team-role {
  font-size: 13px;
  color: var(--navy);
  background: var(--lime);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
}
.team-card p {
  font-size: 14px;
  color: var(--text-muted);
}

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

/* --- Community Page --- */
.community-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
}
.community-card + .community-card {
  margin-top: var(--gap);
}
.community-logo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--off-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.community-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.community-card h3 { margin-bottom: 4px; }
.community-card .community-tagline {
  font-size: 14px;
  color: var(--navy);
  background: var(--lime);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
}
.community-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.community-card .community-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.community-card .community-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .community-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .community-logo {
    width: 160px;
    margin: 0 auto;
  }
}

/* --- Careers Page --- */
.job-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
}
.job-card h3 { margin-bottom: 20px; }
.job-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
}
.job-detail svg {
  width: 20px;
  height: 20px;
  color: var(--lime);
  flex-shrink: 0;
}
.job-detail strong {
  color: var(--navy);
}

/* --- Free Trial Page --- */
.trial-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.trial-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}
.trial-feature svg {
  width: 22px;
  height: 22px;
  color: var(--lime);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trial-features { grid-template-columns: 1fr; }
}

/* --- Blog Page --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
  cursor: pointer;
}
a.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  aspect-ratio: 930/470;
  overflow: hidden;
  background: var(--off-white);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-smooth);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 20px 24px 24px;
}
.blog-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--lime);
  padding: 2px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 17px;
  line-height: 1.4;
  color: var(--navy);
}

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

/* --- Blog Post Article --- */
.blog-article {
  max-width: 760px;
  margin: 0 auto;
}
.blog-article-header {
  margin-bottom: 40px;
}
.blog-article-header h1 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--navy);
}
.blog-article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}
.blog-article-hero img {
  width: 100%;
  display: block;
}
.blog-article-body h2 {
  font-size: 24px;
  margin: 36px 0 16px;
  color: var(--navy);
}
.blog-article-body h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--navy);
}
.blog-article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
}
.blog-article-body ul,
.blog-article-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.blog-article-body li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 8px;
}
.blog-article-body strong {
  color: var(--navy);
}
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 32px;
}
.blog-back:hover {
  color: var(--lime);
}
.blog-back svg {
  width: 18px;
  height: 18px;
}

/* --- Blog CTA Navy Capsule --- */
.cta-capsule {
  display: block;
  background: var(--dark);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 17px;
  line-height: 1.5;
  max-width: 560px;
  margin: 0 auto 32px;
}
