/*==========================================================================
    Reset
  ========================================================================== */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
}

article, aside, details, figcaption, figure, footer, 
header, hgroup, main, menu, nav, section,
summary {
    display: block;
}

audio, canvas, progress, video {
    display: inline-block; /* 1 */
    vertical-align: baseline; /* 2 */
}

a {
    background-color: transparent;
}

a:active, a:hover {
    outline: 0;
}

menu,
ol,
ul {
    padding-left: 0;
}

html {
    -webkit-text-size-adjust: none; /* for iOS Safari */
    text-size-adjust: none; /* for other mobile browsers */
}

* {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Ensure the hidden attribute always wins over display rules (flex/grid etc.) */
[hidden] {
    display: none !important;
}


/*==========================================================================
    Layout
========================================================================== */

section, header {
    width: 100%;
    display: block;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 60px;
}

footer {
    width: 100%;
    display: block;
    padding: 10px;
    box-sizing: border-box;
}

.container {
    display: grid;
    gap: 20px;
    padding: 20px;
    max-width: 1440px;
    margin-inline: auto;
    box-sizing: border-box;
}

.col-1 { grid-template-columns: 1fr; }
.col-2 { grid-template-columns: repeat(2, 1fr); }
.col-3 { grid-template-columns: repeat(3, 1fr); }
.col-4 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));; }


/*==========================================================================
    Global
  ========================================================================== */


:root {
    --primary: #E72229;
    --secondary: #1B2028;
    --tertiary: #033C4D;
    --white: #ffffff;
    --grey: #F4F4F4;
    --darkgrey: #6f6f6f;
}

* {
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--secondary);
    background: var(--grey);
}

a {
    color: var(--primary);
}

a, a:hover, a:visited {
    text-decoration: none;
    font-weight: 600;
}

ul {
    list-style: none;
}

.btn-main {
    display: inline-block;
    background: var(--primary);
    padding: 12px;
    color: var(--white);
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

.btn-main:hover {
    transform: scale(0.95);
    color: var(--white);
}

.btn-secondary {
    display: inline-block;
    background: var(--tertiary);
    padding: 12px;
    color: var(--white);
    text-transform: uppercase;
}

.btn-secondary:hover {
    transform: scale(0.95);
}

.btn-break {
    margin: 0 20px;
    text-transform: uppercase;
}

.center {
    text-align: center;
}

.full-width {
    width: 100%;
}

.half-width {
    width: 50%;
}

/*==========================================================================
    Typography
  ========================================================================== */


h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1;
    margin: 0 0 0.5em 0;
    text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(2rem, 3vw, 2rem); }
h4 { font-size: clamp(1.5rem, 2vw, 1.5rem); }

.highlight {
    color: var(--primary);
}

p {
    margin-bottom: 30px;
    font-weight: 400;
}

em {
    font-style: normal;
}

.h1-icon {
    height: 0.7em;
    width: auto;
    margin-left: 35px;
}


/*==========================================================================
    Header
  ========================================================================== */

header {
  width: 100vw;
  position: fixed;
  z-index: 99999;
}

.logo {
    background: url(../img/logo.svg) no-repeat;
    background-size: 100%;
    width: 200px;
    height: 50px;
    display: block;
    text-indent: -99999px;
    float: left;
    margin: 25px 20px;
}


nav {
    position: relative;
    float: right;
    display: block;
    padding: 35px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: var(--white);
    cursor: pointer;
}

nav ul li a:hover {
    color: var(--primary);
}

nav .btn-main {
    margin-top: -12px;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    min-width: 180px;}

.dropdown li a {
    color: var(--black);
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
}

.dropdown li a:hover {
    background: var(--primary);
    color: var(--white);
}

.has-dropdown:hover .dropdown {
    display: flex;
}

.header-active {
    background: rgba(27, 32, 40, 0.56);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9.7px);
    -webkit-backdrop-filter: blur(9.7px);
}

.header-active .logo {
    width: 140px;
    height: 37px;
    margin: 15px 15px;
}

.header-active nav {
    padding: 24px 10px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100000;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/*==========================================================================
    Banner / Hero
  ========================================================================== */

#hero {
    background: var(--secondary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 60px;
    width: 100%;
}

#hero video {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

#hero .container {
    position: relative;
    z-index: 1;
}

.hero-text {
    padding-top: 100px;
}

.hero-text h1 {
    margin: 0 0 0.2em 0;
}

.subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 30px;
    display: block;
}

.hero-text p {
    margin-bottom: 55px;
    display: block;
    max-width: 480px;
}

/*==========================================================================
    Elements
  ========================================================================== */

/* Categories Home Page */

.card {
    display: block;
    background: var(--white);
    text-align: center;
    padding: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
    display: inline-block;
    width: 35px;
}

.card span {
    display: block;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 10px 0 15px;
    color: var(--secondary);
}

