/* ===========================================
   Snake River Retail - Modern Stylesheet
   =========================================== */

/* CSS Variables */
:root {
    --orange: #D97706;
    --orange-light: #FBBF24;
    --green: #173741;
    --green-dark: #0f252c;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Prevent accidental text selection on mobile */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;  /* Also removes tap highlight */
}

/* Allow selection where it makes sense */
input,
textarea,
.contact-main,
.faq-answer,
.mailto-warning-text {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* ===========================================
   Modern Animations
   =========================================== */

/* Fade Up */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade Left */
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade Right */
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pop / Scale */
@keyframes pop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Zoom In */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide Up */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(80px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Flip Up */
@keyframes flipUp {
    from {
        opacity: 0;
        transform: perspective(600px) rotateX(-30deg) translateY(30px);
    }
    to {
        opacity: 1;
        transform: perspective(600px) rotateX(0) translateY(0);
    }
}

/* Gradient Shift */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Spin */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Pop */
@keyframes successPop {
    0% { transform: scale(0) rotate(-45deg); }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Float */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulse Glow */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(217, 119, 6, 0); }
}

/* ===========================================
   Animation Classes
   =========================================== */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.visible.fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-scroll.visible.fade-left {
    animation: fadeLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-scroll.visible.fade-right {
    animation: fadeRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-scroll.visible.pop {
    animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-on-scroll.visible.zoom-in {
    animation: zoomIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-scroll.visible.slide-up {
    animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-on-scroll.visible.flip-up {
    animation: flipUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animation Delays */
.animate-on-scroll.visible.delay-1 { animation-delay: 0.1s; }
.animate-on-scroll.visible.delay-2 { animation-delay: 0.2s; }
.animate-on-scroll.visible.delay-3 { animation-delay: 0.3s; }
.animate-on-scroll.visible.delay-4 { animation-delay: 0.4s; }
.animate-on-scroll.visible.delay-5 { animation-delay: 0.5s; }
.animate-on-scroll.visible.delay-6 { animation-delay: 0.6s; }
.animate-on-scroll.visible.delay-7 { animation-delay: 0.7s; }

/* ===========================================
   Layout
   =========================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===========================================
   Hero Section
   =========================================== */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--green);
    overflow: visible;
    overflow-x: clip;
    padding: 60px 0;
    z-index: 100;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
    pointer-events: none;
    max-width: 100vw;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    max-width: 100vw;
}

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

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

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

.hero-text h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.hero-text .tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
    max-width: 100%;
}

.hero-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.vending-img {
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vending-img:hover {
    transform: scale(1.08) translateY(-5px);
}

.logo-badge {
    width: 250px;
    height: 250px;
    min-width: 250px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.logo-badge:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.logo-badge img {
    width: 230px;
    height: 230px;
    object-fit: contain;
}

.hero-right {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 50;
}

/* ===========================================
   Survey Form
   =========================================== */
.survey-form {
    background: var(--white);
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: visible;
    /* Ensure form is above other elements */
    z-index: 10;
}

#survey-form {
    overflow: visible;
}

.form-title {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: var(--gray-900);
    margin-bottom: 4px;
    text-align: center;
}

.form-subtitle {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 24px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
    overflow: visible;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--orange);
}

.form-group input {
    padding: 12px 14px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--white);
    width: 100%;
}

.form-group input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(23, 55, 65, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

/* ===========================================
   Custom Dropdown - Fixed Corners
   =========================================== */
.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
    z-index: 10;
}

/* When dropdown is open, boost z-index significantly */
.custom-select.open {
    z-index: 9999;
}

/* Ensure the last row with dropdowns has higher z-index */
.form-row:last-of-type .custom-select {
    z-index: 20;
}

.select-trigger {
    padding: 12px 14px;
    padding-right: 40px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    color: var(--gray-800);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select-trigger.placeholder {
    color: var(--gray-400);
}

.select-trigger:hover {
    border-color: var(--gray-300);
}

/* When open - square bottom corners to be flush with options */
.custom-select.open .select-trigger {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(23, 55, 65, 0.1);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

.select-trigger.invalid {
    border-color: #dc2626;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--gray-500);
}

.custom-select.open .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Options dropdown - square top corners to be flush with trigger */
.select-options {
    position: absolute;
    top: calc(100% - 2px); /* Overlap the border slightly */
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--green);
    border-top: none;
    border-radius: 0 0 10px 10px; /* Only round bottom corners */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.custom-select.open .select-options {
    max-height: 240px;
    opacity: 1;
    overflow-y: auto;
}

.select-option {
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.select-option:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.select-option:hover {
    background: var(--gray-50);
    color: var(--green);
    padding-left: 20px;
}

.select-option.selected {
    background: var(--green);
    color: var(--white);
}

.select-option.selected:hover {
    background: var(--green-dark);
    color: var(--white);
    padding-left: 20px;
}

.custom-select select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* ===========================================
   Submit Button
   =========================================== */
.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(23, 55, 65, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(23, 55, 65, 0.4);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(-1px) scale(0.98);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

/* ===========================================
   Form Messages
   =========================================== */
.form-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    animation: fadeUp 0.4s ease;
}

.form-message.show {
    display: flex;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

.form-message-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    inset: 0;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 10;
    border-radius: 20px;
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green) 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-checkmark svg {
    width: 40px;
    height: 40px;
    color: white;
}

.form-success-overlay h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 12px;
    text-align: center;
}

.form-success-overlay p {
    color: var(--gray-600);
    text-align: center;
    max-width: 300px;
    line-height: 1.6;
}

/* ===========================================
   Stats Section
   =========================================== */
.stats {
    padding: 80px 0;
    background: var(--gray-900);
    position: relative;
    /* Ensure stats section is below hero dropdowns */
    z-index: 1;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--green-dark), var(--green), var(--orange), var(--orange-light));
    background-size: 300% 100%;
    animation: gradientShift 8s ease infinite;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-item h3 {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--gray-200);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===========================================
   Why Choose Us / Benefits
   =========================================== */
.why-us {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--gray-50);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 30px rgba(23, 55, 65, 0.3);
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.benefit-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================================
   Criteria Section
   =========================================== */
.criteria {
    padding: 80px 0;
    background: var(--green);
    color: var(--white);
}

.criteria-content {
    text-align: center;
}

.criteria h2 {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.criteria-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.criteria-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255,255,255,0.15);
    border-color: var(--orange);
}

.criteria-card h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    opacity: 0.8;
}

.criteria-card .value {
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.criteria-card .detail {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 8px;
}

/* ===========================================
   FAQ Section
   =========================================== */
.faq {
    padding: 80px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-900);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--green);
    padding-left: 10px;
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--orange);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease-in-out;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
    transition: max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 20px;
    color: var(--gray-600);
}

