/* Andy Daniels Ltd - 2026 updates. Loaded after style.css. */

/* Page titles became H1s for SEO: keep the original H3 look */
h1.breadcrumbs-custom-title { letter-spacing: normal; font-weight: 700; color: #fff; }

/* Home page intro */
.intro-2026 { padding-top: 50px; padding-bottom: 10px; }
.intro-2026-title { letter-spacing: normal; font-weight: 700; color: #1e3063; max-width: 900px; margin: 0 auto; }
.intro-2026-text { max-width: 820px; margin: 20px auto 0; font-size: 17px; line-height: 1.7; }
.intro-2026-cta { margin-top: 25px; }
.intro-2026-cta .button { margin: 6px; }

/* Accessibility: skip link and visible keyboard focus */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #1e3063; color: #fff; padding: 12px 18px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #f5b400; outline-offset: 2px;
}

/* Images never overflow their boxes */
img { max-width: 100%; height: auto; }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wow { visibility: visible !important; }
}

/* Cookie consent banner (replaces old cookieconsent plugin) */
.ad-consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 99999;
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 400px; padding: 20px 22px;
  background: #fff; color: #4a4f63; border-radius: 10px;
  border-top: 4px solid #1e3063;
  box-shadow: 0 12px 40px rgba(30, 48, 99, .22);
  font-family: Roboto, Segoe UI, Arial, sans-serif;
  opacity: 0; transform: translateY(20px); transition: opacity .35s ease, transform .35s ease;
}
.ad-consent.is-visible { opacity: 1; transform: none; }
.ad-consent__icon { flex: 0 0 auto; color: #1e3063; margin-top: 2px; }
.ad-consent__title { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #1b1f33; letter-spacing: normal; }
.ad-consent__text { margin: 0; font-size: 14px; line-height: 1.55; letter-spacing: normal; }
.ad-consent__text a { color: #1e3063; text-decoration: underline; }
.ad-consent__buttons { display: flex; gap: 10px; margin-top: 14px; }
.ad-consent__btn {
  flex: 1; padding: 10px 16px; border: 2px solid #1e3063; border-radius: 5px;
  background: #1e3063; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
  letter-spacing: .02em; text-transform: none; transition: background .2s, color .2s;
}
.ad-consent__btn:hover { background: #142247; border-color: #142247; }
.ad-consent__btn--ghost { background: #fff; color: #1e3063; }
.ad-consent__btn--ghost:hover { background: #f1f3f8; color: #1e3063; border-color: #1e3063; }
@media (max-width: 575px) {
  .ad-consent { left: 10px; right: 10px; bottom: 10px; max-width: none; }
}

/* Modern headings: sentence/title case as typed, tighter spacing (was ALL CAPS, wide spacing) */
h1, h2, h3, h4, .heading-1, .heading-2, .heading-3, .heading-4 {
  text-transform: none;
  letter-spacing: -0.005em;
  font-weight: 700;
}
h5, h6, .heading-5, .heading-6 { letter-spacing: .04em; }
.breadcrumbs-custom-title, .swiper-title { letter-spacing: -0.005em; }

/* Sticky Call / Quote bar on phones */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
    background: #1e3063; box-shadow: 0 -4px 16px rgba(0,0,0,.18);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 8px; color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .02em; text-decoration: none;
  }
  .mobile-cta a + a { background: #f5b400; color: #1b1f33; }
  .mobile-cta a:hover, .mobile-cta a:focus { color: inherit; opacity: .92; }
  .mobile-cta svg { width: 18px; height: 18px; fill: currentColor; }
  body { padding-bottom: 56px; }
  .ad-consent { bottom: 66px; }
}

/* Home page reviews */
.reviews-2026 { background: #f6f7fb; }
.reviews-2026-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; text-align: left; }
.reviews-2026-head h2 { color: #1e3063; }
.reviews-2026-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 10px 16px; border-radius: 30px; box-shadow: 0 2px 10px rgba(30,48,99,.08); color: #1b1f33; font-size: 15px; }
.reviews-2026-stars { color: #f5b400; letter-spacing: 2px; font-size: 18px; }
.reviews-2026-card { height: 100%; margin: 0; background: #fff; border-radius: 10px; padding: 28px 26px; box-shadow: 0 4px 18px rgba(30,48,99,.07); border-top: 4px solid #1e3063; display: flex; flex-direction: column; text-align: left; }
.reviews-2026-quote { width: 32px; height: 32px; fill: #f5b400; margin-bottom: 12px; }
.reviews-2026-card blockquote { margin: 0 0 18px; font-size: 16px; line-height: 1.65; color: #1b1f33; flex: 1; letter-spacing: normal; }
.reviews-2026-card figcaption { font-size: 14px; color: #8a8fa3; letter-spacing: normal; }
.reviews-2026-card figcaption a { color: #1e3063; font-weight: 600; }
.reviews-2026-cta { margin-top: 34px; text-align: center; }
.reviews-2026-cta .button { margin: 6px; }

/* Google rating strip (replaces the review cards) */
.reviews-2026 { padding-top: 45px; padding-bottom: 45px; }
.reviews-2026-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; background: #fff; border-radius: 10px; padding: 26px 32px; box-shadow: 0 4px 18px rgba(30,48,99,.08); border-left: 5px solid #f5b400; text-align: left; }
.reviews-2026-rating { display: flex; align-items: center; gap: 14px; }
.reviews-2026-rating p { margin: 0; color: #1b1f33; font-size: 17px; letter-spacing: normal; }
.reviews-2026-stars { font-size: 26px; letter-spacing: 3px; }
.reviews-2026-text { margin: 0; flex: 1 1 260px; color: #4a4f63; letter-spacing: normal; }
.reviews-2026-strip .button { margin: 0; }
@media (max-width: 767px) { .reviews-2026-strip { flex-direction: column; text-align: center; } .reviews-2026-rating { flex-direction: column; gap: 6px; } }

/* Lighthouse fixes */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.intro-2026-text, .box-icon-modern-text { color: #4a4f63; }
.owl-dot { min-width: 24px; min-height: 24px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; cursor: pointer; text-align: left; }
.link-button:hover { color: #fff; text-decoration: underline; }

.footer-creative p, .footer-creative .rights, .footer-creative .rights span, .footer-creative .link-button, .footer-creative-contacts-title { color: #c9d1ea; }
.form-label, .select2-chosen { color: #4a4f63; }

/* Rating strip: its own light grey block between the intro and Our Services */
.intro-2026 { padding-bottom: 60px; }
.reviews-2026 { background: #f1f3f8; padding-top: 60px; padding-bottom: 60px; }
.reviews-2026 .reviews-2026-strip { background: #fff; box-shadow: 0 6px 24px rgba(30,48,99,.08); padding: 30px 36px; }
.reviews-2026 + .section { padding-top: 70px; }
@media (max-width: 767px) {
  .intro-2026 { padding-bottom: 40px; }
  .reviews-2026 { padding-top: 40px; padding-bottom: 40px; }
  .reviews-2026 .reviews-2026-strip { padding: 26px 22px; }
  .reviews-2026 + .section { padding-top: 50px; }
}

/* Recent Projects carousel: keep titles on one line */
.services-creative-caption { padding-left: 24px !important; padding-right: 24px !important; }
.services-creative-title { font-size: 21px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1200px) { .services-creative-title { font-size: 22px; } }
@media (min-width: 576px) and (max-width: 767px) { .services-creative-caption { padding-left: 16px !important; padding-right: 16px !important; } .services-creative-title { font-size: 17px; } }
.services-creative-caption { text-align: center; }
.services-creative-caption .button-wrap { display: flex; justify-content: center; }

/* Home intro title: full width, one line on desktop */
.intro-2026-title { max-width: none; }
@media (min-width: 992px) { .intro-2026-title { font-size: 32px; } }
@media (min-width: 1200px) { .intro-2026-title { font-size: 38px; } }
.intro-2026-text { max-width: 900px; }
@media (max-width: 767px) { .intro-2026-title { font-size: 25px; line-height: 1.25; } }

/* Contact form privacy note */
.form-note-2026 { margin-top: 14px; font-size: 13px; line-height: 1.6; color: #4a4f63; max-width: 560px; }
.form-note-2026 a { color: #1e3063; text-decoration: underline; }

/* Home intro: "Call" button gets a visible outline (light grey -> navy on hover) */
.intro-2026-cta .button-default-outline,
.intro-2026-cta .button-default-outline:focus { background: #fff; color: #1e3063; border: 2px solid #d5d9e3; box-shadow: none; }
.intro-2026-cta .button-default-outline:hover,
.intro-2026-cta .button-default-outline:active { background: #1e3063; color: #fff; border-color: #1e3063; }
.intro-2026-cta .button-default-outline.button-winona::before,
.intro-2026-cta .button-default-outline.button-winona::after { color: inherit; }
.intro-2026-cta .button-primary { border: 2px solid #1e3063; }
@media (max-width: 575px) { .intro-2026-cta .button { display: block; width: 100%; max-width: 320px; margin: 8px auto; } }

/* captcha placeholder: keeps space for the tickbox so nothing jumps when it loads */
.form-wrap-recaptcha { min-height: 78px; }

/* Contact form: "message sent" panel */
.form-sent-2026 { text-align: center; background: #f6f7fb; border: 1px solid #e3e6ef; border-top: 4px solid #8fa3d6; padding: 44px 30px 40px; outline: none; }
.form-sent-2026__tick { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #1e3063; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; line-height: 1; }
.form-sent-2026__title { font-size: 28px; line-height: 1.3; margin: 0 0 12px; color: #1b1f33; text-transform: none; letter-spacing: 0; }
.form-sent-2026__text { max-width: 480px; margin: 0 auto 8px; color: #4a4f63; }
.form-sent-2026__actions { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.form-sent-2026__actions .button { margin: 0; }
.form-sent-2026__actions .button .mdi { margin-right: 6px; }
.form-sent-2026__again { background: none; border: 0; padding: 4px; font: inherit; color: #1e3063; text-decoration: underline; cursor: pointer; }
.form-sent-2026__again:hover { color: #000; }
