/* ===================================
    Crafto - Real estate
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');
/* variable */
:root {
    --alt-font: 'Urbanist', sans-serif;
    --primary-font: 'Atkinson Hyperlegible', sans-serif;
    /* Palette taken from the Reparo brand picture: deep navy, bright teal and white. */
    --base-color: #0A808A;   /* deep teal: icons, links, lines */
    --teal-text: #0A808A;    /* darker teal for small teal text on white or pale backgrounds (readable contrast) */
    --dark-gray: #0B1F3F;    /* navy: headings and dark buttons */
    --navy-deep: #05152D;    /* darkest navy (top-left of the picture) */
    --navy-mid: #071D3A;
    --navy-glow: #0F3465;    /* the lighter blue glow in the corner of the picture */
    --navy-teal-glow: #0B3A58;
}
body{
    font-size: 17px;
    line-height: 32px;
}
/* reset */
.placeholder-light-gray::-webkit-input-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity:0.6;
}
.placeholder-light-gray::-moz-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity:0.6;
}
.placeholder-light-gray:-ms-input-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity:0.6;
}
/* heading */
h1, h2, h3, h4, h5, h6 {word-spacing: -2px;}
h1 {
    line-height: 4.375rem;
}
h2 {
    line-height: 3.438rem;
}
h3 {
    line-height: 2.813rem;
}
h4 {
    line-height: 2.575rem;
}
h5 {
    line-height: 2rem;
}
h6 {
    line-height: 1.75rem;
}
/* header */
header .navbar-brand img {
    max-height: 39px;
}
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}
header.sticky .navbar-nav .nav-link,
header.sticky .fixed-header .navbar-nav .nav-link,
header.sticky .disable-fixed .navbar-nav .nav-link{
    padding-top: 30px;
    padding-bottom: 30px;
}
header .left-nav .navbar-nav:before {
    background-color: var(--dark-gray);
    opacity: 0.2; 
    transform: translate(-28px, 0px);
    -webkit-transform: translate(-28px, 0px);
    transition: 0s;
}
header.sticky .left-nav .navbar-nav:before {
    transform: translate(-28px, 0px);
    -webkit-transform: translate(-28px, 0px);
}
header .btn.btn-small {
    padding: 10px 20px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
    width: 420px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a p {
    line-height: 22px;
    font-size: 14px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a img {
    width: 70px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a span {
    font-size: 17px;
    line-height: 30px;
}
/* bg color */
.bg-raven-blue {
    background-color: #6c757d;
}
.bg-orange {
    background-color: #ffa800;
}
.bg-base-color-transparent {
    background-color: rgba(10, 128, 138, .15);
}
.bg-base-color-light {
    background-color: #f8eef6;
}
.border-radius-left-8px {
    border-radius: 8px 0 0 0;
}
.bg-gradient-gray-light-dark-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(32, 35, 41, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(32, 35, 41, 1) 0%, transparent 80%);
}
/* text */
.text-orange {
    color: #ffa800;
}
.text-red {
    color: #ec5b54;
}
/* btn */
.btn {
    letter-spacing: normal;
    font-weight: 700;
}
.btn i { 
    margin-left: 5px;
}
.btn.btn-hover-animation-switch .btn-icon {
    margin-left: 4px;
}
.btn.btn-hover-animation-switch:hover .btn-text {
    transform: translateX(21px);
}
.btn.btn-transparent-white-light:hover {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 1);
    color: var(--white);
}
.btn.btn-dark-gray:not(.btn.submit):hover, .btn.btn-dark-gray:not(.btn.submit):active {
    background-color: var(--base-color);
    border-color: var(--base-color);
    color: var(--white);
}
.btn.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
    color: var(--white);
}
.btn.btn-light-base-color {
    background-color: #ecd0e6;
    border-color: #ecd0e6;
    color: var(--dark-gray);
}
.btn.btn-box-shadow.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
}
.btn.btn-link {
    padding: 0 0 2px;
}
.btn.text-uppercase-inherit i {
    top: 1px;
}
/* top right bottom left */
.right-minus-250px {
    right: -250px;
}
.right-minus-170px {
    right: -170px;
}
.right-minus-155px {
    right: -155px;
}
.bottom-minus-85px {
    bottom: -85px;
}
/* page title */
.page-title-extra-small h1 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 15px;
}
.page-title-extra-small h2 {
    font-size: 3.438rem;
    line-height: 3.438rem;
}
/* custom */
.icon-with-text-style-10:hover .feature-box-icon {
    -webkit-transform: scale(1);
    transform: scale(1);
}
.contact-form-style-03 {
    margin-top: -100px;
}
.process-step-style-05 .progress-step-separator {
    bottom: -10px;
    height: 100%;
    z-index: -1;
}
.social-icon-style-02 .small-icon li {
    margin: 0;
}
input, select, textarea, .form-control {
    font-size: 16px;
}
/* footer */
footer{
    font-size: 16px;
    line-height: 30px;
}
footer ul li {
    margin-bottom: 0;
}
footer .footer-logo img {
    max-height: 39px;
}
.footer-light a:hover {
    color: var(--dark-gray);
}
/* media query responsive */
@media (max-width: 1199px) {
    .newsletter-style-03 .btn {
        padding: 12px 18px 12px 18px;
    }
    .newsletter-style-03 input {
        padding-right: 145px !important;
        padding-left: 20px !important;
    }
    header .left-nav .navbar-nav:before {
        transform: translate(-9px, 0px);
        -webkit-transform: translate(-9px, 0px);
    }
    header .btn.btn-small {
        padding: 9px 15px;
    }
}
@media (max-width: 991px) {
    .contact-form-style-03 {
        margin-top: 0;
    }
}
@media (max-width: 767px) {
    .newsletter-style-03 input {
        padding-right: 70px !important;
        padding-left: 20px !important;
    }
}
@media (max-width: 576px) {
    .extra-small-screen {
        height: 300px !important;
    }
}
/* Reparo colours (navy, teal and white): the teal is --base-color and the navy is --dark-gray at the top of this file.
   --gold-color (and the .bg-gold / .text-gold classes, kept under their old names) is now the bright teal accent. */
