﻿/* = CONTACT PAGE = */

.contact-page { padding-top: 16px; padding-bottom: 40px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }

.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid #f0f0f1;
  font-size: 1.3rem;
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-icon {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--blue-xlight); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.contact-info-list strong { display: block; font-size: 1.2rem; color: var(--gray-text); margin-bottom: 2px; }
.contact-info-list p { margin: 0; color: var(--dark); font-size: 1.3rem; line-height: 1.6; }
.contact-info-list a { color: var(--blue); font-weight: 600; }

.contact-socials { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.contact-social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius);
  font-size: 1.3rem; font-weight: 700; color: var(--white);
  transition: opacity .2s;
}
.contact-social-btn:hover { opacity: .85; color: var(--white); }
.contact-social-btn.instagram { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
.contact-social-btn.telegram  { background: #29b6f6; }
.contact-social-btn.whatsapp  { background: #25d366; }

.contact-form .contact-field { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 1.3rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.contact-form textarea {
  width: 100%; background: #f0f0f1; border: 1px solid #f0f0f1;
  border-radius: var(--radius); padding: 12px 14px;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif; font-size: 1.4rem;
  resize: vertical; outline: none; transition: border-color .2s; direction: rtl;
}
.contact-form textarea:focus { background: var(--white); border-color: var(--blue); }

.contact-map { margin-top: 0; }
.contact-map-placeholder {
  height: 200px; background: #f0f0f1; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--gray-text); gap: 8px;
}
.contact-map-placeholder i { font-size: 3.2rem; color: var(--blue); }
.contact-map-placeholder p { margin: 0; font-size: 1.3rem; font-weight: 600; }
.contact-map-placeholder span { font-size: 1.2rem; }
@media (min-width: 768px) { .contact-map-placeholder { height: 280px; } }

/* = BIKE SIZE = */

.bike-fit {
    background: linear-gradient(180deg,#ffffff,#f8fbff);
    border-radius: 28px;
    padding: 15px 25px;
    margin: 30px 0;
    border: 1px solid #e4edf5;
    box-shadow: 0 15px 40px rgba(0,40,145,.08);
    direction: rtl;
}

    .bike-fit h2 {
        text-align: center;
        color: #002891;
        font-size: 24px;
        margin-bottom: 8px;
    }

    .bike-fit p {
        text-align: center;
        color: #495565;
        font-size: 15px;
        margin-bottom: 30px;
        margin-top: 10px;
    }

.height-value {
    text-align: center;
    color: #002891;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

    .height-value span:last-child {
        font-size: 16px;
        font-weight: 600;
    }

.slider-box {
    margin-top: 30px;
}

.slider {
    width: 100%;
    height: 10px;
    appearance: none;
    border-radius: 50px;
    background: linear-gradient( 90deg, #009ad9, #6fbd16 );
}

    .slider::-webkit-slider-thumb {
        appearance: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #fff;
        border: 7px solid #009ad9;
        box-shadow: 0 5px 20px rgba(0,154,217,.35);
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: white;
        border: 7px solid #009ad9;
    }

.slider-labels {
    display: flex;
    justify-content: space-between;
    color: #545d69;
    font-size: 12px;
    margin-top: 10px;
}

.result-card {
    margin-top: 32px;
    background: linear-gradient( 135deg, #002891, #0046c7 );
    color: white;
    border-radius: 24px;
    padding: 25px;
    overflow: hidden;
    position: relative;
}

    .result-card:after {
        content: "";
        position: absolute;
        width: 150px;
        height: 150px;
        background: rgba(255,255,255,.08);
        border-radius: 50%;
        left: -50px;
        bottom: -50px;
    }

    .result-card:before {
        content: "";
        height: 6px;
        background: #6FBD16;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

.result-title {
    font-size: 14px;
    opacity: .8;
}

.result-frame {
    font-size: 44px;
    font-weight: 900;
    margin-top: 10px;
}

.result-size {
    font-size: 23px;
    font-weight: 800;
}

.result-height {
    margin-top: 10px;
    opacity: .85;
}

.frame-list {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 12px;
    margin-top: 25px;
}

.frame-chip {
    padding: 15px 8px;
    border-radius: 18px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    text-align: center;
    font-weight: 700;
    transition: .25s;
    cursor: pointer;
}

    .frame-chip strong {
        display: block;
        font-size: 24px;
        direction: ltr;
    }

    .frame-chip.active {
        background: #009ad9;
        border-color: #009ad9;
        color: white;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,154,217,.25);
    }

@media(max-width:600px) {

    .bike-fit {
        padding: 5px 20px 15px;
        border-radius: 22px;
    }
        .bike-fit h2 {
            font-size: 21px;
        }

    .height-value {
        font-size: 40px;
    }

    .result-frame {
        font-size: 36px;
    }

    .frame-list {
        grid-template-columns: repeat(2,1fr);
    }

    .frame-chip {
        padding: 18px 10px;
    }
}