.card p {
    color: var(--darkgrey);
    font-weight: 300;
}

.card:hover {
    transform: translateX(-8px) translateY(8px);
    box-shadow: 1px -1px #e72229, 2px -2px #e72229, 3px -3px #e72229, 4px -4px #e72229, 5px -5px #e72229, 6px -6px #e72229, 7px -7px #e72229, 8px -8px #e72229;
}

/* Callouts */

.callout-full {
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
}

.callout-full h2 {
    margin: 0;
}

.btn-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.callout-half {
    background: var(--white);
    display: flex;
    flex-direction: row-reverse;
}

.callout-text {
    flex-grow: 1;
    padding: 35px;
}

.callout-text p {
    color: var(--darkgrey);
    margin-bottom: 0;
}

.callout-img {
    flex-grow: 0;
    text-align: center;
    display: flex;
    align-items: center;
    margin-right: 35px;
}

/* Video */

#video-bg {
    position: relative;
    overflow: hidden;
}

#video-bg video {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

#video-bg .container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

.box {
    background: var(--secondary);
    color: var(--white);
    padding: 50px;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Case Studies */

.img-block {
    width: 100%;
    overflow: hidden;
}

.img-block img {
    width: 100%;
}

.story-card span {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    margin: 40px 0 20px 0;
}

.story-card p {
    color: var(--darkgrey);
}

.image-block img {
    max-width: 500px;
}

/* Category */

#category {
    background: var(--secondary);
    color: var(--white);
    margin-bottom: 0;
    padding-bottom: 0px;
    width: 100%;
}

.category-banner {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

#intro {
    margin-top: -360px;
    margin-bottom: 0;
}

/* Service / content pages */

#content {
    margin-bottom: 60px;
}

.prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 20px;
}

.prose .lead {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 35px;
}

.prose .lead::before {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-bottom: 30px;
}

.prose p {
    line-height: 1.6;
}

.prose ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.prose ul li {
    line-height: 1.6;
    margin-bottom: 8px;
}

.prose img {
    width: 100%;
    display: block;
    margin: 45px 0;
}

.prose h2 {
    margin-top: 50px;
}

.prose h3 {
    margin-top: 40px;
    color: var(--tertiary);
}

.prose .btn-main,
.prose .btn-secondary {
    margin-top: 20px;
}

/* Types toggle (lightweight accordion, distinct from .accordion-item) */

.toggle-group {
    margin: 25px 0 15px;
}

.toggle {
    border-top: solid 1px var(--darkgrey);
}

.toggle:last-child {
    border-bottom: solid 1px var(--darkgrey);
}

.toggle-head {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    text-align: left;
}

.toggle-head:hover {
    color: var(--primary);
}

.toggle-icon {
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
    margin-left: 20px;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    background: var(--primary);
    transition: transform 0.3s ease;
}

.toggle-icon::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.toggle-icon::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.toggle.open .toggle-icon::before {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.toggle-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(.99, 0, 0, .99);
}

.toggle.open .toggle-body {
    max-height: 2000px;
}

.toggle-inner {
    padding: 0 0 25px;
}

.toggle-inner p {
    margin-bottom: 20px;
}

.toggle-inner p:last-child {
    margin-bottom: 0;
}

/* Accordian */

.accordion-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion {
    width: 50%;
}

.accordion-item {
    background: var(--white);
}

.service-wrapper {
    display: flex;
    flex-direction: row-reverse;
    padding: 35px;
}

.service-intro {
    flex-grow: 1;
    padding-right: 20px;
}

.service-intro h2 {
    display: block;
}

.service-intro p {
    display: block;
    color: var(--darkgrey);
    margin: 0;
}

.service-img {
    width: 115px;
    height: 115px;
    flex-grow: 0;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    text-align: left;
    border-top: solid 1px var(--grey);
}

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--primary);
    transition: transform 0.3s ease;
}

.accordion-icon::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.accordion-icon::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.accordion-item.open .accordion-icon::before {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(.99, 0, 0, .99);
    border-top: solid 1px var(--grey);
}

.accordion-item.open .accordion-content {
    max-height: 10000px;
}

.accordion-inner {
    padding: 35px;
}

.accordion-inner img {
    width: 100%;
    display: block;
    margin: 5px 0 25px;
}

.accordion-inner p {
    color: var(--secondary);
    margin-bottom: 20px;
}

.accordion-inner ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 25px;
}

.accordion-inner ul li {
    color: var(--secondary);
    font-weight: 300;
    margin-bottom: 8px;
}

.accordion-inner ul li strong {
    font-weight: 600;
}

.accordion-inner .video-embed {
    margin: 5px 0 25px;
}

.accordion-inner .btn-secondary {
    margin-top: 5px;
}

/* Stories */