:root {
    --gold-color: #20C0C0;
}
.bg-gold {
    background-color: var(--gold-color);
}
.text-gold {
    color: var(--gold-color);
}
/* Page title: the template fixes its height at 250px, so on a phone the stacked heading and text spill out of the
   bottom (and the yellow below would paint over them). Let it grow when the text needs more room; 250px stays the
   minimum, so wide screens look the same as before. */
.extra-very-small-screen {
    height: auto !important;
    min-height: 250px;
}
/* Very light yellow, a pale aqua tint of the teal (#F0FAFB), used instead of the template's light grey.
   It is yellow at the top and has blended out to white by about two thirds of the way down (67%); the rest is plain white.
   The in-between steps are eased (a smooth S-curve) so no stripes show. */
:root {
    --gold-light-rgb: 155, 227, 227;   /* teal shade (the picture teal #20C0C0 mixed with white), used for the soft section backgrounds that were yellow */
    /* the soft blue (from the picture) that is mixed into the teal shade, coming in from the top-left corner */
    --blue-mix: radial-gradient(ellipse 900px 540px at 0% 0%, rgba(111, 161, 232, .6) 0%, rgba(111, 161, 232, 0) 70%);
}
.bg-gradient-light-gold {
    --gold-fade: linear-gradient(to bottom,
        rgb(var(--gold-light-rgb)) 0%,
        rgba(var(--gold-light-rgb), .97) 6.7%,
        rgba(var(--gold-light-rgb), .9) 13.4%,
        rgba(var(--gold-light-rgb), .78) 20.1%,
        rgba(var(--gold-light-rgb), .65) 26.8%,
        rgba(var(--gold-light-rgb), .5) 33.5%,
        rgba(var(--gold-light-rgb), .35) 40.2%,
        rgba(var(--gold-light-rgb), .22) 46.9%,
        rgba(var(--gold-light-rgb), .1) 53.6%,
        rgba(var(--gold-light-rgb), .03) 60.3%,
        rgba(var(--gold-light-rgb), 0) 67%);
    background-image: var(--blue-mix), var(--gold-fade);
}
/* The same yellow, but it stays at full strength until just below the last line of content and only then blends out
   to white, slowly and smoothly. --pad is the section's bottom padding, where the blend happens; --fade-zone is the
   space under that last line (the padding plus the line's 10px margin), so the whiter part begins right after the
   content. The section after it has no top padding (pt-0), so the overall spacing is unchanged.
   Used for the Platform page's "Built for every setting" section. */
