/**
 * Urban Capital — main stylesheet (v2.0)
 * Replaces css/style2018_wt.css (left in the theme for rollback, no longer loaded).
 * Loads after Bootstrap 4.0.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
    --uc-burgundy: #a9163d;
    --uc-burgundy-dark: #86102f;
    --uc-gold: #9a8b64;
    --uc-gold-dark: #7a6c45;   /* gold for small text on light backgrounds */
    --uc-gold-light: #d2c49c;  /* gold for text on dark backgrounds */
    --uc-tint: #f6f3ec;        /* warm off-white for alternate sections */
    --uc-ink: #1c1d21;
    --uc-text: #3a3b3f;
    --uc-muted: #66676c;
    --uc-line: #e6e2d8;
    --uc-white: #ffffff;

    --uc-radius: 10px;
    --uc-radius-sm: 8px;
    --uc-shadow: 0 1px 2px rgba(28, 29, 33, .05), 0 10px 30px rgba(28, 29, 33, .08);
    --uc-shadow-lg: 0 2px 4px rgba(28, 29, 33, .06), 0 18px 44px rgba(28, 29, 33, .14);

    --uc-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --uc-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

    --uc-header-h: 88px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
html {
    scroll-padding-top: calc(var(--uc-header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    font-family: var(--uc-sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--uc-text);
    background: var(--uc-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--uc-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--uc-ink);
    letter-spacing: -0.01em;
}
h5, h6 {
    font-family: var(--uc-sans);
    font-weight: 600;
    color: var(--uc-ink);
}
h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); }
h4 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }
strong, b { font-weight: 600; }

a {
    color: var(--uc-burgundy);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a:hover,
a:focus {
    color: var(--uc-burgundy-dark);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--uc-gold);
    outline-offset: 2px;
}

img, canvas, video, iframe {
    max-width: 100%;
}
img {
    height: auto;
}
iframe {
    border: 0;
}

::selection {
    background: rgba(169, 22, 61, .16);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: var(--uc-ink);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: var(--uc-radius-sm);
}
.skip-link:focus {
    top: 1rem;
    color: #fff;
}

/* Bootstrap 4.0 tops out at 1140px; give large screens a little more room. */
@media (min-width: 1400px) {
    .container { max-width: 1240px; }
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn,
.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--uc-sans);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    padding: .85rem 1.6rem;
    border: 2px solid transparent;
    border-radius: var(--uc-radius-sm);
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:focus,
.btn.focus {
    box-shadow: none;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn-lg {
    padding: 1rem 1.9rem;
    font-size: 1.0625rem;
    border-radius: var(--uc-radius-sm);
}

/* Primary: burgundy. .btn-blue was the old name for this button. */
.btn-primary,
.btn-blue,
.wpcf7 .wpcf7-submit,
.wpcf7 .wpcf7-submit.btn-success {
    background-color: var(--uc-burgundy);
    border-color: var(--uc-burgundy);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-blue:hover,
.btn-blue:focus,
.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus {
    background-color: var(--uc-burgundy-dark);
    border-color: var(--uc-burgundy-dark);
    color: #fff;
    box-shadow: none;
}

/* Secondary (gold). Uses the darker gold so white text stays readable. */
.btn-success,
.btn-secondary {
    background-color: var(--uc-gold-dark);
    border-color: var(--uc-gold-dark);
    color: #fff;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:not(:disabled):not(.disabled):active,
.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--uc-ink);
    border-color: var(--uc-ink);
    color: #fff;
    box-shadow: none;
}

.btn-outline-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
}
.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:not(:disabled):not(.disabled):active {
    background-color: #fff;
    border-color: #fff;
    color: var(--uc-ink);
    box-shadow: none;
}

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--uc-ink);
    color: var(--uc-ink);
}
.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background-color: var(--uc-ink);
    color: #fff;
}

.btn-grey {
    background-color: #6b6e72;
    border-color: #6b6e72;
    color: #fff;
}
.btn-grey:hover {
    background-color: var(--uc-ink);
    border-color: var(--uc-ink);
    color: #fff;
}

