/* =========================================
   VISALWEB CONTACT PAGE
   contact.css
   ========================================= */


/* =========================================
   ROOT VARIABLES
   ========================================= */

:root {

    --orange: #f97316;
    --orange-dark: #ea580c;

    --blue: #0f4c81;
    --blue-dark: #0b1f33;

    --green: #198754;
    --green-dark: #146c43;

    --white: #ffffff;

    --light-bg: #f8fafc;

    --text-dark: #172033;
    --text: #334155;
    --text-light: #64748b;

    --border: #e2e8f0;

    --danger: #dc2626;

    --shadow-sm:
        0 4px 15px rgba(15, 76, 129, 0.08);

    --shadow-md:
        0 10px 30px rgba(15, 76, 129, 0.10);

    --shadow-lg:
        0 20px 50px rgba(15, 76, 129, 0.14);

}


/* =========================================
   GENERAL
   ========================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        "Times New Roman",
        Times,
        serif;

    color: var(--text-dark);

    background: var(--white);

}


main {

    width: 100%;

    overflow: hidden;

}


.contact-container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding-left: 30px;
    padding-right: 30px;

}


.section-label {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--orange);

    font-size: 15px;

    font-weight: bold;

    letter-spacing: 1.5px;

}


/* =========================================
   CONTACT HERO
   ========================================= */

.contact-hero {

    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7fbff 55%,
            #effdf5 100%
        );

    overflow: hidden;

}


.contact-hero::before {

    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    top: -220px;
    left: -120px;

    background:
        rgba(249, 115, 22, 0.08);

    border-radius: 50%;

}


.contact-hero::after {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -160px;
    bottom: -220px;

    background:
        rgba(25, 135, 84, 0.08);

    border-radius: 50%;

}


.contact-hero-container {

    position: relative;

    z-index: 2;

    max-width: 850px;

    padding: 80px 30px;

}


.contact-label {

    display: inline-block;

    margin-bottom: 20px;

    padding: 8px 17px;

    background:
        rgba(249, 115, 22, 0.10);

    color: var(--orange);

    border-radius: 30px;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 1.5px;

}


.contact-hero h1 {

    margin: 0 0 22px;

    color: var(--blue-dark);

    font-size:
        clamp(42px, 6vw, 65px);

    line-height: 1.08;

}


.contact-hero h1 span {

    display: block;

    color: var(--orange);

}


.contact-hero p {

    max-width: 700px;

    margin: 0 auto;

    color: var(--text-light);

    font-size: 19px;

    line-height: 1.8;

}


/* =========================================
   CONTACT SECTION
   ========================================= */

.contact-section {

    padding: 100px 0;

    background: var(--light-bg);

}


.contact-grid {

    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 70px;

    align-items: start;

}


/* =========================================
   CONTACT INFORMATION
   ========================================= */

.contact-info {

    padding-top: 15px;

}


.contact-info h2 {

    max-width: 500px;

    margin: 0 0 22px;

    color: var(--blue-dark);

    font-size:
        clamp(38px, 4vw, 52px);

    line-height: 1.1;

}


.contact-info h2 span {

    color: var(--orange);

}


.contact-description {

    max-width: 530px;

    margin: 0 0 35px;

    color: var(--text-light);

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================
   CONTACT ITEM
   ========================================= */

.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 17px;

    margin-bottom: 20px;

    padding: 18px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 12px;

    color: var(--text-dark);

    text-decoration: none;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}


.contact-item:hover {

    transform: translateX(5px);

    border-color:
        rgba(249, 115, 22, 0.35);

    box-shadow: var(--shadow-md);

}


.contact-icon {

    flex-shrink: 0;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(249, 115, 22, 0.10);

    color: var(--orange);

    border-radius: 11px;

    font-size: 20px;

}


.contact-whatsapp {

    background:
        rgba(25, 135, 84, 0.10);

    color: var(--green);

}


.contact-item-content {

    display: flex;

    flex-direction: column;

    gap: 5px;

    min-width: 0;

}


.contact-item-content span {

    color: var(--text-light);

    font-size: 14px;

    font-weight: bold;

}