.bg-gradient-light-gold-late {
    --pad: 180px;
    --fade-zone: calc(var(--pad) + 10px);
    padding-bottom: var(--pad);
    background-image: var(--blue-mix), linear-gradient(to bottom,
        rgb(var(--gold-light-rgb)) 0%,
        rgb(var(--gold-light-rgb)) calc(100% - var(--fade-zone)),
        rgba(var(--gold-light-rgb), .993) calc(100% - var(--fade-zone) * 0.95),
        rgba(var(--gold-light-rgb), .972) calc(100% - var(--fade-zone) * 0.90),
        rgba(var(--gold-light-rgb), .939) calc(100% - var(--fade-zone) * 0.85),
        rgba(var(--gold-light-rgb), .896) calc(100% - var(--fade-zone) * 0.80),
        rgba(var(--gold-light-rgb), .844) calc(100% - var(--fade-zone) * 0.75),
        rgba(var(--gold-light-rgb), .784) calc(100% - var(--fade-zone) * 0.70),
        rgba(var(--gold-light-rgb), .718) calc(100% - var(--fade-zone) * 0.65),
        rgba(var(--gold-light-rgb), .648) calc(100% - var(--fade-zone) * 0.60),
        rgba(var(--gold-light-rgb), .575) calc(100% - var(--fade-zone) * 0.55),
        rgba(var(--gold-light-rgb), .500) calc(100% - var(--fade-zone) * 0.50),
        rgba(var(--gold-light-rgb), .425) calc(100% - var(--fade-zone) * 0.45),
        rgba(var(--gold-light-rgb), .352) calc(100% - var(--fade-zone) * 0.40),
        rgba(var(--gold-light-rgb), .282) calc(100% - var(--fade-zone) * 0.35),
        rgba(var(--gold-light-rgb), .216) calc(100% - var(--fade-zone) * 0.30),
        rgba(var(--gold-light-rgb), .156) calc(100% - var(--fade-zone) * 0.25),
        rgba(var(--gold-light-rgb), .104) calc(100% - var(--fade-zone) * 0.20),
        rgba(var(--gold-light-rgb), .061) calc(100% - var(--fade-zone) * 0.15),
        rgba(var(--gold-light-rgb), .028) calc(100% - var(--fade-zone) * 0.10),
        rgba(var(--gold-light-rgb), .007) calc(100% - var(--fade-zone) * 0.05),
        rgba(var(--gold-light-rgb), 0) 100%
    );
}
@media (max-width: 991px) {
    .bg-gradient-light-gold-late { --pad: 150px; }
}
@media (max-width: 767px) {
    .bg-gradient-light-gold-late { --pad: 100px; }
}
/* The contact form's consent tick box. The template's form styling turns checkboxes into a bare underline,
   so it is hard to see. This makes it a clear box: larger, with a purple outline and a white inside, filled
   purple with a white tick when ticked, with a visible focus ring and a darker, bolder label. */
.contact-form-style-03 .form-check {
    padding-left: 42px;
}
.contact-form-style-03 .form-check .form-check-input {
    float: left;
    width: 28px;
    height: 28px;
    margin: 2px 0 0 -42px;
    padding: 0;
    border: 2px solid var(--base-color);
    border-radius: 6px;
    background-color: #fff;
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    cursor: pointer;
}
.contact-form-style-03 .form-check .form-check-input:checked {
    background-color: var(--base-color);
    border-color: var(--base-color);
}
.contact-form-style-03 .form-check .form-check-input:focus {
    border: 2px solid var(--base-color);
    box-shadow: 0 0 0 4px rgba(10, 128, 138, .25) !important;
}
.contact-form-style-03 .form-check .form-check-label {
    color: var(--dark-gray);
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}
/* The same yellow, but it holds its full strength for the top 76% of the area and only then blends out to white, so the
   yellow comes further down before it fades. Used on the Home page hero. */
.bg-gradient-light-gold-hold {
    background-image: linear-gradient(to bottom,
        rgb(var(--gold-light-rgb)) 0%,
        rgb(var(--gold-light-rgb)) 76%,
        rgba(var(--gold-light-rgb), .989) 77.5%,
        rgba(var(--gold-light-rgb), .957) 79.0%,
        rgba(var(--gold-light-rgb), .908) 80.5%,
        rgba(var(--gold-light-rgb), .844) 82.0%,
        rgba(var(--gold-light-rgb), .768) 83.5%,
        rgba(var(--gold-light-rgb), .684) 85.0%,
        rgba(var(--gold-light-rgb), .593) 86.5%,
        rgba(var(--gold-light-rgb), .500) 88.0%,
        rgba(var(--gold-light-rgb), .407) 89.5%,
        rgba(var(--gold-light-rgb), .316) 91.0%,
        rgba(var(--gold-light-rgb), .232) 92.5%,
        rgba(var(--gold-light-rgb), .156) 94.0%,
        rgba(var(--gold-light-rgb), .092) 95.5%,
        rgba(var(--gold-light-rgb), .043) 97.0%,
        rgba(var(--gold-light-rgb), .011) 98.5%,
        rgba(var(--gold-light-rgb), 0) 100%);
}

