/* Site-wide design layer: colours, type, buttons, navbar, footer. Loaded after Bootstrap and style.custom.css. */
:root {
  --brand: #00489A;
  --brand-dark: #00336e;
  --accent: #e63946;
  --accent-dark: #c92d39;
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #e3e8ef;
  --soft: #f4f7fb;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0, 40, 90, .07);
  --shadow-hover: 0 10px 26px rgba(0, 40, 90, .15);
}

html { -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; overflow-x: clip; }
p { font-family: inherit; }
img { max-width: 100%; }
a { color: var(--brand); }
a:hover { color: var(--accent); }

/* ---------- Buttons: one size scale, brand colours ---------- */
.btn { font-weight: 600; border-radius: 8px; padding: .55rem 1.1rem; font-size: 15px; line-height: 1.4; transition: background-color .15s, box-shadow .15s, transform .15s; }
.btn-sm { padding: .35rem .8rem; font-size: 13px; border-radius: 6px; }
.btn-lg { padding: .75rem 1.5rem; font-size: 17px; border-radius: 10px; }
.btn:focus { box-shadow: 0 0 0 3px rgba(0, 72, 154, .25); }
.btn-primary, .btn-blue, .btn-tsc-blue { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover, .btn-blue:hover, .btn-tsc-blue:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-danger, .btn-tsc { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-danger:hover, .btn-tsc:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); background: #fff; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--brand); border: 0; }
.btn-white:hover { background: #eef3fa; color: var(--brand-dark); }
.btn-whatsapp { background: #25d366; color: #fff; border: 0; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.btn i { margin-right: 4px; }

/* ---------- Section headings ---------- */
.sec { padding: 56px 0; }
.sec-soft { background: var(--soft); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { font-size: 28px; font-weight: 800; margin: 0; color: var(--ink); letter-spacing: -.3px; }
.sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.sec-head .sec-link { font-weight: 700; font-size: 15px; white-space: nowrap; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.footer { background: #0b1f3a !important; color: #c9d4e3; padding: 48px 16px 18px !important; }
.footer .footer-container { gap: 32px !important; }
.footer .footer-column h4 { font-size: 16px !important; font-weight: 700; color: #fff; border-bottom: 2px solid var(--accent) !important; padding-bottom: 4px; margin-top: 0 !important; }
.footer .footer-column h4 ~ h4 { margin-top: 22px !important; }
.footer .footer-column a, .footer .footer-column p, .footer .footer-column li { color: #c9d4e3 !important; font-size: 14px; }
.footer .footer-column a:hover { color: #fff !important; }
.footer .footer-column > i.fa-globe { display: none; }
.footer .social-icons a { background: rgba(255, 255, 255, .1) !important; color: #fff !important; }
.footer .social-icons a:hover { background: var(--accent) !important; }
.footer .footer-logo img { background: #fff; border-radius: 8px; padding: 6px; }
.footer .footer-bottom { border-top-color: rgba(255, 255, 255, .12) !important; color: #8fa0b8 !important; }
@media (max-width: 575px) {
  .footer .footer-column { min-width: 100% !important; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1050; background: #1d2733; color: #fff; border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, .3); font-size: 14px; max-width: 760px; margin: 0 auto; }
.cookie-banner a { color: #8fd3ff; }
.cookie-banner .cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner button { border: 0; border-radius: 6px; padding: 8px 16px; font-weight: 700; font-size: 14px; cursor: pointer; background: var(--accent); color: #fff; }
.cookie-banner button.decline { background: rgba(255, 255, 255, .14); }
@media (max-width: 575px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; bottom: 64px; }
  .cookie-banner .cookie-actions button { flex: 1; }
}


/* Captcha field (partials/captcha-field.php) */
.captcha-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.captcha-row img { border: 1px solid var(--line); border-radius: 8px; background: #f4f7fb; }
.captcha-row .form-control { flex: 1; min-width: 140px; max-width: 220px; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; }
.captcha-refresh { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 20px; line-height: 1; color: var(--brand); cursor: pointer; }
.captcha-refresh:hover { border-color: var(--brand); }

/* Rating badges (partials/ratings-badges.php) */
.ratings-strip { background: #fff; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ratings-row { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 12px; }
.rating-badge { display: grid; grid-template-columns: auto auto; grid-template-areas: "platform platform" "score stars" "count count" "listing listing"; column-gap: 8px; align-items: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); min-width: 200px; }
.rating-badge:hover { border-color: var(--brand); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.rating-platform { grid-area: platform; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.rating-score { grid-area: score; font-size: 26px; font-weight: 800; line-height: 1.1; }
.rating-stars { grid-area: stars; color: #f5a623; font-size: 15px; }
.rating-count { grid-area: count; font-size: 12.5px; color: var(--muted); }
.rating-listing { grid-area: listing; font-size: 12px; color: var(--muted); }
.rating-cta { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 16px; }
.rating-cta strong { font-size: 14px; }

/* Mobile number with country code (partials/phone-field.php) */
.phone-group .dial-select { flex: 0 0 132px; max-width: 132px; }
@media (max-width: 400px) { .phone-group .dial-select { flex-basis: 108px; max-width: 108px; } }
.messenger-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 6px; font-size: 13.5px; }
.messenger-choice > span { color: var(--muted); }
.messenger-choice label { display: inline-flex; align-items: center; gap: 5px; margin: 0; font-weight: 600; cursor: pointer; }
.messenger-choice .fa-whatsapp { color: #25d366; }
.messenger-choice .fa-comments { color: #00a1e0; }
.messenger-choice .fa-weixin { color: #07c160; }

/* ---------- Mobile friendliness: comfortable tap targets and readable forms on phones ---------- */
@media (max-width: 767px) {
  .btn-sm, .btn-group-sm > .btn { min-height: 40px; padding: .5rem .8rem; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
  .btn { min-height: 44px; }
  .form-control, .custom-select { min-height: 44px; font-size: 16px; } /* 16px stops iPhone zooming into fields */
  textarea.form-control { min-height: 88px; }
  .form-check-input { width: 18px; height: 18px; margin-top: .2rem; }
  .form-check-label { padding-left: 4px; }
  .jump-links .nav a, .crumbs a { display: inline-block; padding: 10px 8px; }
  .table td, .table th { padding: .55rem .5rem; }
  .compare-table .cmp-pick { width: 22px; height: 22px; }
  footer a, .site-footer a { display: inline-block; padding: 6px 0; }
  img, video, iframe { max-width: 100%; height: auto; }
  .table-responsive { -webkit-overflow-scrolling: touch; }
  h1 { word-wrap: break-word; }
}