/* ==========================================================================
   4. Header + navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header::before {
    /* Brand bar: nods to the burgundy + gold blocks in the logo */
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--uc-burgundy) 0 22%, var(--uc-gold) 22% 100%);
}
.site-header.is-scrolled {
    border-bottom-color: var(--uc-line);
    box-shadow: 0 6px 24px rgba(28, 29, 33, .06);
}
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}
@media screen and (max-width: 600px) {
    .admin-bar .site-header { top: 0; }
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--uc-header-h);
}

.logo,
.custom-logo-link {
    display: inline-block;
    flex-shrink: 0;
    line-height: 0;
}
.logo img,
.custom-logo {
    width: auto;
    height: 60px;
    max-width: none;
    transition: height .25s ease;
}
.site-header.is-scrolled .logo img,
.site-header.is-scrolled .custom-logo {
    height: 52px;
}

/* Desktop menu */
ul.navigation {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.navigation li {
    position: relative;
    margin: 0;
    padding: 0;
}
ul.navigation > li > a {
    position: relative;
    display: block;
    padding: .6rem .9rem;
    font-size: .975rem;
    font-weight: 500;
    color: var(--uc-ink);
    border-radius: 6px;
}
ul.navigation > li > a::after {
    content: "";
    position: absolute;
    left: .9rem;
    right: .9rem;
    bottom: .3rem;
    height: 2px;
    background: var(--uc-burgundy);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
}
ul.navigation > li > a:hover,
ul.navigation > li.current-menu-item > a,
ul.navigation > li.current-menu-ancestor > a,
ul.navigation > li.current_page_item > a {
    color: var(--uc-burgundy);
}
ul.navigation > li > a:hover::after,
ul.navigation > li.current-menu-item > a::after,
ul.navigation > li.current-menu-ancestor > a::after,
ul.navigation > li.current_page_item > a::after {
    transform: scaleX(1);
}

/* Add the CSS class "call2action" to a menu item (Appearance > Menus) to make it a button */
ul.navigation > li.call2action > a,
ul.navigation > li.call2actionblue > a {
    margin-left: .5rem;
    padding: .65rem 1.25rem;
    background: var(--uc-burgundy);
    color: #fff;
    border-radius: var(--uc-radius-sm);
}
ul.navigation > li.call2action > a::after,
ul.navigation > li.call2actionblue > a::after {
    display: none;
}
ul.navigation > li.call2action > a:hover,
ul.navigation > li.call2actionblue > a:hover {
    background: var(--uc-burgundy-dark);
    color: #fff;
}

/* Dropdowns (if sub-menus are ever added) */
ul.navigation .sub-menu {
    list-style: none;
    margin: 0;
    padding: .5rem;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--uc-radius);
    box-shadow: var(--uc-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
ul.navigation li:hover > .sub-menu,
ul.navigation li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
ul.navigation .sub-menu a {
    display: block;
    padding: .55rem .8rem;
    color: var(--uc-ink);
    border-radius: 6px;
    font-size: .95rem;
}
ul.navigation .sub-menu a:hover {
    background: var(--uc-tint);
    color: var(--uc-burgundy);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    align-items: center;
    gap: .6rem;
    padding: .55rem .9rem;
    font: 600 .9rem/1 var(--uc-sans);
    color: var(--uc-ink);
    background: #fff;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius-sm);
    cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s ease, background-color .25s ease;
}
.nav-toggle__bars {
    position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 991.98px) {
    :root { --uc-header-h: 76px; }

    .logo img,
    .custom-logo,
    .site-header.is-scrolled .logo img,
    .site-header.is-scrolled .custom-logo {
        height: 50px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--uc-line);
        box-shadow: 0 18px 30px rgba(28, 29, 33, .12);
        display: none;
    }
    .nav-open .site-nav {
        display: block;
    }

    ul.navigation {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 0 1rem;
    }
    ul.navigation > li > a {
        padding: .95rem 1.5rem;
        font-size: 1.05rem;
        border-radius: 0;
        border-left: 3px solid transparent;
    }
    ul.navigation > li > a::after {
        display: none;
    }
    ul.navigation > li.current-menu-item > a,
    ul.navigation > li.current_page_item > a {
        border-left-color: var(--uc-burgundy);
        background: var(--uc-tint);
    }
    ul.navigation > li.call2action > a,
    ul.navigation > li.call2actionblue > a {
        margin: .75rem 1.5rem 0;
        text-align: center;
    }
    ul.navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 .5rem 1.5rem;
    }
}

