/* Quote Page Specific Styles */
body.quote {
    --terracotta: #C9A661;
    --forest: #3E5641;
    --gold: #C9A661;
    --gold-rgb: 201, 166, 97;
    --stone: #9B8F7E;
}

body.quote .icon {
    color: var(--gold);
}

.page-hero {
    min-height: 100vh;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    text-align: center;
    isolation: isolate;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(13, 17, 23, 0.55) 0%, rgba(13, 17, 23, 0.85) 100%),
        url("images/cover10.webp") center/cover no-repeat,
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(var(--gold-rgb), 0.03) 10px,
            rgba(var(--gold-rgb), 0.03) 11px
        );
    animation: subtleShift 20s ease-in-out infinite;
}

.page-hero-content {
    max-width: 1100px;
    padding: 0 2rem;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}

.page-hero h1 {
    font-size: clamp(3rem, 9vw, 7.25rem);
    color: var(--cream);
    margin-bottom: 2.5rem;
    line-height: 1.04;
    letter-spacing: -2.2px;
    font-weight: 900;
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* Contact Options Section */
.contact-options-section {
    padding: 6rem 2rem;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.contact-options-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(var(--gold-rgb), 0.03), transparent 60%),
        radial-gradient(circle at 85% 40%, rgba(13, 17, 23, 0.02), transparent 60%);
    pointer-events: none;
}

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

.contact-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
    align-items: start;
    border-top: 1px solid rgba(13, 17, 23, 0.12);
    border-bottom: 1px solid rgba(13, 17, 23, 0.12);
    position: relative;
    z-index: 1;
}

.contact-option {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.5rem 0;
    background: transparent;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    text-align: left;
    transition: color 0.3s ease;
}

.contact-option:hover {
    transform: none;
    box-shadow: none;
}

.contact-option.quick-contact {
    padding-right: 2.5rem;
    border-right: 1px solid rgba(13, 17, 23, 0.12);
}

.contact-option.quote-request {
    padding-left: 2.5rem;
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.contact-option h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.contact-option p {
    color: var(--slate);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    align-items: flex-start;
}

.contact-option > .btn {
    margin-top: auto;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #20BA5A;
}

.whatsapp-icon {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.btn-email {
    background: var(--forest);
    color: var(--cream);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-email:hover {
    background: var(--slate);
}

.divider {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.divider span {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    width: auto;
    height: auto;
    display: inline-flex;
}

/* Quote Form Section */
.quote-form-section {
    padding: 6rem 2rem;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.quote-form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(var(--gold-rgb), 0.03), transparent 60%),
        radial-gradient(circle at 80% 40%, rgba(13, 17, 23, 0.02), transparent 60%);
    pointer-events: none;
}

.form-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.form-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--ink);
    margin-bottom: 1rem;
}

.form-header p {
    font-size: 1.15rem;
    color: var(--slate);
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 248, 240, 0.98);
    padding: 3rem;
    border-radius: 0;
    border: 1px solid rgba(13, 17, 23, 0.08);
    box-shadow: none;
    position: relative;
    z-index: 1;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 0;
    background: var(--stone);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--gold);
    color: var(--ink);
    box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.2);
}

.progress-step.completed .step-number {
    background: var(--gold);
}

.step-label {
    font-size: 0.85rem;
    color: var(--slate);
    font-weight: 500;
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--gold);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--stone);
    opacity: 0.3;
    margin: 0 1rem;
    align-self: flex-start;
    margin-top: 25px;
}

.progress-line.completed {
    background: var(--gold);
    opacity: 1;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInSlide 0.5s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--ink);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
}

.field-hint {
    font-size: 0.85rem;
    color: var(--slate);
    margin-top: 0.5rem;
    font-style: italic;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(46, 52, 64, 0.15);
    border-radius: 0;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group input[type="file"] {
    border: 2px dashed rgba(46, 52, 64, 0.15);
    padding: 1.5rem;
    border-radius: 0;
    cursor: pointer;
    width: 100%;
    transition: border-color 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: var(--gold);
}

.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.photo-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview-item .remove-photo {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(13, 17, 23, 0.8);
    color: white;
    border: none;
    border-radius: 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-single {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.checkbox-single label {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-single input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    justify-content: space-between;
}

.btn-next {
    margin-left: auto;
}

.quote-form .btn-ghost {
    border-color: rgba(13, 17, 23, 0.4);
    color: var(--ink);
    background: transparent;
}

.quote-form .btn-ghost:hover {
    background: var(--ink);
    color: var(--cream);
}

/* What Happens Next Section */
.next-steps-section {
    padding: 6rem 2rem;
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.next-steps-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(var(--gold-rgb), 0.03), transparent 60%),
        radial-gradient(circle at 80% 40%, rgba(255, 248, 240, 0.03), transparent 60%);
    pointer-events: none;
}

.next-steps-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--cream);
    text-align: center;
    margin-bottom: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .next-steps-section .steps-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-areas:
            "step1 step2 step3 step4"
            ". step5 step6 .";
    }

    .next-steps-section .steps-grid .step-card:nth-child(1) { grid-area: step1; }
    .next-steps-section .steps-grid .step-card:nth-child(2) { grid-area: step2; }
    .next-steps-section .steps-grid .step-card:nth-child(3) { grid-area: step3; }
    .next-steps-section .steps-grid .step-card:nth-child(4) { grid-area: step4; }
    .next-steps-section .steps-grid .step-card:nth-child(5) { grid-area: step5; }
    .next-steps-section .steps-grid .step-card:nth-child(6) { grid-area: step6; }
}

.step-card {
    background: transparent;
    padding: 2.5rem;
    border-radius: 0;
    text-align: center;
    border: 1px solid rgba(255, 248, 240, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.step-card:hover {
    transform: none;
    background: transparent;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.step-card p {
    color: rgba(255, 248, 240, 0.7);
    line-height: 1.7;
}

/* Contact Info Section */
.contact-info-section {
    padding: 6rem 2rem;
    background: var(--ink);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 17, 23, 0.45) 0%, rgba(13, 17, 23, 0.7) 100%),
        url("images/cover8.webp") center/cover no-repeat;
    filter: blur(6px);
    transform: scale(1.05);
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: transparent;
    padding: 2.5rem;
    border-radius: 0;
    text-align: center;
    border: 1px solid rgba(255, 248, 240, 0.1);
}

.contact-card h3 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-card .highlight {
    color: var(--cream);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.contact-card p {
    color: rgba(255, 248, 240, 0.7);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        min-height: 100vh;
        padding: 6rem 1.5rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .divider {
        display: none;
    }

    .contact-option.quick-contact {
        padding-right: 0;
        border-right: 0;
    }

    .contact-option.quote-request {
        padding-left: 0;
    }

    .quote-form {
        padding: 2rem 1.5rem;
    }

    .progress-indicator {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .progress-line {
        width: 2px;
        height: 30px;
        margin: 0;
        align-self: center;
        margin-top: 0;
    }

    .form-navigation {
        flex-direction: column;
    }

    .btn-next {
        margin-left: 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Validation */
.form-group.field-error > label {
    color: var(--gold);
}

.form-group .field-error {
    border-color: var(--gold);
}

.checkbox-group input.field-error,
.checkbox-single input.field-error {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