.contact-item-content strong {

    color: var(--blue-dark);

    font-size: 16px;

    line-height: 1.5;

    word-break: break-word;

}


.contact-address {

    cursor: default;

}


.contact-address:hover {

    transform: none;

}


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

.contact-social {

    margin-top: 35px;

}


.contact-social h3 {

    margin: 0 0 15px;

    color: var(--blue-dark);

    font-size: 21px;

}


.social-icons {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

}


.social-link {

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 9px;

    color: var(--blue);

    text-decoration: none;

    font-size: 18px;

    box-shadow: var(--shadow-sm);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;

}


.social-link:hover {

    background: var(--orange);

    border-color: var(--orange);

    color: var(--white);

    transform: translateY(-4px);

}


/* =========================================
   CONTACT FORM WRAPPER
   ========================================= */

.contact-form-wrapper {

    padding: 40px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow-lg);

}


.form-header {

    margin-bottom: 30px;

}


.form-label {

    display: inline-block;

    margin-bottom: 10px;

    color: var(--orange);

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 1.4px;

}


.form-header h2 {

    margin: 0 0 10px;

    color: var(--blue-dark);

    font-size: 32px;

    line-height: 1.2;

}


.form-header p {

    margin: 0;

    color: var(--text-light);

    font-size: 16px;

    line-height: 1.6;

}


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

.contact-form {

    width: 100%;

}


.form-group {

    margin-bottom: 20px;

}


.form-group label {

    display: block;

    margin-bottom: 8px;

    color: var(--blue-dark);

    font-size: 16px;

    font-weight: bold;

}


.form-group label span {

    color: var(--orange);

}


/* =========================================
   INPUT WRAPPER
   ========================================= */

.input-wrapper {

    position: relative;

    width: 100%;

}


.input-wrapper > i:first-child {

    position: absolute;

    top: 50%;

    left: 16px;

    transform: translateY(-50%);

    z-index: 2;

    color: var(--text-light);

    font-size: 15px;

    pointer-events: none;

}


.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {

    width: 100%;

    border: 1px solid var(--border);

    border-radius: 9px;

    outline: none;

    background: var(--white);

    color: var(--text-dark);

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 16px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

}


.input-wrapper input,
.input-wrapper select {

    height: 52px;

    padding:
        0 16px 0 45px;

}


.input-wrapper textarea {

    min-height: 150px;

    resize: vertical;

    padding:
        15px 16px 15px 45px;

    line-height: 1.6;

}


.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {

    color: #94a3b8;

}


.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {

    border-color: var(--orange);

    box-shadow:
        0 0 0 3px
        rgba(249, 115, 22, 0.10);

    background: #fffdfa;

}


/* =========================================
   SELECT
   ========================================= */

.select-wrapper select {

    appearance: none;

    -webkit-appearance: none;

    cursor: pointer;

}


.select-wrapper .select-arrow {

    position: absolute;

    top: 50%;

    right: 17px;

    transform: translateY(-50%);

    color: var(--text-light);

    font-size: 13px;

    pointer-events: none;

}


.select-wrapper select {

    padding-right: 45px;

}


/* =========================================
   TEXTAREA
   ========================================= */

.textarea-wrapper {

    position: relative;

}


.textarea-wrapper > i:first-child {

    top: 18px;

    transform: none;

}


/* =========================================
   SUBMIT BUTTON
   ========================================= */

.contact-submit {

    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 8px;

    padding: 14px 20px;

    border: none;

    border-radius: 9px;

    background: var(--orange);

    color: var(--white);

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 17px;

    font-weight: bold;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.contact-submit:hover {

    background: var(--orange-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(249, 115, 22, 0.25);

}


.contact-submit:active {

    transform: translateY(0);

}


.contact-submit:disabled {

    opacity: 0.7;

    cursor: not-allowed;

    transform: none;

}


/* =========================================
   FORM MESSAGE
   ========================================= */

.form-message {

    display: none;

    margin-top: 15px;

    padding: 13px 15px;

    border-radius: 8px;

    font-size: 15px;

    line-height: 1.5;

    text-align: center;

}


.form-message.success {

    display: block;

    background:
        rgba(25, 135, 84, 0.10);

    color: var(--green-dark);

    border:
        1px solid
        rgba(25, 135, 84, 0.20);

}


.form-message.error {

    display: block;

    background:
        rgba(220, 38, 38, 0.08);

    color: var(--danger);

    border:
        1px solid
        rgba(220, 38, 38, 0.18);

}


/* =========================================
   CONTACT CTA
   ========================================= */

.contact-cta {

    position: relative;

    padding: 100px 30px;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue)
        );

    text-align: center;

    overflow: hidden;

}


