/* ============================================
   ARANO — Order Page Styles
   Matched with Global ARANO Brand
   ============================================ */

/* Variables are inherited from arano.css */

body.order-page {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

body.order-page input,
body.order-page select,
body.order-page textarea,
body.order-page button {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

/* Hero Section */
.order-hero {
    background: var(--brand-green-deep);
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
    border-bottom: 2px solid rgba(181, 147, 75, 0.3);
}

.order-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(181, 147, 75, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.order-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.order-hero-content {
    text-align: right;
    padding-left: 20px;
}

.order-hero .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.order-hero .eyebrow-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-gold), transparent);
    max-width: 60px;
}

.order-hero .eyebrow-line:last-child {
    background: linear-gradient(90deg, transparent, var(--brand-gold));
}

.order-hero .eyebrow-text {
    color: var(--brand-gold-light);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.order-hero .hero-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-on-dark);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.order-hero .hero-slogan {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    color: var(--brand-gold-light);
    font-weight: 700;
    margin: 0 0 20px 0;
}

.order-hero .hero-desc {
    font-size: 1.1rem;
    color: rgba(250, 242, 227, 0.85);
    line-height: 1.8;
    max-width: 500px;
}

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

.order-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(181, 147, 75, 0.2);
}

/* Main Layout */
.order-main {
    padding: 60px 0;
}

.order-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar — Why Arano */
.order-sidebar {
    position: sticky;
    top: 100px;
}

.why-arano-card {
    background: #FFFDF7;
    border: 1px solid rgba(181, 147, 75, 0.3);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(4, 40, 15, 0.06);
}

.why-arano-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-green-deep);
    margin: 0 0 24px 0;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(181, 147, 75, 0.3);
}

.why-arano-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-arano-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.why-arano-list .why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(181, 147, 75, 0.1);
    color: var(--brand-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-arano-list strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-green-deep);
    margin-bottom: 4px;
}

.why-arano-list p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    opacity: 0.85;
}

.why-arano-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(181, 147, 75, 0.2);
    text-align: center;
}

.why-arano-footer p {
    font-size: 0.95rem;
    color: var(--brand-gold);
    font-weight: 600;
    margin: 0;
}

/* Form Wrapper */
.order-form-wrapper {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(4, 40, 15, 0.04);
    border: 1px solid var(--border-soft);
}

/* Steps */
.order-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.step.active .step-num {
    background: var(--brand-green-deep);
    color: var(--brand-gold-light);
    box-shadow: 0 4px 12px rgba(4, 40, 15, 0.2);
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.step.active .step-label {
    color: var(--brand-green-deep);
    font-weight: 700;
}

.step-line {
    flex: 2;
    height: 2px;
    background: var(--bg-soft);
    margin: 0 8px;
    margin-bottom: 24px;
}

/* Form Sections */
.form-section {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-green-deep);
    margin: 0 0 8px 0;
}

.form-section-title small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-right: 8px;
}

.form-section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 0 24px 0;
}

/* Form Controls */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-green-deep);
}

.form-group label .req {
    color: #d9534f;
    margin-right: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: #FCFBF7;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-gold);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(181, 147, 75, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0A0A0;
}

/* File Upload */
.file-upload-area {
    border: 2px dashed rgba(181, 147, 75, 0.4);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: #FCFBF7;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.file-upload-area:hover {
    border-color: var(--brand-gold);
    background: #FFFFFF;
}

.file-upload-area .upload-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}

.file-upload-area p {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    color: var(--brand-green-deep);
    font-weight: 600;
}

.file-upload-area .file-types {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Service Chips (Cards) */
.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.service-chip {
    cursor: pointer;
    display: flex;
    flex: 1 1 180px;
    max-width: 220px;
}

.service-chip input {
    display: none;
}

.service-chip .chip-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 24px 16px;
    border: 1.5px solid var(--border-soft);
    border-radius: 12px;
    background: #FCFBF7;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    user-select: none;
    text-align: center;
}