/* ==========================================================================
   5. Heroes
   ========================================================================== */
.hero,
.page-hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    background-color: var(--uc-ink);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(95deg, rgba(20, 21, 24, .9) 0%, rgba(20, 21, 24, .74) 42%, rgba(20, 21, 24, .28) 100%);
}

/* Home hero */
.hero--home {
    display: flex;
    align-items: center;
    min-height: min(86vh, 760px);
    padding: clamp(4rem, 9vw, 7rem) 0;
}
.hero--404 {
    display: flex;
    align-items: center;
    min-height: 70vh;
    padding: 5rem 0;
}
.hero__content {
    max-width: 660px;
}
.hero__eyebrow,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    margin: 0 0 1.1rem;
    font-family: var(--uc-sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hero__eyebrow {
    color: var(--uc-gold-light);
}
.hero__eyebrow::before,
.eyebrow::before {
    content: "";
    width: 2.5rem;
    height: 2px;
    background: currentColor;
}
.hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.4rem);
    line-height: 1.04;
    color: #fff;
}
.hero__tagline {
    margin: 0 0 1.5rem;
    font-family: var(--uc-serif);
    font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.3;
    color: var(--uc-gold-light);
}
.hero__lead {
    max-width: 58ch;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
}
.hero__lead p:last-child {
    margin-bottom: 0;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2.25rem;
}

/* Inner page hero */
.page-hero {
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(28%, 320px);
    height: 5px;
    background: var(--uc-burgundy);
}
.page-hero--plain {
    background-image: linear-gradient(120deg, #24252a 0%, #1c1d21 60%, #2a241a 100%);
}
.page-hero__content {
    max-width: 760px;
    padding-left: clamp(1rem, 2.5vw, 1.75rem);
    border-left: 3px solid var(--uc-gold);
}
.page-hero__title {
    margin: 0 0 .6rem;
    font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem);
    line-height: 1.08;
    color: #fff;
}
.page-hero__sub {
    max-width: 52ch;
    font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, .86);
}
.page-hero__sub p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   6. Sections
   ========================================================================== */