.faq-answer li {
    margin-bottom: 8px;
}

/* FAQ Internal Links */
.faq-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.faq-link:hover {
    color: var(--green);
    text-decoration: underline;
}

/* ===========================================
   Service Areas
   =========================================== */
.service-areas {
    padding: 80px 0;
    background: var(--gray-900);
    color: var(--white);
}

.service-areas .section-header h2 {
    color: var(--white);
}

.service-areas .section-header p {
    color: var(--gray-400);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.area-tag {
    background: rgba(255,255,255,0.1);
    padding: 16px 24px;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
    min-height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: default;
}

.area-tag:hover {
    background: var(--orange);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(217, 119, 6, 0.3);
}

/* ===========================================
   CTA Banner
   =========================================== */
.cta-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.cta-banner h2 {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
}

.cta-banner .btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--white);
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
}

.cta-banner .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* ===========================================
   Contact Section
   =========================================== */
.contact {
    padding: 80px 0;
    background: var(--gray-50);
    text-align: center;
}

.contact h2 {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--gray-900);
}

.contact-methods {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.contact-main {
    text-decoration: none;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotate(-10deg);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.4);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-item a {
    color: var(--gray-900);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--orange);
}

/* Contact label styling - make it look clickable */
.contact-item .contact-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item .contact-label:hover {
    color: var(--orange);
}

/* ===========================================
   Footer
   =========================================== */
footer {
    padding: 40px 0 24px;
    background: var(--gray-900);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.footer-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-links a:hover::after {
    width: 100%;
}

footer p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-top: 20px;
}

/* Powered By */
.powered-by {
    background: #111827;
    padding: 12px 20px;
    text-align: center;
}

.powered-by a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--gray-500);
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.powered-by a:hover {
    color: var(--gray-400);
}

.powered-by img {
    height: 30px;
    width: auto;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.powered-by a:hover img {
    opacity: 0.8;
    transform: scale(1.1);
}

/* ===========================================
   Mailto Warning Toast
   =========================================== */
@keyframes slideInDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideOutUp {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-100%); opacity: 0; }
}

