/* Bren polish layer (2026-10): small, brand-preserving refinements loaded after style.css and other.css.
   Remove the <link> to this file to go back to the previous look. Colours come from the existing navy; gold matches the logo swoosh. */
:root {
  --bren-navy: #12336a;
  --bren-navy-dark: #0b2249;
  --bren-gold: #f2b705;
  --bren-ink: #2f3a4a;
  --bren-line: #d5dbe5;
  --bren-ease: cubic-bezier(.2, .7, .2, 1);
}

/* readable text: a touch darker than #505050/#666, same size */
body { color: #4a5565; }
.ftco-section p, .ftco-footer p { color: var(--bren-ink); }

/* headings: tighter line height, fluid size, no oversized gaps */
.heading-section h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.2; }
.heading-section .subheading { color: var(--bren-navy); }
.ftco-section { padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }

/* links and buttons */
a { transition: color .2s var(--bren-ease); }
.submit-btn, .submit-btn-popup, .custom-btn, .duble-btn {
  background: var(--bren-navy) !important; color: #fff !important; border: 2px solid var(--bren-navy) !important;
  border-radius: 4px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; min-height: 44px;
  transition: background-color .2s var(--bren-ease), color .2s var(--bren-ease), transform .2s var(--bren-ease), box-shadow .2s var(--bren-ease);
  cursor: pointer;
}
.submit-btn:hover, .submit-btn-popup:hover, .custom-btn:hover, .duble-btn:hover {
  background: #fff !important; color: var(--bren-navy) !important; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(18, 51, 106, .18);
}
.submit-btn:disabled, .submit-btn-popup:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* keyboard focus is always visible */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--bren-gold); outline-offset: 2px; border-radius: 2px;
}

/* form fields: comfortable touch size, clear border and focus (text fields only; checkboxes keep their own look) */
.footer-form input:not([type=checkbox]):not([type=radio]), .popup-form input:not([type=checkbox]):not([type=radio]),
.contact-form input:not([type=checkbox]):not([type=radio]), .contact-form select, .footer-form3 input, .custom-form-control {
  min-height: 44px; border: 1px solid var(--bren-line); border-radius: 4px; background: #fff; color: #1d2735;
  transition: border-color .2s var(--bren-ease), box-shadow .2s var(--bren-ease);
}
.footer-form input:not([type=checkbox]):focus, .popup-form input:not([type=checkbox]):focus, .contact-form input:not([type=checkbox]):focus,
.contact-form select:focus, .custom-form-control:focus {
  border-color: var(--bren-navy); box-shadow: 0 0 0 3px rgba(18, 51, 106, .15); outline: none;
}
/* consent checkbox: box and text on one line, text readable */
.form-check { display: flex; align-items: flex-start; gap: 10px; padding-left: 0; }
.form-check-input[type=checkbox] { position: static; flex: 0 0 20px; width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; accent-color: var(--bren-navy); cursor: pointer; }
.form-check-label { font-size: 14px; line-height: 1.5; color: var(--bren-ink); cursor: pointer; }
.form-warning { border-color: #c62828 !important; box-shadow: 0 0 0 3px rgba(198, 40, 40, .12) !important; }

/* cards and images: gentle depth and lift on hover (no layout change) */
.testimony-wrap, .featured-image-box, .block-18, .portfolio-wrap { transition: box-shadow .25s var(--bren-ease), transform .25s var(--bren-ease); }
.testimony-wrap:hover { box-shadow: 0 10px 28px rgba(18, 51, 106, .12); transform: translateY(-2px); }
.img-fluid, .gallery a img, .justified-gallery img { border-radius: 2px; }

/* navigation: soft shadow once the bar turns solid, and an Enquire button */
.ftco_navbar.scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, .12); }
.navbar .nav-link { transition: color .2s var(--bren-ease), opacity .2s var(--bren-ease); }
.navbar .nav-link:hover { opacity: .8; }
.navbar .nav-cta > a.nav-link {
  border: 1.5px solid var(--bren-gold); border-radius: 4px; padding: 5px 14px !important; margin-left: 6px; color: #fff;
  background: transparent; font-weight: 500; font-size: 13px; line-height: 1.4; letter-spacing: .08em;
  transition: background-color .2s var(--bren-ease), color .2s var(--bren-ease);
}
.navbar .nav-cta > a.nav-link:hover { background: var(--bren-gold); color: var(--bren-navy-dark); opacity: 1; }
.scrolled .navbar-nav .nav-cta > a.nav-link, .ftco_navbar.scrolled .nav-cta > a.nav-link { color: var(--bren-navy); }
.scrolled .navbar-nav .nav-cta > a.nav-link:hover { color: var(--bren-navy-dark); }
@media (max-width: 991.98px) {
  .navbar .nav-link { min-height: 44px; display: flex; align-items: center; }
  .navbar .nav-cta > a.nav-link { margin: 8px 0 0; display: inline-flex; }
}

/* footer links: clear hover */
.ftco-footer a { transition: color .2s var(--bren-ease); }
.ftco-footer ul li a:hover { color: var(--bren-navy); text-decoration: underline; text-underline-offset: 3px; }

/* respect reduced 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; }
}

/* logo a little smaller on desktop; room to the right of the Enquire button */
@media (min-width: 992px) {
  .navbar-brand img.logo-image { width: 108px; height: auto; }
  .navbar .nav-cta { margin-right: 16px; }
}