.section {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.section--alt {
    background: var(--uc-tint);
}
.section-head {
    max-width: 760px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.eyebrow {
    color: var(--uc-burgundy);
}
.section-title {
    margin: 0 0 1rem;
}
.section-intro {
    margin: 0;
    font-size: 1.1rem;
    color: var(--uc-muted);
}

/* ==========================================================================
   7. Page content (Gutenberg output)
   ========================================================================== */
.entry-content > :first-child {
    margin-top: 0;
}
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5 {
    max-width: 75ch;
}
.entry-content--narrow {
    max-width: 760px;
}
.entry-content h2 { margin: 2.5rem 0 1rem; }
.entry-content h3 { margin: 2.25rem 0 .75rem; }
.entry-content h4 { margin: 2rem 0 .75rem; }
.entry-content h5,
.entry-content h6 { margin: 1.75rem 0 .5rem; font-size: 1.05rem; }

.entry-content a:not(.btn) {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(169, 22, 61, .35);
    text-underline-offset: 3px;
}
.entry-content a:not(.btn):hover {
    text-decoration-color: currentColor;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.3rem;
    margin: 0 0 1.25rem;
}
.entry-content li {
    padding: .2rem 0 .2rem .25rem;
}
.entry-content ul li::marker {
    color: var(--uc-gold);
}

.entry-content .wp-block-columns {
    gap: clamp(1.5rem, 4vw, 3.5rem);
    margin-bottom: 0;
}
.entry-content .wp-block-column > :first-child {
    margin-top: 0;
}

.entry-content figure {
    margin: 0 0 1.5rem;
}
.entry-content .wp-block-image img {
    border-radius: var(--uc-radius);
}

/* Separators: the editor forces a blue-grey colour with !important, so match it */
.entry-content hr,
.entry-content hr.wp-block-separator,
hr.custom-seperator {
    height: 1px;
    border: 0;
    margin: clamp(2.5rem, 5vw, 3.75rem) 0;
    background-color: var(--uc-line) !important;
    color: var(--uc-line) !important;
    opacity: 1;
}

.entry-meta {
    font-size: .9rem;
    color: var(--uc-muted);
}

/* Educational Resources iframe has a fixed 1100px width set in the editor */
.entry-content iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
}

/* Legacy content classes still used in page content */
.sub {
    font-family: var(--uc-serif);
    font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--uc-ink);
    padding: 0;
}
.thin {
    font-family: var(--uc-serif);
    font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem);
    font-weight: 500 !important;
    color: var(--uc-ink);
}
.big { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.2rem); font-family: var(--uc-serif); }
.bold { font-weight: 600; }
.targettext { font-size: 1rem; color: var(--uc-text); }
.img-curve { border-radius: var(--uc-radius); }
.bg-white { background-color: #fff; }
.bg-lightgrey { background-color: var(--uc-tint); }
.nomargin, .no-margin { margin: 0 !important; }

/* ==========================================================================
   8. Home: intro + form, service cards
   ========================================================================== */
.hp-copy {
    padding-right: clamp(0px, 3vw, 3rem);
    margin-bottom: 2.5rem;
}
.hp-copy .entry-content > h3:first-child {
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.form-card {
    background: #fff;
    border: 1px solid var(--uc-line);
    border-top: 4px solid var(--uc-burgundy);
    border-radius: var(--uc-radius);
    box-shadow: var(--uc-shadow);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form-card__title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem);
}
@media (min-width: 992px) {
    .form-card {
        position: sticky;
        top: calc(var(--uc-header-h) + 24px);
    }
}

.cards > [class*="col-"] {
    margin-bottom: 1.75rem;
}
.card-service {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: var(--uc-radius);
    box-shadow: var(--uc-shadow);
    color: var(--uc-text);
}
.card-service:hover,
.card-service:focus {
    color: var(--uc-text);
    transform: translateY(-4px);
    box-shadow: var(--uc-shadow-lg);
}
.card-service img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.card-service__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem 1.6rem 1.75rem;
    border-top: 3px solid var(--uc-gold);
}
.card-service__title {
    margin: 0 0 .6rem;
    font-size: 1.35rem;
}
.card-service p {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.65;
}
.card-service__more {
    margin-top: auto;
    font-weight: 600;
    font-size: .95rem;
    color: var(--uc-burgundy);
}
.card-service__more::after {
    content: "\2192";
    display: inline-block;
    margin-left: .4rem;
    transition: transform .2s ease;
}
.card-service:hover .card-service__more::after {
    transform: translateX(4px);
}

/* ==========================================================================
   9. Contact
   ========================================================================== */
.contact-details {
    margin-bottom: 2.5rem;
}
.contact-details .entry-content h3 {
    margin: 0 0 .35rem;
    font-family: var(--uc-sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--uc-gold-dark);
}
.contact-details .entry-content p {
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
    color: var(--uc-ink);
}

.map-embed {
    line-height: 0;
    background: var(--uc-tint);
}
.map-embed iframe {
    display: block;
    width: 100%;
    height: 440px;
    filter: grayscale(.35) contrast(1.02);
}

/* ==========================================================================
   10. Forms (Contact Form 7 + Bootstrap)
   ========================================================================== */
