/* Mensajes de validación personalizados */
.custom-validation-message {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-size: 0.8rem;
    color: #991b1b;
    max-width: 280px;
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease-out;
    font-family: 'Inter', sans-serif;
}

.custom-validation-message::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    transform: rotate(45deg);
}

.custom-validation-message.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    position: relative;
}

/* NO mostrar borde de validación en inputs vacíos - el asterisco ya indica que son obligatorios */
/* Solo mostrar borde de validación cuando tienen contenido y están inválidos DESPUÉS de interactuar */
input.touched:invalid:not(:placeholder-shown),
textarea.touched:invalid:not(:placeholder-shown),
select.touched:invalid:not([value=""]) {
    border-color: var(--primary-color) !important;
}

input.touched:invalid:not(:placeholder-shown):focus,
textarea.touched:invalid:not(:placeholder-shown):focus,
select.touched:invalid:not([value=""]):focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 55, 95, 0.1) !important;
}

/* Los inputs vacíos siempre deben mantener el borde normal (gris) */
input:invalid:placeholder-shown,
textarea:invalid:placeholder-shown,
input:invalid:empty,
textarea:invalid:empty,
select:invalid[value=""] {
    border-color: var(--border-color) !important;
}

/* Spinner circular para botones */
.btn.loading,
button.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.loading::after,
button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Fuentes - Manrope e Inter */
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter_18pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter_18pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff375f;
    --primary-dark: #e62e4d;
    --secondary-color: #ff375f;
    --accent-color: #ff375f;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f5f5f7;
    --bg-white: #ffffff;
    --border-color: #e5e5e7;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.4;
    overflow-x: hidden;
    font-size: 0.8rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.header.hidden {
    transform: translateY(-100%);
}

.navbar {
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Mejorar contraste del logo - especialmente la parte gris */
    filter: contrast(1.1) brightness(0.95);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

.logo a:hover img {
    /* Slight brightness increase on hover for better visibility */
    filter: contrast(1.15) brightness(1);
    transition: filter 0.3s ease;
}

/* Prevenir arrastre de todas las imágenes */
img {
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    padding: 0.5rem 1.25rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff375f 0%, #e62e4d 100%);
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Elementos decorativos animados */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 15s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 25s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.circle-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 25%;
    animation-delay: 1s;
    animation-duration: 22s;
}

.circle-5 {
    width: 70px;
    height: 70px;
    bottom: 40%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 19s;
}

.floating-shape {
    position: absolute;
    animation: floatShape 12s ease-in-out infinite;
    opacity: 0.4;
}

.shape-code {
    top: 15%;
    right: 20%;
    animation-delay: 0s;
    animation-duration: 14s;
}

.shape-bracket {
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
    animation-duration: 16s;
}

.shape-dot {
    top: 50%;
    left: 8%;
    animation-delay: 1s;
    animation-duration: 10s;
}

.shape-grid {
    bottom: 15%;
    right: 12%;
    animation-delay: 3s;
    animation-duration: 18s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.4;
    }

    75% {
        transform: translate(20px, 30px) scale(1.05);
        opacity: 0.5;
    }
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }

    33% {
        transform: translate(40px, -40px) rotate(120deg);
        opacity: 0.5;
    }

    66% {
        transform: translate(-30px, 30px) rotate(240deg);
        opacity: 0.4;
    }
}

/* Animación de partículas */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 800px;
    padding: 1.5rem;
}

.hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    animation: fadeInUp 0.8s;
}

.hero-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s;
}

