/* ===========================================================================
   TOP BAR
========================================================= ====================*/

.top-bar {
    background-color: var(--primary);
    height: var(--top-bar-height);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

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

    padding: 0 40px;

    z-index: 2000;

    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;

}

/* Buttons container */
.top-buttons {
    display: flex;
    gap: 15px;
}

/* Button style */
.top-btn {
    display: flex;
    align-items: center;
    gap: 8px;

    background: white;
    color: var(--primary);

    padding: 6px 14px;
    border-radius: 20px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.25s ease;
}

.top-btn:hover {
    transform: translateY(-2px);
    background: #e8e8e8;
}

/* Icons */
.tel-icon {
    height: 16px;
}

.email-icon {
    height: 13px;
}

/* ===========================================================================
   HEADER
========================================================= ====================*/

header {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    right: 0;

    height: var(--header-height);

    background: var(--primary);
    color: white;

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

    padding: 10px 20px;
    z-index: 1500;
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Company name block */
.company-header {
    text-align: center;
}

.company-name {
    font-size: clamp(24px, 3vw, 48px);
    font-weight: 700;
}

.company-info {
    font-size: clamp(14px, 1.5vw, 20px);
    opacity: 0.9;
}

/* ===========================================================================
   NAVIGATION
========================================================= ====================*/

nav {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: white;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 50px;
    transition: 0.25s ease;
}

nav a:hover {
    background: rgba(255,255,255,0.2);
}

/* ===========================================================================
   MAIN LAYOUT
========================================================= ====================*/

main {
    display:flex;
    flex-direction:column;
    width:100%;
    max-width:100%;
    min-height:100vh;
    overflow:hidden;
}

/* ===========================================================================
   FOOTER
========================================================= ====================*/

.site-footer {
    background: var(--primary);
    color: var(--text-light);
    padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 40px) 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;

    gap: clamp(15px, 3vw, 50px);

    max-width: var(--container-width);
    margin: 0 auto;

    padding-top: clamp(20px, 3vw, 30px);

    flex-wrap: wrap;
}

/* =========================
   DIVIDERS
========================= */

.footer-container > div:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,.3);
    padding-right: clamp(12px, 2vw, 35px);
}

/* =========================
   COLUMNS
========================= */

.footer-company,
.footer-links,
.footer-quick-links {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Prevent long text forcing the layout wider */

.footer-company p,
.footer-links li,
.footer-quick-links li,
.footer-links a,
.footer-quick-links a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =========================
   COMPANY
========================= */

.footer-company .company-name {
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.footer-company p {
    font-size: clamp(13px, 1.2vw, 15px);
    margin: 3px 0;
    color: var(--text-light);
}

/* =========================
   LINKS
========================= */

.footer-links ul,
.footer-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-quick-links li {
    margin-bottom: clamp(8px, 1vw, 12px);
}

.footer-links a,
.footer-quick-links a {
    color: var(--text-light);
    text-decoration: none;

    font-size: clamp(13px, 1.2vw, 15px);

    display: inline-flex;
    align-items: center;

    padding: 4px 10px;
    border-radius: 50px;

    transition: 0.25s ease;
}

.footer-quick-links ul a:hover,
.footer-links ul a:hover {
    background: rgba(255,255,255,0.2);
}

/* =========================
   SOCIAL
========================= */

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: clamp(12px, 2vw, 18px);

    margin-top: clamp(16px, 2vw, 24px);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social img {
    width: clamp(18px, 2vw, 22px);
    height: clamp(18px, 2vw, 22px);

    object-fit: contain;
    transition: transform .25s ease;
}

.footer-social a:hover img {
    transform: translateY(-3px) scale(1.1);
}

/* =========================
   PARTNERS
========================= */

.footer-partners {
    margin-top: clamp(12px, 2vw, 20px);
    text-align: center;
}

.partners-title {
    font-size: clamp(13px, 1.2vw, 15px);
    margin-bottom: 8px;
}

.footer-partners a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-partners img {
    width: clamp(90px, 10vw, 120px);
    height: auto;

    transition: transform .25s ease;
}

.footer-partners a:hover img {
    transform: translateY(-3px) scale(1.05);
}

/* =========================
   BOTTOM
========================= */

.footer-bottom {
    margin-top: clamp(25px, 4vw, 40px);
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.3);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: clamp(12px, 1vw, 13px);
    color: var(--text-light);
}


/* =========================
   RESPONSIVE LAYOUT RULES
========================= */


@media (max-width: 600px) {

    header {
        height: auto;
        padding: 15px 10px;
    }

    nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .top-bar {
        padding: 0 15px;
        justify-content: center;
    }
}




/* ===========================================================================
   GET IN TOUCH SECTION (CLEAN VERSION)
========================================================= ====================*/

.get-in-touch {
    background: #E6D9D1;
    padding: 90px 40px;
    box-sizing: border-box;
}

/* =========================
   MAIN LAYOUT
========================= */

.contact-container {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: stretch;
    gap: 60px;

    flex-wrap: wrap;
}

/* =========================
   LEFT SIDE (INFO)
========================= */

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 42px;
    color: #2c5138;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-text {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* =========================
   CONTACT BUTTONS
========================= */

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 280px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 18px;
    border-radius: 30px;

    background: #2c5138;
    color: #fff;

    font-weight: 600;
    text-decoration: none;

    border: 2px solid #376d48;

    transition: all 0.25s ease;
}

.contact-button:hover {
    background: #376d48;
    border-color: #6b7f4e;
    transform: translateY(-2px);
}

.contact-button img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* =========================
   DIVIDER
========================= */

.contact-divider {
    width: 1px;
    background: #858884ce;
    align-self: stretch;
}

/* =========================
   FORM SIDE
========================= */

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.name-row {
    display: flex;
    gap: 15px;
    min-width: 0; /* prevents the row itself from refusing to shrink */
}

.name-row input {
    flex: 1;
}

/* Inputs */
.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    border-radius: 10px;

    border: 1px solid #d9e1d5;
    font-size: 16px;
    font-family: inherit;

    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8fae6c;
}

/* Button */
.contact-form button {
    background: #2c5138;
    color: white;

    border: 2px solid #376d48;

    padding: 14px;
    border-radius: 30px;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #376d48;
    border-color: #6b7f4e;
    transform: translateY(-2px);
} 


/* =========================
   REQUIRED FIELD NOTE
========================= */

.required-note {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.45);
    margin: 0 0 5px 0;
    font-style: italic;
}

/* =========================
   EMAIL INFORMATION NOTE
========================= */

.email-note {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    line-height: 1.5;
    margin: 2px 0 0 0;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-divider {
        display: none;
    }

    .contact-methods {
        max-width: 100%;
    }

    .name-row {
        flex-direction: column;
    }
}