.wpcf7 .form-group {
    margin-bottom: 1rem;
}
.wpcf7 .row.form-group {
    margin-left: -.5rem;
    margin-right: -.5rem;
}
.wpcf7 .row.form-group > [class*="col-"] {
    padding-left: .5rem;
    padding-right: .5rem;
}
.wpcf7 form p {
    margin: 0;
}
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
}

.form-control,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    min-height: 50px;
    padding: .75rem 1rem;
    font-family: var(--uc-sans);
    font-size: 1rem;
    line-height: 1.4;
    color: var(--uc-ink);
    background-color: #fcfbf8;
    border: 1px solid #d8d3c6;
    border-radius: var(--uc-radius-sm);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-control::placeholder,
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #6b6c70;
    opacity: 1;
}
.form-control:focus,
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    background-color: #fff;
    border-color: var(--uc-burgundy);
    box-shadow: 0 0 0 3px rgba(169, 22, 61, .14);
    outline: none;
}
.wpcf7 select.form-control:not([size]):not([multiple]),
.wpcf7 select {
    height: 50px;
    padding-right: 2.75rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231c1d21' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 8px;
}
.wpcf7 textarea,
textarea.form-control {
    min-height: 140px;
    resize: vertical;
}
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    accent-color: var(--uc-burgundy);
    width: 1.1rem;
    height: 1.1rem;
    vertical-align: -2px;
    margin-right: .4rem;
}
.wpcf7 .wpcf7-submit {
    min-width: 180px;
    margin-top: .5rem;
}
@media (max-width: 575.98px) {
    .wpcf7 .wpcf7-submit { width: 100%; }
}
.wpcf7-spinner {
    vertical-align: middle;
}
.wpcf7-not-valid-tip {
    margin-top: .35rem;
    font-size: .85rem;
    color: var(--uc-burgundy);
}
.wpcf7 form .wpcf7-response-output {
    margin: 1.25rem 0 0;
    padding: .85rem 1rem;
    font-size: .95rem;
    border-width: 1px;
    border-radius: var(--uc-radius-sm);
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #4f8a5b;
    background: #f1f7f2;
    color: #2d5a36;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    border-color: var(--uc-burgundy);
    background: #fbf1f4;
    color: var(--uc-burgundy-dark);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
    position: relative;
    padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .74);
    background: var(--uc-ink);
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--uc-burgundy) 0 22%, var(--uc-gold) 22% 100%);
}
.site-footer a {
    color: rgba(255, 255, 255, .86);
}
.site-footer a:hover,
.site-footer a:focus {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(2rem, 5vw, 3rem);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 767.98px) {
    .site-footer__top {
        grid-template-columns: 1fr;
    }
}
.site-footer__logo {
    display: block;
    width: 150px;
    height: auto;
    margin-bottom: 1.25rem;
}
.site-footer__name {
    margin: 0 0 .35rem;
    font-weight: 600;
    color: #fff;
}
.site-footer address {
    margin: 0 0 .75rem;
    font-style: normal;
}
.site-footer__contact {
    margin: 0;
}
.site-footer__heading {
    margin: 0 0 1rem;
    font-family: var(--uc-sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--uc-gold-light);
}
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-menu li {
    padding: .3rem 0;
}

.site-footer__legal {
    padding-top: 1.75rem;
    font-size: .825rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .62);
}
.site-footer__legal p {
    max-width: 120ch;
    margin: 0 0 .6rem;
}

/* ==========================================================================
   12. Small screens
   ========================================================================== */
@media (max-width: 575.98px) {
    body { font-size: 16px; }

    .hero::before,
    .page-hero::before {
        background: linear-gradient(180deg, rgba(20, 21, 24, .82) 0%, rgba(20, 21, 24, .78) 100%);
    }
    .hero__lead {
        font-size: 1.0625rem;
    }
    .hero__actions .btn {
        width: 100%;
    }
    .hero--home {
        min-height: 0;
    }
}