/* Botones */
.btn {
    padding: 0.45rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Estilos para botones deshabilitados */
.btn-primary:disabled,
.btn:disabled,
button:disabled {
    background: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary:disabled:hover,
.btn:disabled:hover,
button:disabled:hover {
    background: #ccc !important;
    color: #666 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Feedback para copiar */
.btn.copied {
    background-color: #10b981 !important;
    /* Green */
    color: white !important;
    border-color: #10b981 !important;
    transition: all 0.3s ease;
}

/* Botón primario en hero - blanco con texto del color principal */
.hero .btn-primary {
    background: white;
    color: var(--primary-color);
}

.hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-large {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
}

/* Secciones */
section {
    padding: 4rem 0;
}

.section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

/* Servicios */
.servicios {
    background: var(--bg-light);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.servicio-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.servicio-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.servicio-icon svg {
    width: 100%;
    height: 100%;
}

.servicio-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.servicio-card p {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Proceso Section */
.proceso {
    background: var(--bg-white);
    padding: 5rem 0;
}

.proceso-subtitle {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.proceso-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
}

.proceso-step {
    flex: 0 0 auto;
    text-align: center;
    max-width: 200px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
    box-shadow: var(--shadow);
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.proceso-step h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.proceso-step p {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    font-size: 0.75rem;
    line-height: 1.3;
}

.proceso-arrow {
    color: var(--primary-color);
    opacity: 0.6;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proceso-arrow svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .proceso-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .proceso-arrow {
        transform: rotate(90deg);
    }

    .proceso-step {
        max-width: 100%;
    }
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Portafolio */
.portafolio {
    background: var(--bg-white);
    padding: 5rem 0;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.4rem 1.25rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.85rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portafolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portafolio-item {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.portafolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portafolio-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.portafolio-placeholder {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.portafolio-info {
    padding: 1.25rem;
}

.portafolio-info h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.portafolio-info p {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    font-size: 0.75rem;
}

/* FAQs Section */
.faqs {
    background: var(--bg-white);
    padding: 5rem 0;
}

.faqs-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faqs-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(255, 55, 95, 0.1);
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s;
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.cta p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Botón en CTA - blanco con texto del color principal */
.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Formularios */
.cotizacion-section,
.seguimiento-section {
    padding: 90px 0 60px;
    min-height: 100vh;
    background: var(--bg-light);
}

@media (max-width: 768px) {

    .cotizacion-section,
    .seguimiento-section {
        padding: 80px 0 35px;
    }

    .cotizacion-header h1,
    .seguimiento-header h1 {
        font-size: 1.25rem;
    }
}

.cotizacion-header,
.seguimiento-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cotizacion-header h1,
.seguimiento-header h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cotizacion-form,
.busqueda-form {
    max-width: 500px;
    margin: 0 auto 1.25rem;
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 0.85rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.55rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Flecha del <select> para que se vea como desplegable (lista al hacer clic) */
.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}

/* Excluir checkboxes del appearance: none */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
    width: auto;
    padding: 0;
    border: none;
    border-radius: 0;
}

/* Mejoras para móviles - inputs */
@media (max-width: 768px) {

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* Previene zoom automático en iOS */
        padding: 1rem;
    }

    .form-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 3rem;
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    margin: 1.25rem 0;
    position: relative;
    z-index: 1;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.checkbox-group label:hover {
    border-color: var(--primary-color);
    background: rgba(255, 55, 95, 0.02);
}

.checkbox-group input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin: 0 !important;
    margin-top: 0.1rem !important;
    padding: 0 !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    background: var(--bg-white) !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    position: relative !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.checkbox-group input[type="checkbox"]:checked {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.checkbox-group input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

.checkbox-group input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 55, 95, 0.2);
}

.checkbox-group input[type="checkbox"]:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.checkbox-group label:hover input[type="checkbox"] {
    border-color: var(--primary-color);
}

.mensaje-exito,
.mensaje-error {
    max-width: 600px;
    margin: 1.5rem auto;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    font-size: 0.8rem;
}

.mensaje-exito {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid var(--success-color);
}

.mensaje-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid var(--error-color);
}

/* Seguimiento */

.estado-pedido {
    max-width: 900px;
    margin: 0 auto;
}

.pedido-info {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}

.pedido-info h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-item {
    padding: 0.65rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.75rem;
}

.info-item strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
}

.info-item-full {
    grid-column: 1 / -1;
}

.pedido-descripcion-texto {
    white-space: pre-wrap;
    word-break: break-word;
}

.estado-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.estado-badge.pendiente {
    background: #fef3c7;
    color: #92400e;
}

.estado-badge.en-proceso {
    background: #dbeafe;
    color: #1e40af;
}

.estado-badge.revision {
    background: #e0e7ff;
    color: #3730a3;
}

.estado-badge.completado {
    background: #d1fae5;
    color: #065f46;
}

.estado-badge.cancelado {
    background: #fee2e2;
    color: #991b1b;
}

/* Timeline */
.timeline-container {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}

.timeline-container h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: 3px solid var(--bg-white);
    z-index: 1;
}

.timeline-item.completado::before {
    background: var(--success-color);
}

.timeline-item.activo::before {
    background: var(--primary-color);
    animation: pulse 2s infinite;
}

.timeline-item h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.timeline-item p {
    color: var(--text-light);
    font-size: 0.75rem;
}

.timeline-item .fecha {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Seguimiento: CTA para iniciar sesión (pagos, descargas, etc.) */
.tracking-login-cta {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.tracking-login-cta p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.tracking-login-cta a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.tracking-login-cta a:hover {
    text-decoration: none;
}

/* Pago */
.pago-section {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 1.25rem;
}

.pago-section h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.pago-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.pago-total,
.pago-adelanto,
.pago-pagado,
.pago-pendiente {
    padding: 0.65rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.75rem;
}

.pago-total strong,
.pago-adelanto strong,
.pago-pagado strong,
.pago-pendiente strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pago-total span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.boton-pago-container {
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
}

.close-modal:hover {
    color: var(--text-dark);
}

.pago-form {
    margin-top: 1rem;
}

/* Stripe Elements */
#stripe-card-element {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    margin-top: 0.5rem;
}

#stripe-card-element:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 55, 95, 0.1);
}

#stripe-card-errors {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section p {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-section a {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-section .lang-link {
    cursor: pointer;
}

.footer-section .lang-link.active {
    color: white;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
}

.footer-legal {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
}

.footer-logo {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Selector de idioma simple */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.lang-link {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.lang-link:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.lang-link.active {
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Mensaje de WhatsApp */
.mensaje-whatsapp {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #25D366;
    color: white;
    border-radius: 8px;
    text-align: center;
}

/* Páginas Legales */
.legal-section {
    padding: 140px 0 25px;
    background: var(--bg-light);
    scroll-margin-top: 100px;
}

.legal-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.legal-section-item {
    margin-bottom: 0.6rem;
}

.legal-section-item:last-child {
    margin-bottom: 0;
}

.legal-section-item h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    margin-top: 0;
    color: var(--text-dark);
    padding-top: 0;
}

.legal-section-item h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.4rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.legal-section-item p {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.75rem;
}

.legal-section-item p:last-child {
    margin-bottom: 0;
}

.legal-section-item ul {
    font-family: 'Inter', sans-serif;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.3rem;
    line-height: 1.5;
}

.legal-section-item ul:last-child {
    margin-bottom: 0;
}

.legal-section-item li {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-size: 0.75rem;
}

.legal-section-item li:last-child {
    margin-bottom: 0;
}

.legal-section-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section-item a:hover {
    text-decoration: underline;
}

.legal-section-item strong {
    font-weight: 600;
    color: var(--text-dark);
}

.mensaje-whatsapp a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* Mejoras para móviles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-actions {
        position: fixed;
        left: -100%;
        top: auto;
        bottom: 2rem;
        width: calc(100% - 4rem);
        margin: 0 2rem;
        transition: 0.3s;
    }

    .nav-menu.active~.nav-actions {
        left: 0;
    }

    .nav-menu.active~.nav-actions .btn-login {
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    /* Reducir elementos decorativos en móvil */
    .floating-circle {
        opacity: 0.2;
    }

    .circle-1,
    .circle-2,
    .circle-3,
    .circle-4,
    .circle-5 {
        width: 50px;
        height: 50px;
    }

    .floating-shape {
        opacity: 0.2;
        transform: scale(0.7);
    }

    .shape-code svg,
    .shape-bracket svg,
    .shape-dot svg,
    .shape-grid svg {
        width: 25px;
        height: 25px;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .cotizacion-form,
    .busqueda-form {
        padding: 1rem;
        max-width: 100%;
    }

    .cotizacion-form input,
    .cotizacion-form select,
    .cotizacion-form textarea,
    .busqueda-form input {
        font-size: 16px;
        /* Previene zoom en iOS */
        padding: 0.6rem;
    }

    .cotizacion-form textarea {
        min-height: 80px;
    }

    .form-group {
        margin-bottom: 0.75rem;
    }

    .cotizacion-header,
    .seguimiento-header {
        margin-bottom: 1.25rem;
    }

    .cotizacion-header h1,
    .seguimiento-header h1 {
        font-size: 1.1rem;
    }

    .cotizacion-header p,
    .seguimiento-header p {
        font-size: 0.75rem;
    }

    .legal-section {
        padding: 100px 0 20px;
        scroll-margin-top: 80px;
    }

    .legal-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .legal-content {
        padding: 1rem;
        border-radius: 8px;
    }

    .legal-section-item {
        margin-bottom: 0.6rem;
    }

    .legal-section-item h2 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .legal-section-item h3 {
        font-size: 0.9rem;
        margin-top: 0.4rem;
        margin-bottom: 0.3rem;
    }

    .legal-section-item p,
    .legal-section-item li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .legal-section-item ul {
        margin-left: 1rem;
        margin-top: 0.3rem;
        margin-bottom: 0.5rem;
    }

    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .btn-large {
        padding: 1.2rem;
    }

    .form-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 3rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .pago-info {
        grid-template-columns: 1fr;
    }

    .mensaje-exito {
        padding: 1.5rem;
    }

    .mensaje-exito h3,
    .mensaje-error h3 {
        font-family: 'Manrope', sans-serif;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .mensaje-exito p,
    .mensaje-error p {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
}

/* Project Detail Styles (Ported from project_detail.php) */
.project-header-detail {
    background: var(--bg-white);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.2rem;
}

.project-header-detail h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-header-detail .project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.9rem;
    margin-top: 0.9rem;
    font-size: 0.75rem;
}

.project-meta-item {
    color: var(--text-light);
}

.project-meta-item strong {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

.project-expansion-tile {
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.9rem;
}

.project-expansion-summary {
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    user-select: none;
}

.project-expansion-summary::-webkit-details-marker {
    display: none;
}

.project-expansion-summary::before {
    content: '▶';
    font-size: 0.65rem;
    transition: transform 0.2s;
}

.project-expansion-tile[open] .project-expansion-summary::before {
    transform: rotate(90deg);
}

.project-expansion-content {
    margin-top: 0.9rem;
    padding-left: 0.5rem;
}

.project-expansion-row {
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
}

.project-expansion-row:last-child {
    margin-bottom: 0;
}

.project-expansion-row strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.project-expansion-row p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
}

.project-status-badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-revision {
    background: #e0e7ff;
    color: #3730a3;
}

.status-en-proceso {
    background: #dbeafe;
    color: #1e40af;
}

.status-pendiente {
    background: #fef3c7;
    color: #92400e;
}

.status-completado {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.project-description {
    background: var(--bg-white);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.2rem;
}

.project-description h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.project-description p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
}

.project-progress {
    background: var(--bg-white);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.2rem;
}

.project-progress h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #ff6b9d);
    transition: width 0.3s;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.timeline {
    background: var(--bg-white);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.2rem;
}

.timeline h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    /* Reset styles from any potential conflicting class */
    background: transparent;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item.completed .timeline-icon {
    background: var(--primary-color);
    color: white;
}

.timeline-item.pending .timeline-icon {
    background: #e5e7eb;
    color: var(--text-light);
}

.timeline-item.current .timeline-icon {
    border: 2px solid var(--primary-color);
    background: rgba(255, 55, 95, 0.15);
    color: var(--primary-color);
}

.timeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.timeline-content p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.timeline-content .timeline-date {
    font-size: 0.7rem;
    color: var(--text-light);
}

.timeline-action {
    margin-top: 0.5rem;
}

/* Copy Feedback Animation */
.btn-copy-id {
    transition: all 0.3s ease;
    background: #f3f4f6;
    border: none;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-left: 0.5rem;
}

.btn-copy-id:hover {
    background: #e5e7eb;
}

.btn-copy-id.copied {
    background: var(--success-color);
    color: white;
    transform: scale(1.05);
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.05);
    }
}