/* =====================================
   GLOBAL RESET
===================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;

    overflow-x: hidden;
}
body {
    font-family: Arial, Helvetica, sans-serif;
}
/* =====================================
   FOOTER
===================================== */
.site-footer {
    --footer-cookie-gap: clamp(22px, 2vw, 25px);

    width: 100%;
    max-width: 100%;

    overflow: hidden;

    background-color: #00a8ff;

    color: #000000;

    padding-top: 70px;
}
/* =====================================
   MAIN FOOTER CONTAINER
===================================== */
.footer-container {
    width: 100%;
    max-width: 2148px;

    margin: 0 auto;

    padding-left: clamp(24px, 4vw, 80px);
    padding-right: clamp(24px, 4vw, 80px);
    padding-bottom: 70px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 0;
}
/* =====================================
   FOOTER COLUMNS
===================================== */
.footer-column {
    width: 100%;
    min-width: 0;

    padding-left: clamp(30px, 3vw, 70px);
    padding-right: clamp(30px, 3vw, 70px);

    border-left: 1px solid rgba(255, 255, 255, 0.45);
}
/* Remove divider from first column */
.footer-column:first-child {
    border-left: none;
    padding-left: 0;
}
/* Remove unnecessary right padding */
.footer-column:last-child {
    padding-right: 0;
}
/* Paragraphs */
.footer-column p {
    margin: 0 0 28px;

    color: #000000;

    font-size: clamp(16px, 1vw, 19px);
    line-height: 1.8;

    overflow-wrap: anywhere;
}
/* =====================================
   BRAND
===================================== */
.brand {
    display: flex;
    align-items: center;

    gap: 18px;

    min-width: 0;

    margin-bottom: 35px;
}
/* Brand Logo */
.brand-icon {
    flex-shrink: 0;

    width: clamp(55px, 4vw, 72px);
    height: clamp(55px, 4vw, 72px);

    display: flex;
    justify-content: center;

    background: #000000;
	
	border-radius: 50%;

    color: #00a8ff;

    font-size: clamp(30px, 2.5vw, 44px);
    font-weight: 800;
	
	height: 80px;
	width: 80px;
}
/* Brand Name */
.brand-name {
    min-width: 0;

    color: #000000;
	
	font-family: Kanit;

    font-size: clamp(27px, 2vw, 38px);
    font-weight: 700;

    letter-spacing: -1px;

    overflow-wrap: anywhere;
}
.brand-name span {
    color: #e9f8ff;
}
/* =====================================
   SOCIAL MEDIA
===================================== */
.social-links {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 35px;
}
/* Social buttons */
.social-links a {
    flex: 0 0 auto;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: transparent;

    color: #000000;

    font-size: 18px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}