#story {
    background: var(--secondary);
    margin-bottom: 0;
    color: var(--white);
    padding: 40px 0;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--secondary);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.gallery-thumb:hover {
    opacity: 0.9;
}

.gallery-thumb.active {
    opacity: 1;
}

.story-copy {
    padding: 35px;
}

.story-copy em {
    color: var(--primary);
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    font-weight: 600;
}

/* Socials */

#socials {
    background: var(--secondary);
}

/*==========================================================================
    Contact
  ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
    transform: translateY(0);
}

.modal-content {
    padding: 50px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary);
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 40px;
}

.modal-contact-item {
    background: var(--grey);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-contact-item:hover {
    background: var(--secondary);
}

.modal-contact-item:hover .modal-contact-label,
.modal-contact-item:hover .modal-contact-number {
    color: var(--white);
}

.modal-contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--darkgrey);
}

.modal-contact-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    border: 1px solid var(--grey);
    padding: 12px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    color: var(--secondary);
    background: var(--grey);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.modal-submit {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}


/*==========================================================================
    Enquiry tool
  ========================================================================== */

#enquiry {
    padding: 50px 10px 80px;
}

.enquiry-wrap {
    background: var(--white);
    max-width: 820px;
    margin: 0 auto;
    padding: 50px;
}

.enquiry-sub {
    color: var(--darkgrey);
    margin-bottom: 0;
}

.enquiry-progress {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 35px 0 45px;
}

.enquiry-progress li {
    flex: 1;
    position: relative;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--darkgrey);
    padding-top: 44px;
}

.enquiry-progress li span {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--grey);
    color: var(--darkgrey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 1;
}

.enquiry-progress li::before {
    content: "";
    position: absolute;
    top: 16px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--grey);
}

.enquiry-progress li:first-child::before {
    display: none;
}

.enquiry-progress li.is-active span {
    background: var(--primary);
    color: var(--white);
}

.enquiry-progress li.is-done span {
    background: var(--tertiary);
    color: var(--white);
}

.enquiry-progress li.is-active::before,
.enquiry-progress li.is-done::before {
    background: var(--tertiary);
}

.enquiry-progress li.is-active,
.enquiry-progress li.is-done {
    color: var(--secondary);
}

.enquiry-step {
    display: none;
}

.enquiry-step.is-active {
    display: block;
    animation: reveal-in 0.4s ease-out;
}

.enquiry-step h2 {
    margin-bottom: 25px;
}

.form-group select {
    border: 1px solid var(--grey);
    padding: 12px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    color: var(--secondary);
    background: var(--grey);
    outline: none;
    cursor: pointer;
}

.form-group select:focus {
    border-color: var(--primary);
}

.optional {
    color: var(--darkgrey);
    font-weight: 300;
    text-transform: none;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--grey);
    border: 1px solid var(--grey);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.service-option input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.service-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--white);
}

.contact-pref {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-card {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--grey);
    border: 1px solid var(--grey);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
}

.radio-card input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.radio-card:has(input:checked) {
    border-color: var(--primary);
    background: var(--white);
}

.enquiry-review {
    margin-top: 30px;
    background: var(--grey);
    padding: 25px;
}

.enquiry-review h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.review-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
    border-bottom: 1px solid var(--white);
}

.review-row span {
    color: var(--darkgrey);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.review-row strong {
    text-align: right;
}

.enquiry-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 35px;
}

.enquiry-nav .btn-main {
    margin-left: auto;
}

.enquiry-nav .btn-main,
.enquiry-nav .btn-secondary {
    border: none;
    cursor: pointer;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
}

.enquiry-error {
    margin: 20px 0 0;
    color: var(--primary);
    font-weight: 600;
}

.enquiry-success {
    text-align: center;
    padding: 20px 0;
}