/* ===================================
    Reparo colours from the brand picture
====================================== */
/* The shade that used to be yellow is now teal (--gold-light-rgb above). Paragraph text on it is a little darker so it stays easy to read. */
.bg-gradient-light-gold p, .bg-gradient-light-gold-late p { color: #263a55; }

/* Buttons are blue (the blue from the picture) with white text, and turn deep navy on hover. */
:root { --button-blue: #0F3465; --button-blue-on-navy: #1A5BB5; }
.btn.btn-base-color,
.btn.btn-base-color:focus {
    background-color: var(--button-blue);
    border-color: var(--button-blue);
    color: #fff;
}
.btn.btn-base-color:hover,
.btn.btn-base-color:active {
    background-color: var(--navy-deep);
    border-color: var(--navy-deep);
    color: #fff;
}
.btn.btn-dark-gray:not(.btn.submit):hover, .btn.btn-dark-gray:not(.btn.submit):active {
    background-color: var(--button-blue);
    border-color: var(--button-blue);
    color: #fff;
}

/* Home page: a light teal banner. The buttons in this first section are NOT blue; they keep the deep teal. */
body.home-light .bg-gradient-light-gold-hold {
    /* teal that blends into a soft blue from the picture on the left and top, then fades to white */
    background:
        radial-gradient(ellipse 75% 95% at 0% 0%, rgba(111, 161, 232, .75) 0%, rgba(111, 161, 232, 0) 72%),
        radial-gradient(ellipse 60% 80% at 100% 15%, rgba(32, 192, 192, .35) 0%, rgba(32, 192, 192, 0) 70%),
        linear-gradient(180deg, rgb(var(--gold-light-rgb)) 0%, #d3f2f2 55%, #ffffff 100%);
}
body.home-light .bg-gradient-light-gold-hold p { color: #3d4f66; }
body.home-light .bg-gradient-light-gold-hold .btn.btn-base-color { background-color: var(--base-color); border-color: var(--base-color); color: #fff; }
body.home-light .bg-gradient-light-gold-hold .btn.btn-base-color:hover { background-color: var(--dark-gray); border-color: var(--dark-gray); color: #fff; }

/* Home 1 (home-1.html): the same page with a dark navy banner, the dot grid and glow from the picture. */
body.home-navy .bg-gradient-light-gold-hold {
    background-color: var(--navy-mid);
    background-image:
        radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1.6px),
        radial-gradient(ellipse 60% 70% at 88% 38%, var(--navy-teal-glow) 0%, transparent 70%),
        radial-gradient(ellipse 55% 60% at 0% 100%, var(--navy-glow) 0%, transparent 70%),
        linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 50%, #092440 100%);
    background-size: 40px 40px, auto, auto, auto;
    background-position: 20px 20px, 0 0, 0 0, 0 0;
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}
body.home-navy .bg-gradient-light-gold-hold h1,
body.home-navy .bg-gradient-light-gold-hold .text-dark-gray { color: #fff !important; }
body.home-navy .bg-gradient-light-gold-hold p,
body.home-navy .bg-gradient-light-gold-hold span:not(.text-base-color):not(.text-highlight):not(.btn-text):not(.btn-icon) { color: rgba(255, 255, 255, .85); }
body.home-navy .bg-gradient-light-gold-hold .text-base-color { color: #20C0C0 !important; }
body.home-navy .bg-gradient-light-gold-hold .btn-transparent-dark-gray,
body.home-navy .bg-gradient-light-gold-hold .btn-transparent-dark-gray:hover { color: #fff !important; border-color: rgba(255, 255, 255, .8) !important; }
body.home-navy .bg-gradient-light-gold-hold .btn.btn-base-color { background-color: var(--button-blue-on-navy); border-color: var(--button-blue-on-navy); }
body.home-navy .bg-gradient-light-gold-hold .btn.btn-base-color:hover { background-color: #20C0C0; border-color: #20C0C0; color: var(--dark-gray); }

/* The "Less time recording. More time caring." band on the Home page: the picture's navy-blue with the white dot grid and a blue glow. */
.bg-dotted-navy {
    background-image:
        radial-gradient(rgba(255, 255, 255, .6) 1px, transparent 1.6px),
        radial-gradient(ellipse 60% 90% at 90% 40%, var(--navy-teal-glow) 0%, transparent 70%),
        radial-gradient(ellipse 55% 90% at 0% 100%, var(--navy-glow) 0%, transparent 70%),
        linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 50%, #092440 100%);
    background-size: 28px 28px, auto, auto, auto;
    background-position: 14px 14px, 0 0, 0 0, 0 0;
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}

/* Slightly rounded corners on the call-to-action band ("Ready to see Reparo in action?" and the Home page band). */
.bg-dotted-navy { border-radius: 10px !important; }
@media (max-width: 575px) { .bg-dotted-navy { border-radius: 8px !important; } }

/* Teal button (the same deep teal as the Home page banner button, white text): the in-page "Book a demonstration" next to the blue one in the top bar. */
.btn.btn-teal,
.btn.btn-teal:focus {
    background-color: var(--base-color);
    border-color: var(--base-color);
    color: #fff;
}
.btn.btn-teal:hover,
.btn.btn-teal:active {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
    color: #fff;
}
/* In the dark call-to-action band the teal button turns white on hover (a navy hover would disappear into the band). */
.bg-dotted-navy .btn.btn-teal:hover,
.bg-dotted-navy .btn.btn-teal:active {
    background-color: #fff;
    border-color: #fff;
    color: var(--dark-gray);
}

/* Home page 2 (home-2.html): the whole first section in a deep blue blend (navy into the picture's blue, with a hint of teal). */
body.home-blue .bg-gradient-light-gold-hold {
    /* Home 2: the whole first section is flat solid deep blue with a straight bottom edge */
    background: #0B2A57;
}
body.home-blue .bg-gradient-light-gold-hold h1,
body.home-blue .bg-gradient-light-gold-hold .text-dark-gray { color: #fff !important; }
body.home-blue .bg-gradient-light-gold-hold p,
body.home-blue .bg-gradient-light-gold-hold span:not(.text-base-color):not(.text-highlight):not(.btn-text):not(.btn-icon) { color: rgba(255, 255, 255, .88); }
body.home-blue .bg-gradient-light-gold-hold .text-base-color { color: #20C0C0 !important; }
body.home-blue .bg-gradient-light-gold-hold .btn-transparent-dark-gray,
body.home-blue .bg-gradient-light-gold-hold .btn-transparent-dark-gray:hover { color: #fff !important; border-color: rgba(255, 255, 255, .85) !important; }
body.home-blue .bg-gradient-light-gold-hold .btn-transparent-dark-gray:hover { background-color: rgba(255, 255, 255, .12); }
body.home-blue .bg-gradient-light-gold-hold .btn.btn-base-color { background-color: #20C0C0; border-color: #20C0C0; color: var(--dark-gray); }
body.home-blue .bg-gradient-light-gold-hold .btn.btn-base-color:hover { background-color: #fff; border-color: #fff; color: var(--dark-gray); }


/* Footer on every page except the main Home: it starts in the SAME solid deep blue as the first section (#0B2A57) and blends out smoothly to white
   (an eased S-curve over the top 48% of the footer, so the link columns and copyright line sit on near-white and stay easy to read). */
body:not(.home-light) footer.bg-gradient-light-gold {
    --blue-mix: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    --gold-fade: linear-gradient(to bottom,
        rgb(11, 42, 87) 0%,
        rgba(11, 42, 87, .983) 4%,
        rgba(11, 42, 87, .933) 8%,
        rgba(11, 42, 87, .854) 12%,
        rgba(11, 42, 87, .75) 16%,
        rgba(11, 42, 87, .63) 20%,
        rgba(11, 42, 87, .5) 24%,
        rgba(11, 42, 87, .37) 28%,
        rgba(11, 42, 87, .25) 32%,
        rgba(11, 42, 87, .146) 36%,
        rgba(11, 42, 87, .067) 40%,
        rgba(11, 42, 87, .017) 44%,
        rgba(11, 42, 87, 0) 48%);
}

/* Home 2: the middle section ("Who Reparo is for") also starts in the same solid deep blue and blends out smoothly to white, like the footer.
   Its heading is white (it sits on the blue) and the small label is bright teal; the white cards keep their dark text. */
body.home-blue #who-for {
    --gold-light-rgb: 11, 42, 87;
    --blue-mix: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
}
body.home-blue #who-for .row.mb-4 h2,
body.home-blue #who-for .row.mb-4 h2 span { color: #fff !important; }
body.home-blue #who-for .row.mb-4 span.text-base-color { color: #20C0C0 !important; }

/* Home 2: the "I'm here as a..." row sits a little lower, with a gap of white between it and the flat blue section above. */
body.home-blue .bg-gradient-light-gold-hold + section { margin-top: 44px; }
@media (max-width: 767px) { body.home-blue .bg-gradient-light-gold-hold + section { margin-top: 28px; } }
/* Home 2: the "Why we built it" section below that row sits lower (80px of space above it). */
body.home-blue .bg-gradient-light-gold-hold + section + section { padding-top: 80px !important; }


/* Inner pages: the middle area (the block that used to be teal) starts in the SAME solid deep blue as the footer / Home 2 (#0B2A57)
   and blends out to white in the same eased S-curve, over about 280px. The fade finishes inside the space above the first heading
   (the first block has extra room at the top for that), so the dark text stays readable. */
body:not([class*="home"]) .bg-gradient-light-gold:not(footer),
body:not([class*="home"]) .bg-gradient-light-gold-late {
    --blue-mix: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    --blue-top: linear-gradient(to bottom,
        rgb(11, 42, 87) 0,
        rgba(11, 42, 87, .983) 23px,
        rgba(11, 42, 87, .933) 47px,
        rgba(11, 42, 87, .854) 70px,
        rgba(11, 42, 87, .75) 93px,
        rgba(11, 42, 87, .63) 117px,
        rgba(11, 42, 87, .5) 140px,
        rgba(11, 42, 87, .37) 163px,
        rgba(11, 42, 87, .25) 187px,
        rgba(11, 42, 87, .146) 210px,
        rgba(11, 42, 87, .067) 233px,
        rgba(11, 42, 87, .017) 257px,
        rgba(11, 42, 87, 0) 280px);
    background-image: var(--blue-top);
    background-repeat: no-repeat;
}
/* extra room above the first block's text (and the Platform page's blocks) so the longer blend finishes before the text starts */
body:not([class*="home"]) .bg-gradient-light-gold:not(footer) > section:first-of-type,
body:not([class*="home"]) section.bg-gradient-light-gold,
body:not([class*="home"]) .bg-gradient-light-gold-late { padding-top: 230px !important; }
@media (max-width: 767px) {
    body:not([class*="home"]) .bg-gradient-light-gold:not(footer) > section:first-of-type,
    body:not([class*="home"]) section.bg-gradient-light-gold,
    body:not([class*="home"]) .bg-gradient-light-gold-late { padding-top: 170px !important; }
}

/* Inspection Ready: its content does not move down. It keeps the original space above the text, and the blue blend there is the
   shorter one (about 110px) that finishes before the text starts. */
body.page-inspection .bg-gradient-light-gold:not(footer) {
    --blue-top: linear-gradient(to bottom,
        rgb(11, 42, 87) 0,
        rgba(11, 42, 87, .983) 9px,
        rgba(11, 42, 87, .933) 18px,
        rgba(11, 42, 87, .854) 27px,
        rgba(11, 42, 87, .75) 36px,
        rgba(11, 42, 87, .63) 45px,
        rgba(11, 42, 87, .5) 54px,
        rgba(11, 42, 87, .37) 63px,
        rgba(11, 42, 87, .25) 72px,
        rgba(11, 42, 87, .146) 81px,
        rgba(11, 42, 87, .067) 90px,
        rgba(11, 42, 87, .017) 99px,
        rgba(11, 42, 87, 0) 108px);
}
body.page-inspection .bg-gradient-light-gold:not(footer) > section:first-of-type { padding-top: 100px !important; }
@media (max-width: 767px) { body.page-inspection .bg-gradient-light-gold:not(footer) > section:first-of-type { padding-top: 90px !important; } }

/* Platform: the three icons (Inspection Ready, Quality and inspection, Trust and security) stay up where they were, with the blue
   blend behind them. The white circles stand out on the blue and the labels sit on the lighter tail of the blend. */
body:not([class*="home"]) section.bg-gradient-light-gold { padding-top: 40px !important; }
@media (max-width: 767px) { body:not([class*="home"]) section.bg-gradient-light-gold { padding-top: 30px !important; } }

/* Platform: the blue blend does not touch the three icons. It stays inside the empty 40px above them and has faded out completely
   before the icons start, so the icons and their labels sit on plain white. */
body:not([class*="home"]) section.bg-gradient-light-gold {
    --blue-top: linear-gradient(to bottom,
        rgb(11, 42, 87) 0,
        rgba(11, 42, 87, .933) 4px,
        rgba(11, 42, 87, .75) 9px,
        rgba(11, 42, 87, .5) 15px,
        rgba(11, 42, 87, .25) 22px,
        rgba(11, 42, 87, .09) 30px,
        rgba(11, 42, 87, .02) 36px,
        rgba(11, 42, 87, 0) 40px);
}

/* Platform: the three icons come down (120px below the top) and the blue blend comes down with them: it is taller (about 110px) and
   fills the space above the icons, fading out completely just before they start so they sit on plain white. */
body:not([class*="home"]) section.bg-gradient-light-gold {
    padding-top: 120px !important;
    --blue-top: linear-gradient(to bottom,
        rgb(11, 42, 87) 0,
        rgba(11, 42, 87, .983) 9px,
        rgba(11, 42, 87, .933) 18px,
        rgba(11, 42, 87, .854) 28px,
        rgba(11, 42, 87, .75) 37px,
        rgba(11, 42, 87, .63) 46px,
        rgba(11, 42, 87, .5) 55px,
        rgba(11, 42, 87, .37) 64px,
        rgba(11, 42, 87, .25) 73px,
        rgba(11, 42, 87, .146) 83px,
        rgba(11, 42, 87, .067) 92px,
        rgba(11, 42, 87, .017) 101px,
        rgba(11, 42, 87, 0) 110px);
}
@media (max-width: 767px) { body:not([class*="home"]) section.bg-gradient-light-gold { padding-top: 90px !important; } }

/* Platform: the icons stay where they are (120px down); the blue blend now comes further down, the same tall 280px blend as the other
   inner pages, so it runs behind the white icon circles and fades out lower on the page. */
body:not([class*="home"]) section.bg-gradient-light-gold {
    --blue-top: linear-gradient(to bottom,
        rgb(11, 42, 87) 0,
        rgba(11, 42, 87, .983) 23px,
        rgba(11, 42, 87, .933) 47px,
        rgba(11, 42, 87, .854) 70px,
        rgba(11, 42, 87, .75) 93px,
        rgba(11, 42, 87, .63) 117px,
        rgba(11, 42, 87, .5) 140px,
        rgba(11, 42, 87, .37) 163px,
        rgba(11, 42, 87, .25) 187px,
        rgba(11, 42, 87, .146) 210px,
        rgba(11, 42, 87, .067) 233px,
        rgba(11, 42, 87, .017) 257px,
        rgba(11, 42, 87, 0) 280px);
}

/* Platform: the blue blend runs down the whole first block (to its bottom edge), so it comes down as far as it can; the icons stay put. */
body:not([class*="home"]) section.bg-gradient-light-gold {
    --blue-top: linear-gradient(to bottom,
        rgb(11, 42, 87) 0%,
        rgba(11, 42, 87, .983) 8%,
        rgba(11, 42, 87, .933) 16%,
        rgba(11, 42, 87, .854) 24%,
        rgba(11, 42, 87, .75) 32%,
        rgba(11, 42, 87, .63) 40%,
        rgba(11, 42, 87, .5) 50%,
        rgba(11, 42, 87, .37) 60%,
        rgba(11, 42, 87, .25) 70%,
        rgba(11, 42, 87, .146) 80%,
        rgba(11, 42, 87, .067) 88%,
        rgba(11, 42, 87, .017) 95%,
        rgba(11, 42, 87, 0) 100%);
}

/* Platform: the three icons sit at the same height as the icons on the Who it's for page (230px below the top of their block) and use the
   same 280px blue blend, so the two pages match. */
body:not([class*="home"]) section.bg-gradient-light-gold {
    padding-top: 230px !important;
    --blue-top: linear-gradient(to bottom,
        rgb(11, 42, 87) 0,
        rgba(11, 42, 87, .983) 23px,
        rgba(11, 42, 87, .933) 47px,
        rgba(11, 42, 87, .854) 70px,
        rgba(11, 42, 87, .75) 93px,
        rgba(11, 42, 87, .63) 117px,
        rgba(11, 42, 87, .5) 140px,
        rgba(11, 42, 87, .37) 163px,
        rgba(11, 42, 87, .25) 187px,
        rgba(11, 42, 87, .146) 210px,
        rgba(11, 42, 87, .067) 233px,
        rgba(11, 42, 87, .017) 257px,
        rgba(11, 42, 87, 0) 280px);
}
@media (max-width: 767px) { body:not([class*="home"]) section.bg-gradient-light-gold { padding-top: 170px !important; } }

/* Quote sentences: the opening and closing quote marks sit on the same line as the text, in the teal accent, at the same height. */
.quote-mark {
    color: var(--gold-color);
    font-size: 1.35em;
    line-height: 0;
    font-weight: 700;
    vertical-align: -0.12em;
}
.quote-mark:first-child { margin-right: .12em; }
.quote-mark:last-child { margin-left: .12em; }

/* Menu bar: the menu links use the exact blue of the Home page's first section (#0B2A57). */
header .navbar .navbar-nav .nav-link {
    color: #0B2A57 !important;
}

/* Home page: the first section keeps the flat deep blue (#0B2A57) and gets the grid of small white dots from the brand video. */
body.home-blue .bg-gradient-light-gold-hold {
    background-color: #0B2A57;
    background-image: radial-gradient(rgba(255, 255, 255, .7) 1px, rgba(255, 255, 255, 0) 1.7px);
    background-size: 40px 40px;
    background-position: 20px 20px;
    background-repeat: repeat;
}

/* Who it's for page: no blue blend in the middle (and no extra space above its first block). */
body.page-who .bg-gradient-light-gold:not(footer) { background-image: none !important; }
body.page-who .bg-gradient-light-gold:not(footer) > section:first-of-type { padding-top: 90px !important; }
@media (max-width: 767px) { body.page-who .bg-gradient-light-gold:not(footer) > section:first-of-type { padding-top: 70px !important; } }

/* Who it's for page: a thin light blue-grey line closes the top section (the page title area), above the content. */
body.page-who .page-title-big-typography { border-bottom: 1px solid rgba(11, 42, 87, .18); }

/* All inner pages (same as the Who it's for page): no blue blend in the middle, the content stays at its original position, and a thin
   light blue-grey line closes the top section (the page title area). The blue blend stays in the footer. */
body:not([class*="home"]) .bg-gradient-light-gold:not(footer),
body:not([class*="home"]) .bg-gradient-light-gold-late { background-image: none !important; }
body:not([class*="home"]) .bg-gradient-light-gold:not(footer) > section:first-of-type { padding-top: 90px !important; }
body:not([class*="home"]) section.bg-gradient-light-gold { padding-top: 40px !important; }
body:not([class*="home"]) .bg-gradient-light-gold-late { padding-top: 90px !important; }
@media (max-width: 767px) {
    body:not([class*="home"]) .bg-gradient-light-gold:not(footer) > section:first-of-type { padding-top: 70px !important; }
    body:not([class*="home"]) section.bg-gradient-light-gold { padding-top: 30px !important; }
    body:not([class*="home"]) .bg-gradient-light-gold-late { padding-top: 70px !important; }
}
body:not([class*="home"]) .page-title-big-typography { border-bottom: 1px solid rgba(11, 42, 87, .18); }

/* A video that sits inside a two-column list: full width on small screens, and on large screens the same width as the videos on the
   other pages (10 of 12 columns), centered. */
.video-wide { flex: 0 0 100%; width: 100%; max-width: 100%; }
@media (min-width: 992px) {
    .video-wide { flex: 0 0 83.3333%; width: 83.3333%; max-width: 83.3333%; margin-left: auto; margin-right: auto; }
}


/* TRY-OUT (Home page): no blue blend in the middle "Who Reparo is for" section. It is plain white with the normal dark heading.
   To bring the blue blend back, delete this block. */
body.home-blue #who-for { background-image: none !important; }
body.home-blue #who-for .row.mb-4 h2,
body.home-blue #who-for .row.mb-4 h2 span { color: var(--dark-gray) !important; }
body.home-blue #who-for .row.mb-4 span.text-base-color { color: var(--base-color) !important; }

/* A thin light blue-grey line closes a section (same line as under the page title). Used under the Platform page's diagram. */
.line-after { border-bottom: 1px solid rgba(11, 42, 87, .18); }

/* A thin light blue-grey line above a section (same line as the others). Used above "Our promise" on the About page. */
.line-before { border-top: 1px solid rgba(11, 42, 87, .18); }

/* Home page: the line above "Why we built it" (under the "I'm here as a..." row) is the same line as the one above "Who Reparo is for"
   (thin light blue-grey). The row's own top line keeps the template grey. */
.line-after.border-color-extra-medium-gray { border-bottom-color: rgba(11, 42, 87, .18) !important; }

/* Inner pages: the page title block (the small label and the big heading, e.g. "One system, from first placement to independence.")
   comes down 40px inside the title area. The space is taken from the bottom, so the title area keeps its height and the content
   below it does not move. */
body:not([class*="home"]) .page-title-big-typography { padding-top: 130px !important; padding-bottom: 50px !important; }
@media (max-width: 767px) {
    body:not([class*="home"]) .page-title-big-typography { padding-top: 110px !important; padding-bottom: 70px !important; }
}


/* The Reparo logo image (circle mark and wordmark) in the menu bar and the footer. */
.reparo-logo { display: block; width: auto; height: 44px; max-height: none; }
header .navbar-brand .reparo-logo { height: 42px; max-height: none !important; }
footer .footer-logo .reparo-logo { height: 52px; max-height: none !important; }
@media (max-width: 575px) {
    header .navbar-brand .reparo-logo { height: 36px; max-height: none !important; }
    footer .footer-logo .reparo-logo { height: 46px; max-height: none !important; }
}