/* =====================================
   FOOTER SECTION HEADINGS
===================================== */
.footer-heading {
    display: flex;
    align-items: flex-start;

    min-width: 0;

    gap: 18px;

    margin-bottom: 35px;
}
/* Heading Icon */
.heading-icon {
    flex-shrink: 0;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #000000;
    border-radius: 50%;

    background: transparent;

    color: #000000;

    font-size: 24px;
    font-weight: 700;
}
/* Prevent heading overflow */
.footer-heading > div:last-child {
    min-width: 0;
}
/* Heading */
.footer-heading h3 {
    margin: 10px 0 12px;

    color: #000000;

    font-size: clamp(17px, 1.15vw, 22px);
    font-weight: 700;

    letter-spacing: 0.4px;

    overflow-wrap: anywhere;
}
/* Underline */
.heading-line {
    display: block;

    width: 48px;
    height: 3px;

    border-radius: 5px;

    background: #000000;
}
/* =====================================
   IMPORTANT LINKS
===================================== */
.important-links {
    width: 100%;

    display: flex;
    flex-direction: column;
}
/* Individual Links */
.important-links a,
.important-links .cookie-settings-button {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 58px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.45);

    color: #000000;

    background: none;
    border-top: 0;
    border-right: 0;
    border-left: 0;

    font-size: clamp(16px, 1vw, 19px);
    font-family: inherit;
    text-align: left;

    text-decoration: none;

    overflow-wrap: anywhere;

    cursor: pointer;

    transition:
        padding-left 0.2s ease,
        opacity 0.2s ease;
}
/* Arrow */
.important-links .arrow {
    flex-shrink: 0;

    color: #000000;

    font-size: 32px;
    line-height: 1;
}
/* Link Hover */
.important-links a:hover,
.important-links .cookie-settings-button:hover {
    padding-left: 6px;

    opacity: 0.8;
}
/* =====================================
   CONTACT SECTION
===================================== */
.contact-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 24px;

    margin-top: 35px;
}
/* Contact links */
.contact-list a {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 14px;

    color: #000000;

    font-size: clamp(15px, 0.95vw, 18px);

    text-decoration: none;

    overflow-wrap: anywhere;
    word-break: break-word;

    transition: opacity 0.2s ease;
}
/* Contact Hover */
.contact-list a:hover {
    opacity: 0.8;
}
/* Contact Icon */
.contact-icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    color: #000000;
}
/* =====================================
   BOTTOM COPYRIGHT
===================================== */
.footer-bottom {
    width: calc(100% - clamp(48px, 8vw, 160px));
    max-width: 1988px;

    min-height: 100px;

    margin: 0 auto;

    padding: var(--footer-cookie-gap) 25px;
    padding-bottom: calc(
        var(--footer-cookie-gap) + var(--cookie-policy-height, 0px)
    );

    border-top:
        1px solid rgba(255, 255, 255, 0.45);

    display: flex;
    align-items: flex-start;
    justify-content: center;

    text-align: center;
}
/* Copyright Text */
.footer-bottom p {
    margin: 0;

    color: #000000;

    font-size: clamp(14px, 0.9vw, 17px);
    line-height: 1.6;
}
/* =====================================
   MEDIUM DESKTOP / TABLET
===================================== */
@media (max-width: 1050px) {
    .footer-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        row-gap: 55px;
    }
    /* First column */
    .footer-column:first-child {
        padding-right: 35px;
    }
    /* Second column */
    .footer-column:nth-child(2) {
        padding-left: 35px;
        padding-right: 0;
    }
    /* Third column moves underneath */
    .footer-column:nth-child(3) {
        grid-column: 1 / -1;

        padding: 50px 0 0;

        border-left: none;

        border-top:
            1px solid rgba(255, 255, 255, 0.45);
    }
    /* Contact items can sit horizontally */
    .contact-list {
        flex-direction: row;
        flex-wrap: wrap;

        gap: 30px;
    }
}
/* =====================================
   MOBILE
===================================== */
@media (max-width: 700px) {
    .site-footer {
        padding-top: 50px;
    }
    .footer-container {
        display: block;

        padding-left: 22px;
        padding-right: 22px;
        padding-bottom: 30px;
    }
    /* All sections stack vertically */
    .footer-column,
    .footer-column:first-child,
    .footer-column:last-child,
    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        width: 100%;

        margin: 0;

        padding: 0 0 42px;

        border-left: none;
        border-top: none;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.45);
    }
    /* Add spacing between sections */
    .footer-column + .footer-column {
        padding-top: 42px;
    }
    /* No border after final section */
    .footer-column:last-child {
        border-bottom: none;
    }
    /* Brand */
    .brand {
        gap: 14px;
    }
    .brand-name {
        font-size: 27px;
    }
    /* Social buttons */
    .social-links a {
        width: 46px;
        height: 46px;
    }
    /* Heading */
    .footer-heading {
        margin-bottom: 28px;
    }
    .heading-icon {
        width: 52px;
        height: 52px;
    }
    /* Important links */
    .important-links a,
    .important-links .cookie-settings-button {
        min-height: 55px;
    }
    /* Contacts stack */
    .contact-list {
        flex-direction: column;

        gap: 22px;
    }
    /* Copyright */
    .footer-bottom {
        width: calc(100% - 44px);

        padding-left: 10px;
        padding-right: 10px;
    }
}
/* =====================================
   VERY SMALL MOBILE
===================================== */
@media (max-width: 420px) {
    .brand {
        align-items: center;
    }
    .brand-icon {
        width: 50px;
        height: 50px;

        font-size: 28px;
    }
    .brand-name {
        font-size: 23px;
    }
    /* Smaller social icons */
    .social-links {
        gap: 10px;
    }
    .social-links a {
        width: 42px;
        height: 42px;

        font-size: 15px;
    }
    /* Slightly smaller body text */
    .footer-column p {
        font-size: 15px;
    }
    /* Long email / URL protection */
    .contact-list a {
        align-items: center;

        font-size: 15px;
    }
}
/* =====================================
   CUSTOM
===================================== */
.social-links > a > img, .heading-icon > img, .contact-icon > img {
	width: 100%;
}
.contact-icon > img {
	border-radius: 50%;
}