.contact-cta::before {

    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    top: -180px;
    left: -100px;

    background:
        rgba(249, 115, 22, 0.15);

    border-radius: 50%;

}


.contact-cta::after {

    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -120px;
    bottom: -180px;

    background:
        rgba(34, 197, 94, 0.12);

    border-radius: 50%;

}


.contact-cta-container {

    position: relative;

    z-index: 2;

    max-width: 760px;

    margin: 0 auto;

}


.contact-cta-container .section-label {

    color: #fb923c;

}


.contact-cta-container h2 {

    margin: 0 0 20px;

    color: var(--white);

    font-size:
        clamp(40px, 5vw, 58px);

    line-height: 1.1;

}


.contact-cta-container h2 span {

    display: block;

    color: #fb923c;

}


.contact-cta-container p {

    margin: 0 auto 30px;

    color: #dbeafe;

    font-size: 19px;

    line-height: 1.7;

}


.contact-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 14px 25px;

    background: var(--green);

    color: var(--white);

    border-radius: 8px;

    text-decoration: none;

    font-size: 17px;

    font-weight: bold;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.contact-cta-button:hover {

    background: var(--green-dark);

    color: var(--white);

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.20);

}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1050px) {

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .contact-info {

        max-width: 750px;

        margin: 0 auto;

    }


    .contact-info h2,
    .contact-description {

        max-width: none;

    }

}


/* =========================================
   SMALL TABLET
   ========================================= */

@media (max-width: 800px) {

    .contact-container {

        padding-left: 22px;

        padding-right: 22px;

    }


    .contact-form-wrapper {

        padding: 32px;

    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .contact-container {

        padding-left: 18px;

        padding-right: 18px;

    }


    .contact-hero {

        min-height: 400px;

    }


    .contact-hero-container {

        padding:
            65px 18px;

    }


    .contact-hero h1 {

        font-size: 41px;

    }


    .contact-hero p {

        font-size: 17px;

    }


    .contact-section {

        padding: 70px 0;

    }


    .contact-info h2 {

        font-size: 37px;

    }


    .contact-description {

        font-size: 16px;

    }


    .contact-item {

        padding: 15px;

        gap: 13px;

    }


    .contact-icon {

        width: 45px;
        height: 45px;

        font-size: 18px;

    }


    .contact-item-content strong {

        font-size: 15px;

    }


    .contact-form-wrapper {

        padding: 25px 20px;

        border-radius: 15px;

    }


    .form-header h2 {

        font-size: 28px;

    }


    .form-header p {

        font-size: 15px;

    }


    .input-wrapper input,
    .input-wrapper select {

        height: 50px;

        font-size: 15px;

    }


    .input-wrapper textarea {

        font-size: 15px;

    }


    .contact-cta {

        padding:
            75px 18px;

    }


    .contact-cta-container h2 {

        font-size: 39px;

    }


    .contact-cta-container p {

        font-size: 17px;

    }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 400px) {

    .contact-hero h1 {

        font-size: 36px;

    }


    .contact-info h2 {

        font-size: 33px;

    }


    .form-header h2 {

        font-size: 25px;

    }


    .contact-cta-container h2 {

        font-size: 34px;

    }

}


/* =========================================
   ACCESSIBILITY
   ========================================= */

.contact-item:focus-visible,
.social-link:focus-visible,
.contact-submit:focus-visible,
.contact-cta-button:focus-visible {

    outline: 3px solid
        rgba(249, 115, 22, 0.35);

    outline-offset: 4px;

}


/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;

    }

}