#mailto-warning {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 10px;
    animation: slideInDown 0.3s ease;
}

.mailto-warning-content {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 10px 16px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.mailto-warning-content > svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.mailto-warning-text {
    flex: 1;
    min-width: 200px;
}

.mailto-warning-text strong {
    display: inline;
    color: #92400e;
    font-size: 0.9rem;
    margin-right: 6px;
}

.mailto-warning-text span {
    color: #a16207;
    font-size: 0.85rem;
}

.mailto-warning-buttons {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.mailto-btn-form,
.mailto-btn-copy {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
}

.mailto-btn-close {
    background: transparent;
    border: none;
    color: #92400e;
    font-size: 1rem;
    cursor: pointer;
    padding: 2px 6px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.mailto-warning-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .mailto-warning-content {
        flex-direction: column;
        text-align: center;
        padding: 12px 14px 16px;
    }
    
    .mailto-warning-text strong {
        display: block;
        margin-bottom: 2px;
    }
    
    .mailto-warning-buttons {
        width: 100%;
        justify-content: center;
    }
}

.mailto-btn-form,
.mailto-btn-copy {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
}

.mailto-btn-form {
    background: #173741;
    color: white;
}

.mailto-btn-form:hover {
    background: #0f252c;
    transform: translateY(-2px);
}

.mailto-btn-copy {
    background: white;
    color: #92400e;
    border: 2px solid #f59e0b;
}

.mailto-btn-copy:hover {
    background: #fffbeb;
    transform: translateY(-2px);
}

.mailto-btn-close {
    background: transparent;
    border: none;
    color: #92400e;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.mailto-btn-close:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .mailto-warning-content {
        flex-direction: column;
        text-align: center;
    }
    
    .mailto-warning-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Progress bar animation */
@keyframes progressShrink {
    from { width: 100%; }
    to { width: 0%; }
}

.mailto-warning-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.mailto-warning-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 0 0 0 10px;
    transform-origin: left;
}

/* Facebook Icon Styling */
.facebook-icon {
    background: linear-gradient(135deg, #1877F2 0%, #0d65d9 100%) !important;
}

.facebook-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

/* Smaller Service Areas Grid (for 4 items instead of 8) */
.areas-grid.areas-grid-small {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
}

@media (max-width: 768px) {
    .areas-grid.areas-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .areas-grid.areas-grid-small {
        grid-template-columns: 1fr;
        max-width: 250px;
    }
}

/* Contact section with 3 items */
@media (max-width: 900px) {
    .contact-methods {
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .contact-methods {
        flex-direction: column;
        gap: 30px;
    }
}

/* ===========================================
   Responsive Styles
   =========================================== */
@media (max-width: 1100px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left { order: 1; }
    .hero-right { order: 2; }

    .hero-images {
        flex-wrap: wrap;
        gap: 15px;
    }

    .vending-img { max-height: 200px; }

    .logo-badge {
        width: 160px;
        height: 160px;
        min-width: 160px;
    }

    .logo-badge img {
        width: 140px;
        height: 140px;
    }

    .survey-form { max-width: 100%; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

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

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

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

    .hero-images {
        gap: 10px;
    }

    .vending-img {
        max-height: 150px;
    }

    .logo-badge {
        width: 120px;
        height: 120px;
        min-width: 120px;
        border-radius: 12px;
    }

    .logo-badge img {
        width: 100px;
        height: 100px;
    }

    .survey-form {
        padding: 24px 20px;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

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

    .criteria-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .criteria-card {
        padding: 24px 16px;
    }

    .criteria-card .value {
        font-size: 1.4rem;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 20px 0;
    }
}

@media (max-width: 500px) {
    .hero-images {
        flex-direction: column;
    }

    .vending-img {
        max-height: 180px;
    }

    .logo-badge {
        width: 140px;
        height: 140px;
    }

    .logo-badge img {
        width: 120px;
        height: 120px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

    .cta-banner h2 {
        font-size: 1.5rem;
    }

    .cta-banner .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
}
/* Hide dropdowns when form success is shown */
.form-success-overlay.show ~ form .custom-select,
.form-success-overlay.show + form .custom-select {
    visibility: hidden;
}
#survey-form-container:has(.form-success-overlay.show) .custom-select {
    pointer-events: none;
}

/* Hide dropdowns when form success is shown */
#survey-form-container:has(.form-success-overlay.show) .custom-select {
    visibility: hidden;
    pointer-events: none;
}
