/* Shared fixes from the September/October responsive QA report. */
.thank-you-page .confirmation-result { background: linear-gradient(135deg, #f8fbff, #eef6ff 55%, #fff6f8); }
.thank-you-page .confirmation-mark { color: #fff; background: linear-gradient(135deg, #168cf5, #275de6); }
.thank-you-page .confirmation-card p a { color: #147cf2; }
.blog-page .blog-hero { padding: 0; }
.blog-page .blog-hero > .container { width: 100%; max-width: none; padding-inline: 0; }
.blog-page .blog-hero-inner { border-radius: 0; }

/* Keep article navigation crisp against its dark hero background. */
.blog-detail-page .tf-header.header2 .header-inner,
.blog-detail-page .tf-header .header-inner {
  background: #fff !important;
  border: 1px solid #e4eaf3;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}
.blog-detail-page .tf-header .item-link { color: #243044; }
.blog-detail-page .tf-header .item-link.active,
.blog-detail-page .tf-header .item-link:hover,
.blog-detail-page .tf-header .item-link:focus-visible { color: #147cf2; }
.blog-detail-page .tf-header .tf-btn {
  color: #fff;
  background: linear-gradient(100deg, #168cf5, #275de6) !important;
  box-shadow: 0 6px 16px rgba(39, 93, 230, .22) !important;
}
.blog-detail-page .tf-header .tf-btn:hover { background: #1955d5 !important; }

.pricing-page .pricing-hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 800px;
  gap: 24px;
  margin: 32px auto 0;
}
.pricing-page .pricing-hero-features .service-hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.pricing-page .pricing-hero-features .feature-icon { flex-shrink: 0; margin: 0 auto 12px; }
.pricing-page .pricing-hero-features .feature-label { min-height: 2.9em; font-size: 14px; line-height: 1.45; text-align: center; }
.pricing-page .pricing-hero-features .feature-label br { display: block !important; }

.booking-section > .container { width: 100%; }
.booking-shell { width: 100%; max-width: 100%; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); }
.booking-picker, .booking-intro { max-width: 100%; }
.meeting-types, .booking-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.booking-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 480px) { .booking-form-grid { grid-template-columns: minmax(0, 1fr); } .booking-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.booking-intro, .booking-picker, .meeting-types > *, .booking-slots > * { min-width: 0; overflow-wrap: anywhere; }
.booking-calendar, .calendar-weekdays { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.booking-calendar button { min-width: 0; padding-inline: 0; }

.service-content-list { align-items: stretch; }
.service-content-item { display: flex; flex-direction: column; align-self: stretch; width: 100%; height: 100%; min-width: 0; }
.service-content-item-body { min-width: 0; overflow-wrap: anywhere; }
.contact-page-section .row:has(.box-contact-item) > div { display: flex; }
.contact-page-section .box-contact-item { width: 100%; height: 100%; }
.contact-information-cards { align-items: stretch; }
.contact-information-cards .box-contact-item { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.contact-information-cards .box-contact-item .icon { flex-shrink: 0; }
.contact-information-cards .box-contact-item .text { overflow-wrap: anywhere; }
.about-page .section-features .row { align-items: stretch; }
.about-page .section-features .row > [class*="col-"] { display: flex; }
.about-page .section-features .features-item { width: 100%; height: 100%; }

.js-contact-enquiry select { color-scheme: light only; color: #171717; background-color: #fff; }
.js-contact-enquiry select option { color: #171717 !important; background-color: #fff !important; }
.js-contact-enquiry select option:checked { color: #fff !important; background-color: #195fc2 !important; }
.booking-field select { color-scheme: light only; }
.booking-field select option { color: #191824; background-color: #fff; }
.booking-field select option:checked { color: #fff; background-color: #326dcc; }
.js-contact-enquiry [aria-invalid="true"], .pricing-enquiry-form [aria-invalid="true"], #booking-form [aria-invalid="true"] { border-color: #b42318; outline: 2px solid #b42318; outline-offset: 2px; }
.form-field-error { display: block; margin-top: 8px; color: #b42318; background: #fff4f2; padding: 6px 10px; border-radius: 6px; font-size: 14px; line-height: 1.4; }
.form-field-error[hidden] { display: none; }
.query-modal .query-form input { height: 48px; min-height: 48px; padding: 12px 14px; border: 1px solid #d4d4cf; border-radius: 12px; font-size: 16px; line-height: 1.4; }
@media (max-width: 991px) {
  .query-modal { padding: 12px; align-items: center; }
  .query-modal .query-modal-dialog { max-height: calc(100dvh - 24px); border-radius: 20px; }
  .query-modal .query-modal-panel { padding: 24px 20px; }
}
.js-contact-enquiry[aria-busy="true"] [type="submit"], .pricing-enquiry-form[aria-busy="true"] [type="submit"] { cursor: wait; opacity: .85; }
.js-contact-enquiry[aria-busy="true"] [type="submit"]::before, .pricing-enquiry-form[aria-busy="true"] [type="submit"]::before { content: ""; display: inline-block; width: 18px; height: 18px; flex-shrink: 0; margin-right: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: enquiry-spin .8s linear infinite; }
.contact-form-status.is-pending, .pricing-form-status.is-pending { display: block; color: #174581; background: #edf4ff; }
@keyframes enquiry-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .js-contact-enquiry[aria-busy="true"] [type="submit"]::before, .pricing-enquiry-form[aria-busy="true"] [type="submit"]::before { animation: none; } }
.pricing-addons .heading-section .heading-title { line-height: 1.1; margin-bottom: 0; }
.pricing-addons .heading-section .heading-title br, .contact-hero-copy br { display: block; }
.pricing-addons .row:first-child { margin-bottom: 48px; }
.pricing-addons .pricing-addons-header { row-gap: 24px; }
.pricing-addons .pricing-addons-header > div { min-width: 0; }
.pricing-addons .pricing-addons-header .heading-title { font-size: clamp(32px, 4.3vw, 64px); overflow-wrap: anywhere; }
.pricing-addons .pricing-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .pricing-addons .pricing-project-grid { grid-template-columns: minmax(0, 1fr); } }

/* Artwork contains decorative text/cards. Soften it behind live content on
   smaller screens to keep the real headings, labels and buttons readable. */
@media (max-width: 1199px) {
  .contact-hero-page .contact-concept-hero { height: auto; min-height: 0; }
  .contact-hero-page .contact-concept-hero .hero-image { background: linear-gradient(145deg, #f8fbff, #eaf4ff 65%, #f6f0ff); }
  .contact-hero-page .contact-concept-hero .hero-image img { visibility: hidden; }
  .contact-hero-page .contact-concept-hero .contact-hero-features { width: 100%; background: #f7fbff; gap: 24px 16px; padding: 24px; }
  .contact-hero-page .contact-concept-hero .contact-hero-feature { min-width: 0; }
  .contact-hero-page .contact-concept-hero .contact-hero-feature strong { line-height: 1.45; }
  .web-development-hero-page .section-hero .content-wrap > .service-hero-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100% !important; max-width: 560px !important; gap: 24px; margin-inline: auto; padding: 24px; border: 1px solid #fff; border-radius: 20px; background: #f7fbff; box-shadow: 0 12px 30px rgba(35, 56, 88, .08); }
  .web-development-hero-page .service-hero-features .service-hero-feature { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-width: 0 !important; padding: 0; border: 0; }
  .web-development-hero-page .service-hero-features .service-hero-feature::before { display: none; }
  .web-development-hero-page .service-hero-features .feature-icon { flex-shrink: 0; margin: 0 auto 10px; }
  .web-development-hero-page .service-hero-features .feature-label { color: #172b43; font-size: 15px; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
  .web-development-hero-page .service-hero-features .feature-label br { display: block !important; }
  .contact-hero-page .contact-concept-hero .hero-image::after { background: rgba(244, 250, 255, .92); backdrop-filter: blur(4px); }
  .contact-hero-page .contact-concept-hero .content-wrap { max-width: 720px; margin-inline: auto; text-align: center; }
  .contact-hero-features { margin-inline: auto; }
  .contact-hero-feature strong br { display: block; }
  .pricing-addons .row:first-child { row-gap: 24px; align-items: flex-start !important; }
  .pricing-addons .row:first-child > div { width: 100%; }
  .pricing-addons .pricing-project-intro { margin-left: 0; max-width: 650px; }
  .pricing-addons .row.pricing-addons-header { flex-direction: column; align-items: stretch !important; row-gap: 20px; }
  .pricing-addons .pricing-addons-header .pricing-project-intro { width: 100%; margin: 0; text-align: left; }
  .pricing-addons .row:first-child { margin-bottom: 40px; }
  .booking-shell { grid-template-columns: minmax(0, 1fr); }
  .booking-intro { padding: 30px; }
  .booking-intro img { margin-bottom: 25px; }
  .booking-intro h2 { font-size: 32px; }
  .booking-picker { padding: 25px; }
  .blog-featured { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .blog-featured-image { min-width: 0; height: auto; }
  .blog-featured-image img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; object-position: center; }
  .blog-featured-copy { padding: 32px; }
  .blog-featured:hover .blog-featured-image img { transform: none; }
}

@media (max-width: 991px) {
  body.seo-concept-hero-page .section-hero .content-wrap > .service-hero-features,
  body.digital-marketing-hero-page .section-hero .content-wrap > .service-hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 24px 16px; margin: 28px auto 0; background: #f7fbff; }
  body.seo-concept-hero-page .service-hero-features .feature-label,
  body.digital-marketing-hero-page .service-hero-features .feature-label { display: block; width: 100%; color: #172b43; font-size: 14px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; text-align: center; }
  body.seo-concept-hero-page .service-hero-features .feature-icon,
  body.digital-marketing-hero-page .service-hero-features .feature-icon { width: 48px; height: 48px; margin: 0 auto 12px; }
  body .section-hero .content-wrap > .service-hero-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100% !important; max-width: 520px !important; gap: 24px 20px; }
  body .section-hero .content-wrap > .service-hero-features { padding: 20px; border: 1px solid rgba(255, 255, 255, .95); border-radius: 20px; background: rgba(247, 251, 255, .94); box-shadow: 0 12px 30px rgba(35, 56, 88, .06); }
  body .service-hero-features .service-hero-feature { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-width: 0 !important; padding: 0; border: 0; }
  body .service-hero-features .service-hero-feature::before { display: none; }
  body .service-hero-features .feature-icon { flex-shrink: 0; margin: 0 auto 10px; }
  body .service-hero-features .feature-label { font-size: 14px; line-height: 1.4; }
  body .service-hero-features .feature-label br { display: block !important; }
  .pricing-hero-page .section-hero .content-wrap > .bot-btns { margin-bottom: 28px; }
  .home-page .section-hero .hero-image::after { background: rgba(247, 250, 255, .94); }
  .home-page .section-hero .content-wrap .text { margin-bottom: 28px; }
  .home-page .section-hero .content-wrap .bot-btns { margin-top: 0; }
  .contact-hero-page .contact-concept-hero .content-wrap { width: 100%; padding-inline: 24px; }
}

@media (max-width: 767px) {
  .home-page .section-hero { height: auto; min-height: 0; }
  .home-page .section-hero .hero-image { background: linear-gradient(145deg, #f8fbff, #eef4ff); }
  .home-page .section-hero .hero-image img { visibility: hidden; }
  .home-page .section-hero .content-wrap .bot-btns { display: flex; flex-direction: column; align-items: stretch; gap: 18px; width: 100%; max-width: 420px; margin: 0 auto; }
  .home-page .section-hero .content-wrap .bot-btns > a { width: 100%; min-width: 0; min-height: 56px; padding: 16px 20px; white-space: normal; text-align: center; }
  .home-page .section-hero .content-wrap .text { margin-bottom: 32px; }
}

@media (max-width: 575px) {
  .home-page .section-hero .hero-image { background: linear-gradient(145deg, #f8fbff, #eef4ff); }
  .home-page .section-hero .hero-image img { visibility: hidden; }
  body .section-hero .content-wrap > .service-hero-features { gap: 24px 16px; }
  .contact-hero-feature::after { display: none; }
  .booking-picker { padding: 20px; }
  .blog-featured-copy { padding: 26px 22px; }
}

@media (max-width: 991px) {
  body.pricing-page .section-hero .content-wrap > .pricing-hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin: 32px auto 0; padding: 24px; }
  body.pricing-page .pricing-hero-features .service-hero-feature { gap: 0; justify-content: flex-start; }
  body.pricing-page .pricing-hero-features .feature-icon { width: 52px; height: 52px; margin: 0 auto 12px; }
  body.pricing-page .pricing-hero-features .feature-label { min-height: 2.9em; font-size: 14px; line-height: 1.45; }
}