.service-chip .chip-content svg {
    width: 32px;
    height: 32px;
    color: var(--brand-gold);
    transition: all 0.3s ease;
}

.service-chip .chip-content span {
    font-size: 0.95rem;
    font-weight: 600;
}

.service-chip input:checked + .chip-content {
    background: var(--brand-green-deep);
    color: var(--brand-gold-light);
    border-color: var(--brand-green-deep);
    box-shadow: 0 8px 20px rgba(4, 40, 15, 0.15);
    transform: translateY(-3px);
}

.service-chip input:checked + .chip-content svg {
    color: var(--brand-gold-light);
    transform: scale(1.1);
}

.service-chip:hover .chip-content {
    border-color: var(--brand-gold);
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(181, 147, 75, 0.1);
}

.service-chip input:checked:hover + .chip-content {
    background: var(--brand-green-deep);
    color: var(--brand-gold-light);
}

/* Service Panels */
.service-panel {
    display: none;
    background: #FCFBF7;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    margin-top: 24px;
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
}

.service-panel.active {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--brand-green-deep);
    color: #fff;
}

.panel-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-gold-light);
}

.panel-toggle {
    background: none;
    border: none;
    color: rgba(250, 242, 227, 0.7);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.panel-toggle:hover {
    color: #fff;
}

.panel-body {
    padding: 24px;
}

.panel-body .form-row {
    margin-bottom: 20px;
}

/* Submit Area */
.form-submit-area {
    text-align: center;
    padding-top: 10px;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    cursor: pointer;
}

.terms-checkbox input[type="checkbox"] {
    accent-color: var(--brand-gold);
    width: 18px;
    height: 18px;
}

.terms-checkbox a {
    color: var(--brand-gold);
    font-weight: 600;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    min-width: 240px;
    justify-content: center;
}

.form-helper-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 20px;
    line-height: 1.6;
}

/* Summary Strip */
.order-summary-strip {
    background: var(--brand-green-deep);
    color: var(--text-on-dark);
    padding: 40px 0;
    border-top: 2px solid rgba(181, 147, 75, 0.3);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.summary-item {
    padding: 10px;
}

.summary-item .summary-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.summary-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-gold-light);
    margin: 0 0 6px 0;
}

.summary-item p {
    font-size: 0.85rem;
    color: rgba(250, 242, 227, 0.7);
    margin: 0;
}

.summary-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--brand-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.summary-link:hover {
    color: var(--brand-gold-light);
}

/* Form Steps & Navigation */
.form-step {
    display: none;
    animation: slideIn 0.4s ease-out forwards;
}

.form-step.active {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 0;
    border-top: none;
}

/* Summary Icons (SVG) */
.summary-icon svg {
    width: 36px;
    height: 36px;
    color: var(--brand-gold);
    transition: transform 0.3s ease;
}

.summary-item:hover .summary-icon svg {
    transform: scale(1.1);
}

.btn-prev, .btn-next {
    min-width: 120px;
}

/* Responsive */
@media (max-width: 1024px) {
    .order-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .order-sidebar {
        position: static;
        order: -1;
    }
    
    .why-arano-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .order-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .order-hero-content {
        padding-left: 0;
        text-align: center;
    }
    
    .order-hero .hero-eyebrow {
        justify-content: center;
    }
    
    .order-hero .hero-desc {
        margin: 0 auto;
    }

    .summary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .summary-item:first-child {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .order-hero {
        padding: 40px 0 60px;
    }

    .order-hero .hero-title {
        font-size: 2rem;
    }
    
    .order-form-wrapper {
        padding: 24px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .why-arano-list {
        grid-template-columns: 1fr;
    }
    
    .order-steps {
        margin-bottom: 30px;
    }
    
    .step-label {
        font-size: 0.75rem;
    }

    .step-line {
        margin-bottom: 28px;
    }

    .service-chip .chip-content {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .summary-item:first-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .order-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .step {
        flex-direction: row;
        gap: 12px;
        width: 100%;
    }

    .step-line {
        display: none;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .btn-submit {
        width: 100%;
        padding: 14px 20px;
    }
}