/* ===== Digital Marketing in Trivandrum Guide Page ===== */

.guide-head {
  max-width: 780px;
}

.guide-head .svc-text {
  max-width: 680px;
  margin-top: 16px;
}

/* ----- Platforms strip ----- */
.guide-platforms {
  background: #ffffff;
  border-bottom: 1px solid #e5eae7;
}

.guide-platforms__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.guide-platforms__group h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: #0a1220;
}

.guide-platforms__group p {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: #4b5852;
}

.guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-chips span {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f4f6f5;
  border: 1px solid #e0e7e3;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: #0a1220;
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease, color .25s ease;
}

@media (hover: hover) {
  .guide-chips span:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: var(--brand);
    color: var(--brand);
  }
}

/* ----- Shared hoverable card DNA ----- */
.guide-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(10, 18, 32, 0.04);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

.guide-card--soft {
  background: #f8faf9;
  border-color: #e2e8e4;
  box-shadow: none;
}

.guide-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

@media (hover: hover) {
  .guide-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: rgba(27, 140, 67, 0.35);
    box-shadow: 0 20px 44px -16px rgba(27, 140, 67, 0.24);
  }

  .guide-card:hover::before {
    transform: scaleX(1);
  }
}

.guide-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #0a1220;
}

.guide-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: #4b5852;
}

.guide-card__source {
  margin-top: 14px !important;
  font-size: 13px !important;
  color: #6b7872 !important;
}

.guide-card__link {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.guide-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.guide-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.guide-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

/* ----- Inline Callout Banner ----- */
.guide-callout {
  margin-top: 44px;
  padding: 34px 36px;
  border-radius: 16px;
  background: #ffffff;
  border-left: 4px solid var(--brand);
  box-shadow: 0 12px 32px rgba(10, 18, 32, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.guide-callout--tint {
  background: #e6ece8;
  box-shadow: none;
}

.guide-callout h3 {
  margin: 0;
  max-width: 620px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  color: #0a1220;
}

.guide-callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid #0a1220;
  color: #0a1220;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.guide-btn-dark:hover {
  background: #0a1220;
  color: #ffffff;
}

/* ----- Stats Row ----- */
.guide-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.guide-stat {
  background: #ffffff;
  border: 1px solid #dfe6e2;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}

.guide-stat__num {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--brand);
}

.guide-stat__label {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #4b5852;
}

/* ----- SEO / AEO / GEO Table ----- */
.guide-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #dce3df;
  background: #ffffff;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}

.guide-table th,
.guide-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #e6ece8;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  vertical-align: top;
}

.guide-table thead th {
  background: #f4f6f5;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 600;
  color: #0a1220;
}

.guide-table thead th:not(:first-child) {
  color: var(--brand);
}

.guide-table tbody td:first-child {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #0a1220;
  width: 18%;
}

.guide-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ----- Process Timeline Cards ----- */
.guide-step-time {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ----- About / Team / Office ----- */
.guide-team__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.guide-team__copy p {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: #3d4a44;
}

.guide-team__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-office-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #3d4a44;
}

.guide-office-list a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.guide-office-list a:hover {
  text-decoration: underline;
}

/* ----- Free Audit & Quote Form Section ----- */
.guide-audit {
  background: #ffffff;
}

.guide-audit__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.guide-offices {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-office-item {
  padding: 16px 20px;
  border-radius: 14px;
  background: #f8faf9;
  border: 1px solid #e2e8e4;
}

.guide-office-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 4px;
}

.guide-office-item p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: #3d4a44;
}

.guide-audit__form-card {
  background: #f8faf9;
  border: 1px solid #e2e8e4;
  border-radius: 16px;
  padding: 36px 32px;
}

.guide-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.guide-field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: #0a1220;
}

.guide-field input,
.guide-field select,
.guide-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cfd8d2;
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  color: #0a1220;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.guide-field input:focus,
.guide-field select:focus,
.guide-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 140, 67, 0.14);
}

.guide-form__status {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}

.guide-form__status.is-ok {
  padding: 16px 18px;
  border-radius: 12px;
  background: #eef7f1;
  border: 1px solid rgba(27, 140, 67, 0.35);
  color: #114b27;
  font-weight: 500;
}

.guide-form__status.is-err {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-weight: 500;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .guide-platforms__grid,
  .guide-team__grid,
  .guide-audit__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .guide-grid-3,
  .guide-grid-4,
  .guide-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .guide-grid-3,
  .guide-grid-2,
  .guide-grid-4,
  .guide-stats,
  .guide-form__row {
    grid-template-columns: 1fr;
  }

  .guide-callout,
  .guide-audit__form-card {
    padding: 26px 22px;
  }
}