.enquiry-success h2 {
    margin-bottom: 15px;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/*==========================================================================
    Footer
  ========================================================================== */

footer {
    background: var(--tertiary);
    padding: 65px 0;
}

footer .logo {
    float: none;
    margin: 0 0 40px 0;
}

.footer-line, .call{
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: var(--white);
    display: block;
    width: 100%;
}

footer img {
    height: 55px;
    margin-right: 20px;
}

.social-container {
    width: 100%;
    display: flex;
}

.social {
    width: 56px;
    height: 56px;
    margin-right: 20px;
    margin-bottom: 34px;
    display: block;
    float: left;
    background-size: cover;
    text-indent: -999999px;
}

.social:hover {
    transform: scale(0.9);
}

.facebook {
    background-image: url(../img/fb.svg);
}

.instagram {
    background-image: url(../img/insta.svg);
}

.linkedin {
    background-image: url(../img/linked.svg);
}

.call, .email {
    margin-bottom: 10px;
    display: block;
    width: 100%;
}

.email {
    font-weight: 300;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 40px;
}

footer .btn-secondary {
    background: var(--secondary);
}

footer .btn-break {
    color: var(--white);
}

.sitemap {
    padding-top: 95px;
}

footer ul {
    display: block;
    width: 50%;
    float: left;
}

footer ul li a {
    color: var(--white);
    margin: 0 0 10px 0;
    display: block;
    font-weight: 300;
}

.footer-legal {
    max-width: 1440px;
    margin: 30px auto 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-legal p {
    margin: 0;
    color: var(--white);
    font-weight: 300;
    font-size: 0.9rem;
}

.footer-legal a {
    color: var(--white);
}

.footer-legal a:hover {
    color: var(--primary);
}

.form-status {
    margin: 15px 0 0;
    font-weight: 600;
}

.form-status.is-ok {
    color: var(--tertiary);
}

.form-status.is-error {
    color: var(--primary);
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 999998;
    background: var(--secondary);
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    margin: 0 auto;
}

.cookie-banner p {
    margin: 0;
    font-weight: 300;
    flex: 1;
}

.cookie-banner a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-banner .btn-main {
    border: none;
    cursor: pointer;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/*==========================================================================
    Media Queries
  ========================================================================== */

  @media (max-width: 1200px) {

    .callout-half {
        flex-direction: column;
        text-align: center;
    }

    .callout-text {
        flex-grow: 1;
        padding: 35px;
    }

    .callout-img {
        margin: 20px auto 0;
    }

    .service-wrapper {
        flex-direction: column;
    }

    .service-img {
        margin: 0 auto 35px;
    }

    .service-intro {
        padding-right: 0;
    }

    .service-intro h2 {
        text-align: center;
    }

  }

  @media (max-width: 1024px) {
    
    .col-1  {grid-template-columns: 1fr;}
    .col-2, .col-4, .col-3 {grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));}

    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--secondary);
        padding: 100px 35px 35px;
        float: none;
        z-index: 99998;
        overflow: hidden;
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1.2rem;
    }

    .has-dropdown .dropdown {
        position: static;
        background: none;
        padding: 0 0 0 15px;
    }

    .has-dropdown .dropdown li a {
        color: var(--white);
        font-size: 1rem;
        opacity: 0.7;
    }

    .has-dropdown:hover .dropdown {
        display: flex;
    }

    .logo {
        width: 140px;
        height: 37px;
        margin: 15px 15px;
    }
}

    @media (max-width: 768px) {

    .col-1, .col-2, .col-3, .col-4 {
        grid-template-columns: 1fr;
    }

    section {
        margin-bottom: 0;
    }

    .container {
        gap: 5px;
    }

    .btn-main, .btn-secondary {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .btn-break {
        display: none;
    }

    .hero-text {
        text-align: center;
    }

    #categories {
        margin-top: -70px;
    }

    .card {
        text-align: left;
        position: relative;
        padding: 30px 30px 30px 95px;
    }

    .card img {
        position: absolute;
        top: 40px;
        left: 33px;
    }

    .card span {
        margin: 0;
    }

    .card p {
        margin-bottom: 0;
    }

    .card em {
        display: none;
    }

    .story-card span {
        margin: 20px 0;
    }    

    .callout-half {
        text-align: center;
    }

    #video-bg .container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .box {
        padding: 20px;
    }

    footer {
        padding: 30px 0;
        text-align: center;
    }

    footer .logo {
        margin: 0 auto 40px;
        width: 200px;
        height: 50px;
    }

    .social-container {
        justify-content: center;
    }

    .social {
        margin-left: 20px;
        margin-top: 20px;
    }

    .sitemap {
        display: none;
    }

    #services .container {
        columns: 1;
    }

    .h1-icon {
        display: none;
    }

    #intro {
        margin-top: 0px;
    }

    .category-banner {
        height: 300px;
    }

    .accordion-inner img {
        width: 100%;
    }
}


/*==========================================================================
    Scroll Reveal
  ========================================================================== */

@keyframes reveal-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Hidden until revealed. Scoped to .js-reveal so content stays visible
   if JS is disabled or fails. Using :not(.is-visible) + backwards fill (no
   forwards) so once the entrance finishes the element returns to its natural
   styles — keeps hover transforms (e.g. .card) working. */
.js-reveal [data-reveal]:not(.is-visible),
.js-reveal [data-reveal-group]:not(.is-visible) > * {
    opacity: 0;
}

.js-reveal [data-reveal].is-visible,
.js-reveal [data-reveal-group].is-visible > * {
    animation: reveal-in 0.7s ease-out backwards;
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal [data-reveal]:not(.is-visible),
    .js-reveal [data-reveal-group]:not(.is-visible) > * {
        opacity: 1;
    }

    .js-reveal [data-reveal].is-visible,
    .js-reveal [data-reveal-group].is-visible > * {
        animation: none;
    }
}













